If you had mumps as a teenager, the infection may have done more than swell your jaw. In a subset of postpubertal men, mumps virus travels to the testicles and causes orchitis, which is inflammation of one or both testicles. That event, not the mumps itself, is what can leave a lasting mark on sperm production. The long-term answer depends on three things: whether the infection reached the reproductive tract, whether both testicles were involved, and how high and how long the fever ran.
Most men who had routine childhood infections never develop fertility problems. Mumps after puberty is the exception that deserves attention.
How infections can reach the testicles
The testicles are protected by a blood-testis barrier that normally keeps immune cells away from the sperm-producing tubules. That separation matters because sperm develop after puberty, long after the immune system has learned to recognize the body's own tissues. If the barrier breaks, the immune system can treat sperm as foreign.
When a virus or bacterium gets past that barrier or causes inflammation around it, the result can be direct damage to the cells that make sperm. Some infections do their damage by invading the testicle or epididymis directly. Others never touch the testicle but raise core body temperature for several days, and that alone can suppress sperm production temporarily.
These two mechanisms, direct invasion and fever, explain most of what happens after an infection.
Mumps: the one infection with a direct route
Mumps is the infection most men ask about, and for good reason. Before routine vaccination, mumps was a leading cause of viral orchitis in boys and men. The CDC's Pink Book notes that orchitis occurs in 20 to 30 percent of postpubertal men with mumps. It is rare before puberty, which is why mumps in a young child carries much less long-term risk than mumps in a teenager or adult.
Mumps orchitis usually shows up four to eight days after the salivary glands swell, but it can appear without obvious jaw swelling. The testicle becomes painful and swollen, often on one side only. In a minority of cases, both testicles are affected. That distinction matters more than almost any other factor. A man with one-sided orchitis often keeps normal fertility because the unaffected testis compensates. The healthy side can produce enough sperm on its own.
The riskiest pattern is bilateral orchitis, meaning both testicles were inflamed. A 2006 review in BJU International described mumps orchitis as a resurgent threat in unvaccinated postpubertal males, and it found that bilateral disease carried the highest risk of persistent sperm abnormalities. Testicular atrophy, where the affected testicle shrinks over weeks to months, is one marker that damage occurred. If atrophy is one-sided and the other testis is normal, the outlook is usually better.
In severe bilateral cases, the same inflammation can damage Leydig cells, which produce testosterone. A doctor evaluating long-term effects may check hormone levels alongside a semen analysis.
If you had mumps before puberty, the risk is much lower because the testicles were not yet mature enough for the virus to cause the same level of damage. If you had postpubertal mumps with no testicular pain or swelling, your risk is also lower, because you probably did not have orchitis.
What happens inside the testicle during mumps orchitis
The testicle sits inside a tough capsule called the tunica albuginea that does not stretch much. When the mumps virus infects the testicle, inflammation brings fluid, white blood cells, and swelling into a tight space. That swelling compresses blood vessels, and without adequate blood flow, parts of the sperm-producing tubules can die. Scarring follows. The end result can be reduced testicular size and fewer working sperm-producing cells.
Another long-term consequence is anti-sperm antibodies. Damage to the blood-testis barrier can expose sperm to the immune system, and some men develop antibodies that attack their own sperm. That can reduce sperm motility and make fertilization more difficult, even when sperm counts look normal.
None of this means every case of mumps orchitis causes infertility. Many men recover, and a single mild case may leave no measurable effect. The problem is that the risk is real enough that a fertility check is worth doing if you have the history.
Other viral infections: COVID, Coxsackie, and the temporary pattern
Mumps is not the only virus that can affect the testicles. Coxsackie B viruses, which cause hand, foot, and mouth disease and other febrile illnesses, can cause orchitis in adolescents and adults, though less often than mumps. Epstein-Barr virus and varicella have also been linked to rare cases of testicular inflammation.
COVID-19 got a lot of attention for its possible effect on male fertility. Early cohort studies found lower sperm concentration and motility in men shortly after infection. The pattern looked temporary. Most men showed recovery within three to six months, which fits the idea that fever and systemic inflammation explain the drop rather than direct viral damage in most cases. Some studies found viral RNA in testicular tissue in a minority of severe cases, but that is not the same as proving long-term harm. The current picture is that COVID usually causes a temporary dip, not permanent infertility.
The contrast is useful. A virus that causes a high fever but does not attack the testicle usually produces a reversible effect. A virus that directly infects the testicle, like mumps after puberty, has the potential to cause permanent damage.
Bacterial infections: epididymitis and STIs
Bacterial infections affect fertility through a different route. The epididymis is the coiled tube behind each testicle that stores and matures sperm. When bacteria infect the epididymis, a condition called epididymitis, the inflammation can scar the tube. If both sides are involved and scar tissue blocks the tubes, sperm cannot get into the ejaculate. That condition is called obstructive azoospermia, meaning zero sperm in the semen even though the testicles may still make them.
In men under 35, the most common causes of epididymitis are chlamydia and gonorrhea. Both can be silent, which means a man may have no symptoms while the infection is doing damage. In men over 35, urinary bacteria like E. coli are more common, often linked to urinary tract issues. Tuberculosis is a less common cause in many parts of the world, but it can also infect the epididymis and cause obstruction.
The key point with bacterial epididymitis is time. Antibiotic treatment clears the infection, and early treatment limits the amount of scarring. A man who treats chlamydia quickly is less likely to develop long-term blockage than a man who carries the infection for months. This is why sexual health screening is part of fertility evaluation in men with a history of STIs.
Chronic prostatitis, which is inflammation of the prostate, sits in a different category. Some men with chronic bacterial prostatitis have lower semen quality during flares, but many have normal parameters. The evidence linking chronic prostatitis to permanent infertility is weaker than the evidence for epididymitis.
Fever alone can lower sperm count without any direct infection
Even a virus that never touches the testicles can temporarily affect sperm. Sperm production works best a few degrees below core body temperature. When a high fever raises scrotal temperature, the cells that make sperm slow down or stop for a while. Durairajanayagam and colleagues reviewed this mechanism in Reproductive BioMedicine Online in 2015, and the point is straightforward: heat stress impairs spermatogenesis.
A full sperm production cycle takes about 74 days. That means a bad fever in February can show up as a lower sperm count in an April semen analysis. The effect is almost always reversible, but it takes one or two sperm cycles to recover. Flu, pneumonia, mononucleosis, and other febrile illnesses usually fit this pattern. They do not attack the testicles directly, so the long-term outlook is good.
The practical implication is timing. If you had a high fever recently and want a semen analysis, wait about three months. Testing during the recovery window can produce a low count that scares you for no reason.
When to get a formal evaluation
A history of infection alone does not mean you need immediate testing. But certain histories make a semen analysis worth the conversation with a doctor.
The clearest case is postpubertal mumps with testicular pain or swelling, especially if both testicles were involved. A urologist can examine you, measure testicular volume, and order a semen analysis about three months after the acute illness. That timing lets a full sperm cycle turn over. If the first result is abnormal, the doctor will usually repeat it after another two to three months because sperm parameters fluctuate.
The same logic applies to repeated episodes of epididymitis, particularly if you had chlamydia or gonorrhea and did not treat it quickly. A scrotal ultrasound can check for epididymal blockage, and a semen analysis can show whether sperm are present in the ejaculate. If the count is zero, a physical exam, hormone tests, and imaging can distinguish between a blockage and a production problem.
The standard fertility rule still applies. If you and a partner have been trying to conceive for 12 months without success, evaluation is recommended regardless of your infection history.
Quick summary
- Most common childhood infections do not cause permanent male fertility problems.
- Mumps after puberty is the main exception because it can cause orchitis, and bilateral orchitis carries the highest risk.
- Bacterial epididymitis from chlamydia or gonorrhea can scar the sperm transport tubes if untreated.
- Fever from any infection can temporarily suppress sperm production, with recovery over a few months.
- If you have a high-risk history, a semen analysis about three months after the illness gives you a clear answer.
What you can do with this information
The most useful response to a worrying history is to get a semen analysis rather than guess. That single test tells you more than blood hormone levels or symptom checklists. If the result is normal, you can stop worrying. If it is not, reproductive urologists have ways to work with low counts or even retrieve sperm directly from the testis for use with IVF. That is a medical decision to make with a specialist.
For prevention, the MMR vaccine has made postpubertal mumps orchitis rare in vaccinated populations. If you were not vaccinated as a child and are unsure of your immune status, testing can tell you whether you have antibodies. The vaccine does not cause orchitis and is not linked to male infertility.
For bacterial infections, the prevention is simpler: treat STIs early. If you have new pain, swelling, discharge, or burning, get tested. Do not wait for symptoms to disappear, because chlamydia and gonorrhea often stay silent while the inflammation continues.
No supplement or lifestyle hack has been shown to reverse testicular atrophy from mumps orchitis. If someone tells you otherwise, ask for the study. The evidence supports monitoring and medical care, not magic cures.
This content is for educational purposes only and is not medical advice. Oakman products are designed for physical comfort and cooling; they make no claims about fertility, sperm quality, or hormone levels. Consult a healthcare professional for personalized advice.
Sources
- Centers for Disease Control and Prevention. Epidemiology and Prevention of Vaccine-Preventable Diseases (Pink Book). Mumps chapter.
- Philip J, Selvan D, Desmond AD. Mumps orchitis in the non-immune postpubertal male: a resurgent threat to male fertility? BJU International. 2006.
- Durairajanayagam D, Agarwal A, Ong C. Causes and consequences of testicular heat stress. Reproductive BioMedicine Online. 2015;30(1):14-27.

