Epididymitis vs testicular torsion
Two causes of a painful, swollen testicle that can look alike at first, and why one of them cannot wait.
Published 20 November 2026
Sudden, severe testicle pain needs A&E or a 999 call now, not a clinic appointment, because testicular torsion can cost a testicle within hours. Epididymitis, an inflammation of the tube behind the testicle, is far more common and is usually treated with antibiotics, but the two overlap so much that even doctors often need a scan or an operation to be sure. This page explains how they differ, how they are told apart, and what treatment and recovery involve.
Is sudden testicle pain an emergency?
Yes. Treat sudden, severe pain in a testicle as an emergency until a doctor has proved otherwise. The NHS advises going to A&E immediately or calling 999 if you have sudden, severe testicle pain, testicle pain with feeling sick, being sick or tummy pain, or testicle pain that has lasted more than an hour or carries on while you are resting. Do not drive yourself: ask someone to take you, or call 999 for an ambulance.
The reason is testicular torsion. When the testicle twists on its cord, its own blood supply is cut off, and the European Association of Urology (EAU) describes a critical window of roughly four to six hours before damage becomes irreversible. Epididymitis, the most common alternative explanation, is painful but not usually an emergency in the same way. The two can look very similar at the start, and the NHS is explicit that you should not try to work out the cause of testicle pain yourself.
What is the difference between epididymitis and testicular torsion?
Torsion is a plumbing problem; epididymitis is an inflammation problem. In torsion, the spermatic cord, which carries the testicle's artery and veins, rotates. Veins are squashed first, so the testicle swells, and as the twist tightens the arterial supply fails and the tissue starves of oxygen. The longer and tighter the twist, the worse the outcome.
In epididymitis, the epididymis, the coiled tube that sits behind each testicle and stores sperm, becomes inflamed, usually because bacteria have travelled down from the urethra or bladder. The EAU describes unilateral pain, palpable swelling and warmth of the epididymis that worsen over several days, sometimes spreading to the testicle itself (epididymo-orchitis) and the scrotal skin. The blood supply is not cut off; if anything, inflammation increases blood flow to the area.
That mechanical difference explains why torsion is time-critical, why scans look for reduced rather than increased blood flow, and why one is treated with an operation and the other usually with antibiotics.
Epididymitis vs torsion side by side
The table summarises typical patterns described in the EAU guidelines and NHS information. These are tendencies, not rules: every feature listed for one condition can occur in the other, which is why none of them is used on its own.
Scroll the table sideways to see every column
| Feature | Testicular torsion | Epididymitis |
|---|---|---|
| What happens | Cord twists, blood supply to the testicle is cut off | Epididymis becomes inflamed, usually from infection |
| Usual onset | Sudden, often severe; may wake you from sleep | Builds over hours to days, though it can be sudden |
| Typical age | Commonest in adolescents and young men, but possible at any age | Any adult; STI causes more likely under 35, urine infection more likely over 35 |
| Where it is tender | The testicle itself; it may sit higher or lie horizontally | The tube behind the testicle, at least early on |
| Nausea or vomiting | Common | Possible; does not reliably separate the two |
| Fever, discharge, burning on passing urine | Uncommon | More common |
| Doppler ultrasound | Reduced or absent flow, but flow can look normal | Increased flow and swelling of the epididymis |
| Treatment | Emergency surgery to untwist and fix the testicle | Antibiotics, pain relief, support; admission if severe |
| Main risk if delayed | Loss of the testicle | Abscess, persistent swelling, spread of an STI to partners |
How do doctors tell epididymitis from torsion?
By combining the story, the examination and, where it will not cause delay, a scan. The EAU guideline is frank that in many cases the cause of an acutely painful scrotum is not easy to determine from history and examination alone. Each clue below shifts the odds; none settles the question by itself.
How fast it started
Torsion usually announces itself: sudden severe pain, often with a vagal reaction such as nausea or vomiting. In the studies summarised by the EAU, mainly in children and adolescents, 69% of people with testicular torsion presented within twelve hours, compared with 31% of those with epididymitis, whose pain tends to grow over days.
Exactly where it hurts
Early on, tenderness of the epididymis behind the testicle points towards epididymitis, while a tender testicle points towards torsion. After a few hours the whole scrotum is often swollen and this clue is lost.
Position and reflexes
A testicle that sits high or lies horizontally is more frequent in torsion. Doctors also stroke the inner thigh to check the cremasteric reflex, which normally lifts the testicle. In the studies the EAU cites, mainly in boys and adolescents, an absent reflex picked up every torsion (100% sensitivity) but was also absent in many people without torsion (66% specificity). A present reflex is therefore reassuring; an absent one proves nothing.
Prehn's sign
Lifting the scrotum may ease the pain of epididymitis but not of torsion. It is a traditional bedside test, not trusted on its own to rule torsion out.
Fever and urine tests
Fever is more common in epididymitis, and discharge or burning on passing urine suggests infection. Even so, the EAU warns that a normal urine test does not exclude epididymitis, and an abnormal one does not exclude torsion.
Doppler ultrasound
A Doppler scan shows blood flow in colour. It is useful, but it is operator-dependent and has an important blind spot: persistent flow does not exclude torsion. In one multicentre study of 208 boys with torsion, 24% had normal or increased blood flow on the scan, which can happen early on or when the twist is partial or intermittent. The EAU recommends that a scan should not delay surgery. Risk scores such as TWIST can speed decisions but, the EAU says, do not conclusively prove or refute torsion.
Why would a surgeon operate without being certain?
Because the cost of being wrong is so unequal. Exploring a scrotum that turns out to contain epididymitis means a short operation and a scar. Missing a torsion can mean losing a testicle. The British Association of Urological Surgeons (BAUS) states that, at present, scans and scoring systems are not as accurate as surgical exploration for making the diagnosis, and that treating torsion without surgery is very likely to lead to pain and shrinkage of the testicle.
The EAU explains why time matters so much. The two main factors deciding whether a testicle can be saved are the time from the start of symptoms to untwisting and how tightly the cord is twisted. In one study it cites, severe shrinkage occurred after as little as four hours when the cord had turned more than a full circle. A doctor in an emergency department may try to untwist the testicle by hand while theatre is prepared, but this must not delay surgery: in one study, 11 people who felt relief after manual untwisting still had some residual twist at operation.
What is torsion of the appendix testis?
It is a twist of a tiny, harmless tag of tissue attached to the top of the testicle or the epididymis, not of the testicle itself. It can cause sudden pain like true torsion, but tenderness is typically isolated to the upper pole of the testicle. The classic "blue dot" seen through the skin is present in only a minority of cases, between 10% and 23% in the series the EAU cites.
The EAU recommends managing it without surgery, using anti-inflammatory pain relief, with exploration in equivocal cases or if pain persists. BAUS notes that it is often difficult to make this diagnosis without an operation, and that if a twisted appendage is found at exploration it is simply removed.
What if testicle pain lasts more than an hour, or the testicle is swollen?
Testicle pain that has lasted more than an hour, or that continues while you are resting, is one of the NHS triggers for going to A&E or calling 999. That applies even if the pain was not dramatic at first.
A swollen, painful testicle on one side, whether the right or the left, can be caused by torsion, epididymitis, injury, a hernia or fluid around the testicle. Side alone does not point to a cause, as our London testicular pain clinic page explains. If the swelling and pain came on suddenly, go to A&E. If they have built up gradually over a day or two with fever, burning on passing urine or a discharge, infection is more likely, and the NHS advises an urgent GP appointment or NHS 111; a sexual health clinic can also assess and treat epididymitis.
Repeated episodes of sudden one-sided pain that settle by themselves deserve a review, because the EAU recognises partial and intermittent torsion. Ongoing ache over weeks or months is a different problem, covered in our guide to chronic testicular pain.
How is epididymitis treated, and how long does recovery take?
Treatment is aimed at the organism causing it, so testing comes first. The EAU recommends a midstream urine sample for culture and a first-void urine sample for nucleic acid amplification testing for chlamydia and gonorrhoea, and anyone with a probable sexually transmitted infection should be screened for others. A scrotal ultrasound is more accurate than a urine dipstick for diagnosing epididymitis and also helps exclude other problems.
Antibiotics are started before results return, chosen to cover the most likely bacteria, then adjusted once the culture is known. The EAU stresses that young age and sexual history are not reliable enough on their own to predict which organism is responsible, so both groups of bacteria are usually covered at first in sexually active men. If an STI is confirmed, current and recent partners need testing too, and the NHS advises avoiding sex until treatment of gonorrhoea or chlamydia is complete.
Recovery is slower than many people expect. The NHS says you should feel better within a few days but that full recovery can take up to three months. The EAU advises hospital admission for intravenous antibiotics in the exceptional cases with severe pain, fever, signs of general illness or a testicular abscess; a collection of pus may need draining surgically.
What happens in an operation for suspected torsion?
The operation is called scrotal exploration. BAUS describes it as usually being done under general anaesthetic through one incision in the middle of the scrotum or one on each side. If torsion is confirmed, the testicle is untwisted and, if it is healthy, stitched in place so it cannot twist again. BAUS says the other testicle is fixed at the same time to prevent it twisting in future.
BAUS lists the need to remove a testicle that is too damaged to recover as affecting between 1 in 2 and 1 in 10 patients. Swelling and bruising for a few days are common, skin stitches dissolve within two to three weeks, and heavy lifting and exercise should be avoided for the first few weeks.
Do epididymitis or torsion affect fertility?
Usually only modestly, and less than people fear. For epididymitis, the EAU cites a cohort study in which semen quality fell during the infection but recovered after successful treatment.
Torsion is more variable. The EAU paediatric guideline reports that up to half of patients may develop shrinkage of the affected testicle even after timely surgery, and that subfertility has been found in 36–39% of people after torsion, although in a long-term study paternity appeared unaffected compared with age-matched controls. Hormone levels after torsion generally remain within the normal range. Early surgery, with a mean twist time of less than 13 hours in one study, was associated with preserved fertility.
If you have had torsion or a severe episode of epididymitis and are planning a family, a semen analysis is a sensible starting point, and our male fertility service in London can review the result with you.
When should you see a urologist after an episode?
An emergency department or GP manages the acute episode. A urologist is useful afterwards if epididymitis keeps coming back, if swelling or pain has not settled, if a lump remains, after repeated short bouts of sudden pain, or for fertility questions after torsion. Older men whose epididymitis followed a urine infection may also need the bladder and prostate assessed, since the EAU lists an enlarged prostate and recent instrumentation among the risk factors.
Our consultants, Mr Maj Shabbir and Ms Raveen Kaur Sandher, Consultant Urological Surgeons, and Ms Elsie Mensah, Urology Specialist, all practise at Guy’s & St Thomas’, named by Newsweek in 2025 as the number one urology service in Europe. Appointments for testicular pain assessment in London are held at HCA at The Shard, HCA at Canary Wharf and HCA at Guy’s Hospital. Our pages on hydroceles, varicoceles and spermatoceles and on finding a lump on your testicle explain what a remaining lump may be. Fees are listed on our fees and insurance page, and you can contact us by phone on +44 7889 318584 (lines open Monday to Friday, 8am to 4pm).
A private clinic is the wrong place for new, sudden pain: go to A&E or call 999. Our general urology page covers the wider range of conditions we see.
Frequently asked questions
Can epididymitis be mistaken for testicular torsion?
Yes, in both directions, which is why doctors are cautious. The EAU names torsion as the most important alternative diagnosis in boys and young men with suspected epididymitis, and says the cause of a painful scrotum is often hard to determine from history and examination alone. If there is real doubt, surgeons usually explore rather than risk missing a twist.
Can a twisted testicle untwist by itself?
Sometimes the pain eases because the twist partly relaxes, but that is not the same as being safe. The EAU recognises partial and intermittent torsion, and in one study it cites, 11 people who felt better after the testicle was untwisted by hand still had some residual twist at operation. Pain that has eased after a sudden onset still needs same-day assessment.
Can men over 30 get testicular torsion?
Yes. BAUS describes torsion as a common emergency in adolescents and young men, and that is when it is most frequent, but it is not confined to any age group. Age makes torsion less likely; it never rules it out. Sudden severe pain at any age should be assessed in an emergency department the same day.
Is epididymitis always a sexually transmitted infection?
No. The NHS says it is usually caused by an STI such as chlamydia or gonorrhoea in men under 35, while in men over 35 the main cause is usually a urine infection. Less common causes include mumps, tuberculosis, injury and the heart medicine amiodarone. Because age is not a reliable guide, testing for both is normally done.
Should I take painkillers and wait to see if sudden testicle pain settles?
No. Waiting at home uses up time the testicle may not have: the window to save it is measured in hours. The NHS advice is to go to A&E immediately or call 999 for sudden severe pain, and not to drive yourself.
Will I lose my testicle if I have torsion?
Not necessarily. Many testicles are saved when surgery happens quickly, and both untwisting time and how tightly the cord twisted affect the outcome. BAUS lists the need to remove a testicle that is too damaged to recover as affecting between 1 in 2 and 1 in 10 patients having exploration.
Why does my testicle still ache weeks after epididymitis was treated?
Slow recovery is expected. The NHS says full recovery can take up to three months even when antibiotics have worked. Report it if the ache is worsening, you develop fever, or a firm lump remains once the swelling has gone down.
References and further reading
- NHS. Testicle pain. www.nhs.uk/symptoms/testicle-pain
- NHS. Epididymitis. www.nhs.uk/conditions/epididymitis
- European Association of Urology. Guidelines on Paediatric Urology (2026), chapter 8: Acute scrotum. d56bochluxqnz.cloudfront.net/documents/full-guideline/EAU-Guidelines-on-Paediatric-Urology-2026.pdf
- European Association of Urology. Guidelines on Urological Infections (2026), section 3.12: Acute epididymitis. d56bochluxqnz.cloudfront.net/documents/full-guideline/EAU-Guidelines-on-Urological-Infections-2026.pdf
- British Association of Urological Surgeons (BAUS). Exploration for suspected torsion of the testis (patient information leaflet). www.baus.org.uk/_userfiles/pages/files/Patients/Leaflets/Torsion%20of%20testis.pdf
External links open in a new window. The Andrology Centre is not responsible for the content of external websites.
Talk your options through with a specialist
The right choice depends on your history, examination and test results. A single consultation is usually enough to narrow it down.