Epididymitis: Could It Explain Your Scrotal Pain—and When Do You Need Urgent Care?

Article information

Written by:
Hyo Cheul Park, MD

Published:

Specialty:

Audience & language:


Evidence policy
Conflict disclosures
Medical disclaimer

About authorship and review dates

Publication, literature-search, and editorial-change dates describe different activities. They do not by themselves establish a completed medical review. Check the article-specific reviewer, scope, and completion date where documented. Independent specialty review is not implied unless a reviewer is explicitly identified. Review process and specialty boundaries

For patients and the public | English | Urology
Author: Hyo Cheul Park, MD

Epididymitis is inflammation of the coiled tube behind a testicle, often caused by bacteria. It can cause pain and swelling, and treatment often includes antibiotics. But you cannot safely identify the cause of new scrotal pain at home. A twisted spermatic cord, called testicular torsion, can interrupt blood flow and needs emergency treatment. [1,2]

Sudden severe testicle or scrotal pain means go to an emergency department now. Do not wait for a routine visit, an antibiotic to work, or a scheduled ultrasound. Call 911 if you cannot travel safely. This guide is for US adults; it does not replace an examination. [2]

Key takeaways

  • New scrotal pain or swelling deserves prompt medical assessment.
  • Sudden severe pain, especially with nausea or vomiting, may be torsion—even in an adult.
  • Epididymitis can follow a sexually transmitted infection or a urinary infection; testing helps choose treatment.
  • Antibiotics treat bacterial infection; support and pain relief help while inflammation settles.
  • Contact your clinician if symptoms are not improving within 72 hours of starting treatment, or sooner if they worsen.
  • If an STI is suspected, partner treatment and a pause in sexual activity are part of recovery. [1–4]
Educational diagram labeling the testis and epididymis beside a patient speaking with a clinician, with a warning to seek emergency care for sudden severe pain.
Educational illustration, not a patient photograph or diagnostic image. Select the image to enlarge.

What is inflamed—and what might you notice?

The epididymis stores and transports sperm. Inflammation there is called epididymitis; inflammation involving the testicle as well is called epididymo-orchitis. Pain often affects one side and may build over several days. The scrotum may feel warm, tender, or heavy. Some people also develop burning with urination, discharge, or fever. These clues help an examination but do not establish the diagnosis. [1,5]

Not every swelling is an infection. For example, a varicocele involves enlarged scrotal veins. An existing diagnosis of a harmless lump does not explain away a new episode of severe pain.

When is it an emergency?

Torsion twists the cord supplying a testicle. It is more common around adolescence, but older men can have it too. Pain may arrive abruptly with nausea, vomiting, or a testicle sitting unusually high. Saving the testicle depends on restoring blood flow quickly. There is no safe waiting period at home. Go to an emergency department rather than a clinic that cannot arrange emergency surgery. [2]

SituationWhat to do
Sudden severe scrotal pain, especially with vomitingEmergency department now; torsion must be considered.
Rapidly spreading swelling or skin discoloration, severe pain, or feeling very illEmergency assessment for serious infection or tissue damage.
New, less severe pain, swelling, burning urine, or dischargeArrange same-day assessment; do not self-diagnose.
No improvement within 72 hours after treatment startsContact the treating clinician for reassessment; worsening warrants earlier help.

This is a guide to seeking care, not a way to rule out torsion. A symptom checklist or an online photograph cannot replace an examination. [2–4]

Does epididymitis always mean an STI?

No. Chlamydia or gonorrhea can cause it, but bacteria from the urinary tract can also travel to the epididymis. Problems emptying the bladder, a catheter, or recent urinary procedures may matter. Less common causes include injury, certain infections such as tuberculosis, or the medicine amiodarone. Do not stop a heart medicine yourself. [1,4]

Give the clinician an accurate, private history of sexual contact, urinary symptoms, and procedures. Testing is medical care, not a judgment about a relationship. Age alone should not decide which germs to cover. A prospective study of 237 patients found that broad microbiologic testing identified different causes; its results support testing rather than assumptions. This older, single-center study cannot tell you your own likelihood of an STI. [4,6]

Tell the clinician about a weak stream or incomplete emptying. Our guide to urethral narrowing and a weak urine stream explains one reason these symptoms may need investigation.

What tests might you need?

The first step is an examination and a history of when the pain began. Urine testing looks for inflammation and bacteria. A urine culture helps identify urinary germs and which antibiotics may work. A separate molecular test, called a NAAT, checks for gonorrhea and chlamydia. You may need different urine samples, so follow collection instructions. [4]

Ultrasound can assess blood flow and other causes of swelling when the diagnosis is uncertain. However, a scan does not replace clinical judgment: partial torsion can resemble inflammation, and a negative scan does not exclude epididymitis. HIV and syphilis testing are also recommended in acute epididymitis. [3]

Which treatments help?

