The invention discloses a traditional Chinese medicinal formula for treating gastropathy. The formula comprises Radix Codonopsis, Radix Astragali, Radix Pseudostellariae, Mythic Fungus, white peony root, Chinese angelica, Rhizoma Atractylodis Macrocephalae, Chinese yam, haw, malt, medicated leaven, Atractylodes lancea, Panax Notoginseng, radix bupleuri, Rhizoma Cyperi, Rhizoma Corydalis, cuttlefish bone, Radix et Rhizoma Nardostachyos, Immature Bitter Orange, Poria cocos, Villous Amomum Fruit, dried orange peel, Radix Aucklandiae, chicken's gizzard membrane, cortex magnoliae officinalis and licorice according to the monarch, minister, assistant and guide of the traditional Chinese medicinal science. The monarch medicines comprise the Radix Codonopsis, the Radix Pseudostellariae, the Radix Astragali and the Mythic Fungus; the minister medicines comprise the white peony root, the Chinese angelica, the Rhizoma Atractylodis Macrocephalae, the Chinese yam, the haw, the malt, the medicated leaven, the Atractylodes lancea, the Panax Notoginseng, the radix bupleuri, the Rhizoma Cyperi, the Rhizoma Corydalis, the cuttlefish bone and the Radix et Rhizoma Nardostachyos; the assistant medicines comprise the Immature Bitter Orange, the Poria cocos, the Villous Amomum Fruit, the dried orange peel, the Radix Aucklandiae, the chicken's gizzard membrane and the cortex magnoliae officinalis; and the guide medicine is the licorice. The medicine of the formula has the efficacies of liver smoothing and depression resolving, center supplementing and qi boosting, qi moving and stomach harmonizing, and dampness eliminating and spleen invigorating, has special curative effects on chronic gastritis (comprising superficial gastritis, erosive gastritis and atrophic gastritis), gastric ulcer and duodenal ulcer, and has the advantages of short treatment course, fast effectiveness, and reaching of the effective rate of 98%.