A traditional Chinese medicine preparation for treating megrim comprises, by weight parts, 15-30 parts of poria cocos, 10-15 parts of rhizoma alismatis, 8-12 parts of dried orange peel, 10-15 parts of bighead atractylodes rhizome, 6-10 parts of ginseng, 10-15 parts of prepared pinellia tuber, 6-10 parts of cassia twig, 10-15 parts of rhizoma atractylodis, 6-10 parts of round cardamom, 10-15 parts of rhizoma gastrodiae, 10-12 parts of prepared licorice, 5-9 parts of safflower, 3-8 parts of Japanese eupatorium, 5-10 parts of uncaria and 8-13 parts of fructus tribuli. The raw materials are jointly smashed and processed into fine powder, ozone sterilization is performed for 20 min, unifom mixing is performed, and a capsule dosage form is manufactured. The traditional Chinese medicine preparation brings conventional advantages of traditional Chinese medicine into play, is obvious in treatment effect, a production method is simple and low in cost, and the traditional Chinese medicine preparation is easily accepted by patients. Through clinical experiments for many years, it is proved that the traditional Chinese medicine preparation becomes effectively quickly, subjective symptoms and signs are obviously improved, the traditional Chinese medicine preparation has no side effect, and the megrim does not recur easily.