The invention discloses a traditional Chinese medicine preparation for treating functional dyspepsia. Functional dyspepsia can be included in the category of epigastric fullness syndrome, commonly diagnosed incoordination between the liver and the stomach and incoordination between the spleen and the stomach. Therefore, traditional Chinese herbal medicines having the efficacies of strengthening the spleen, consolidating the constitution, reinforcing the spleen, invigorating qi, harmonizing the stomach and lowering adverse qi are selected to be decocted into a decoction for patients to take, wherein the traditional Chinese herbal medicines comprise: red peony root, bighead atractylodes rhizome, cimicifugae foetidae, fried rice-grain sprout, tuckahoe, astragalus root, cassia twig, chrysanthemum, small fennel, costus root, immature bitter orange, betel palm, magnolia obavata, angelica sinensis and radish seed. Proven by clinical tests, the total effective rate reaches 95.7%, the therapeutic effect is obviously better than that of western medicines, and the traditional Chinese medicine preparation has low treatment cost, small side effect and worth of wide clinical popularization and application.