The short answer: no STI directly shrinks the testicle on its own, but two common bacterial STIs — chlamydia and gonorrhea — can inflame the epididymis and testicle, and severe or untreated inflammation may eventually lead to testicular atrophy. Sudden pain or shrinkage is more often a non-STI emergency like torsion, so get evaluated fast.

Chlamydia
curable

often silent; discharge or burning if anything

Gonorrhea
curable

discharge and burning; can also hit throat/rectum

Testicular pain or shrinkage: likely causes. How the usual suspects tell apart at a glance — the full breakdown is below. Source: CDC.
Testicular pain or shrinkage: likely causes
ItemValue
Chlamydiacurable — often silent; discharge or burning if anything
Gonorrheacurable — discharge and burning; can also hit throat/rectum

Which causes are actually on the table

Testicular atrophy means the testicle has become smaller and softer than normal, usually because the tissue inside has been damaged and lost its blood supply or function. When an STI is involved, that damage tends to follow weeks or months of untreated inflammation rather than appearing overnight. The realistic short list breaks into two groups: sexually transmitted infections that can inflame the testicle and its plumbing, and non-STI problems — some of them surgical emergencies — that have nothing to do with sex at all.

You can't sort one from the other by feel. The symptoms overlap too much to tell apart by sight alone, and several of these infections are frequently silent, so a test is what settles which one (if any) it is.

Which STIs cause testicular pain or shrinkage

Both candidates below cause atrophy the same indirect way: the bacteria travel up the urethra and inflame the epididymis (the coiled tube behind each testicle that stores and carries sperm). That inflammation is called epididymitis, and when it spreads to the testicle itself it becomes epididymo-orchitis. Repeated or prolonged inflammation can scar the tissue and choke off normal blood flow, leading to shrinkage and to fertility problems down the line.

Chlamydia

Chlamydia is caused by the bacterium Chlamydia trachomatis, and most US genital infections are the serovars D–K CDC chlamydia fact sheet. It's the leading bacterial cause of epididymitis in younger sexually active men, and it earns its 'silent' reputation: roughly three quarters of infected women and half of infected men have no symptoms at all. When symptoms do show, they usually appear within one to three weeks after exposure. In men that can mean burning on urination or discharge, and a dull, aching swelling on one side of the scrotum that builds over a day or two rather than striking all at once. Because so many men feel nothing early on, an infection can simmer long enough to do real damage before it's caught, which is why retesting after treatment matters; see our guide to chlamydia reinfection.

Gonorrhea

Gonorrhea is caused by Neisseria gonorrhoeae, which can infect the genitals, rectum, and throat CDC, About Gonorrhea. In men the classic pattern is burning when urinating and a white, yellow, or green penile discharge; less commonly, it produces swollen, painful testicles — the gonococcal version of epididymitis. The discharge tends to be more obvious than with chlamydia, but the two frequently travel together, and either one can be the culprit behind one-sided scrotal swelling. Like chlamydia, gonorrhea is often quiet in women, so a partner may have no idea they're carrying it.

When it's not an STI

Plenty of testicular pain and shrinkage has nothing to do with sex. The three you most need to know:

  • Testicular torsion — the spermatic cord twists and cuts off the testicle's blood supply. This is a surgical emergency: the pain is sudden and severe, the testicle can sit higher or at an odd angle, and the organ can die within hours, which later shows up as atrophy.
  • Injury — a direct blow or sports trauma can bruise or rupture the testicle; the timeline ties the pain to a specific event.
  • Hydrocele — a painless collection of fluid around the testicle that makes the scrotum feel enlarged and heavy. It doesn't shrink the testicle, but it can mask a problem underneath, so it still deserves an exam.

How to tell them apart

Clinicians lean on a few discriminating clues. Onset speed is the big one: torsion is abrupt and excruciating, while STI-related epididymitis usually creeps in over a day or two. A recent new partner, burning on urination, or any discharge points toward infection. A specific kick or fall points toward trauma. A soft, painless enlargement points toward a hydrocele. These patterns overlap, though, and the silent infections give you nothing to read at all. You usually can't self-diagnose this; a test is what turns a guess into an answer.

Side-by-side comparison

CauseTypical onsetTell-tale featuresRisk to the testicle
Chlamydia epididymitisGradual, over a day or twoOften silent; possible burning urination, discharge, one-sided acheScarring and atrophy if untreated
Gonorrhea epididymitisGradualWhite/yellow/green discharge, burning urination, swollen testicleScarring and atrophy if untreated
Testicular torsionSudden, severeHigh-riding or oddly angled testicle, no dischargeLoss of the testicle within hours — emergency
InjuryImmediate, after an eventTied to a blow or fallDamage depends on severity
HydroceleSlowPainless, fluid-filled swellingLow, but should be examined

How it's tested

For the STI side, a nucleic acid amplification test (NAAT) is the recommended method for both chlamydia and gonorrhea CDC STI Treatment Guidelines, 2021, and for gonorrhea its sensitivity usually runs above 90% with specificity around 99% CDC gonorrhea testing. In practice that means a urine sample, a self-collected swab, or a quick exam depending on what's suspected — free or low-cost at health departments, Planned Parenthood, and Title X clinics, with results usually back in a few days. You can start with our overview of when and how to get tested, and check the gonorrhea test page for what each result means.

What to do next

If there's no sudden, severe pain, the move is testing — and timing matters, because a test run too soon after exposure can miss an early infection; see when to test after exposure. Bacterial STIs like chlamydia and gonorrhea are curable with antibiotics, and treating them promptly stops the inflammation before it progresses to atrophy. Tell recent partners so they can be checked too.

Red flags — when to get seen urgently

Go to an emergency room now, not a clinic next week, if you have:

  • Sudden, severe testicular pain — torsion can kill the testicle within hours.
  • A testicle that sits higher than the other or at an unusual angle.
  • Pain with nausea, vomiting, or fever.
  • Rapidly worsening swelling, redness, or a hard lump.
  • Pain after a direct injury that doesn't ease within an hour.