Epididymitis is inflammation of your epididymis, a tube at the back of your testicle that carries sperm. This swelling can cause intense pain in your testicle. It can occur at any age, though it happens most often in people between the ages of 14 and 35.
Epididymitis is inflammation of your epididymis, a coiled tube at the back of your testicle that stores and carries sperm. This swelling can cause intense testicular pain.
Cleveland Clinic is a non-profit academic medical center. Advertising on our site helps support our mission. We do not endorse non-Cleveland Clinic products or services. Policy
While epididymitis refers to inflammation of the tube at the back of your testicle, orchitis refers to swelling of your testicle itself. Sometimes, these two conditions occur simultaneously. When this happens, it’s called epididymo-orchitis.
Epididymitis can occur at any age, though it happens most often in people between the ages of 14 and 35. Men and people assigned male at birth can develop epididymitis.
There are an estimated 600,000 cases of epididymitis in the United States each year.
Epididymitis symptoms may include:
Most cases of epididymitis are caused by an infection called E. coli. Some cases happen from bacteria called Mycoplasma or Chlamydia. These infections often come by way of sexually transmitted infections.
Sometimes, epididymitis occurs when pee (urine) flows backward into your epididymis. This can happen as a result of heavy lifting. Other epididymitis causes include:
Yes. You can get epididymitis through nonsexually transmitted infections. For example, prostate or urinary tract infections can spread to your epididymis.
Yes. Epididymis can spread through sexual contact. While epididymitis isn’t categorized as an STD, it’s still a common symptom of many STDs, including chlamydia and gonorrhea.
To diagnose epididymitis, your healthcare provider will examine your scrotum to look for a tender area or lump. They may also order a urinalysis (urine test) to look for bacteria in your pee. In some cases of epididymitis, ultrasound technology may be used to take diagnostic images of your scrotum.
Epididymitis treatment involves antibiotics. The most common medications include doxycycline, ciprofloxacin, levofloxacin or trimethoprim-sulfamethoxazole. Antibiotic treatment usually lasts about one to two weeks.
People with epididymitis can also relieve their symptoms by:
If epididymitis isn’t treated, complications can develop, such as an abscess (pus-filled sac) in your scrotum. Your scrotum’s skin may open because of swelling and infection.
In rare cases, epididymitis can cause fertility problems. Early diagnosis and treatment can help prevent these complications.
With proper treatment, epididymitis will go away. It’s important to seek treatment as soon as possible to avoid further complications.
An epididymitis infection can lead to serious problems if it’s not treated in a timely manner. Chronic epididymitis could cause an abscess to form on your scrotum. Or it could destroy your epididymis, resulting in infertility. In some cases, the infection can spread to other parts of your body.
While ejaculating doesn’t make an epididymitis infection worse, it can make the pain more intense for some people. It’s best to abstain from masturbation until you’re treated, and you definitely shouldn’t have sex with anyone until your healthcare provider gives you clearance.
To reduce your risk of epididymitis, you should:
If you’ve been diagnosed with epididymitis, your healthcare provider will prescribe an antibiotic regimen to ease your symptoms. They’ll also give you advice on how to relieve discomfort at home.
While epididymitis can be quite painful, it usually doesn’t cause any long-term problems, especially when treated early on.
Most people who are treated for epididymitis start to feel better after three days, though discomfort and swelling may last weeks or even months after finishing antibiotic treatment.
It’s important to finish the entire treatment recommended by your healthcare provider. If symptoms return, follow up with your provider. They can rule out other conditions, including a tumor or testicular cancer.
Call your healthcare provider if you develop any symptoms of epididymitis. If they confirm that your infection is due to a sexually transmitted infection, be sure to let recent sex partners know so that they can be examined and treated.
Any time you develop sudden or severe testicular pain, call 911 or head to your nearest emergency room.
If you’ve been diagnosed with epididymitis, you’ll want to learn all you can about your outlook and treatment options. Here are some questions you may want to ask your healthcare provider:
A note from Cleveland Clinic
Epididymitis is inflammation of your epididymis, a tube at the back of your testicle that carries sperm. It can be quite painful and interfere with your everyday life. With proper treatment, the infection will go away and your symptoms will improve. It’s important to take all medications exactly as prescribed and follow your healthcare provider’s recommendations to ensure a comfortable and successful recovery.
Last reviewed by a Cleveland Clinic medical professional on 07/18/2022.
Learn more about our editorial process.