U.S. flag

An official website of the United States government

NCBI Bookshelf. A service of the National Library of Medicine, National Institutes of Health.

StatPearls [Internet]. Treasure Island (FL): StatPearls Publishing; 2024 Jan-.

Cover of StatPearls

StatPearls [Internet].

Show details


; .

Author Information and Affiliations

Last Update: July 17, 2023.

Continuing Education Activity

Epididymitis is an inflammation of the epididymis, a tubular structure on the testis where sperms mature. Epididymitis is a relatively common condition that is easily be confused with testicular torsion. Epididymitis is managed medically, whereas testicular torsion is a surgical emergency. This activity reviews the presentation, evaluation, and management of epididymitis and highlights the role of the interprofessional team in managing patients with this condition.


  • Identify the etiology of epididymitis.
  • Summarize the presentation of acute epididymitis.
  • Explain the management of acute epididymitis.
  • Describe interprofessional team strategies for improving care coordination and communication to advance the treatment of epididymitis and optimize patient outcomes.
Access free multiple choice questions on this topic.


The epididymis is part of the genitourinary tract that includes the testes, the vas deferens, the prostate, the urethra, and the bladder. Epididymitis is an infection or inflammation of the epididymis, the tubular structure located on the posterior and superior aspect of the testis where sperms mature prior to ejaculation. Because of its proximity to the testis, any infectious or inflammatory process affecting the epididymis may spread to the testis itself, a condition known as epididymo-orchitis.[1][2][3]


The majority of cases of epididymitis occur as a result of bacterial infection. The types of bacterial infection include common urinary pathogens as well as pathogens known to cause sexually transmitted disease. In most cases of epididymitis, infection occurs either as a result of the retrograde flow of urine, most commonly seen in elderly males, or as a result of a sexually transmitted disease, most often encountered in males ages 20 to 40. In males prior to sexual maturity, the most common cause of epididymitis is inflammation that occurs as a result of trauma or repetitive activities such as sports. The possibility of a sexually transmitted disease, however, must be considered even in males prior to sexual maturity due to the possibility of sexual abuse. Other possible causes of epididymitis include chemical, drug-induced, and viral infections.[4][2][5]


Epididymitis can occur in men of any age, though the majority of cases of epididymitis occurs in males ages 20 to 39 and are most often associated with a sexually transmitted disease. Chlamydia trachomatis and Neisseria gonorrhea account for approximately 50% of cases of epididymitis associated with chlamydia and gonorrhea in males less than 39 years of age. After 39 years of age, the most common etiologic agent responsible for epididymitis is Escherichia coli and other coliform bacteria found in the gastrointestinal tract. In males prior to sexual maturity, epididymitis may still be caused by bacterial infections, but it is more common that epididymitis occurs as a result of an inflammatory process, such as repetitive activities like sports (e.g., running, jumping). Though rare, chemical epididymitis may occur as a result of exercising or having sexual intercourse with a full bladder, resulting in a retrograde flow of urine. Also, epididymitis may occur as a result of certain medications, namely amiodarone used in the treatment of cardiac dysrhythmia. Lastly, viral infections, such as mumps virus, can result in epididymitis or epididymo-orchitis.

Epididymitis is the most common cause of acute scrotal pain in adults. More than 600,000 men are affected yearly in the United States.


Epididymitis most often occurs as a result of a bacterial infection. In the case of a sexually transmitted disease, bacteria are introduced during sexual intercourse and migrate through the genitourinary tract to the epididymis. In cases of infection due to urinary tract infection, retrograde flow of urine or stagnation of urine along the genitourinary tract results in infection of the epididymis. When epididymitis is caused by repetitive movements, the mobility of the scrotum and its contents can result in inflammation of the testes or the epididymis. Certain viruses, namely mumps virus, have a predisposition to infect the testis.

History and Physical

The patient will likely complain of scrotal pain and swelling, quite often gradual in onset rather than acute. It may begin with flank pain that migrates to the scrotum. The patient may also complain of urinary symptoms such as dysuria, urinary frequency, urgency, or incontinence of urine. The patient might also complain of urethral discharge. A careful history should include the possibility of traumatic injury or injury from repetitive activities such as sports, sexual history including history of prior sexually transmitted disease exposures, and past medical history including problems associated with the genitourinary tract such as prior urinary tract infection, prostatitis, or surgical procedures.

A physical exam will likely reveal swelling of the scrotum, and palpation of the scrotum will likely reveal tenderness of the scrotum, usually unilaterally but in some cases bilaterally. Tenderness to palpation of the epididymis along the posterior and superior aspect of the testis is the hallmark of epididymitis. Tenderness upon palpation of the testis itself may indicate the possibility of epididymo-orchitis or orchitis. The skin overlying the scrotum may appear warm, erythematous, inflamed, and indurated as a result of infection. Tender inguinal adenopathy may be present as well. Physical examination of the penis may demonstrate a urethral discharge. Digital rectal examination may demonstrate tenderness upon palpation of the prostate gland. These findings, while not necessarily indicative of epididymitis itself, might be present in infections of the male genitourinary tract.


