The invention relates to a medicine for treating hemorrhoids. The medicine is prepared from the following substances in parts by weight: 5-10 parts of radix scrophularise, 10-20 parts of dried gingers, 20-30 parts of dogwood, 10-20 parts of balloon flowers, 15-25 parts of angelica dahurica, 5-15 parts of inula britannica chinensis, 10-30 parts of seeds of cowherb, 1-15 parts of fibraurea recisa, 10-20 parts of radix sileris, 15-30 parts of herba ephedrae, 20-30 parts of terminaliae billericae, 1-20 parts of morinda officinalis, 1-20 parts of greater celandine, 10-25 parts of rhizoma imperatae, 10-30 parts of fructus xanthil, 1-20 parts of oil oranges, 15-20 parts of pipewort, 10-20 parts of morning glory seeds, 15-20 parts of Japanese inula herbs, 15-30 parts of glabrous sarcandra herbs, 10-20 parts of stringy stonecrops, 10-25 parts of senna leaves, 5-15 parts of aleppo avens, 1-20 parts of uniflower swisscentaury roots, 15-25 parts of tsaoko amomum fruits, 15-25 parts of discolorous clinquefoil roots, 10-20 parts of calyx seu fructus physalis, 15-25 parts of cortex mori radicis, 20-30 parts of lindley eupatorium, 1-20 parts of teasel roots and 10-25 parts of rhododendron molle. The medicine for treating the hemorrhoids disclosed by the invention has natural materials, is good in safety, clear in curative effect and suitable for large-scale clinical popularization.