The invention provides a medicine used for treating varicocele induced sterility. The medicine comprises the following active pharmaceutical ingredients: epimedium herb, Chinese ligusticum rhizome, barbary wolfberry fruit, Chinese dodder seed, malaytea scurfpea fruit, tamariskoid spikemoss herb, radix astragali, red paeony root, common anemarrhena rhizome, rhizoma dioscoreae, herb of incisory spleenwort, all-grass of inconspicuous bulbophyllum, Chinese taxillus twig, gordon euryale seed, fruit of largeflower gardenia, suberect spatholobus stem, root of entire micromelum, penis and testis of ox, partition in fruit of English walnut, root of trifoliate acanthopanax, herb of henbit deadnettle and morinda root. The medicine has the beneficial effects that being matched with operative treatment, the medicine can achieve the effects of further promoting blood circulation of testes, improving ischemic hypoxia and metabolism and excretion of toxic substances, promoting improvement of the function of spermatogenesis and the quality of semen and reinforcing the sperm viability.