The invention relates to a Chinese herbal medicine preparation for treating hemorrhoids, which is the pill or powder prepared from 18 kinds of Chinese herbal medicine, such as angelica, rehmannia root, black sanguisorba, red peony root, baikal skullcap root, yellow-corktree bark, dark plum fruit, honeysuckle, earthworm, rhizoma atractylodis, rhizoma alismatis, rhubarb, dahurian angelica root, skunk bugbane, trogopterus dung, radix stephaniae tetrandrae, weeping forsythia and sophora fruit. The preparation is suitable for treating various hemorrhoids, such as internal hemorrhoids, external hemorrhoids, mixed hemorrhoids and the like and various kinds of common anorectal diseases, such as anal fissure, prolapse of the anus and the like, has the advantages of precise and appropriate compatibility, strong pertinence of the prescription, obvious and quick curative effects, short course of treatment, high cure rate and the like, addresses both the symptoms and root causes, has low possibility of relapsing and the like.