The invention relates to a drug for treating stomach and intestine diseases and a method for preparing the drug for treating stomach and intestine diseases, wherein the drug is specifically a Chinese herbal drug which is prepared from radix bupleuri, agilawood, hippophae rhamnoides, pawpaw, endothelium corneum gigeriae galli, pepper, codonopsis pilosula, cinnamon, liquorice, dried ginger, Chinese angelica, divine comedy and other Chinese herbal medicines. The drug is prepared finely from the pure Chinese herbal medicines, and has the good functions of regulating a balance of yin and yang, tonifying spleen, warming stomach, nourishing liver, tonifying kidney, relieving spasm, regulating vital energy, dispelling melancholy, removing coldness, expelling toxin, making acid, resisting gastric ulcer, enhancing gastric motility, aiding digestion, stopping bleeding, preventing vomiting, curing diarrhea and abirritating. A patient does not need to avoid certain food when taking the drug for treating stomach and intestine diseases, so the nutrition of the patient is balanced, the treatment and health are benefited, and the drug can treat both stomach and intestine diseases.