Urology

Medicines for Epididymitis

Inflammation, usually from infection, of the tube behind the testicle — causing a gradually painful, swollen scrotum and treated with antibiotics, pain relief and rest, with sudden severe testicular pain always treated as a possible emergency.

Education and reference only. This explains which medicines are used and why, in plain language — it deliberately contains no doses and is not a substitute for advice from your doctor or pharmacist. Always discuss your own treatment with a qualified clinician, and check the BNF and the product labelling for prescribing detail.

Quick answer

What is Epididymitis?

Epididymitis is inflammation, most often caused by infection, of the epididymis — the coiled tube that sits behind each testicle and stores and carries sperm. It typically comes on gradually over hours to a day or two, causing pain, swelling and tenderness on one side of the scrotum, which may feel warm or look red; there may also be urinary symptoms such as needing to pass urine often or a burning feeling, or a discharge from the penis.

  • How it is treated: The most important first step is to make sure the problem is not testicular torsion — a twisting of the testicle that cuts off its blood supply and is a surgical emergency — because sudden, severe testicular pain, especially in a young person, must be assessed urgently rather than assumed to be infection.
  • Self-care: While antibiotics treat the infection, several measures help you feel more comfortable and recover.
  • When to seek help: Treat sudden, severe testicular pain as an emergency.

What it is

Epididymitis is inflammation, most often caused by infection, of the epididymis — the coiled tube that sits behind each testicle and stores and carries sperm. It typically comes on gradually over hours to a day or two, causing pain, swelling and tenderness on one side of the scrotum, which may feel warm or look red; there may also be urinary symptoms such as needing to pass urine often or a burning feeling, or a discharge from the penis. The cause depends partly on age and sexual activity. In younger, sexually active men it is often due to a sexually transmitted infection such as chlamydia or gonorrhoea, which is why treatment is chosen to cover these. In older men, and in those with urinary problems or a catheter, it is more often caused by the same bacteria that cause urinary infections. Sometimes the nearby testicle is also inflamed, known as epididymo-orchitis. The most important point is that the sudden onset of severe testicular pain is not assumed to be epididymitis: it can be testicular torsion, a surgical emergency, so any sudden, severe testicular pain needs immediate medical assessment.

How it is treated

The most important first step is to make sure the problem is not testicular torsion — a twisting of the testicle that cuts off its blood supply and is a surgical emergency — because sudden, severe testicular pain, especially in a young person, must be assessed urgently rather than assumed to be infection. Once epididymitis is confirmed, the mainstay of treatment is antibiotics, with the choice guided by the most likely cause. In younger, sexually active men a regimen that covers sexually transmitted infections such as chlamydia is used, which is why an antibiotic from the tetracycline group is often included. In older men or where a urinary-type infection is more likely, an antibiotic effective against urinary bacteria is chosen, ideally guided by a urine sample sent to the laboratory. Alongside antibiotics, pain relief, rest, supporting the scrotum and applying something cool can ease discomfort while the inflammation settles, which usually takes some weeks. Where a sexually transmitted infection is the likely cause, testing for sexually transmitted infections and treating recent sexual partners are an important part of care, often through a sexual health clinic. Anyone not improving, or who becomes more unwell, is reassessed.

Beyond medication

Lifestyle and self-care

While antibiotics treat the infection, several measures help you feel more comfortable and recover. Resting and, where it helps, supporting the scrotum with snug underwear or a support can ease the dragging discomfort, and applying a cool pack (wrapped, not directly on the skin) may relieve pain and swelling; simple pain relief also helps. Complete the full course of antibiotics exactly as prescribed, even once you start to feel better, and go back if you are not improving within a few days. If a sexually transmitted infection is the likely cause, attending a sexual health clinic for full testing matters, and your recent sexual partners should be tested and treated to prevent reinfection and onward spread; avoid sex until you and any partners have completed treatment and been given the all-clear. Drinking enough fluids supports recovery. It can take several weeks for the swelling and tenderness to settle fully, so be patient and seek review if symptoms drag on.

When to get help

When to see a doctor

Treat sudden, severe testicular pain as an emergency. If the pain in a testicle comes on suddenly and is severe — especially in a teenager or young man, and particularly if the testicle is very tender, swollen or sitting higher than usual, or there is nausea and vomiting — this could be testicular torsion, where the blood supply is cut off and the testicle can be lost within hours. Do not wait to see if it settles: go straight to A&E or call 999, as it needs immediate surgical assessment. For the more gradual pain and swelling of epididymitis, see your GP or a sexual health clinic promptly so it can be assessed and antibiotics started; seek same-day advice if you also have a high temperature, feel generally unwell, or the scrotum becomes very swollen or red. Go back urgently if you are not improving after starting treatment, the pain worsens, or you become more unwell.

999Emergency — call 999 or go to A&E
111Urgent advice — call NHS 111 or use 111 online
GPNon-urgent — see your GP or pharmacist

Not sure how urgent it is? It is always OK to call NHS 111 for advice, day or night.

Answers

Epididymitis: frequently asked questions

What medicines are used for epididymitis?

The mainstay of treatment is antibiotics, with the choice guided by the most likely cause. In younger, sexually active men the cause is often a sexually transmitted infection, so a regimen that covers chlamydia is used — typically including an antibiotic from the tetracycline group, such as doxycycline. In older men, or where a urinary-type infection is more likely, an antibiotic effective against urinary bacteria is chosen instead, ideally guided by a urine sample sent to the laboratory. Pain relief, rest and scrotal support ease symptoms while the inflammation settles. Importantly, before treating for infection, a doctor will make sure the problem is not testicular torsion, which is a surgical emergency rather than something antibiotics can treat.

Could my testicular pain be something more serious?

Yes — this is the most important thing to be aware of. The sudden onset of severe pain in a testicle, especially in a teenager or young man, can be testicular torsion: a twisting that cuts off the blood supply to the testicle. It is a surgical emergency, because the testicle can be permanently damaged within hours if it is not untwisted quickly. Warning signs include very sudden, severe one-sided pain, a swollen or high-riding testicle, and feeling sick or vomiting. Do not assume severe testicular pain is just an infection and wait for it to pass — go straight to A&E or call 999 for immediate assessment. Epididymitis, by contrast, usually builds up more gradually over a day or two.

Is epididymitis a sexually transmitted infection?

Not always — it depends on the cause. In younger, sexually active men, epididymitis is frequently caused by a sexually transmitted infection such as chlamydia or gonorrhoea, which is why treatment in this group is chosen to cover these and why testing at a sexual health clinic is recommended. In older men, and in those with urinary problems, a catheter, or after urinary procedures, it is more often caused by the same bacteria responsible for urinary tract infections, and is not sexually transmitted. Because the likely cause differs, working out which applies guides the right antibiotic. Where a sexually transmitted infection is the cause, recent sexual partners should be tested and treated to prevent reinfection and onward spread.

How long does epididymitis take to get better?

With the right antibiotics, the pain and fever often begin to ease within a few days, but the swelling and tenderness in the scrotum can take several weeks to settle completely, so some lingering discomfort is normal during recovery. It is important to finish the full course of antibiotics even once you feel better, to rest, and to support the scrotum and use simple pain relief as needed. If a sexually transmitted infection was the cause, avoid sex until you and any partners have completed treatment. See your doctor again if you are not improving after a few days, if the pain worsens, or if you become more unwell, as treatment may need adjusting or further checks may be needed.

Building a patient-information or formulary resource?

We create evidence-led, dose-free clinical references and decision aids for teams.

☎ Call Get a Proposal