Guides

Swollen Testicle: Causes, STIs, and When to See a Doctor

What is Testicle Swelling?
Guides

Swollen Testicle: Causes, STIs, and When to See a Doctor

References UK clinical guidance from the NHS, the British HIV Association (BHIVA), and the British Association for Sexual Health and HIV (BASHH). Last updated: April 2026.

A swollen testicle is usually caused by an infection, injury, or fluid buildup, not cancer. That said, any new or unexplained testicular swelling should be checked by a doctor, especially if it came on suddenly or is painful. Some causes need urgent treatment.

This guide covers the most common causes of testicular swelling, which STIs can cause it, the warning signs of testicular torsion (a medical emergency), and when you need to see a doctor.

Could it be an STI? Get a discreet home test kit

Common Causes of a Swollen Testicle

CausePain?Speed of OnsetOther SymptomsUrgency
Epididymitis (infection)Yes, gradualDaysRedness, warmth, discharge possibleSee GP within 24-48 hours
Orchitis (testicular inflammation)YesDaysFever, nausea, swollen groin glandsSee GP within 24-48 hours
Testicular torsionSevere, suddenMinutesNausea, vomiting, testicle rides highA&E IMMEDIATELY
Hydrocele (fluid buildup)Usually painlessWeeks to monthsSoft, fluid-filled swellingGP routine
Inguinal herniaAching, worse with activityVariableLump in groin, worse when standingGP within a week
Varicocele (enlarged veins)Aching or draggingGradualFeels like “bag of worms” above testicleGP routine
Testicular cancerUsually painlessWeeks to monthsHard lump ON the testicleGP within 2 weeks
Injury/traumaYesImmediateBruising, tendernessA&E if severe; GP if mild

STIs That Cause Testicular Swelling

Epididymitis from chlamydia or gonorrhoea

The most common STI-related cause of a swollen testicle in men under 35 is epididymitis, an infection of the epididymis (the coiled tube behind each testicle that stores and carries sperm).

In sexually active men under 35, chlamydia and gonorrhoea are the most common causes. In men over 35, urinary tract bacteria (E. coli) are more common.

Symptoms of epididymitis:

  • Gradual pain and swelling on one side of the scrotum
  • Redness and warmth of the affected side
  • Pain that may spread to the lower abdomen or groin
  • Penile discharge (if caused by chlamydia or gonorrhoea)
  • Pain or burning when urinating
  • Low-grade fever

Treatment: antibiotics. If chlamydia is the cause, doxycycline for 10-14 days. If gonorrhoea, ceftriaxone injection plus doxycycline. Rest, scrotal support (supportive underwear), and pain relief with ibuprofen are also recommended.

Untreated epididymitis can lead to an abscess, chronic pain, or reduced fertility. Get tested and treated promptly.

Orchitis from mumps or other infections

Orchitis (inflammation of the testicle itself) can be caused by the mumps virus or by bacterial infections that spread from the epididymis. Mumps orchitis typically occurs 4-7 days after the facial swelling of mumps and affects one or both testicles.

STI-related orchitis is less common than epididymitis but can occur when epididymitis is left untreated and the infection spreads to the testicle.

Testicular Torsion: The Emergency

Testicular torsion is NOT an STI. It happens when the testicle twists on its spermatic cord, cutting off blood supply. It requires emergency surgery within 4-6 hours to save the testicle.

Warning signs of torsion:

  • Sudden, severe pain in one testicle that comes on within minutes
  • The affected testicle may sit higher than normal or at an unusual angle
  • Nausea and vomiting
  • Abdominal pain
  • Most common in boys and young men aged 12-25

If you suspect torsion, go to A&E immediately. Do not wait to see your GP. Delay risks losing the testicle.

When to See a Doctor

  • A&E immediately: Sudden severe testicular pain (possible torsion)
  • GP within 24-48 hours: Gradual swelling with pain, redness, warmth, discharge (possible epididymitis)
  • GP within 2 weeks: Painless hard lump on the testicle (needs cancer screening)
  • GP routine: Painless soft swelling, heaviness, or aching (likely hydrocele or varicocele)

If you have testicular swelling with discharge or pain urinating, get tested for STIs. Chlamydia and gonorrhoea are treatable with antibiotics, but delayed treatment can cause lasting damage.

Order a home STI test or find your nearest sexual health clinic.

Read more: What is chlamydia? | What is gonorrhoea? | Chlamydia in men

Frequently Asked Questions

Can chlamydia cause a swollen testicle?

Yes. Chlamydia can cause epididymitis, which leads to swelling, pain, and redness on one side of the scrotum. It’s the most common cause of testicular swelling from an STI in men under 35.

Is a swollen testicle always serious?

Not always. Hydroceles and varicoceles are common and usually harmless. But sudden severe pain (possible torsion) and painless hard lumps (possible cancer) both need prompt medical attention. When in doubt, see a doctor.

Can a swollen testicle affect fertility?

Potentially. Untreated epididymitis can cause scarring that blocks sperm flow. Testicular torsion can damage the testicle permanently if not treated within hours. Varicoceles can affect sperm quality in some men. If you’re concerned about fertility, see your GP for assessment.

How long does epididymitis take to heal?

With antibiotics, symptoms usually improve within 48-72 hours, though full resolution can take 2-4 weeks. Swelling may persist for several weeks even after the infection has cleared. Complete the full course of antibiotics and follow up with your doctor if symptoms don’t improve.

Sources

Have questions? Get tested from home.

Confidential, accurate, and rapid results you can trust.

Order a Test Kit