How do STDs impact male fertility?

STDs can damage male fertility by causing inflammation, scarring, and blockages along the reproductive tract, which can reduce sperm motility, increase DNA fragmentation, and in serious cases physically prevent sperm from reaching the ejaculate. Many infections cause no symptoms, so the damage can happen silently and persist even after treatment.

Let's get straight to it. Sexually transmitted infections (STIs, often called STDs) are one of the most preventable causes of male infertility. Yet they're also one of the most overlooked. Many men assume infertility is about sperm count or motility, something you're born with or something that happens with age. The truth is, a single untreated infection can permanently damage the plumbing sperm needs to travel from the testicles to the outside world.

Here's what happens inside the body, what the research shows, and what you can do about it.

The direct hit: how STDs damage sperm production and transport

The male reproductive system is a series of tubes and glands. Sperm is made in the testicles, stored in the epididymis, and travels through the vas deferens, mixing with fluid from the prostate and seminal vesicles before exiting. An infection anywhere along that route can cause inflammation, scarring, or blockages.

Chlamydia and gonorrhea are the two biggest culprits. Both are bacterial infections that can be completely cured with antibiotics. The problem is that many men don't have symptoms. When they do, it might be a burning sensation during urination or discharge from the penis. But often, there are no signs at all. While the infection sits untreated, it can travel up the reproductive tract and cause epididymitis-inflammation of the epididymis, the coiled tube where sperm matures and waits to be ejaculated.

A 2017 review in Human Reproduction Update analyzed studies on chlamydia and male fertility. The researchers found that men with a history of chlamydia had significantly lower sperm motility and higher levels of sperm DNA fragmentation compared to men who had never been infected. DNA fragmentation is a marker of damage inside the sperm head. Even if the sperm can swim, it may not be able to fertilize an egg or may cause early pregnancy loss.

Gonorrhea can cause the same issues. If the infection spreads to the prostate, it can lead to prostatitis, which is associated with lower semen volume and altered pH levels in the seminal fluid-both of which affect sperm survival.

The most serious complication is epididymal obstruction. Scar tissue forms inside the epididymis or vas deferens, physically blocking sperm from getting into the ejaculate. This is called obstructive azoospermia. It is one of the few causes of male infertility that is potentially reversible with surgery, but the success depends on the extent of scarring.

The silent damage: chlamydia and gonorrhea without symptoms

A 2023 study from the University of Bristol tracked over 1,000 men who had tested positive for chlamydia. Only about half reported any symptoms. Among the men who had been infected and cleared the infection (either naturally or with treatment), sperm quality was still lower than in men who had never been infected. The damage appears to persist even after the bacteria are gone.

This is why the CDC recommends annual chlamydia and gonorrhea screening for sexually active men under 30, and for older men with risk factors like multiple partners or inconsistent condom use. Most men don't get tested unless they have symptoms. That is a mistake.

Other STDs that affect fertility

Trichomoniasis is a parasitic infection that is less commonly discussed in men. Most men who contract it have no symptoms. When symptoms do appear, they include irritation inside the penis, discharge, or a frequent urge to urinate. Research published in Andrology in 2020 found that men with untreated trichomoniasis had lower sperm concentration and motility, and higher levels of abnormal sperm morphology. The good news: it is easily treated with a single dose of an antibiotic called metronidazole.

Mycoplasma genitalium is a bacterial STI that has gained attention in the last decade. It is now recognized as a cause of non-gonococcal urethritis in men. A 2021 meta-analysis in Fertility and Sterility found that men with M. genitalium had a 2.5 times higher risk of impaired sperm motility. Testing for this infection is not routine in most clinics, so you may need to ask specifically for it.

HPV (human papillomavirus) is the most common STI globally. Most strains are harmless and clear on their own. But high-risk strains have been linked to reduced sperm motility and increased DNA fragmentation. A 2022 study in Andrology examined sperm samples from men with HPV and found that the virus attached to the sperm head, potentially interfering with fertilization. There is no treatment for the virus itself, but the HPV vaccine (Gardasil) covers the most common high-risk strains and is approved for men up to age 45.

