Medical AtlasPROJECT IMG
✎ Sketch Notes🏛️ 3D LibraryMy Desk

Drug-induced diarrhea and drugs that raise Clostridioides difficile risk

Almost any drug can cause diarrhea, but the mechanisms sort into osmotic (magnesium, sorbitol, lactulose), secretory (antibiotics, colchicine, misoprostol, metformin), motility (macrolides, metoclopramide), malabsorptive (orlistat, acarbose, bile acid sequestrant withdrawal) and inflammatory (checkpoint inhibitors, NSAID or PPI microscopic colitis, C. difficile). Clindamycin, broad-spectrum penicillins, cephalosporins and fluoroquinolones carry the highest C. difficile risk, with PPIs and corticosteroids adding smaller independent increases.

Overview

Drug-induced diarrhea accounts for a large share of acute and chronic diarrhea in adults and is usually diagnosed by timeline plus resolution after withdrawal. Antibiotics alone cause diarrhea in roughly 5–30% of courses, only a minority of which is C. difficile.

  • A patient can develop diarrhea from almost any medication; chronic diarrhea work-ups should begin with a complete drug, supplement and sugar-free-product history.
  • C. difficile infection (CDI) risk by antibiotic (Swedish case-control study of 42,921 cases, exposure in the prior 30 days): lincosamides (clindamycin) aOR ~31, penicillin combinations (e.g., piperacillin-tazobactam, amoxicillin-clavulanate) aOR ~20, with cephalosporins, trimethoprim-sulfamethoxazole and fluoroquinolones also increased; tetracyclines showed no association.
  • Non-antibiotic drug risks in the same study: antidiarrheals aOR 7.3, corticosteroids aOR 2.4, PPIs aOR 1.8, with H2 blockers, antidepressants and others modestly increased; statins and aspirin were associated with lower risk (observational, likely confounded).
  • Checkpoint-inhibitor colitis, chemotherapy diarrhea and microscopic colitis from NSAIDs or PPIs are the main inflammatory drug-related causes.

Mechanisms & culprit drugs

MechanismDrugsClue
OsmoticMagnesium antacids and laxatives, lactulose, polyethylene glycol, sorbitol/mannitol/xylitol (sugar-free products, elixirs), phosphate and citrate preparationsStops with fasting; stool osmotic gap >100 mOsm/kg
SecretoryAntibiotics (amoxicillin-clavulanate, macrolides), metformin, colchicine, misoprostol, digoxin, quinidine, olsalazine, cholinesterase inhibitors, SSRIs, theophylline, chemotherapy (5-FU, irinotecan)Persists with fasting and at night; osmotic gap <50
MotilityMacrolides (erythromycin – motilin agonist), metoclopramide, stimulant laxatives (senna, bisacodyl), prucalopride, GLP-1 agonists (variable), thyroid hormone excessUrgency, cramping
Malabsorption / maldigestionOrlistat (fat), acarbose/miglitol (carbohydrate), aminoglycosides (neomycin), colchicine, metformin (bile acid effects), bile acid sequestrant mismatch, octreotide (steatorrhea), long-term PPIs (small-bowel bacterial overgrowth)Fatty, foul-smelling stool; weight loss
Inflammatory / mucosal injuryImmune checkpoint inhibitors (colitis), mycophenolate (colitis mimicking IBD), NSAIDs (ulcers, diaphragm disease, microscopic colitis), PPIs, sertraline, ranitidine, ticlopidine, acarbose (microscopic colitis), chemotherapy mucositis, gold, methotrexateBlood or mucus, nocturnal, elevated calprotectin
Dysbiosis / infectionAny antibiotic → antibiotic-associated diarrhea or CDI; PPIs, corticosteroids and chemotherapy increase CDI riskRecent antibiotics, hospitalization, foul-smelling watery diarrhea, leukocytosis

