
Some common antibiotics may affect sperm or even contribute to infertility. We’ll take a look at antibiotics’ uses and their effect on sperm.
If you’ve ever needed medicine for strep throat or another infection, you may have wondered whether antibiotics affect your fertility. But is there a connection between antibiotics and sperm quality? Let’s take a look at antibiotics, how they work, and the potential impact of antibiotic medications on sperm.
Antibiotics are medications that counter bacterial infections by killing bacteria or making it difficult for them to reproduce. Many antibiotics come in pill or ingestible liquid form, but they can also be ointments, eye drops, or injectable. Different types of antibiotics are more effective at treating specific types of infections. A few common antibiotics include:
You may need an antibiotic if you have a bacterial infection that your body can’t eliminate on its own. Your doctor may prescribe an antibiotic if you have:
Other common bacterial infections, like sinus or ear infections, may clear up on their own but can require antibiotics if they persist.
If your doctor prescribes an antibiotic, it’s important to follow instructions and take the entire course of medication. That helps prevent bacteria from developing antibiotic resistance, in which bacteria cause infections that can’t be effectively treated.1
Antibiotics don’t work on viruses, so they won’t help if you have a cold, a sore throat, or the flu. Your doctor may give you an antiviral instead.
Read more about medications and male fertility.
According to a 2024 review of research, some common antibiotics may affect sperm health or contribute to infertility.2 These medications may reduce semen volume, alter sexual function, or change hormone levels.
Several animal studies suggest that antibiotics can impact male fertility. These effects include:
A few human studies on antibiotics and fertility have been done, but overall research is limited.
One research review that focused on male patients with inflammatory bowel disease found that more than half — a much higher percentage than in the general population — had some level of infertility, possibly because of their medications.8 The review suggested that ciprofloxacin or metronidazole could negatively affect male fertility.
A research review from 2015 came to a similar conclusion and recommended that men receive counseling about the possible effects of different medications on their fertility.9
One 2022 study found that both low and high dosages of ciprofloxacin increased sperm DNA fragmentation. Researchers recommended the medication should “be avoided when it is necessary to preserve sperm quality for reproductive purposes.”10
Infections such as STIs are known to affect sperm health and fertility. Therefore, antibiotics may actually improve semen parameters in some cases.
Read more about how STIs affect male fertility.
Up to 60% of patients with epididymitis, or inflammation at the back of the testicle, may have decreased sperm development.11 Antibiotics may return semen parameters to normal.
In a study of 122 men with genitourinary tract infections and reduced fertility, different groups received either an antibiotic (ofloxacin or doxycycline) or no treatment.12
The study found that men with prostatitis (an inflamed prostate gland) and prostatovesiculitis (an inflamed prostate and seminal vesicles, the glands that produce semen) who were given antibiotics had better sperm parameters and a significantly higher pregnancy rate than the group that didn’t receive treatment. (On the other hand, there was little change in men who had prostate-vesiculo-epididymitis, despite antibiotic treatment.)
A review of research from 2021 supports using antibiotics to improve ejaculate quality in men with pyospermia (AKA leukocytospermia), a condition in which a high number of white blood cells in the semen negatively affect sperm.13
Pyospermia can be a sign of infection. White blood cells release substances called reactive oxygen species (ROS) to destroy organisms that cause infections. But ROS can also affect sperm by destroying the sperm membrane, impairing motility, and damaging DNA. According to the review of pyospermia patients, antibiotics significantly improved sperm concentration, appearance, and motility in these men.
Read more about sperm DNA fragmentation.
Both taking antibiotics and having an infection can impact fertility. The good news is that the sperm life cycle is about 72 days — so the impacts of an infection, once treated, or a round of antibiotics should be resolved within a few months.
If you’re trying to conceive, undergoing fertility treatments, or doing sperm testing or sperm freezing, you may want to wait until a few months after your infection has resolved or you’ve completed your course of antibiotics. Taking this extra time, if you can, will help ensure maximum effectiveness of your fertility treatment or your frozen sperm.
Get started with sperm testing or sperm freezing.
7. Antonhi et al. “Pharmacological agents that affect sperm motility,” 2011.
9. Samplaski et al. “Adverse effects of common medications on male fertility,” 2015.
11. Keck et al. “Seminal tract infections: impact on male fertility and treatment options,” 1998.
12. Jayasena et al. “Diagnosing male infertility,” 2018.
13. Velez et al. “Pyospermia: background and controversies,” 2021.

