Gastrointestinal & Hepatic · Topic 21 of 27
Constipation, Diarrhea & Gastroparesis
Tap any line to see why it matters
Constipation, Diarrhea & Gastroparesis
Start a laxative with the first opioid dose, keep antimotility drugs away from bloody diarrhea, and prove gastroparesis with a 4-hour emptying study.
Opioid constipation
The gut rarely becomes tolerant to opioids — prevent from the first dose
Methylnaltrexone, a quaternary amine, crosses the blood–brain barrier poorly; opioid withdrawal or reduced analgesia is possible if the barrier is disrupted. Lubiprostone (a chloride-channel activator) is an alternative; neither class reverses analgesia. Docusate is ineffective for severe constipation — prefer stimulant or osmotic agents. Alvimopan is restricted to short-term in-hospital use for postoperative ileus (possible MI risk).
Fecal impaction
Diarrhea in the hospital
New diarrhea, especially after antibiotics: test for C. difficile and read the med list
Osmotic gap
Stool osmotic gap = 290 − 2 × (stool Na⁺ + stool K⁺)
Chronic diarrhea (over 4 weeks) workup: stool occult blood, fecal fat or elastase, Giardia testing, CBC, celiac serology (IgA tTG), TSH and fecal calprotectin. Unexplained secretory diarrhea: gastrin, calcitonin, VIP, histamine, urine 5-HIAA and a laxative assay. Osmotic: stool magnesium (covert laxative) or hydrogen breath test.
Gastroparesis: prove it
Symptomatic delayed solid emptying without mechanical obstruction
ACG: measure a solid meal for at least 3 hours, ideally 4. Stop opioids, cannabinoids, prokinetics, antiemetics and other drugs that alter emptying for 48 h before the study.
Red flags
Antimotility drugs can worsen C. difficile colitis (toxic megacolon) and raise the risk of HUS.
Gastroparesis treatment
Diet and glucose first — no opioids for the pain
Small-particle diet
Diabetic: optimal glucose controlFor refractory symptoms, under 12 weeks
Boxed warning: tardive dyskinesiaSpeeds emptying; use 1–4 weeks at a time
Tachyphylaxis developsJejunostomy tube feeding, bypassing the stomach
PN rarely needed; venting gastrostomy is second-lineNo opioids for gastroparesis pain, including tramadol and tapentadol
They slow gastric and pyloric functionOther gastroparesis options
Osmotic or secretory diarrhea?
The stool osmotic gap sorts them
| Osmotic | Secretory | |
|---|---|---|
| Stool osmotic gap | Large gap | Under 50 mEq/L |
| Typical causes | PEG, magnesium, lactulose, sorbitol, lactose intolerance | Infection (enterotoxins), bile acids, unabsorbed fat, secretagogues |
| Hidden cause to test for | Stool magnesium (covert laxative), hydrogen breath test | Gastrin, calcitonin, VIP, urine 5-HIAA; laxative assay |
The gut rarely becomes tolerant to opioids — so the bowel regimen starts with the first opioid dose, not after the first missed stool.
Sources · Constipation (Merck Manual Professional) · Treatment of Pain (Merck Manual Professional) · Diarrhea (Merck Manual Professional) · 2017 IDSA Guidelines for the Diagnosis and Management of Infectious Diarrhea (Clin Infect Dis 2017) · Overview of Gastroenteritis (Merck Manual Professional) · ACG Clinical Guideline: Gastroparesis (Am J Gastroenterol 2022) · Enteral Nutrition (Merck Manual Professional) · RELISTOR (methylnaltrexone) prescribing information (DailyMed) · Follow your institution's protocols.