Last updated December 1, 2026
Epididymitis is swelling of the coiled tube at the back of the testicle, most often from a bacterial infection. It usually starts with a low fever, chills or a heavy feeling, and the area gets more tender and painful as it goes on, sometimes with burning when you pee or discharge. It’s treated with antibiotics, usually for one to two weeks. Sudden, severe testicle pain is different: that can be torsion, so go to an ER right away.
What is epididymitis?
The epididymis is the tube that connects the testicle to the vas deferens. MedlinePlus says inflammation there is most common in men 19 to 35, and the infection often starts in the urethra, prostate or bladder and can spread to the testicle itself. Cleveland Clinic estimates about 600,000 cases a year in the United States.
What causes it?
Usually bacteria. MedlinePlus says gonorrhea and chlamydia are the most common cause in young heterosexual men, while in children and older men, and in men who have sex with men, it’s more often E. coli and similar bacteria. Recent urinary surgery, a regular catheter, an enlarged prostate and sex with more than one partner without condoms raise the risk. Rarely, a heart rhythm medicine called amiodarone causes it.
Is it epididymitis or torsion?
| At a glance | Epididymitis | Testicular torsion |
|---|---|---|
| How the pain starts | Builds more gradually | Sudden and severe |
| Other signs | Fever, burning when you pee, discharge, blood in semen | Swelling; the testicle may sit higher, but that sign isn’t reliable |
| Treatment | Antibiotics and comfort measures | Emergency surgery to untwist the cord |
| How fast | See a clinician soon | ER now; the classic window to save the testicle is about six hours |
From the Sexual Medicine Society of North America and StatPearls. The two can feel alike, so any sudden or severe pain should be checked right away rather than guessed at.
How is it diagnosed?
With an exam, which often finds a red, tender lump on one side, plus a urine test and culture and tests for chlamydia and gonorrhea, MedlinePlus says. A Doppler ultrasound checks blood flow and helps rule out torsion.
How is it treated, and how long does it take?
Cleveland Clinic says bacterial epididymitis is treated with antibiotics, usually for one to two weeks, and you can’t treat it on your own. Rest, raising the scrotum, ice packs, snug supportive underwear, fluids and anti-inflammatory pain medicine, if it’s safe for you, can ease the pain. If the cause is a sexually transmitted infection, ask whether your partner needs to be tested and treated.
What if it doesn’t get better?
Call back if the pain or swelling isn’t improving on antibiotics. For other causes of testicle pain and a painless lump, see testicle pain and hydrocele.
Frequently asked questions
What does epididymitis feel like?
Often a heavy, tender feeling at the back of one testicle that becomes more painful, sometimes with a low fever, chills or burning when you pee.
How long does epididymitis last?
With antibiotics, which Cleveland Clinic says are usually taken for one to two weeks, symptoms usually improve during that time. Call back if they don’t.
Is epididymitis an STD?
Not always. In young men it is often caused by chlamydia or gonorrhea; in children and older men it is more often E. coli.
How do I know it is not testicular torsion?
You can’t be sure at home. Sudden, severe testicle pain needs an ER right away; an ultrasound can tell the two apart.
Sources
- MedlinePlus: Epididymitis
- Cleveland Clinic: Epididymitis
- Sexual Medicine Society of North America: Testicular torsion vs. epididymitis
- StatPearls (NCBI Bookshelf): Acute scrotum pain
Keep reading

Why the prostate grows with age, how it is evaluated, and the medicines and procedures that help.
Read more
How prostate cancer risk groups guide treatment, and the main options: active surveillance, surgery and radiation.
Read more
Why a cystoscopy is done, what it feels like, and what to expect afterward.
Read more