For suspected bacterial epididymitis, clinicians may start antibiotics before results return and then adjust treatment. US CDC guidance uses ceftriaxone plus doxycycline when gonorrhea or chlamydia is likely. Selected patients need coverage for intestinal or urinary bacteria instead, or in addition. Levofloxacin alone is not appropriate when gonorrhea has not been ruled out. These are clinician-selected options, not instructions to use leftover medicine. [3]

Bring your medication and allergy list. Levofloxacin can cause uncommon but serious tendon, nerve, or nervous-system problems. If prescribed it, read the medication guide. New tendon pain, numbness, or tingling calls for stopping it and contacting the prescriber immediately for advice and an alternative when needed. Kidney function, other medicines, and past adverse reactions affect the choice. [7,8]

Most uncomplicated cases can be managed without surgery. Severe illness or an abscess may require hospital treatment, intravenous antibiotics, or drainage. The aim is to treat the cause, not simply suppress the pain. [4]

What can you do during recovery?

Rest from activities that aggravate the pain, wear supportive underwear, and use a cold pack wrapped in cloth rather than ice directly on skin. Ask which pain medicine is suitable for you. In particular, check with a pharmacist before combining ibuprofen or naproxen with levofloxacin. [5,7]

Take antibiotics for the prescribed course unless your clinician changes them or serious side effects require immediate advice. Improvement should begin within a few days, but tenderness and swelling can take longer to settle. A slower return to normal does not automatically mean treatment failed; ongoing or worsening symptoms still need reassessment. [5]

If chlamydia or gonorrhea is suspected or confirmed, avoid sex until you and your partners have been treated and symptoms have resolved. Partners from the preceding 60 days need evaluation and treatment; if the last contact was earlier, the most recent partner still needs care. Ask the clinic how to notify partners confidentially. [3]

What if pain or swelling persists?

Do not repeatedly restart antibiotics without a new assessment. Persistent swelling after treatment may need evaluation for an abscess, another infection, or a tumor. Pain lasting weeks can have noninfectious causes as well. [3]

Most treated cases do not lead to lasting sexual or reproductive problems, but chronic pain and impaired fertility are possible. Discuss fertility concerns, repeated episodes, or involvement of both sides with a urologist. [1] For a different pattern of ongoing discomfort, see our guide to chronic prostatitis and pelvic pain.

Questions to ask at your visit

  • Has torsion been adequately excluded?
  • Which urine and STI tests are being sent, and how will I receive results?
  • Why is this antibiotic appropriate for me?
  • Which side effects should make me stop it and call?
  • Do partners need treatment, and when may I resume sex?
  • When should I return if pain or swelling remains?

Conclusion

Epididymitis is one explanation for scrotal pain, but the first decision is whether emergency care is needed. Examination and testing guide treatment. Keep a clear follow-up plan, and seek reassessment if recovery is not progressing.

References

  1. MedlinePlus Medical Encyclopedia. Epididymitis. Reviewed September 2, 2024. Patient resource.
  2. MedlinePlus Medical Encyclopedia. Testicular torsion. Reviewed July 1, 2025. Emergency-care resource.
  3. Centers for Disease Control and Prevention. Sexually Transmitted Infections Treatment Guidelines, 2021: Epididymitis. Official guidance.
  4. European Association of Urology. EAU Guidelines on Urological Infections. 2026 edition. Sections 3.12, Acute epididymitis, and 3.13, Fournier’s gangrene. Full guideline.
  5. National Health Service. Epididymitis. Reviewed August 6, 2024. Used for general symptoms and supportive care; US treatment guidance governs the antibiotic discussion. Patient resource.
  6. Pilatz A, Hossain H, Kaiser R, et al. Acute epididymitis revisited: impact of molecular diagnostics on etiology and contemporary guideline recommendations. European Urology. 2015;68(3):428–435. doi:10.1016/j.eururo.2014.12.005. PubMed abstract.
  7. American Society of Health-System Pharmacists. Levofloxacin. MedlinePlus Drug Information. Revised August 15, 2026. Medication information.
  8. US Food and Drug Administration. Levaquin (levofloxacin) prescribing information. Revised October 2018. Historical regulatory source for boxed safety warnings; cross-checked against current patient medication information in reference 7. FDA label.

Author and article information

Hyo Cheul Park, MD. Dr. Park graduated from Chonnam National University College of Medicine, completed postgraduate surgical training at Gwangju Christian Hospital, and obtained board certification in general surgery in the Republic of Korea. He is the clinical author and editor of MedEvidence Global.

Literature search date: October 15, 2026. Guideline versions: CDC STI Treatment Guidelines 2021 and EAU Urological Infections 2026. The original study’s indexed abstract was checked; it is not a randomized treatment comparison. Antibiotic recommendations depend partly on expert guidance, local resistance, and the suspected organism. No single symptom reliably identifies the cause. Reassess at least annually or after important guideline or safety changes.

Medical disclaimer: This article provides general education and does not replace individual medical evaluation, diagnosis, or treatment.


Continue exploring: Professional reviews · Patient guides · Medical topics