The invention relates to a traditional Chinese medicine composition for treating seborrheic dermatitis, which comprises the following formula: 100-180 parts of radices sileris, 40-80 parts of rhubarb, 30-50 parts of dianthus superbus, 30-50 parts of polygonum aviculare, 30- 50 parts of sulfur, 40-80 parts of black sesame, 20-40 parts of alum, 50-100 of cortex dictamni, 40-80 parts of platycladus orientalis leaf, 30-50 parts of cypress fruit, 50-100 parts of liquorice, 50-100 parts of ligustrum lucidum, 50-100 parts of dry herba ecliptae, 50-100 parts of anemarrhena, 40-80 parts of cortex phellodendri, 30-50 parts of poria peel, 30-50 part of caulis aristolochiae manshuriensis, 40-80 parts of achyranthes, 30-50 parts of pine leaves, 40-80 parts of tree peony bark, 40-80 parts of caulis spatholobi, 40-80 parts of honeysuckle stem, 30-50 parts of caulis polygoni multiflori, 40-80 parts of phaseolus calcaratus, 30-50 parts of willow branch, 30-50 parts of rhizoma atractylodis, 40-80 parts of duckweed, 30-50 parts of cortex ailanthi, 30-50 parts of radix rhapontied, 40-80 parts of cortex lycii radicis, 30-50 parts of pine nodular branch, 40-80 parts of rhizoma polygonati and 40-80 parts of fructus amomi.