The invention discloses a traditional Chinese medicine for treating depression. The prescription of the present invention is composed of Cyperus cyperi, vinegar-roasted Bupleurum, turmeric, woody fragrance, Albizia julibrissin, angelica, white peony root, Ophiopogon japonicus, jujube seed, cooked notoginseng, Digupi, Atractylodes macrocephala, Poria cocos, Chuanxiong, Magnolia officinalis, Salvia, bergamot, agrimony, gentian, borneol, licorice and other 21 pure herbal medicines. The whole formula regulates the heart, liver and spleen, treats qi and blood, regulates qi and promotes qi, activates blood to remove blood stasis, calms the nerves and relieves depression. Combination of various medicines, multi-drug coordination has the characteristics of many components and many action links, can work through multiple links, and has a coordinated effect. It is mainly used for the treatment of depression, women's perimenopausal syndrome and menopausal syndrome. The prescription of the present invention is reasonable, and is especially suitable for depression of different genders and age groups. The price is low, the curative effect is good, and there is no toxic or side effect.