Epididymitis: the swollen, painful testicle that needs the antibiotics

Last updated September 3, 2026.

Epididymitis is inflammation of the epididymis (the sperm-carrying coil behind the testicle): causing a testicle that swells, aches, and becomes tender over hours to days, usually on one side. In the under-35s it is usually sexually transmitted (the chlamydia and gonorrhea), in the over-35s and the children usually a urine-infection kind, and it is cured by the antibiotic course, with the torsion ruled out first: the twisted testicle is the emergency this gets confused with.

What does it feel like?

The build over hours to a day or two: the one testicle aching, then swelling, then genuinely tender (the pain easing when the scrotum is lifted is the classic supportive sign), sometimes with the urinary burning or the discharge, the fever, and the heaviness. The gradual onset is the distinguishing feature: the torsion (the twisted testicle) hits in minutes, and that distinction is why the sudden severe testicular pain is always the same-day assessment, never the wait-and-see.

Why does it happen?

The infection tracking back up the plumbing: in the under-35s, the sexually-transmitted bugs (the chlamydia and the gonorrhea) ascending from the urethra; in the over-35s and the children, the urinary-tract bacteria (the same ones as the bladder infections, tracking up from the prostate and the bladder, especially with the enlarged prostates and the catheters). The rarer kinds: the TB, the mumps in the unvaccinated, and the amiodarone heart-drug kind. The age decides the likely bug, and the testing confirms it.

Find answers to your epididymitis

Start a free AI doctor consult →

How is it treated?

When is it an emergency?

The emergency is the mimic: the testicular torsion (the twisted testicle): the sudden, severe, in-minutes pain, the high-riding testicle, the nausea: that is the emergency-department now (the window to save the testicle is hours). The gradual swollen-aching kind is the same-week treatment, and the fever-with-severe-pain kind is the same-day. 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

Do you have a testicle that has become swollen, aching, and tender over a day or two?
My right testicle has been aching and swelling for two days and it is tender now. No discharge, no injury. I am 42. It came on gradually.
Thanks for giving me all this information. Based on what you've said, this is most likely epididymitis: the gradual build over two days, the swelling and the tenderness on one side, without injury, is its classic shape, and the gradual onset is the reassuring part (the twisted testicle, the emergency this gets confused with, hits in minutes: your two-day build is the infection's tempo). At 42 the usual cause is a urinary-tract kind of bug, and the treatment is the antibiotic course from the GP, genuinely curative, with the scrotal support, the painkillers, and the rest for the first days. Get seen today or tomorrow: the examination confirms it (and rules out the torsion properly), the urine test and the STI screen sort the bug, and the untreated course is needlessly miserable. One rule above the rest: if the pain ever turns sudden and severe, that is the emergency department, hours count. Here's your care note to share with your care team.
Care note
Epididymitis, 42M, gradual 2-day onset - antibiotics, torsion ruled out
Forty-two-year-old man: 2-day gradual onset of right testicular swelling, ache, and tenderness, no discharge, no injury: epididymitis (urinary-organism kind most likely at this age). Plan: same-day or next-day GP examination (torsion excluded clinically, scan if any doubt), urine dip and culture, STI screen (first-void NAAT: the sexually-transmitted kind still possible), age-appropriate antibiotic course, scrotal support, analgesia, rest. Escalation rules stated: sudden severe pain = ED (torsion window), fever with worsening = same-day. Recurrent cases: flow and prostate review.
View care note →

Illustrative example, not a real member's messages.

Common questions

How do I know it is not a twisted testicle?

The tempo and the signs, and the rule that overrides both: the torsion (the twist) hits in minutes (the sudden, severe, doubling-over pain, often waking from sleep, with the nausea and the testicle riding high), while the epididymitis builds over hours to days (the ache, then the swelling, then the tenderness), and the lifting sign helps (the epididymitis pain easing when the scrotum is supported). But the rule is the rule: any sudden severe testicular pain is the emergency department, because the examination and the scan are what genuinely separate them (the mimicry is real, and even the clinicians scan when unsure), and the twisted testicle is lost within six hours of the twist. Your two-day gradual build is the epididymitis tempo, and the examination still confirms it properly.

