The invention relates to a traditional Chinese medicine for treating infertility, which is prepared from the following medicinal materials: prepared rehmannia root, radix rehmanniae, cornus officinalis, semen cuscutae, morinda officinalis, radix achyranthis bidentatae, radix bupleuri, auranti fructus, rhizoma cyperi, cassia twig, angelica sinensis, radix paeoniae alba, radix paeoniae rubra, peach kernels, safflower, cortex moutan, poria cocos and rhizoma alismatis. According to the different physiques and illness states of patients, the medicines and the doses are different, if a patient suffers from static blood blocking in uterine vessel, rubia cordifolia and cuttlefish bone are added, and if the patient also suffers from moist heat, dahurian patrinia herb and sargent gloryvine are added, and the preparation can be decoction, powder or pills. The traditional Chinese medicine is effective in tonifying kidney and nourishing blood, soothing the liver and removing depression, activating blood circulation and dispelling blood stasis, removing dampness and eliminating phlegm, and suitable for treating infertility due to kidney deficiency and hemophthisis, liver stagnation, qi depression and blood stasis and phlegm dampness aggregation, and has the advantages of fast effect, high pregnancy rate and no side effect.