The invention discloses a medicine composition for treating spleen and stomach damp-heat type peptic ulcer and a method for preparing the medicine composition. The medicine composition comprises diaphragma juglandis, Cipadessa cinerasce-ns (Pell.) Hand.-Mazz., radix glycyrrhizae, asian butteflybush roots and leaves, filipendula palmata, violet, codonopsis pilosula, smilax stans, hedyotis diffusa, herb of largeserrate molsa, fructus chaenomelis lagenariae, clerodenrum bungei steud, polygonum hydropiper, textile screw pine shoot, michelia alba, pararuellia delavayana, cirsium vlassovianum, camellia oil, biondia henryi, fructus psoraleae, cynanchum glaucescens, loofah juice, delavay falsepanax herb, blumea, caulis clematidis armandii, panax notoginseng, radix fici simplicissimae, corydalis gigantea Trautv. & C.A. Mey. and hypericum attenuatum. The medicine composition and the method have the advantages that effects of regulating spleens, harmonizing stomachs, clearing heat, removing dampness, promoting qi circulation and strengthening the spleens can be realized by the medicine composition, the medicine composition is mainly used for treating the spleen and stomach damp-heat type peptic ulcer, the stomach mucosae can be protected, the damp-heat constitution of patients further can be effectively improved, immune functions of the bodies of the patients can be integrally regulated, the medicine composition can become effective fast and is high in efficiency, short in treatment course, free of toxic and side effects and low in cost, definite curative effects can be realized, and the like.