The invention provides a traditional Chinese medicine formula for treating postpartum irregular menstruation. Raw materials comprise prepared rehmannia roots, Chinese angelica, white paeony roots, Chinese thorowax roots, fuling, fineleaf schizonepeta herb ears, glossy privet fruit, eclipta, codonopsis, milkvetch roots, villous amomrum fruit, bighead atractylodes rhizomes, rhizoma cyperi, cinnamon, Chinese yam, Chinese dodder seeds, safflower, leonurus, spina date seeds, fleeceflower roots, donkey-hide gelatin and honey-fried licorice roots. The medicine nourishes kidneys, sooths liver and strengthens spleen, so that qi and blood generating and transforming are active, Zang-Fu functions are harmonious, and storing and discharging of chong, ren and uteri are in order; the medicine is mild in property, invigorates the upper part and flourishes the lower part, nourishes liver and kiney and does not taste greasy; through summary and review of clinical data, and in combination with the experimental research , it is proved that a preparation of the medicine has an obvious treatment effect on postpartum irregular menstruation. By means of the medicine, traditional Chinese medicine symptom scores can be lowered remarkably, the menstrual cycle can be regulated, the basal body temperature can be improved, the estrogen level is improved, and too high FSH level is lowered.