The invention relates to the field of traditional Chinese medicines, particularly to a traditional Chinese medicine for treating algomenorrhea. The traditional Chinese medicine is prepared from the following raw materials in parts by weight: 7 parts of cyperus rotundus, 9 parts of radix salviae miltiorrhizae, 11 parts of cortex cinnamomi, 10 parts of herba lycopi, 12 parts of radix aucklandiae, 14 parts of rhizoma corydalis, 12 parts of flos carthami, 10 parts of radix angelicae sinensis, 12 parts of fructus citri sarcodactylis, 11 parts of herba menthae, 12 parts of radix bupleuri, 10 parts of radix glycyrrhizae, 12 parts of ramulus mori, 10 parts of radix achyranthis bidentatae, 12 parts of taxillus chinensis, 13 parts of radix dipsaci, 14 parts of rhizoma et radix notopterygii, 11 parts of radix angelicae pubescentis, 15 parts of herba lycopodii, 12 parts of rhizoma atractylodis macrocephalae, 10 parts of poria, 11 parts of fructus hordei germinatus, 9 parts of semen coicis, 8 parts of fructus leonuri, 11 parts of semen lepidii, 12 parts of radix saposhnikoviae, 14 parts of rhizoma alismatis, 10 parts of cortex moutan, 8 parts of motherwort, 9 parts of fructus kochiae, 11 parts of spora lygodii, 9 parts of semen litchi, 12 parts of common burreed rhizome, 10 parts of fructus amomi, 11 parts of irkutsk anemone rhizome, 12 parts of cortex magnoliae officinalis, 14 parts of radix polygalae, 10 parts of radix pseudostellariae, 14 parts of rhizoma polygonati odorati, 8 parts of fructus evodiae, 13 parts of cardamom, and 9 parts of folium perillae. The traditional Chinese medicine has obvious effects on treating the algomenorrhea, and has no toxic or side effects.