The invention discloses a medicine for treating alopecia. The medicine comprises an oral medicine and an externally applied medicine, the oral medicine comprises the following traditional Chinese medicine raw materials in parts by weight: tortoiseshell, turtle shell, prepared fleece flower root, raw rehmannia root, prepared rehmannia root, wolfberry, cornus officinalis, ligustrum lucidum, Chineseangelica, mulberry, rhizoma gastrodiae, Semen Cuscutae, Eclipta alba, cyperus rotundus, cotex dictamni, notopterygium root, radix paeoniae rubra, rhizoma drynariae, raspberry, red sage root, spine date seed, radix bupleuri, capillary artemisia, biota orientalis, winter mulberry leaf, asarum herb, frog orchid tuber, and centipede. The medicine is cooperated with the oral medicine and the externallyapplied medicine for usage, the oral medicine is prepared by prescription composition according to certain ratio, the components are mutually cooperated, and have the efficacy for strengthening kidney and generating hair, nourishing blood and resolving depression, removing fat and activating blood, and clearing heat and cooling blood, the medicine can reach a purpose of simultaneous treatment ofprincipal and subordinate symptoms for treating alopecia, and has good treatment effect for alopecia seborrhoeica, alopecia areata, and alopecia totalis. The natural traditional Chinese medicines areemployed in the technical scheme, so that no toxic and side effect is generated, and the medicine has the advantages of safety and reliability.