The invention provides a traditional Chinese medicine preparation for treating stomach illness, which is prepared from the following raw materials in parts by weight: 35 to 45 parts of fructus evodiae, 5 to 10 parts of hedgehog fungus powder, 2 to 5 parts of rhizoma corydalis, 6 to 12 parts of ossa sepiae, 10 to 20 parts of danshen root, 15 to 25 parts of hemsleya amabilis, 3 to 6 parts of radix inulae, 20 to 30 parts of wasabia japonica, 10 to 16 parts of bletilla striata, 3 to 10 parts of radix ophiopogonis, 2 to 5 parts of radix scutellariae, 4 to 8 parts of lobedfruit schizocapsa rhizome, 10 to 20 parts of rhizoma cimicifugae, 2 to 5 parts of taraxacum, and 4 to 12 parts of rodgersflower rhizome. The medicines adopted by the invention are organically combined and synergized according to a monarch, minister, assistant and guide principle, so that the traditional Chinese medicine preparation has a better curative effect on various symptoms of digestive tract, treats both symptoms and root causes, and has major functions on treating acute gastritis, chronic gastritis, gastric ulcer, duodenal ulcer, gastrorrhagia and non-ulcer dyspepsia. The traditional Chinese medicine preparation provided by the invention is prepared from pure traditional medicines, is convenient to use, safe and reliable, has no toxic or side effects on liver, kidney, lungs, stomach or spleen, and can be taken for a long time.