Guide for patients & caregivers
Epididymitis and Orchitis: What Causes a Swollen, Painful Testicle?
Epididymitis and orchitis explained: symptoms, causes including STIs, urine infections and mumps, how treatment works, and torsion signs that need A&E now.
Prepared with AI assistance and checked against the cited sources. No independent clinician review has been completed. How we prepare articles
What is epididymitis and how is it different from orchitis?
Epididymitis is when the epididymis, a coiled tube at the back of each testicle that stores sperm, becomes swollen and painful. The NHS says it is often caused by an infection and is usually treated with antibiotics. Orchitis is inflammation of the testicle itself.
Healthdirect Australia explains that epididymitis often happens at the same time as orchitis, and the combination is called epididymo-orchitis. In practice, the two words often describe one painful, swollen area of the scrotum, and the clinician will use whichever term fits the examination.
This guide explains the condition in general terms. It cannot tell you what is causing your own pain, and a swollen or painful testicle always needs to be examined in person.
Testicle pain that needs emergency care: torsion signs
Before thinking about infection, rule out an emergency. The NHS says to go to A&E immediately or call 999 (or your local emergency number) for any of the warning signs listed below.
Testicular torsion happens when a testicle twists around the spermatic cord and cuts off its own blood supply. Healthdirect lists symptoms including sudden and severe scrotal pain, swelling and redness, nausea or vomiting, pain in the lower tummy or thigh, one testicle sitting higher than normal and difficulty walking.
Healthdirect says torsion is most common in teenagers but can happen at any age, and that surgery should be done within 6 hours from when the pain started to help prevent permanent damage. If the pain comes on suddenly and then settles by itself, it still advises seeing a doctor as soon as possible.
Epididymitis and torsion can feel alike at first. Do not wait to see whether antibiotics or painkillers help, and do not drive yourself: the NHS advises asking someone to drive you or calling for an ambulance.
- sudden, severe pain in a testicle
- testicle pain along with feeling sick, being sick or pain in your tummy
- testicle pain that has lasted more than an hour or continues when you are resting
What are the symptoms of epididymitis?
The NHS lists sudden or gradual pain in one or both testicles, a scrotum that feels tender, warm and swollen, and sometimes a build-up of fluid around the testicle (a hydrocele) that feels like a lump or swelling.
Other symptoms depend on the cause. With an STI there may be discharge from the tip of the penis or stinging when peeing. With a urine infection there may be tummy pain, needing to pee often or burning when peeing. Healthdirect adds that some people feel sick and have a fever.
For urgent but non-emergency symptoms, the NHS suggests asking for an urgent GP appointment or using NHS 111 for a lump, swelling, a change in shape or feel, one testicle getting bigger than the other, or aching that worries you.
What causes epididymitis and orchitis?
The NHS says epididymitis is usually caused by a sexually transmitted infection such as chlamydia or gonorrhoea, which is more likely in men under 35. In men over 35, it says the main cause is usually a urine infection. A urine infection is more likely with an enlarged prostate, a urinary catheter or recent surgery to the groin, prostate or bladder.
Less common causes listed by the NHS include mumps, tuberculosis, a groin injury, Behçet's disease and amiodarone, a heart rhythm medicine. If you take amiodarone, do not stop or change it on your own; talk to the prescriber.
Mumps is a classic cause of orchitis. The NHS lists swollen testicles as a possible complication of mumps and advises calling NHS 111 or your local urgent service if someone with mumps has painful or swollen testicles. The NHS also says mumps is very unlikely in someone who has had both doses of the MMR vaccine or has had mumps before.
How is epididymitis diagnosed?
You can be seen by a GP or, in the UK, a sexual health clinic, many of which offer walk-in appointments. The NHS lists tests that may include a groin examination, a swab from the urethra to test for infection, urine and blood tests, and a rectal examination to check the prostate.
Healthdirect says you may be referred for an ultrasound, and that these tests can also rule out other conditions. If your scan came back normal but pain continues, the guide on testicular pain with a normal ultrasound covers what clinicians consider next.
How is epididymitis treated?
The NHS says treatment is usually antibiotics, given as injections, tablets or both, and that it is important to finish the whole course even if you start to feel better. Healthdirect notes that the choice of antibiotic depends on the bacteria involved, and that viral causes such as mumps do not need antibiotics. The specific medicine is decided by the treating clinician; ask a pharmacist or GP about anything you are unsure of.
The NHS says you should start to feel better within a few days, but full recovery may take up to 3 months. Healthdirect advises telling your GP if symptoms are not improving after 3 days of treatment. Do not stop a prescribed antibiotic or change how you take it without speaking to the prescriber.
Self-care measures in the NHS and Healthdirect pages include painkillers such as paracetamol or ibuprofen, a cold pack wrapped in a cloth, rest and supportive underwear. The NHS adds that people with a history of seizures should ask a pharmacist about which painkiller is suitable, because NSAIDs such as ibuprofen should not be taken with some of the antibiotics used.
Do sexual partners need testing?
If an STI is the cause, the NHS says current or recent partners from the past 6 months may be advised to get tested. Both the NHS and Healthdirect advise not having sex until treatment is finished, with Healthdirect saying at least 7 days after starting treatment or until symptoms resolve, whichever is later. A sexual health clinic can help with telling partners confidentially.
Healthdirect lists possible complications of untreated epididymitis, including long-term infection, chronic pain and infertility, and says prompt treatment reduces that risk.
Questions to ask your clinician
Writing these down before the appointment can help you leave with a clear plan.
- Have you ruled out testicular torsion, and what would make you want to look again?
- What do you think the most likely cause is, and which tests confirm it?
- Do my partners need testing, and when is it safe to have sex again?
- How soon should I feel better, and when should I come back if I do not?
- Is an ultrasound needed now, or only if things do not settle?
- Could any medicine I take be involved?
How SameCase can help you prepare
On SameCase, patients and verified doctors share de-identified cases. Reading how others with scrotal pain described their symptoms, tests and follow-up can help you put your own questions into words before an appointment. Other people's cases cannot diagnose you or show what will happen to you, and they never replace urgent care for sudden pain.
Sources and further reading
For patients & caregivers
Share your case and learn from others
Learn from doctors and other people's cases to find a way forward with your health problem. New cases are public immediately. Don't add names or identifying details.