Epididymitis is inflammation of the coiled tube behind the testicle that stores sperm, and it can spread to the testicle itself (epididymo-orchitis). It causes testicular pain and swelling that usually builds up gradually, and is usually treated with an antibiotic.
Sudden severe testicular pain may be testicular torsion, an emergency. Go to the emergency department straight away if in doubt.
Medically reviewed by Prof. Dr. Semir Ahmed Al Samarrai, consultant urologist. Last reviewed: · Last updated:
Symptoms
- Pain and swelling on one side of the scrotum, increasing over hours or days.
- Red, warm skin.
- Sometimes fever.
- Burning or frequent urination, or discharge from the urethra.
Causes
- In younger men: usually a sexually transmitted infection.
- In older men: usually urinary bacteria, especially with an enlarged prostate or after a catheter.
Diagnosis
An examination, a urine test and culture, and testing for sexually transmitted infections when needed. A Doppler ultrasound is requested if torsion or an abscess is suspected, but it must not delay surgery when torsion is likely.
Treatment
- An antibiotic chosen by the doctor according to age and likely cause.
- Rest and supportive underwear to lift the scrotum.
- Suitable pain relief as advised by the doctor.
- Treating the partner if the cause is a sexually transmitted infection.
See the doctor again if the pain has not improved within a few days of treatment, or if high fever develops.
Related topics
Updated references (2025–2026)
Frequently asked questions
How is epididymitis different from testicular torsion?
Epididymitis usually starts gradually with pain, swelling and sometimes fever or burning urine, while torsion starts with sudden severe pain and is an emergency. If in doubt, go to the emergency department straight away.
What causes epididymitis?
In younger men it is usually a sexually transmitted infection; in older men usually urinary bacteria, especially with prostate problems or after a catheter.
How long does epididymitis last?
Pain usually improves within days of starting treatment, but swelling can take weeks to settle completely.
Does my partner need treatment?
If the cause is a sexually transmitted infection, yes; the doctor decides based on test results.
Does epididymitis affect fertility?
Most well-treated cases do not affect fertility, but severe or repeated infection can in some men.
Sources
Book a consultation
Professor Al Samarrai and Dr. Amer Mousa assess testicular pain and swelling at Professor Al Samarrai Medical Center, Dubai Healthcare City, and discuss the options that suit your case. Medical consultations are confidential.
This information is for health education and does not replace a medical examination. See our medical content policy.
