Gastrointestinal complications of HIV infection
GI disease in HIV is driven by the CD4 count: common bacterial and drug causes at any count, and opportunistic infections — Candida, CMV, Cryptosporidium, microsporidia, Cystoisospora — as immunity falls. Effective antiretroviral therapy is the backbone of both treatment and prevention.
Overview
Think in CD4 bands:
| CD4 (cells/µL) | Typical GI problems |
|---|---|
| Any | Bacterial enteritis (Salmonella, Shigella, Campylobacter), C. difficile, ART side effects, HBV/HCV coinfection, drug-induced liver injury |
| <200 | Esophageal candidiasis, HSV esophagitis/proctitis, Cystoisospora, more severe bacterial disease |
| <100 | Cryptosporidium, microsporidia (chronic watery diarrhea, wasting) |
| <50 | CMV esophagitis and colitis; disseminated MAC (advanced disease) |
- Non-infectious causes: Kaposi sarcoma and lymphoma of the GI tract, pancreatic exocrine insufficiency, ART itself, idiopathic esophageal ulcers, pill esophagitis (doxycycline, NSAIDs, potassium, iron).
Presentation
- Odynophagia/dysphagia: Candida (often with oral thrush), CMV (large shallow ulcers, severe pain), HSV (small volcano ulcers), idiopathic ulcers.
- Chronic watery diarrhea with weight loss: Cryptosporidium, microsporidia, Cystoisospora (also Cyclospora).
- CMV colitis: fever, abdominal pain, bloody diarrhea, weight loss; risk of bleeding and perforation.
- Proctitis: HSV, gonorrhea, chlamydia (LGV), syphilis — tenesmus, pain, discharge.
- AIDS-related cholangiopathy: RUQ pain and markedly raised alkaline phosphatase in advanced HIV; sclerosing cholangitis-like changes and papillary/ampullary stenosis, often with Cryptosporidium.
Diagnosis
- Diarrhea work-up: stool and blood cultures, C. difficile testing, stool ova and parasites with modified acid-fast stain (Cryptosporidium, Cystoisospora, Cyclospora), special stains or PCR for microsporidia, multiplex stool PCR where available; repeat samples may be needed.
- If stool studies are negative and CD4 is low: colonoscopy with biopsies (CMV needs tissue diagnosis — inclusion bodies on histology; blood CMV PCR is non-specific).
- Esophageal symptoms: an empiric azole trial is reasonable for typical Candida esophagitis; EGD with biopsy if symptoms persist after the trial or there is no oral thrush.
- Cholangiopathy: ultrasound, MRCP; ERCP to confirm and treat stenosis.
Treatment
- Start or optimize ART — immune recovery is the main treatment for Cryptosporidium and microsporidia, and the best prevention for all OIs.
- Candida esophagitis: oral fluconazole 200–400 mg daily for 14–21 days.
- CMV esophagitis/colitis: IV ganciclovir (or oral valganciclovir if able to swallow and absorb) for about 2–4 weeks; foscarnet if toxicity or resistance. CMV GI disease alone is not a reason to delay ART (unlike CMV retinitis).
- HSV esophagitis: acyclovir IV, then valacyclovir or famciclovir.
- Cryptosporidium: ART first; supportive fluids and antimotility drugs; nitazoxanide has limited benefit when immunosuppression is severe.
- Microsporidia: ART; albendazole for Encephalitozoon intestinalis.
- Cystoisospora (and Cyclospora): TMP-SMX; continue secondary prophylaxis until immune recovery on ART.
- Bacterial diarrhea: treat with antibiotics guided by sensitivities, especially when CD4 <200; treat C. difficile regardless of CD4.
- Primary prophylaxis against CMV is not recommended; keep CD4 >100 with ART.
Complications & prognosis
- CMV colitis: hemorrhage, perforation, toxic dilation.
- Chronic diarrhea: dehydration, electrolyte loss, wasting, malabsorption.
- Esophageal ulcers: weight loss from odynophagia.
- Cholangiopathy: cholangitis, chronic cholestasis.
- Immune reconstitution after ART can unmask latent infections.
🔥 Exam pearls
- HIV + odynophagia + thrush → empiric fluconazole; no response → EGD with biopsy.
- CD4 <50 + bloody diarrhea + negative stool studies → colonoscopy with biopsy for CMV → ganciclovir.
- CD4 <100 + chronic watery diarrhea + acid-fast oocysts → Cryptosporidium → ART.
- Acid-fast, larger oval oocysts responding to TMP-SMX → Cystoisospora.
- Advanced HIV + RUQ pain + very high ALP → AIDS cholangiopathy.
Sources: BHIVA guidelines: GI opportunistic infections · ABIM Internal Medicine blueprint