HIV can affect male fertility indirectly. The virus itself can lower sperm quality, but the bigger issue is that some antiretroviral medications may reduce sperm count. Additionally, HIV is associated with lower testosterone levels in some men, which can affect sperm production. With proper treatment, many men with HIV can still father children, but it requires planning and medical supervision.

The one STD that does NOT affect male fertility

Syphilis can cause serious health problems if untreated, including damage to the heart, brain, and nerves. But it does not directly damage the reproductive tract or sperm. It does not cause blockages or reduce sperm quality. That said, syphilis is still dangerous and should be treated immediately.

What about treatment and recovery?

Bacterial STDs (chlamydia, gonorrhea, syphilis, trichomoniasis, mycoplasma) can be cured with antibiotics. The key is catching them early. If you treat an infection before it causes scarring, your fertility should return to normal. If scarring has already formed, the damage may be permanent, though surgical options exist for obstructive azoospermia.

Viral STDs (HIV, HPV, herpes) cannot be cured. But they can be managed. With HIV, effective antiretroviral therapy keeps the virus suppressed and allows for normal sperm production in most men. HPV usually clears on its own within two years. Herpes does not affect fertility directly, but outbreaks near the genitals can cause pain that makes sex difficult.

What you can do right now

  1. Get tested. If you are sexually active and have not been tested in the last year, do it. Most clinics offer a urine test for chlamydia and gonorrhea. Blood tests cover syphilis and HIV. Ask specifically for mycoplasma genitalium if you have had symptoms or a partner with recurrent infections.
  2. Use condoms. Condoms reduce the risk of transmitting most STDs. They are not 100% effective against HPV or herpes (which spread through skin contact), but they help significantly with chlamydia, gonorrhea, and HIV.
  3. Treat it fast. If you test positive, complete the full course of antibiotics. Do not stop early. And tell your partner(s) so they can get treated too. Reinfection is common when one partner is treated and the other is not.
  4. Get the HPV vaccine. If you are under 45 and have not been vaccinated, talk to your doctor. The vaccine protects against the strains most linked to fertility issues and also prevents genital warts and certain cancers.
  5. See a urologist if you are trying to conceive and have a history of STDs. A semen analysis can tell you whether your sperm count, motility, and morphology are normal. If there is a blockage, a urologist can assess whether surgery is an option.

One final note: If you are reading this and feeling anxious about past infections, you are not alone. Many men have had an STD and gone on to father healthy children. The risk is real but manageable. The point is not to scare you. It is to give you the information so you can act before damage is done.

This article is for educational purposes. If you have specific concerns about your fertility or a past infection, consult a healthcare provider.

Frequently asked questions

Can chlamydia cause permanent damage to male fertility?

Yes, it can. Untreated chlamydia can travel up the reproductive tract and inflame the epididymis, where sperm matures, leading to scar tissue that may block sperm from getting into the ejaculate. A review in Human Reproduction Update found that men with a history of chlamydia had significantly lower sperm motility and higher levels of sperm DNA fragmentation. A study tracking over a thousand men found that sperm quality was still lower even after the infection had cleared.

Which STDs are most likely to affect sperm quality?

Chlamydia and gonorrhea are the two biggest culprits, but trichomoniasis, mycoplasma genitalium, HPV, and HIV can all affect sperm in different ways. Trichomoniasis has been linked to lower sperm concentration, motility, and higher rates of abnormal morphology. Men with mycoplasma genitalium were found to have a 2.5 times higher risk of impaired sperm motility, and high-risk strains of HPV have been linked to increased DNA fragmentation and reduced motility.

Does syphilis affect male fertility?

According to the article, syphilis does not directly damage the reproductive tract or sperm, and it does not cause blockages or reduce sperm quality. That said, it can cause serious harm to the heart, brain, and nerves if left untreated, so it should be treated immediately regardless.

How often should men get tested for STDs if they want to protect their fertility?

The CDC recommends annual chlamydia and gonorrhea screening for sexually active men under 30, and for older men with risk factors such as multiple partners or inconsistent condom use. Most clinics offer a urine test for chlamydia and gonorrhea, and blood tests cover syphilis and HIV. If you've had symptoms or a partner with recurrent infections, it's worth asking specifically for a mycoplasma genitalium test, as it's not routinely offered.

Get the Sauna Playbook