Reviewed & updated August 23, 2026

Can an STD Cause Diarrhea or Stomach Issues?

Quick answer

Yes — several STDs affect the gut. Rectal chlamydia and gonorrhea (from receptive anal sex) cause cramping, diarrhea-like urgency and tenesmus; LGV, an invasive chlamydia strain, produces severe proctitis; and acute HIV or secondary syphilis can bring generalized digestive upset. Ordinary diarrhea without anal exposure usually isn't STI-related — but persistent gut symptoms after relevant contact deserve specific rectal testing.

Rectal STIs: the gut-symptom specialists

Rectal chlamydia and gonorrhea are common yet routinely missed because standard panels skip rectal swabs. When symptomatic they produce:

LGV takes this further — invasive chlamydia L-strains cause ulcerating proctitis with severe pain, sometimes misdiagnosed as inflammatory bowel disease for months (more on LGV).

Systemic infections that upset digestion

The history question that unlocks diagnosis: receptive anal sex in recent months? If yes, insist on rectal NAAT swabs regardless of how ordinary your stomach symptoms seem.

When to test vs when it's just a bug

Suggests STISuggests ordinary causes
Anal sex exposure recentlyShared meal sickened others too
Blood/mucus in stool + rectal painViral pattern: vomiting first, then diarrhea
Persists >1 weekResolves in 2–3 days
Other STI signs present (discharge, sores)No other symptoms at all

Testing logistics are simple: rectal swabs accompany any panel on request. Start at where to get tested; related symptom guides cover pelvic pain and urinary bleeding.

Frequently asked questions

What STD gives you diarrhea?
Rectal gonorrhea and chlamydia top the list via proctitis; LGV causes the most severe forms; acute HIV and syphilis occasionally add general digestive upset.
Can chlamydia affect your stomach?
Rectal chlamydia causes cramping and bowel urgency; pelvic spread (PID) adds lower-abdominal pain that feels gastric but isn't.
Is diarrhea a sign of HIV?
It can be part of acute seroconversion illness, and chronic diarrhea becomes significant in advanced untreated HIV. Recent-exposure context matters enormously.
Do doctors automatically test for rectal STIs?
No — you typically need to request rectal swabs specifically. Mention your exposure history plainly; clinicians test what they know about.

Sources & further reading