To diagnosis epididymitis, your health care provider talks with you about your symptoms and examines your groin. This includes checking for enlarged lymph nodes in your groin and an enlarged testicle on the affected side. Your provider also might do a rectal exam to check for prostate enlargement or tenderness.

Tests may include:

  • STI screening. A narrow swab inserted into the end of your penis collects a sample of any discharge you may have. The sample is checked in the lab for gonorrhea and chlamydia.
  • Urine and blood tests. Samples of your urine and blood may be sent to the lab for testing, too.
  • Ultrasound. This imaging test uses sound waves to create pictures of your testicles. The test can show if you have testicular torsion. Testicular torsion is a twisting of the testicle that can cut off blood flow. If ultrasound with color Doppler shows lower blood flow to a testicle than is typical, the testicle is twisted. If blood flow is higher than typical, this can help confirm that you have epididymitis.

More Information


Treatment for epididymitis often includes antibiotics and comfort measures. Sometimes, surgery may be needed.


Antibiotics are needed to treat bacterial epididymitis and epididymo-orchitis — epididymitis infection that has spread to a testicle. If the cause of the bacterial infection is an STI, any sex partners also need treatment. Take all of the antibiotic medicine prescribed by your health care provider, even if your symptoms clear up sooner. This helps make sure that the infection is gone.

Comfort measures

You should start to feel better after 2 to 3 days on an antibiotic, but it may take several weeks for pain and swelling to go away. Resting, supporting the scrotum with an athletic supporter, applying ice packs and taking pain medicine can help relieve discomfort.

Your health care provider may want to see you at a follow-up visit to check that the infection is gone and your symptoms have improved.


If an abscess has formed, you might need surgery to drain it. Sometimes, all or part of the epididymis needs to be removed surgically. This surgery is called an epididymectomy. Surgical repair might be done when underlying problems with the anatomy of the urinary tract lead to epididymitis.

Lifestyle and home remedies

Epididymitis often causes a lot of pain. Try these tips to ease your discomfort:

  • Rest in bed.
  • Lie down so that your scrotum is elevated.
  • Apply cold packs to your scrotum as tolerated.
  • Wear an athletic supporter.
  • Avoid lifting heavy objects.
  • Avoid sex until your infection has cleared.

Preparing for your appointment

You might be referred to a specialist in urinary issues, called a urologist.

What you can do

Before your appointment, make a list of:

  • Your symptoms and when they began.
  • Key medical information, including previous STIs or medical conditions and procedures.
  • All medicines, vitamins, herbs or other supplements you take, including the doses. The dose is how much of the medicine you take.
  • Questions to ask your health care provider.

Some questions to ask your health care provider include:

  • What's the most likely cause of my symptoms? Are there other possible causes?
  • What tests do I need?
  • What treatments do you recommend?
  • How long will it take for me to feel better?
  • Should any of my partners be tested for an STI?
  • Should I restrict sexual activity during treatment?
  • I have other medical problems. How can I best treat them together?

Don't hesitate to ask other questions as they occur to you.

What to expect from your doctor

Your health care provider is likely to ask you questions, including:

  • How bad are your symptoms? Are they constant, or do they come and go?
  • Does anything seem to make your symptoms better or worse?
  • Do you have discharge from your penis or blood in your semen?
  • Do you have pain when you pass urine or a frequent or urgent need to urinate?
  • Do you have pain during sex or when you ejaculate?
  • Have you or any sex partner had or been tested for an STI?
  • Do your hobbies or work involve heavy lifting?
  • Have you been diagnosed with a prostate condition or urinary tract infection?
  • Have you had surgery in or near your urinary tract, or surgery that required the insertion of a catheter?
  • Have you had a groin injury?

What you can do in the meantime

While you wait for your appointment, avoid sexual contact that could put a partner at risk of contracting an STI. This includes oral sex and any skin-to-skin contact with your genitals.

April 06, 2023
  1. Sexually transmitted infections treatment guidelines, 2021: Epididymitis. Centers for Disease Control and Prevention. https://www.cdc.gov/std/treatment-guidelines/epididymitis.htm. Accessed Sept. 7, 2022.
  2. Epididymitis. Merck Manual Professional Version. https://www.merckmanuals.com/professional/genitourinary-disorders/penile-and-scrotal-disorders/epididymitis#. Accessed Sept. 7, 2022.
  3. Khastgir J. Advances in the antibiotic management of epididymitis. Expert Opinion on Pharmacotherapy. 2022; doi:10.1080/14656566.2022.2062228.
  4. Ferri FF. Epididymitis. In: Ferri's Clinical Advisor 2023. Elsevier; 2023. https://www.clinicalkey.com. Accessed Sept. 7, 2022.
  5. Eyre RC. Acute scrotal pain in adults. https://www.uptodate.com/contents/search. Accessed Sept. 7, 2022.
  6. Eyre RC. Nonacute scrotal conditions in adults. https://www.uptodate.com/contents/search. Accessed Sept. 7, 2022.
  7. Lynch S. Acute epididymitis. Journal of the American Academy of Physician Assistants. 2018; doi:10.1097/01.JAA.0000530304.69021.4b


Associated Procedures

Products & Services