Download Article Download Article

Epididymitis is an infection of the epididymis (a small tube connecting the testes to the vas deferens) that’s usually caused by bacteria from a sexually transmitted infection (STI). The symptoms often mimic those of a urinary tract infection (UTI) at first, so how can you know if you have epididymitis? In this article, we’ll explain the symptoms, causes, and treatments for epididymitis, as well as what to expect when you visit the doctor. Keep scrolling to learn more about the condition and what you can do to recover.

Part 1
Part 1 of 4:

Common Symptoms

Download Article
  1. Over time, the swelling spreads outwards to the testicle, vas deferens, and other areas. Depending on the severity, this might feel like pain or discomfort in your abdomen, side, or pelvis. Abdominal pain may increase gradually and coincide with testicular pain. [1]
  2. The first symptoms of epididymitis begin when one epididymis swells and becomes tender to the touch. This feels like testicular pain on one side that gradually gets worse over several hours. [2]
    • The pain may feel acute and limited to one spot on the testicle at first, but may expand over the entire testicle.
    • See a doctor right away if you feel a sudden burst of pain in both testicles. This likely isn’t due to epididymitis and may indicate a medical emergency.
    • The first symptoms of epididymitis usually show within 24 hours of contracting the infection. [3]
    Advertisement
  3. A fluid bubble (hydrocele) may start to build up around the testicles, causing the scrotum to swell, look red, and feel warm to the touch. [4] As the infection spreads, the scrotum may swell up to 4 times its usual size. [5]
    • The swelling is typically accompanied by pain or discomfort that might feel acute and sharp or diffuse and dull.
    • The swelling and redness may start on one side (near the infected epididymis) and spread over the entire scrotum.
  4. You may feel discomfort, pain, or a burning sensation in your urethra when you use the bathroom (dysuria) or ejaculate. It’s also common to feel like you have to urinate much more frequently or with more urgency, similar to a urinary tract infection. [6]
    • In some cases, you may also see blood in your urine or semen.
    • Painful urination is a common symptom of a urinary tract infection (UTI). It’s possible that a UTI spread to the epididymis, causing epididymitis.
    • If you have a UTI and not epididymitis, there won’t be any testicular or scrotal pain and swelling.
  5. You may notice a clear, white, or yellowish fluid appear at the tip of the penis, indicating infection or inflammation in the urinary tract. This symptom is especially linked to epididymitis caused by an STI (sexually transmitted infection). [7]
  6. Less commonly, you may feel a fever as your body attempts to fight off the infection. In moderate to severe cases, you may also experience body aches and chills associated with fever. [8]
    • A fever is any temperature above 99°F to 99.5°F (37.2°C to 37.5°C). [9]
  7. More than 6 weeks of discomfort or pain in the scrotum, testicle, or epididymis indicates chronic epididymitis. Acute (short) infections are generally treated with prescribed antibiotics, but those with chronic infections need to see a urologist for clinical management. [10]
    • Let your doctor know how long you’ve been experiencing symptoms. This will inform the type of treatment and care you receive for your infection.
  8. Advertisement
Part 2
Part 2 of 4:

Possible Causes

Download Article
  1. Consider whether you had unsafe intercourse in the days or weeks before your symptoms began—if so, an STI is likely the cause. More than 80% of cases in men under 39 years old are caused by sexually transmitted infections, with chlamydia and gonorrhea being the most common. [11]
    • Chlamydia is responsible for around 60% of STI-caused epididymitis cases.
    • Wear a condom during intercourse and talk to your partner(s) about having safer sex to minimize your risk of an STI.
    • Epididymitis itself is not contagious, but the infections that cause it are.
  2. In children and young men that are not sexually active, epididymitis is typically caused by an infection in the urinary tract, kidneys, or bladder that spreads to the testicles and epididymis. [12] A history of UTIs and similar infections is a high risk factor for contracting epididymitis. [13]
    • Treat suspected UTIs or other infections as quickly as possible to prevent spreading into the testicles and scrotum.
    • Reduce infection rates by practicing good hygiene and keeping the genital area clean. [14]
  3. Sometimes, urine can backflow into the epididymis and cause an infection. This is known as chemical epididymitis and typically only happens under unique physical strain. Some of the known causes for urine reflux are: [15]
    • Having sex with too full of a bladder.
    • Heavy lifting or straining.
    • Strenuous breathing techniques like the Valsalva maneuver. [16]
    • Injury or trauma to the testicles or epididymis.
  4. Note whether you’ve had any recent medical procedures done in your groin area. In men over 35 years old, epididymitis may be the result of a procedure that introduced bacteria into the urinary tract system. These might include frequent catheters, surgery in the groin area, prostate procedures, or vasectomies. [17]
    • Other medical causes include urinary tract abnormalities, an enlarged prostate, and a history of frequent UTIs. [18]
  5. Think back on any recent injuries to your testicles and report them to your doctor. It’s uncommon for injury to cause an infection, but it’s possible (especially if your symptoms began after trauma like a kick or a baseball to the groin). [19]
  6. In unusual cases, the root cause of epididymitis is unidentifiable. This isn’t cause for alarm since the condition is still curable when it’s acute and manageable if it’s chronic. [20] Other times, the root cause is a rare condition or interaction with a medication, like: [21]
    • Viral infections such as the mumps (typically found in children).
    • Tuberculosis, especially among men with a recent exposure or history of TB. [22]
    • A heart medication called amiodarone. [23]
  7. Advertisement