Evaluation of the male patient with scrotal pain should begin with urinalysis. Though nonspecific, the presence of red blood cells and white blood cells in the urine may indicate an acute infectious or inflammatory condition. Urine should be cultured to determine the causative agent in cases associated with urinary tract infection. A urethral swab is indicated in cases where the sexually transmitted disease is considered likely given the patient's sexual history. The radiographic evaluation includes ultrasonography with attention not only to the anatomic structure but also to assess vascular flow to the testis. Ultrasonography can demonstrate inflammation of the epididymis and testis in cases of epididymitis and epididymo-orchitis. Computerized tomography also may be of use in cases where the patient has flank pain and urinary symptoms associated with an acute genitourinary problem such as ureterolithiasis.[6][7][8]

Of utmost importance is ruling out the possibility of testicular torsion as a cause of scrotal pain. While epididymitis tends to occur rather gradually, the pain associated with testicular torsion often occurs very abruptly. History alone, however, may not be sufficiently clear to exclude the possibility of testicular torsion as a result of acute scrotal pain without the aid of emergent urological consultation and ultrasonography.[9]

Treatment / Management

Treatment of epididymitis is based upon identification of the causative organism, though presumptive treatment may be initiated based upon the prevalence of the most typical agents (C. trachomatis, N. gonorrhea, E. coli). For suspected sexually transmitted cases, ceftriaxone along with doxycycline is recommended although azithromycin can be used as an alternative. Fluoroquinolones may be used in older patients where an enteric organism is suspected or likely. Pain and swelling can be dramatically reduced in many cases by using ice.[10][11][12]

Epididymitis caused by repetitive activity is treated symptomatically with rest, anti-inflammatory medications, scrotal support, and close primary care follow-up.

Differential Diagnosis

The differential diagnoses of epididymitis include but are not limited to the following:

  • Epididymal congestion following vasectomy
  • Hydrocele
  • Orchitis
  • Referred or radicular pain
  • Scrotal trauma
  • Spermatocele
  • Testicular trauma
  • Testicular seminoma
  • Tunica vaginalis tumor
  • Urinary tract infection


Older age, previous history of diabetes mellitus, fever, higher white blood cell count, C-reactive protein level, and blood urea nitrogen level are independently associated with severity of epididymitis.[13] Patients with epididymitis secondary to a sexually transmitted disease have 2-5 times the risk of acquiring and transmitting HIV.[14] The outcomes for most men with epididymitis are excellent, but relapses may occur in patients who are not compliant with therapy.[15]


Epididymitis if not treated properly or promptly can lead to the following complications:

  • Infection of the epididymis can lead to the formation of an epididymal abscess
  • Progression of the infection can lead to the involvement of the testicle, causing epididymo-orchitis or a testicular abscess
  • Sepsis is a potential consequence of severe infection
  • Bilateral epididymitis may result in sterility due to occlusion of the ductules from peritubular fibrosis

Deterrence and Patient Education

Patients with epididymitis caused by the sexually transmitted disease should refrain from sexual intercourse until asymptomatic, should consider safe sex practices to reduce the chance of re-infection, and should refer sexual contacts to their primary care provider or to their local health department for evaluation and treatment. Patients with epididymitis caused by urinary tract infection should be encouraged to drink plenty of fluids to flush the genitourinary tract, should be advised to take the entire course of antibiotics as prescribed, and should follow up with both their primary care provider and with a urologist for further evaluation and management. When the provider entertains the possibility of sexual abuse, he or she should contact local authorities, child protective services, or other social service agencies based upon laws, policies, and procedures of that jurisdiction.

Enhancing Healthcare Team Outcomes

Epididymitis is a frequent presentation to the emergency department. However, the diagnosis can often be confused with testicular torsion, which is a surgical emergency. The emergency department provider, nurse practitioner, and internist who encounter patients with testicular pain should consult with a urologist if there is any doubt about the diagnosis.

Patients with epididymitis should be educated about safe sex practice. In addition, these patients should be encouraged to drink plenty of fluids to flush the genitourinary tract and be compliant with antibiotic therapy.

The outcomes for most men with epididymitis are excellent, but relapses may occur in patients who are not compliant with therapy.[15]

Review Questions


