The invention discloses a medicine for treating female sterility, and belongs to the traditional Chinese medicine technology field. The medicine is composed of the following raw materials, by weight, 10-20 parts of Chinese angelica, 20-30 parts of safflower, 15-25 parts of ligusticum wallichii, 10-20 parts of spatholobus stem, 20-40 parts of radix astragali, 20-40 parts of radix codonopsis, 10-20 parts of morinda officinalis, 10-20 parts of cornus officinalis, 10-20 parts of rhizoma arisaematis, 20-30 parts of fructus liquidambaris, 15-25 parts of Chinese violet, 20-40 parts of licorice, 15-25 parts of mutmeg, 15-25 parts of bighead atractylodes rhizome, 8-16 parts of scutellaria baicalensis, 15-25 parts of motherwort, 5-15 parts of parasitic loranthus, 5-15 parts of semen brassicae, 5-15 parts of rhizoma sparganii, 10-16 parts of rhizoma atractylodis and 10-20 parts of ligustrum lucidum. The medicine has functions of warming kidney, invigorating blood circulation, resolving hard lump, invigorating spleen, tonifying kidney and promoting ovulation, has good curative effects on female sterility, has a low cost, is safe, and has no side effects.