Part 3
Part 3 of 4:

Getting a Diagnosis

Download Article
  1. Epididymitis does not clear up on its own, so it’s important to schedule an appointment with a health care provider quickly. [24] Respond to the doctor’s questions about your symptoms, health history, and possible risk factors (like recent unprotected sex) honestly. [25]
    • Go to the doctor for testicular pain or swelling, pain during urination, or discharge regardless of whether you think it’s epididymitis or something else.
  2. The doctor will wear gloves and inspect your scrotum and testicles for tenderness, enlargement, and other physical indications of epididymitis. Stay calm during the exam—it may feel awkward, but it’s a necessary step towards diagnosis and treatment. [26]
    • If necessary, the doctor may also feel your lower back if they suspect a kidney infection or perform a rectal exam to check your prostate.
  3. Because STIs are the most common cause, your doctor will request tests to check for chlamydia, gonorrhea, and other epididymitis-related infections. In addition to the physical exam, you may also be asked to complete the following: [27]
    • A urine test.
    • A blood test (a finger prick or blood draw).
    • A cheek, throat, urethra, or anal swab.
  4. Whether an STI is suspected or not, a urine test will be ordered to check for urinary tract infections or other, non-STI bacteria that may be causing epididymitis symptoms. [28] You may also need a swab from the urethra itself to rule out urethritis (an infection of the urethra). [29]
    • Urine tests are the least invasive test you’ll undergo during an epididymitis diagnosis. All you have to do is pee in a laboratory cup.
  5. Your doctor will likely search for C-reactive proteins, erythrocyte sedimentation, or a white blood cell count (WBC) that indicates your body is fighting an infection or reacting to an abnormality. Your blood may also contain bacteria related to the infection. [30]
    • If you get nervous about needles, stay hydrated and eat a meal before your appointment. Focus on your breathing during the needle poke. [31]
  6. An ultrasound isn’t always necessary, but may be ordered to confirm you’re not experiencing testicular torsion (twisting of the spermatic cord(s)), which is a surgical emergency. It will also help pin down a diagnosis if your medical history, physical examination, and lab tests are inconclusive. [32]
    • Ultrasounds are painless tests that look at body tissues with sound waves. The technician will look for structural problems around the epididymis. [33]
    • In some cases, a CT scan or MRI may be ordered to rule out other causes of swelling and pain like cancer, gangrene, or hernia. [34]
  7. Advertisement
Part 4
Part 4 of 4:

Treating Epididymitis