Clinical presentation

  • Timing is the key clue: onset within days of a new antibiotic, metformin, colchicine or magnesium product; weeks to months for microscopic colitis or checkpoint colitis (median onset of ICI colitis is about 6–8 weeks, earlier with anti-CTLA-4).
  • Osmotic diarrhea improves with fasting; secretory diarrhea continues overnight and during fasting.
  • CDI: watery diarrhea ≥3 unformed stools/24 h, cramping, fever, leukocytosis; severe disease has WBC ≥15,000/µL or creatinine >1.5 mg/dL; fulminant disease adds ileus, hypotension or megacolon.
  • Checkpoint colitis: watery or bloody diarrhea, abdominal pain, sometimes with other irAEs; can perforate.
  • Microscopic colitis: chronic watery, nonbloody diarrhea with nocturnal stools and urgency in a middle-aged or older woman on a PPI, NSAID or SSRI; colonoscopy looks normal.
  • Red flags: blood, fever, severe pain, dehydration, weight loss, anemia, immunosuppression.

Diagnosis

  • Complete medication and supplement history (including sugar-free gum, laxatives, antacids, herbal products) and the time course; ask about surreptitious laxative use when the story does not fit.
  • Labs: CBC, electrolytes, creatinine, albumin, TSH, celiac serology (tTG-IgA) when chronic; CRP.
  • C. difficile testing only on diarrheal stool (never on formed stool): NAAT for toxin genes, ideally with toxin EIA in a two-step algorithm; do not test for cure.
  • Stool studies as indicated: calprotectin or lactoferrin (inflammatory), fecal fat (malabsorption), stool electrolytes with osmotic gap = 290 − 2 × (stool Na + K) – >100 osmotic, <50 secretory; stool pH, phosphate and magnesium for laxative abuse.
  • Colonoscopy with random biopsies from right and left colon when microscopic colitis is suspected (mucosa appears normal); endoscopy for suspected ICI colitis, mycophenolate colitis or NSAID injury.
  • Imaging (CT) for suspected fulminant CDI, ileus or perforation.
PatternLikely drug causeConfirm
Watery diarrhea 5 days into clindamycin, WBC 18,000CDIStool NAAT/toxin
Chronic watery nocturnal diarrhea on long-term PPI/NSAID, normal colonMicroscopic colitisRandom colonic biopsies
Diarrhea 6 weeks after ipilimumab, abdominal painICI colitisCalprotectin, colonoscopy; exclude infection
Oily stool, fecal incontinence on a weight-loss drugOrlistatHistory; fecal fat
Diarrhea resolving with fasting, taking magnesium antacidsOsmoticStool osmotic gap >100
Metformin started 2 weeks ago, cramping diarrheaMetforminDose reduction/XR trial

Management

  • Stop or modify the drug when possible: switch metformin to extended release and take with food; lower the colchicine dose (it is a sign of toxicity in CKD); replace magnesium antacids with another agent; stop unnecessary PPIs; stop an NSAID; stop the offending antibiotic or narrow it.
  • Supportive care: oral rehydration, correct potassium and magnesium; loperamide is appropriate for simple non-inflammatory drug diarrhea but avoid antimotility agents in suspected CDI, ICI colitis or bloody/inflammatory diarrhea.
  • CDI (IDSA/SHEA 2021): first-line fidaxomicin 200 mg twice daily for 10 days, or vancomycin 125 mg orally four times daily for 10 days; metronidazole only if neither is available. Fulminant disease: vancomycin 500 mg four times daily orally or by NG tube plus IV metronidazole 500 mg every 8 h (± rectal vancomycin if ileus) and surgical consultation. First recurrence: fidaxomicin, or a vancomycin taper-pulse; consider bezlotoxumab or fecal microbiota transplantation for multiple recurrences. Stop the inciting antibiotic if possible; discontinue unnecessary PPIs.
  • ICI colitis: hold the ICI; grade ≥2 gets prednisone 1–2 mg/kg (or IV methylprednisolone) and, if no improvement in 2–3 days, infliximab 5 mg/kg or vedolizumab; exclude CDI and CMV first.
  • Microscopic colitis: stop the implicated drug (PPI, NSAID, SSRI, acarbose, ticlopidine); treat with budesonide 9 mg daily for 6–8 weeks, then taper; loperamide for mild symptoms.
  • Chemotherapy diarrhea: loperamide (high-dose regimen for irinotecan delayed diarrhea), atropine for irinotecan acute cholinergic diarrhea, octreotide for refractory cases; hold chemotherapy for grade 3–4.
  • Prevention: antimicrobial stewardship (shortest effective course, avoid clindamycin and fluoroquinolones when alternatives exist), deprescribe PPIs lacking an indication, hand hygiene with soap and water plus contact precautions for CDI, and avoid routine antibiotics for viral illness.
  • Special populations: in CKD avoid magnesium-containing products and reduce colchicine; in pregnancy use oral rehydration and avoid bismuth; in older adults watch for dehydration, AKI and falls.

