The invention relates to the field of pure traditional Chinese medicines, in particular to a medicine for treating gastric cancer. The invention solves the problems of the prior traditional Chinese medicine for treating gastric cancer, such as poor curative effect, long treatment course, incapability for radical cure and the like. The medicine consists of fried bighead atractylodes rhizome, Indian buead, grassleaf sweelflag rhizome, nutgrass galingale rhizome, sarcandra glabra, scorpion, dried orange peel, officinal magnolia bark, noble dendrobium stem, dried lily bulb, dwarf lilyturf tuber, Chinese angelica, grub, liquoric root, raw chicken's gizzard-membrane, cattail pollen, bletilla, pseudo-ginseng, fiveleaf akebia fruit, American ginseng, pinellia tuber, fructus amomi, nutmeg, centipede, safflower, barbed skullcap herb and Chinese paris rhizome. The medicines can cooperate with one another, effectively exert respective pharmacological effects, make up for one another's deficiencies, have a synergistic effect, enhance the efficacy and have the effects of tonifying the spleen and Qi, invigorating the circulation of blood and nourishing the kidney, promoting blood circulation to remove blood stasis and dissipating stagnation; and when being used for treating gastric cancer, the medicine can enhance the immunity of the body, improve the clinic symptom of a patient and treat the primary and the secondary symptoms at the same time, and has the advantages of remarkable and assured curative effect, quick curative effect, short treatment course, no toxic side effect and low treatment cost.