True testicular atrophy, the testicle actually shrinking, is rarely a direct, early sign of an STI. The STIs most likely to threaten the testicle are chlamydia and gonorrhea, because untreated infection can spread up the genital tract and inflame the testicle and its tubing. Pain and swelling come first; shrinkage, if it happens, follows damage. Several non-STI causes, testicular torsion, injury, and a hydrocele, can mimic the same symptoms, so only a test settles it.
Ranges
| Item | Days after exposure |
|---|---|
| Chlamydia | 7–21 |
| Gonorrhea | 2–14 |
| Mumps orchitis (non-STI) | 4–8 |
Which STIs cause testicular pain or shrinkage?
No STI shrinks the testicle out of nowhere. The mechanism is inflammation: an untreated lower-tract infection in the urethra climbs to the epididymis, the coiled tube behind each testicle that stores and carries sperm, and sometimes to the testicle itself. That's epididymitis or epididymo-orchitis, the link between a bacterial STI and the testicle. Prolonged or repeated inflammation can scar the tissue and, in some men, leave the testicle smaller or less functional afterward. Two bacteria account for most STI-related cases.
Chlamydia
Chlamydia is caused by the bacterium Chlamydia trachomatis, and most U.S. genital infections come from serovars D. K CDC. It's the classic 'silent' infection, roughly half of infected men notice nothing at all. When symptoms do show, they usually appear within one to three weeks of exposure: burning on urination, discharge, and in some men a tender, swollen testicle on one side. That one-sided ache or swelling means the infection has moved beyond the urethra. Because so many cases are symptom-free, men often don't know they're infected until a complication forces the issue, so screening matters more than waiting. You can read more about how the infection behaves on our chlamydia overview.
Gonorrhea
Gonorrhea is caused by Neisseria gonorrhoeae, which can infect the genitals, rectum, and throat CDC. In men it more often announces itself than chlamydia does: burning when urinating and a white, yellow, or green penile discharge are typical, and less commonly the testicles become swollen and painful. As with chlamydia, the testicular symptom means the infection has spread to the epididymis. Gonorrhea travels with chlamydia frequently enough that clinicians test and often treat for both. Our gonorrhea page covers the full picture.
When it's not an STI
Plenty of testicular pain and swelling has nothing to do with sex. Three non-STI causes matter most CDC:
- Testicular torsion, the spermatic cord twists and cuts off blood flow to the testicle. This is a surgical emergency: sudden, severe, one-sided pain, often with nausea, and the testicle can be lost within hours if it isn't untwisted. Torsion is the classic cause of an actual shrunken testicle, because dead tissue atrophies.
- Injury: a direct blow or sports trauma can cause swelling, bruising, and pain that's easy to confuse with infection, and severe trauma can damage the testicle long-term.
- Hydrocele, a fluid collection in the sac around the testicle. It usually causes painless swelling rather than pain, and it isn't an infection at all, though it can make the scrotum feel heavy or enlarged.
Other non-STI causes exist too, mumps can inflame the testicle, and ordinary urinary bacteria can cause epididymitis in older men, but torsion, trauma, and hydrocele are the three a worried searcher most needs to rule in or out.
How to tell them apart
Usually you can't, not by sight or feel alone. STI-related epididymitis and torsion can both produce sudden, one-sided pain and swelling, and these conditions overlap too much to separate by symptom. Several STIs are also frequently silent, so the absence of obvious symptoms tells you very little. A few patterns help a clinician reason it out, but none is reliable enough to skip testing:
- Speed and severity: torsion tends to hit suddenly and intensely, often with nausea; STI epididymitis usually builds over hours to days alongside urinary symptoms.
- Discharge or burning on urination: these point toward a bacterial STI rather than torsion or a hydrocele.
- Painless swelling: a soft, painless enlargement that transilluminates (light passes through) suggests a hydrocele, not infection.
- Recent trauma: a clear injury history points to trauma, but trauma and infection can coexist, so it doesn't rule the rest out.
Because the symptoms overlap, you can't safely self-diagnose this. A test turns a guess into an answer, and when torsion is on the table, that means an urgent in-person exam rather than a home kit.
Side-by-side comparison
| Cause | STI? | Typical onset | Hallmark feature | Risk to the testicle |
|---|---|---|---|---|
| Chlamydia | Yes | Often silent; if present, 1–3 weeks after exposure | One-sided ache/swelling, often with mild urinary symptoms | Untreated spread can scar the epididymis and affect fertility |
| Gonorrhea | Yes | Builds over days; discharge often noticed first | Penile discharge, burning urination, sometimes swollen testicles | Same as chlamydia if it spreads untreated |
| Testicular torsion | No | Sudden, severe | Acute one-sided pain, nausea, high-riding testicle | Tissue death and atrophy within hours: emergency |
| Injury | No | Immediate after trauma | Clear injury history, bruising, swelling | Severe trauma can damage long-term |
| Hydrocele | No | Gradual | Painless swelling, often soft and fluid-filled | Low; not an infection |
How it's tested
For the STI question, a nucleic acid amplification test (NAAT) is the recommended method for both chlamydia and gonorrhea, run on a urine sample or a swab CDC, 2021. Testing is usually a quick, low-stress visit, a urine cup, a self-collected swab, or a brief exam depending on what's suspected, and it's free or low-cost at health departments, Planned Parenthood, and Title X clinics, with results back in a few days. Here's how to get tested, and if your exposure was recent, check when to test after exposure so you don't test too early to detect anything.
What to do next
If your symptoms are mild and there's no sudden severe pain, get tested for chlamydia and gonorrhea promptly. Both are curable with standard antibiotics CDC, 2021, and treating early heads off the kind of inflammation that threatens the testicle. Bring any current partners into testing too, since reinfection is common. For full regimens and follow-up, see our treatment guidance rather than self-medicating.
Red flags, get seen urgently
Some testicular symptoms can't wait for a clinic appointment. Go to an emergency room right away if you have:
- Sudden, severe one-sided testicular pain, especially with nausea or vomiting: this can be torsion, and the window to save the testicle is short.
- High fever with a hot, swollen, exquisitely tender scrotum.
- Pain following a significant injury, with rapid swelling or bruising.
- Inability to urinate, or blood in the urine alongside scrotal pain.
When torsion is even a possibility, don't try to diagnose it at home, because every hour counts.
Keep exploring on EasySTD: what STD testing costs, your risk of an STD and Chlamydia testing.