Complications & prognosis

  • Dehydration, AKI, hypokalemia, hypomagnesemia, metabolic acidosis; hospitalizations in frail and older adults.
  • CDI: toxic megacolon, perforation, sepsis, colectomy; recurrence in 15–25% after a first episode and higher after a recurrence.
  • ICI colitis: perforation, need for prolonged immunosuppression, permanent cessation of cancer therapy.
  • Microscopic colitis responds well to budesonide but relapses are common; it does not increase colorectal cancer risk.
  • Most simple drug diarrhea resolves within days of withdrawal or dose adjustment.

🩺 Next best step: classic exam scenarios

  • A 70-year-old finishing clindamycin for a dental infection has 6 watery stools daily, fever and WBC 17,000/µL → test diarrheal stool for C. difficile and start oral fidaxomicin or vancomycin; stop clindamycin.
  • Same patient develops hypotension, distention and ileus → fulminant CDI: high-dose oral/NG vancomycin plus IV metronidazole and surgical consultation.
  • A 60-year-old woman has 4 months of watery nocturnal diarrhea on long-term omeprazole and naproxen; colonoscopy appears normal → random colonic biopsies for microscopic colitis; stop the culprits and give budesonide.
  • A man 7 weeks into ipilimumab + nivolumab has 7 stools daily with cramping; stool studies are negative → hold the ICI and start corticosteroids; infliximab if refractory after 2–3 days.
  • A patient started metformin 1,000 mg twice daily and has cramping diarrhea → switch to extended release with meals and retitrate.
  • An older patient taking magnesium hydroxide for constipation now has watery diarrhea with stool osmotic gap 150 mOsm/kg → osmotic diarrhea: stop the magnesium product.

🔥 Exam pearls

  • Highest CDI risk: clindamycin, broad-spectrum penicillins, cephalosporins and fluoroquinolones; tetracyclines are relatively low risk.
  • PPIs and corticosteroids independently increase CDI risk – deprescribe PPIs without an indication.
  • Test only diarrheal stool for C. difficile; never test for cure.
  • CDI first-line is fidaxomicin or oral vancomycin; metronidazole is now a fallback.
  • Avoid loperamide in inflammatory or C. difficile diarrhea.
  • Chronic watery diarrhea with a normal-looking colon on a PPI/NSAID/SSRI = microscopic colitis → random biopsies, budesonide.
  • Stool osmotic gap >100 = osmotic (magnesium, sorbitol, lactulose); <50 = secretory.
  • Irinotecan: early cholinergic diarrhea → atropine; late diarrhea → high-dose loperamide.

Sources: Chronic diarrhea in adults: evaluation and differential diagnosis (AAFP 2020) · When treatment backfires: common drugs and C. difficile (World Gastroenterology Organisation)

© 2026 Project IMG · Content from Project IMG labs and atlases · For education only, not medical advice.