Follow us

News and blog

Testes and scrotum

Epididymitis: causes, treatment and what it means for fertility

By London Andrology team · 29 November 2027 · 3 min read

We hope you find this article helpful. However, it should not replace personalised medical advice.

Epididymitis is inflammation of the epididymis, the coiled tube behind each testicle that stores and carries sperm. It is usually caused by an infection, most often a sexually transmitted infection in younger men or a urine infection in older men, and it normally clears with antibiotics. Prompt treatment matters, because untreated or repeated epididymitis can scar the tube and affect fertility.

What causes epididymitis?

The cause tends to vary with age. In men under 35, sexually transmitted infections such as chlamydia and gonorrhoea are the most common cause. In men over 35, urinary tract infections are more likely, particularly with an enlarged prostate, a urinary catheter or recent surgery. Less common causes include mumps, injury and some medicines. The NHS guide to epididymitis lists the causes and symptoms.

Symptoms to look out for

Symptoms usually develop over a day or two and can include:

  • pain and swelling at the back of one testicle
  • a red, warm and tender scrotum
  • pain when passing urine, or discharge from the penis
  • a high temperature and feeling unwell

When it needs urgent care

Sudden, severe testicular pain, especially in teenagers and young men, can be testicular torsion. This is an emergency because the blood supply to the testicle is cut off. Go to A&E straight away. It is always safer to be checked quickly than to miss a torsion. Our testicular pain page explains the different causes.

How epididymitis is treated

Your doctor will usually test a urine sample and swabs for infection, and sometimes arrange an ultrasound scan. Treatment includes:

  • a course of antibiotics chosen to match the likely infection
  • rest, supportive underwear and cold packs
  • anti-inflammatory painkillers
  • avoiding sex until treatment is finished and symptoms have settled

If a sexually transmitted infection is the cause, your recent partners also need testing and treatment, otherwise the infection may return. The NHS pages on STIs explain confidential testing. Most men feel better within a few days, although swelling can take several weeks to settle completely.

Epididymitis and fertility

A single episode that is treated promptly rarely causes lasting problems. However, severe, repeated or untreated infection can scar the epididymis and block the passage of sperm. If both sides are affected, sperm may not reach the semen at all, even though they are still produced. Our article on whether an STD can cause a low sperm count explains the link, and our recent piece on STIs and male fertility covers testing.

Men who have had mumps orchitis, or an infection affecting both sides, may benefit from an earlier fertility check. Likewise, if you notice that a testicle has become smaller or firmer since the infection, mention it to your doctor, as this can be a sign of lasting damage that is worth assessing.

If you are trying for a baby after epididymitis, a semen analysis around three months later is a sensible check. Where a blockage is found, microsurgery or surgical sperm retrieval can help couples conceive. Our male infertility page explains the full assessment.

Frequently asked questions

Is epididymitis contagious?

The condition itself is not, but the infection behind it may be, so partners should be tested when an STI is the cause.

Can it come back?

Yes, especially if the original infection is not fully treated. Repeated episodes should be assessed by a specialist.

Will epididymitis affect my erections?

It does not usually affect erections, although pain may make sex uncomfortable until it settles.

Speak to a specialist

If you have had epididymitis and are worried about your fertility or ongoing pain, our consultants can help. Book a confidential consultation with Professor Minhas or Professor Yap at London Andrology.

Keep reading

Related articles

All articles →

Get in touch

Call our friendly team today to book your appointment

Professor Suks Minhas | Professor Tet Yap | 0207 034 5032, or send us an enquiry using our form.