Skip to content
Sign in

The swelling behind my testicle has been there for months and did not improve with antibiotics. Now the doctor suspects TB and wants urine tests. Can TB affect the testicles?

An AskHim answer: what is known, what depends on you, and what only a clinician can decide.

From AskHim’s editorial team. The team wrote this question to open the topic. It is not anyone’s submission, and nobody’s own words are in it.

Editorially reviewed Version 1 · Last reviewed 11 November 2026 · English

The short explanation

Yes, tuberculosis can affect the genital and urinary tract, including the epididymis, the tube behind the testicle. In India, where TB is common, doctors consider it when a swelling of the epididymis lasts for weeks to months and does not settle with standard antibiotics. It often causes a firm, sometimes knobbly, mildly painful swelling, and sometimes a discharging opening in the scrotal skin. Tests may include early morning urine samples for TB, a chest X-ray, an ultrasound, and sometimes a needle sample. TB of the epididymis is treatable with a full course of TB medicines, which are provided free under the national TB programme.

What depends on your situation

The parts of this that change from person to person. Uncertainty is stated, not hidden.

  • Completing the full TB treatment is important, even after symptoms improve. Stopping early can lead to drug-resistant TB.
  • Genital TB can affect fertility, so if you are planning children, mention it. Your family may be offered screening if you have TB elsewhere, such as in the lungs.

What this answer cannot determine

The boundary of online education. These need a clinician who can see you.

  • This cannot confirm TB. Only tests can.

Questions for your clinician

Take these with you. You can add any of them to an appointment card.

  1. Which tests are needed to confirm TB?
  2. Is TB present anywhere else, like the lungs or kidneys?
  3. Where can I get free TB treatment?
  4. Will this affect my fertility?

When to seek help

Clinician-approved guidance for this topic. When in doubt, being seen is never the wrong choice.

Emergency — call 112 now

  • Call 112 or 108 if you cough up blood, have difficulty breathing, or develop sudden severe testicle pain.

Book an appointment soon

  • Complete the tests within days so treatment can start.

Raise it at a routine appointment

  • Attend every TB programme visit and complete the full course.

Sources

The evidence this explanation is built on.

  1. Epididymitis NHS
  2. Scrotal swelling MedlinePlus (NIH)
  3. Testicle pain MedlinePlus (NIH)

Who wrote and reviewed this

Every AskHim answer names its author. A clinically reviewed answer also names the clinician who signed it off — if no clinician is named below, it has not been clinically reviewed.

Author
AskHim Editorial (AI-assisted)
Clinical reviewer
Nobody yet No clinician has signed this answer off. That is what the “Editorially reviewed” badge means, and why it does not say “Clinically reviewed”. It was written and checked by AskHim’s editorial team against the sources listed above, and it is queued for a clinician who works in this area.
Review status
Editorially reviewed
Last reviewed
Last reviewed 11 November 2026
Version
1

Correction history

Substantive changes are listed, not quietly edited away.

No corrections have been made since this answer was first published.

Did this answer your question?

Whatever you choose is filed against this version of the answer, never against you, and it is never shown as a count.

Explain more simply

“Explain more simply” asks which part was hard to follow, so the author knows what to rewrite. “My question is different” tells the editorial team this answer missed your point, then lets you ask your own question privately. Nothing about you is sent with either.


Saving, following up and reporting are all private. Nothing you do on this page is visible to other readers or to the doctor who wrote it, unless you ask a question.