The invention discloses a prescription for treating irregular menstruation. The prescription is characterized by comprising rehmannia root, licorice root, motherwort herb, wolfberry fruit, common fumitory rhizome, safflower, red peony root, prepared common monkshood daughter root, peach kernel, astragalus root, frankincense, Chinese mugwort leaf and rhizome of chuanxiong. The prescription for treating irregular menstruation is simple to prepare, has no toxic or side effects, can relieve dysmenorrhea in time, has a short treatment cycle and good efficacy and allows rarity of reoccurrence.