The invention discloses a medicine for treating male oligospermia and asthenozoospermia and improving sperm quality. The medicine for treating male oligospermia and asthenozoospermia and improving sperm quality takes L-carnitine, maca, corduceps militaris, zinc-rich selenium-rich whole egg powder, vitamin C, citric acid, zizyphus jujube, deer blood, folic acid, taurine, fructose and coenzyme Q10 as active compositions, and is prepared according to a certain weight ratio. The medicine aims at the disadvantages of conventional spermatogenic medicines, and is reasonable in formula. By properly combining multiple bulk drugs and utilizing the mutual synergic effect of the bulk drugs, the treatment effect is improved, the medicine adapts to treatment requirements of complex disease conditions, adverse reaction is reduced, and the medicine is durable in treatment effect, fast in absorption, rapid in effectiveness, strong in effect, free of stimulation, safe, reliable and simple for administration, is capable of effectively promoting generation of sperms, improving the survival rate of sperms, and is an effective medicine for treating oligospermia, asthenozoospermia and sperm quality badness caused by various reasons. The total effective rate of the medicine reaches 95.6% based on 5730 examples treated by using the medicine.