The invention discloses a medicine for treating ulcerative colitis due to liver-yang hyperactivity and spleen deficiency. The medicine is prepared from the following medicinal raw materials: Japanese banana flower, sarcopyramis nepalensis, fleshfingered citron flower, froggrass, celery, chrysanthemum leaves, common fairybells rhizome and root, brassica caulorapa, herpetospermum seed, calystegia hederacea, semen lablab album, rhizoma nardostachyos, goose egg shell, herba vittariae filipei, aristolochia tuberosa, tacca chantrieri, piper boehmeriaefolium wall, rhodomyrtus tomentosa hassk, vicia unijuga, fructus mume, rubus corchorifolius, gordonia axillaris dietr, lycium ruthenicum murr, lychnis senno sieb, ponceau, rose mallow root, ambrosia artemisiifolia, radices trichosanthis, cassie root and lancea tibetica. The medicine for treating ulcerative colitis due to liver-yang hyperactivity and spleen deficiency takes oral administration and enema into consideration, has the beneficial effects of quick response, short course of treatment, direct achievement to focus, simple preparation process, small toxic and side effect and low cost, is safe and effective, and can be easily accepted by patients.