Epididymitis: the swollen tender testicle, and sorting infection from the emergency that mimics it
Last updated September 3, 2026.
Epididymitis is inflammation, usually infection, of the epididymis, the coiled tube behind the testicle that carries sperm. It shows as one-sided testicular pain and swelling building over hours to days, often with tenderness, sometimes with fever, a discharge, or burning on passing urine. It is treatable with antibiotics and simple measures, and most cases settle fully over one to two weeks. The cause depends on age: in men under 35 the usual driver is a sexually transmitted infection, chlamydia above all, so testing and partner treatment are part of the fix; in older men it is more often a urine infection, sometimes with an enlarged prostate behind it. The critical separation is from testicular torsion, the twisted testicle, which cuts off the blood supply and is a surgical emergency measured in hours: sudden severe pain, a high-riding testicle, and nausea mean the emergency department immediately, not an appointment. Treatment is antibiotics matched to the likely cause, rest, scrotal support, and anti-inflammatory painkillers, with a review if the picture does not settle. Persistent or recurrent cases get an ultrasound to make sure nothing else, including the rare testicular tumor, is hiding behind the story.
What does it look like?
One testicle becoming painful, swollen, and tender over hours to days, sometimes with the skin red and warm, often with the pain easing oddly when the testicle is gently lifted. Fever, burning on urination, discharge from the penis, or a frequent-urination picture may accompany it, depending on the cause. The build over a day or two is the usual tempo; a lightning strike of pain in seconds is a different, more urgent story.
Why does it happen?
Bacteria reach the epididymis and inflame it. Under 35, the travelers are usually sexually transmitted, chlamydia most of all, often with no other symptom; over 35, they are usually urine bacteria, sometimes riding behind an enlarged prostate or a recent catheter or urinary procedure. Rarely, a non-infectious cause, a medicine or urine refluxing under strain, is the driver. It says nothing about hygiene, and an STI-driven case says only that someone was once in contact with an extremely common germ.
How is it treated?
- Antibiotics matched to the cause are the core. The choice depends on age and risk: coverage for STIs in younger men, coverage for urine bacteria in older men, and taking the full course matters, because a half-treated epididymis can smolder.
- The simple measures do their share. Rest, scrotal support or snug underwear, and anti-inflammatory painkillers ease the swelling and pain while the antibiotics work, and most men feel clearly better within a few days.
- Testing and partner treatment close the loop. In younger men, an STI screen is part of the workup, and if an infection is found, the partner needs testing and treatment too, or the infection simply circles back.
- Persistent or recurrent cases get a closer look. An ultrasound checks that nothing else is driving the story, including the small chance of a testicular tumor, and any lump felt after the infection settles earns its own review.
When is it the emergency instead?
Sudden, severe testicular pain starting in seconds to minutes, with a high-riding testicle or nausea and vomiting, is a 911 or immediate emergency department trip, because a twisted testicle dies without surgery within hours. Fever with a very swollen, very red scrotum also deserves same-day assessment. Pymander's escalation routing is built and tested specifically for this class of decision; see the safety architecture working paper.
What a Pymander AI doctor consult looks like
Illustrative example, not a real member's messages.
Common questions
They swabbed me for STIs. I have been faithful for two years. What does this mean?
It means the usual driver at your age is an STI, so testing is routine, and a positive result, if it comes, accuses nobody of anything. Chlamydia is frequently symptom-free and can be carried silently for years, so an infection diagnosed in year two of a relationship can date from before it began. Not all epididymitis in young men is sexually transmitted either, so until the result is back you are spinning over a possibility, not a fact. If it is positive, the fix is mechanical: you both get treated, because partners ping-pong these infections, and the conversation goes far better as a logistics problem than as an accusation.
Why did everyone keep asking whether the pain came on suddenly?
Because they were excluding torsion, and torsion has a clock. A twisted testicle loses its blood supply and dies without surgery within hours, so the first fork in every painful-testicle assessment is the tempo: pain that arrives in seconds to minutes, severe, often with nausea, is the operating-theater path, while pain building over hours to days is the infection path you are on. Your three-day build is the epididymitis tempo. Carry the other pattern with you, though: if it ever arrives suddenly and severely, that is the emergency department immediately, not urgent care, and saying I think it might be torsion at the door puts you at the front of the right queue.
How long until this settles, and what actually helps?
Most men feel clearly better within a few days of starting the antibiotics, and the swelling resolves over one to two weeks, sometimes with a tender firmness that lingers a little longer. What helps while it settles: rest, snug supportive underwear or a scrotal support, which takes the drag off the inflamed tube, and anti-inflammatory painkillers, which treat both the pain and the swelling. Two things really matter for the finish: taking the full antibiotic course even when it feels better, because a half-treated epididymis can smolder, and going back if it is not clearly improving within a few days rather than enduring it.
Does my girlfriend need to do anything?
Only if your test comes back positive, and then it is simple logistics: she gets tested and treated too, even with no symptoms, because these infections hide silently and ping-pong between partners, and treating only one half of a couple is how the infection circles back. While you are both being treated, sex waits until the courses are done. If her test is negative, nothing further is needed. And it is worth saying the quiet part plainly: this sequence, test, treat both, move on, is how a great many completely faithful couples handle a common germ, and it ends with nobody's health worse and nobody's relationship indicted.
Will this affect my fertility?
For the large majority, no. One episode of epididymitis, treated promptly and fully, leaves fertility intact, and that is the expected outcome for you. The qualifications are honest ones: severe infections involving both sides, or infections left untreated for a long time, can occasionally scar the sperm-carrying tube, which is one more reason the full course and the prompt review when it is not settling matter. If you ever have trouble conceiving in the future with this in your history, mention it, and the testing starts there. But the base rate is strongly in your favor, and the best protection is exactly what you are already doing.
What if it does not get better, or keeps coming back?
Then the story needs a second look, and that is a routine fork, not a disaster. An ultrasound checks that nothing else is driving the picture: an abscess that needs draining, a structural problem with the urinary plumbing, or, rarely, a testicular tumor hiding behind the infection story, which is why any lump felt after the infection settles earns its own review. Recurrent episodes in older men often point to the urinary side, an enlarged prostate or incomplete bladder emptying, and treating that treats the recurrences. Persistent cases also get the antibiotic choice rechecked against the culture results. The rule of thumb: settling within days is the expected path; anything else is a reason to be seen again, not to wait.