Download Article
  1. Since the majority of cases are caused by bacteria, a 2-week dose of antibiotics is the standard treatment. [35] The exact prescription depends on whether the cause was an STI or not. However, most sexually active men will receive presumptive therapy for STIs (a prescription to treat an STI before a positive lab result comes in) to prevent the spread of infections like chlamydia or gonorrhea. [36]
    • Most regimens includes a 500mg dose of Ceftriaxone (likely delivered as a shot) plus 1-2 Levofloxacin or Doxycycline pills per day for 10+ days. [37]
    • If an STI is the root cause, your partner(s) will be prescribed antibiotics as well.
    • The infection will be cured by the end of your antibiotic prescription (typically 10-14 days), but some discomfort may take several weeks to go away. [38]
  2. Your doctor may prescribe or recommend anti-inflammatory pain medicine, like Ibuprofen , to reduce testicular pain or swelling while the antibiotic clears up the infection. If pain and swelling continue after 10 days of taking NSAIDs, follow up with your doctor. [39]
    • In general, adults and teens can take 400mg of Ibuprofen every 4 hours or as needed. [40]
  3. Commit to several days of bed rest to reduce stress on your groin and alleviate pain and discomfort. Try laying down on your back with a pillow, towel, or rolled shirt underneath your scrotum to keep it elevated and reduce swelling. [41]
    • When you're not laying down, wear supportive underwear that keeps your scrotum relatively still and cradled. [42]
  4. Apply a cold compress to reduce swelling. Ice reduces blood flow, which alleviates inflammation and acute pain. Wrap an ice pack in a cloth and apply it to your scrotum for no more than 20 minutes at a time to prevent skin damage. [43]
    • Don’t apply cold compresses or ice packs directly to the skin, especially in a highly sensitive place like the scrotum or groin.
  5. Take frequent warm or sitz baths for chronic epididymitis. [44] Soak your abdomen, groin, and scrotum in warm water for about 30 minutes at a time to manage pain. Fill up your bathtub with 3-4 inches (7.6-10.1 cm) of warm water, or place a sitz bath bowl on top of your toilet and fill it with warm water before taking a seat. [45]
    • Take a sitz bath as often as you need.
    • Your doctor may recommend adding salt or medicine to the water if baths are part of your long-term treatment plan.
  6. Notice whether your symptoms begin disappearing after you start your antibiotics. If there’s no relief within 72 hours, call or visit your doctor for a reevaluation—it’s possible there’s a stronger infection or another cause of symptoms that needs to be treated. [46]
    • Some symptoms, like scrotal swelling, may linger after you finish your antibiotics. Check with a doctor to confirm if you need additional treatment.
    • In very rare and severe cases, surgery may be required to remove abscesses or malformed portions of the epididymis. [47]
  7. Advertisement

Expert Q&A

Search
Add New Question
  • Question
    Can I still have sex?
    Luba Lee, FNP-BC, MS
    Board-Certified Family Nurse Practitioner
    Luba Lee, FNP-BC is a Board-Certified Family Nurse Practitioner (FNP) and educator in Tennessee with over a decade of clinical experience. Luba has certifications in Pediatric Advanced Life Support (PALS), Emergency Medicine, Advanced Cardiac Life Support (ACLS), Team Building, and Critical Care Nursing. She received her Master of Science in Nursing (MSN) from the University of Tennessee in 2006.
    Board-Certified Family Nurse Practitioner
    Expert Answer
    You should avoid sexual intercourse until you and your sexual partner(s) treatments are completed and you and your partner/s are asymptomatic.
  • Question
    I've been suffering for epididymitis for the past 10 months and antibiotics aren't working. What should I do?
    Luba Lee, FNP-BC, MS
    Board-Certified Family Nurse Practitioner
    Luba Lee, FNP-BC is a Board-Certified Family Nurse Practitioner (FNP) and educator in Tennessee with over a decade of clinical experience. Luba has certifications in Pediatric Advanced Life Support (PALS), Emergency Medicine, Advanced Cardiac Life Support (ACLS), Team Building, and Critical Care Nursing. She received her Master of Science in Nursing (MSN) from the University of Tennessee in 2006.
    Board-Certified Family Nurse Practitioner
    Expert Answer
    You should follow up with your doctor for the thorough evaluation.
