The invention provides medicine for treating reflux esophagitis. The medicine is prepared from piper cubeba, poria cocos, mangnolia officinalis, thunberg fritillary bulb, cortex phellodendri, galangal, myristica fragrans, milkvetch roots, cuttlebone, selaginella tamariscina, dendrobium, cornus officinalis, radix angelicae, cattail pollen, bupleurum, spreading hedyotis herb, American ginseng, polygonum hydropiper, orchis morio and nodding clinacanthus. The medicine has the advantages that clinical symptoms of reflux esophagitis can be fast controlled, mucous membrane histopathologic changes can be fast restored, the state of the illness can be fast controlled, the long-term therapeutic effect is good, and few side effects exist, and is worthy of clinical application and popularization.