The invention relates to a traditional Chinese medicine composition for treating hemafecia. The traditional Chinese medicine composition is prepared from, by weight, 10-30 parts of herba ecliptae, 5-25 parts of ficus pumila L., 5-25 parts of amaranthus spinosusL., 5-20 parts of pink reineckea herb, 5-25 parts of limonium bicolor, 5-25 parts of red ginseng, 5-25 parts of polytrichum commune L.ex Hedw., 5-20 parts of roots of Fortune firethorn, 5-25 parts of lepidogrammitis herb, 5-25 parts of cynodon dactylon(L.)Pars., 5-20 parts of seeds of bird rape, 5-25 parts of lotus leaves, 5-25 parts of stellaria monosperma Buch.-Ham.exD.Don, 5-25 parts of leaves of vetchleaf sophora, 5-20 parts of cornu cervi degelatinatum, 5-25 parts of roots of single roxburgh rose, 5-25 parts of oxytropis falcata Bunge, 5-25 parts of wahlenbergia marginata (Thunb.) A.DC., 10 parts of calendula officinalis flowers, 5-25 parts of roots of rubus lambertianus Ser., 5-25 parts of Chinese dicliptera herb, 5-20 parts of flos hibisci, 5-25 parts of folium callicarpae pedunculalae and 5-15 parts of licorice roots. The traditional Chinese medicine composition has the effects of reinforcing the spleen and invigorating the stomach, clearing away heat and promoting diuresis, tonifying qi and controlling blood, dispelling the wind and relieving toxicity, and stopping bleeding by astringency, and is significant in treatment effect and reliable in function when used for treating hemafecia.