The invention relates to a medicine for treating gastrointestinal tract diseases, which is prepared from the following components in parts by weight: figwort, cornel, Japanese sweetflag, ephedra, clove, triamine, orange lake, rhizoma sparganii, rhubarb, equisetum, eupatorium, winged euony twigs, Manchurian Lilac Bark, flower of chinese scholartree, moutan bark, herba potentilae, fructus momordicae, radix angelicae pubescentis, Rhizoma Zedoariae, lotus node, Amomum globosum, centipede, cynomorium songaricum, Curculigo orchioides, folium artemisiae argyi, flower of silktree, rhiaoma iridis tectori, acanthopanax bark, rangooncreeper fruit, oil orange, black sesame seed, herba oldenlandiae, rhizoma alismatis, gromwell, cicada ecdysis, Phytolacca acinosa, rose, magnolia flower, Japanese polygala, radix sileris, dried ginger, Citrus aurantium amara, murraya jasminorage, Aspongopus, cowherb seed, Morinda officinalis, pomegranate rind, morning glory seed, gerba pyrolae and Marsdenia tenacissima. The invention has the advantages of accessible raw materials and definite curative effect; and the test proves that the medicine has high effective rate and low cost.