Why me? I have not had any risky sex.

Because the over-35 epididymitis usually is not sexual at all: the age split is the condition's key fact (in the under-35s it is mostly the sexually-transmitted bugs ascending; in the over-35s and the children it is mostly the ordinary urinary-tract bacteria tracking up from the bladder and the prostate), so at 42 the likely story is a urine-bug epididymitis (sometimes with no urinary symptoms at all: the silent bacteriuria), and the risk factors are the plumbing's: the enlarged-prostate flow problems, the catheters and the urological procedures, the uncontrolled diabetes, and the heavy-lifting-and-straining contribution. The urine test and the examination will map it, and the STI screen still gets run (the belt-and-braces, because the age rule is a likelihood, not a law). Nothing you did caused this.

Will the antibiotics actually fix it?

Genuinely yes, and the timeline is worth knowing: the antibiotic course (matched to the likely bug: the doxycycline-kind for the sexual kind, the urinary-kind antibiotics for yours) cures the infection in the great majority, with the pain easing over the first few days and the swelling and the firmness taking genuinely longer (the weeks: the lump behind the testicle often outlasts the infection by a month: alarming-feeling, normal, and fading), so the healing is judged at the weeks, not the days. The course completed matters (the stopping-early relapse is the classic), and the not-improving-at-72-hours or the worsening gets the re-review (the abscess is the rare complication: the scan, and occasionally the drainage). The partner testing joins when the STI kind is confirmed. Most men are fully better within the month.

Can it come back, or cause lasting problems?

The recurrence and the after-effects, honestly: the recurrence happens (the unfinished courses, the untreated plumbing problems (the prostate obstruction), and the untreated partners in the STI kind), and the repeated episodes earn the urology look at the underlying flow. The lasting problems are the uncommon kind: the chronic epididymal ache (a minority, managed with the pain strategies), the abscess (the rare, needs the drainage), the shrinkage of the testicle after the severe infections, and the fertility question (the one-sided kind rarely affects fertility genuinely; the two-sided severe kind can: worth the honest statement, though the ordinary one-sided treated case keeps its fertility). The prevention is the plumbing: the urinary problems treated, the diabetes controlled, the courses completed. One ordinary treated episode, thoroughly handled, is usually the whole story.

What do I do for the pain right now?

The genuinely effective comfort kit: the snug supportive pants or the jockstrap (the support genuinely eases the dragging ache: the single most useful thing), the simple painkillers on schedule (the paracetamol and the ibuprofen together cover most: taken regularly for the first days, not caught up), the ice pack (wrapped, ten minutes at a time, over the pants), the rest with the scrotum elevated (the towel roll under it when lying), and the avoided: the heavy lifting, the straining, and the sex until the course finishes. The antibiotics join from the appointment and do the curing underneath the comfort. The pain should ease genuinely by the third antibiotic day: if it is worsening instead, that is the re-review, not the endurance.

My son had this. Do children get it too?

They do, and the pediatric version has its own rules: in boys the epididymitis is usually the urinary-anatomy kind (the structural quirks of the plumbing: the refluxing urethras and the like, which is why the pediatric cases earn the urinary-tract imaging after recovery), sometimes the viral (the mumps in the unvaccinated), and rarely the abuse question (handled gently and routinely by the pediatricians: the safeguarding is standard, not an accusation). The same torsion rule applies doubly (the torsion is genuinely commoner in the boys and the teens: the sudden severe pain is the emergency), and the treatment is the antibiotics plus the anatomy workup. The take-home for the parents: the boy's testicular pain always gets examined promptly, the scan settles the torsion question, and the follow-up imaging looks after the plumbing.

Sources

Pymander is not a replacement for a physician and does not provide medical advice, diagnosis, or treatment.

Free AI doctor, 24/7 by textStart a free AI doctor consult