The traditional Chinese medicine composition for treating irritable bowel syndrome includes: 15-30 grams of Atractylodes macrocephala, 8-25 grams of white peony root, 5-20 grams of tangerine peel, and 5-20 grams of Fangfeng. Or: volatile oil components of Atractylodes macrocephala, tangerine peel and Fangfeng; ethanol extraction components of Atractylodes macrocephala, tangerine peel, Fangfeng, and white peony root; appropriate amount of vegetable oil. Prescriptions can be directly used clinically, or after addition and subtraction. Its preparation method: take Atractylodes macrocephala, tangerine peel and Fangfeng, add water to soak, extract and collect volatile oil, and filter the medicinal solution; add ethanol to the medicinal residue and white peony root, soak, extract, and filter; the above two filtered solutions are combined and concentrated to obtain an extract , add volatile oil and vegetable oil, mix well, that is. Soft capsules and soft capsule dosage forms made by soft capsule molding process have the advantages of rapid disintegration, high bioavailability, good stability, beautiful appearance, easy to carry, easy to take, etc. Hard capsules, granules, Common dosage forms such as tablets, oral liquids, and suppositories also have the above advantages.