Urinary and genital symptoms · Infection testing

Epididymitis: testicle pain, swelling and urgent testing

Pain or swelling on one side of the scrotum needs medical assessment. Sudden, severe testicle pain is an emergency because testicular torsion can cut off blood flow. Do not try to diagnose epididymitis at home or wait for urinary symptoms to appear.

The short answer

Sudden severe testicle pain needs emergency assessment because testicular torsion can cut off blood flow. Epididymitis can cause one-sided pain and swelling and may be related to an STI or urinary bacteria. Clinicians use examination and separate urine and STI tests to guide care.

October 21, 2026 · Sources checked October 21, 2026

About 8 min read

Guide to one-sided testicle pain and swelling, showing emergency assessment for sudden severe pain and testing for possible epididymitis.
Epididymitis can resemble other causes of scrotal pain. Sudden severe pain needs emergency assessment for testicular torsion.

What is epididymitis?

The epididymis is a narrow, coiled tube at the back of each testicle. It stores and carries sperm. Epididymitis means inflammation of this tube. When inflammation also involves the testicle, clinicians may call it epididymo-orchitis. The main symptom is often pain and tenderness on one side, sometimes with swelling or warmth.

Some cases are caused by sexually transmitted infections such as chlamydia or gonorrhea. Others involve bacteria from the urinary tract, including in people with urinary blockage, recent urinary procedures or prostate biopsy. The likely cause depends on age, sexual history, urinary symptoms, medical history and test results. A person may have an STI-related infection without noticing urethral symptoms.

Scrotal pain has several possible causes. Testicular torsion occurs when the cord supplying blood to a testicle twists. It is a surgical emergency. Infection and torsion can be difficult to distinguish by symptoms alone, so sudden severe pain must be assessed urgently even if a person suspects an infection.

When does testicle pain need emergency care?

Go to an emergency department now for sudden, severe pain in a testicle, especially with nausea, vomiting or lower abdominal pain. Torsion can damage the testicle if blood flow is not restored promptly. Do not wait for an appointment, a urine test, a change in swelling or a home treatment to see if pain settles. If you cannot travel safely, call local emergency services.

Prompt same-day medical assessment is also appropriate for new testicular pain, swelling, tenderness, fever, chills, painful urination or discharge. Fever with severe pain or rapidly increasing swelling can indicate a serious infection or another urgent condition. If you feel acutely unwell, faint, confused or have difficulty breathing, use emergency services.

Do not use the apparent position of the testicle, a pain response to lifting, or the presence or absence of burning urination to rule out torsion. These clues cannot safely replace clinical assessment. A person with a new scrotal lump or persistent swelling needs medical review even if pain is mild.

How do clinicians check for torsion?

The clinician asks when pain began, whether it was sudden or developed over time, whether it has happened before, and whether there are urinary symptoms, fever, discharge, recent sexual exposure, injury or a recent procedure. They examine the abdomen, groin and scrotum. The goal is to look for evidence of infection while deciding whether torsion or another urgent condition must be ruled out.

Ultrasound may be used when torsion is suspected or the diagnosis is unclear. It can show changes in the epididymis and help assess blood flow, but a scan is not a perfect substitute for the clinical assessment. CDC guidance notes that partial torsion can resemble epididymitis on ultrasound. If the symptoms and examination leave concern for torsion, urgent specialist evaluation matters.

For suspected acute epididymitis, clinicians may test urine for inflammation and send a bacterial urine culture. A urine nucleic acid amplification test (NAAT) is used to check for chlamydia and gonorrhea. These tests answer different questions: a routine bacterial culture does not replace STI testing. Depending on symptoms and history, clinicians may also test for other infections.

Tell the clinician about recent antibiotics, allergies, urinary retention, an enlarged prostate, a catheter, a biopsy or other procedure, and any past culture results. You can discuss sexual exposure privately with the clinician. Accurate information helps them select the right tests and treatment; it is not a judgment about you.

How is epididymitis treated?

Antibiotic treatment depends on whether the likely source is an STI, urinary bacteria or another cause. For suspected STI-related epididymitis, a clinician may start treatment before all test results return, then review the plan when results are available. If urinary bacteria are suspected, a urine culture can help tailor treatment. The right plan also considers allergies, previous bacteria, local resistance patterns and how sick the person is.

Do not take leftover antibiotics or share a prescription. An antibiotic that helped a previous urinary infection may not cover the current cause. If an STI is found or strongly suspected, ask which partners should be informed, tested or treated and when sexual contact can safely resume. Follow the clinic's advice, since recommendations depend on the infection and local practice.

Some discomfort and swelling can take time to resolve after treatment begins. Rest, supportive underwear and pain relief may be suggested by a clinician, but comfort measures must not delay assessment of sudden severe pain. If symptoms are not improving within 72 hours after treatment starts, contact the clinician for reassessment. Persistent swelling or tenderness after treatment is finished needs further evaluation rather than repeated antibiotics without a review.

What if tests do not show infection?

A negative STI test or urine culture does not by itself identify the cause of pain. The clinician considers the timing, examination and imaging, and may investigate other conditions. Persistent or recurrent pain can have causes other than infection, including trauma, a cyst, hernia, inflammation, a mass or referred pain. Ongoing symptoms deserve a clear follow-up plan.

If swelling, tenderness or a lump remains after treatment, arrange reassessment. CDC guidance advises clinicians to consider alternate diagnoses when symptoms persist, including abscess, infarction, a tumor, tuberculosis or other less common conditions. These possibilities are reasons to review persistent findings, not reasons to assume the most serious cause.

What follow-up should I expect?

Ask when the clinician expects improvement and what to do if pain or swelling is unchanged after 72 hours. Confirm who will review urine and STI test results and how you will receive them. If the treatment plan changes, ask whether a new medicine is needed and what precautions apply.

If chlamydia or gonorrhea is diagnosed, the clinic can explain partner services, repeat testing and steps to prevent passing the infection on. If tests instead point to urinary bacteria, ask whether an underlying urinary issue, such as incomplete emptying or a recent procedure, needs follow-up. A return visit may be needed when symptoms continue, a mass is felt, or the examination was limited by pain or swelling.

What should I ask about testicle pain?

If you feel uncomfortable discussing sexual history, you can ask to speak privately with the clinician. You can also ask why a test is recommended and how your information will be handled.

What CDC and NHS guidance says

Primary sources: the CDC epididymitis guidance and NHS advice on testicle pain. CDC says acute epididymitis can cause one-sided pain and swelling, can arise from STI or urinary bacteria, and should be evaluated for chlamydia, gonorrhea and urinary pathogens as appropriate. It emphasizes urgent assessment for sudden severe unilateral pain because torsion is a surgical emergency. NHS guidance likewise advises immediate emergency care for sudden severe testicle pain.

Questions to bring

Choose the questions that fit your situation and leave space to note the answers.

  • Has testicular torsion been ruled out, or do I need emergency urology assessment?
  • Will I have both a bacterial urine culture and separate STI testing?
  • When should symptoms improve, and who will review my test results?

Sources and further reading

  1. Centers for Disease Control and Prevention. Epididymitis. STI Treatment Guidelines.
  2. National Health Service. Testicle pain: urgent and emergency advice. Page reviewed June 26, 2025.
  3. Centers for Disease Control and Prevention. Clinical Guidance for STIs.
  4. European Association of Urology. Guidelines on Urological Infections: acute epididymitis.

Browse all Mighty Bladder articles