Ask a Question
      Advertisement

      Tips

      • The most effective way to prevent epididymitis is to practice safe sex with a condom. [48]
      • After diagnosis, contact any sexual partners you had contact with within 60 days of the onset of your symptoms. They will need to be tested and treated for STIs. [49]
      • In almost all cases, the epididymitis will be 100% cured by the time you finish your antibiotic prescription (usually within 10-14 days).
      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Thanks for submitting a tip for review!
      Advertisement

      Warnings

      • See a doctor as soon as possible if you have any symptoms of epididymitis. It does not clear up on its own and may cause additional, more severe complications if left untreated.
      • Refrain from sexual intercourse until all symptoms have disappeared and you’re cleared by your doctor. Otherwise, you might spread an STI to a partner.
      • Go to the ER if you experience sudden pain in both testicles. This could be testicular torsion, which is treated with emergency surgery. [50]
      Advertisement
      1. https://www.cdc.gov/std/treatment-guidelines/epididymitis.htm
      2. https://www.msurology.com/articles/epididymitis-signs-diagnosis-and-treatment
      3. https://denverurology.com/male-urology/epididymitis/
      4. https://www.msurology.com/articles/epididymitis-signs-diagnosis-and-treatment
      5. https://www.msurology.com/articles/epididymitis-signs-diagnosis-and-treatment
      6. https://www.msurology.com/articles/epididymitis-signs-diagnosis-and-treatment
      7. https://www.merckmanuals.com/professional/genitourinary-disorders/penile-and-scrotal-disorders/epididymitis
      8. https://www.merckmanuals.com/professional/genitourinary-disorders/penile-and-scrotal-disorders/epididymitis
      9. https://www.msurology.com/articles/epididymitis-signs-diagnosis-and-treatment
      10. https://denverurology.com/male-urology/epididymitis/
      11. https://denverurology.com/male-urology/epididymitis/
      12. https://www.msurology.com/articles/epididymitis-signs-diagnosis-and-treatment
      13. https://www.cdc.gov/std/treatment-guidelines/epididymitis.htm
      14. https://www.msurology.com/articles/epididymitis-signs-diagnosis-and-treatment
      15. https://denverurology.com/male-urology/epididymitis/
      16. https://www.valleychildrens.org/urology/conditions/epididymitis-in-children
      17. https://www.merckmanuals.com/professional/genitourinary-disorders/penile-and-scrotal-disorders/orchitis
      18. https://www.plannedparenthood.org/learn/stds-hiv-safer-sex/get-tested/how-does-std-testing-work
      19. https://www.childrenscolorado.org/conditions-and-advice/conditions-and-symptoms/conditions/epididymitis/
      20. https://www.msurology.com/articles/epididymitis-signs-diagnosis-and-treatment
      21. https://www.msurology.com/articles/epididymitis-signs-diagnosis-and-treatment
      22. https://rightasrain.uwmedicine.org/well/health/needle-anxiety
      23. https://www.cdc.gov/std/treatment-guidelines/epididymitis.htm
      24. https://www.valleychildrens.org/urology/conditions/epididymitis-in-children
      25. https://www.msurology.com/articles/epididymitis-signs-diagnosis-and-treatment
      26. https://denverurology.com/male-urology/epididymitis/
      27. https://www.cdc.gov/std/treatment-guidelines/epididymitis.htm
      28. https://www.cdc.gov/std/treatment-guidelines/epididymitis.htm
      29. https://denverurology.com/male-urology/epididymitis/
      30. https://www.childrenscolorado.org/conditions-and-advice/conditions-and-symptoms/conditions/epididymitis/
      31. https://www.mayoclinic.org/drugs-supplements/ibuprofen-oral-route/proper-use/drg-20070602
      32. https://www.valleychildrens.org/urology/conditions/epididymitis-in-children
      33. https://www.buoyhealth.com/learn/epididymitis
      34. https://www.childrenscolorado.org/conditions-and-advice/conditions-and-symptoms/conditions/epididymitis/
      35. https://www.betterhealth.vic.gov.au/health/conditionsandtreatments/epididymitis
      36. https://www.saintlukeskc.org/health-library/taking-sitz-bath
      37. https://www.cdc.gov/std/treatment-guidelines/epididymitis.htm
      38. https://denverurology.com/male-urology/epididymitis/
      39. https://www.msurology.com/articles/epididymitis-signs-diagnosis-and-treatment
      40. https://www.valleychildrens.org/urology/conditions/epididymitis-in-children
      41. https://www.cdc.gov/std/treatment-guidelines/epididymitis.htm

      About This Article

      Article Summary X

      Epididymitis is an inflammation of the tube connected to your testicles, which is often caused by an infection. One common sign of epididymitis is testicular pain that begins on one side and slowly expands to the other side. If you have an infection, you may experience pain or blood when urinating, swelling, and redness. Other symptoms include clear, white, or yellowish discharge from your urethra, which may mean the infection is caused by a sexually transmitted infection. If you notice any of these symptoms, visit your doctor to be examined and properly treated. Your doctor will test for sexually transmitted infections and do some blood tests. Depending on your condition, they may prescribe medication like antibiotics to treat the infection. For more tips from our Medical co-author, like how to relieve discomfort caused by epididymitis, keep reading.

      Did this summary help you?
      Thanks to all authors for creating a page that has been read 429,289 times.

      Reader Success Stories

      • Rob Sacks

        Jul 30, 2016

        "Informative; my pain is gone, yet some swelling remains. I'm trying to find out if unprotected sex can infect ..." more
      Share your story

      Did this article help you?

      Advertisement