Liu W, Li YY, Shang XJ. [Mycoplasma genitalium and male urogenital diseases: An update]. Zhonghua Nan Ke Xue. 2018 Jul;24(7):645-650. [PubMed: 30173450]
Louette A, Krahn J, Caine V, Ha S, Lau TTY, Singh AE. Treatment of Acute Epididymitis: A Systematic Review and Discussion of the Implications for Treatment Based on Etiology. Sex Transm Dis. 2018 Dec;45(12):e104-e108. [PubMed: 30044339]
Shigemura K, Kitagawa K, Nomi M, Yanagiuchi A, Sengoku A, Fujisawa M. Risk factors for febrile genito-urinary infection in the catheterized patients by with spinal cord injury-associated chronic neurogenic lower urinary tract dysfunction evaluated by urodynamic study and cystography: a retrospective study. World J Urol. 2020 Mar;38(3):733-740. [PubMed: 30949801]
Agrawal V, Ranjan R. Scrotal abscess consequent on syphilitic epididymo-orchitis. Trop Doct. 2019 Jan;49(1):45-47. [PubMed: 30394857]
Agrawal V, Jha AK, Dahiya D. Clinical, radiological, cytological, and microbiological assessment of painful extratesticular lesions. Urol Ann. 2018 Apr-Jun;10(2):181-184. [PMC free article: PMC5907328] [PubMed: 29719331]
Bandarkar AN, Blask AR. Testicular torsion with preserved flow: key sonographic features and value-added approach to diagnosis. Pediatr Radiol. 2018 May;48(5):735-744. [PMC free article: PMC5895684] [PubMed: 29468365]
Ryan L, Daly P, Cullen I, Doyle M. Epididymo-orchitis caused by enteric organisms in men > 35 years old: beyond fluoroquinolones. Eur J Clin Microbiol Infect Dis. 2018 Jun;37(6):1001-1008. [PubMed: 29450767]
Tan WP, Levine LA. What Can We Do for Chronic Scrotal Content Pain? World J Mens Health. 2017 Dec;35(3):146-155. [PMC free article: PMC5746485] [PubMed: 29282906]
Fonseca EKUN, Tomazoni D, Enge Júnior DJ, do Amaral E Castro A. Inferno sign in epididymo-orchitis. Abdom Radiol (NY). 2017 Dec;42(12):2955-2956. [PubMed: 28647767]
Bodie M, Gale-Rowe M, Alexandre S, Auguste U, Tomas K, Martin I. Addressing the rising rates of gonorrhea and drug-resistant gonorrhea: There is no time like the present. Can Commun Dis Rep. 2019 Feb 07;45(2-3):54-62. [PMC free article: PMC6461120] [PubMed: 31015819]
Yamamichi F, Shigemura K, Arakawa S, Fujisawa M. What are the differences between older and younger patients with epididymitis? Investig Clin Urol. 2017 May;58(3):205-209. [PMC free article: PMC5419104] [PubMed: 28480347]
Janier M, Dupin N, Derancourt C, Caumes E, Timsit FJ, Méria P., la section MST de la SFD. [Epididymo-orchitis]. Ann Dermatol Venereol. 2016 Nov;143(11):765-766. [PubMed: 27773505]
Hongo H, Kikuchi E, Matsumoto K, Yazawa S, Kanao K, Kosaka T, Mizuno R, Miyajima A, Saito S, Oya M. Novel algorithm for management of acute epididymitis. Int J Urol. 2017 Jan;24(1):82-87. [PubMed: 27714879]
Nusbaum MR, Wallace RR, Slatt LM, Kondrad EC. Sexually transmitted infections and increased risk of co-infection with human immunodeficiency virus. J Am Osteopath Assoc. 2004 Dec;104(12):527-35. [PubMed: 15653780]
Lampejo T, Abdulcadir M, Day S. Retrospective review of the management of epididymo-orchitis in a London-based level 3 sexual health clinic: an audit of clinical practice. Int J STD AIDS. 2017 Sep;28(10):1038-1040. [PubMed: 28201951]

Disclosure: Timothy Rupp declares no relevant financial relationships with ineligible companies.

Disclosure: Stephen Leslie declares no relevant financial relationships with ineligible companies.

Copyright © 2024, StatPearls Publishing LLC.

This book is distributed under the terms of the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0) ( http://creativecommons.org/licenses/by-nc-nd/4.0/ ), which permits others to distribute the work, provided that the article is not altered or used commercially. You are not required to obtain permission to distribute this article, provided that you credit the author and journal.

Bookshelf ID: NBK430814PMID: 28613565


  • PubReader
  • Print View
  • Cite this Page

Related information

  • PMC
    PubMed Central citations
  • PubMed
    Links to PubMed

Similar articles in PubMed

See reviews...See all...

Recent Activity

Your browsing activity is empty.

Activity recording is turned off.

Turn recording back on

See more...