med study partner

Articles & Guides › Articles › Gastroenterology & Nutrition

GI pharmacology

How proton pump inhibitors, H2 blockers, antacids, misoprostol, sucralfate and bismuth work and harm, how H. pylori is treated, how antiemetics, prokinetics, laxatives and antidiarrheals act on gut receptors, and how aminosalicylates, thiopurines and biologic drugs treat inflammatory bowel disease.

Gastroenterology & Nutrition · 6 min read · Reviewed 2026-11-10

Most GI drugs are easiest to learn by attaching each one to the physiology it targets. Acid drugs act on the parietal cell and its protective prostaglandins. Antiemetics block the receptors that carry the vomiting signal: serotonin, dopamine, substance P, histamine and acetylcholine. Laxatives and antidiarrheals change water movement or gut opioid tone. Drugs for inflammatory bowel disease range from local anti-inflammatories to antibodies against single cytokines. Once the target is clear, most uses and many side effects follow.

Key points

  • Proton pump inhibitors irreversibly block the H+/K+ ATPase; long-term use is linked to C. difficile, low magnesium, B12 deficiency and rebound acid.
  • Cimetidine inhibits cytochrome P450 enzymes and blocks androgen receptors; misoprostol prevents NSAID ulcers but is contraindicated in pregnancy.
  • H. pylori is usually treated with bismuth quadruple therapy, and cure is confirmed with a breath or stool test off proton pump inhibitors.
  • Dopamine antagonists such as metoclopramide can cause dystonia and tardive dyskinesia; ondansetron can prolong the QT interval.
  • Check TPMT before thiopurines, and screen for tuberculosis and hepatitis B before TNF inhibitors.

Acid suppression and H. pylori therapy

The drugs

DrugHow it worksAdverse effects and notes
Proton pump inhibitors (omeprazole, pantoprazole and others)Prodrugs activated by acid that irreversibly block the H+/K+ ATPase; taken 30–60 minutes before a meal, when pumps are being activatedC. difficile, pneumonia, bacterial overgrowth, B12 and iron deficiency (both need acid for absorption), low magnesium (which can cause low calcium by suppressing PTH), possibly fractures, interstitial nephritis, rebound acid on stopping; omeprazole inhibits CYP2C19 and reduces clopidogrel activation[1,2]
H2 blockers (famotidine, cimetidine)Reversibly block parietal cell H2 receptorsCimetidine inhibits CYP450 (raising warfarin and phenytoin levels), blocks androgen receptors (gynecomastia), causes confusion in older adults and raises creatinine slightly
AntacidsNeutralize acidAluminum: constipation, low phosphate. Magnesium: diarrhea. Calcium carbonate: high calcium and milk-alkali syndrome. All bind drugs such as tetracyclines and fluoroquinolones
MisoprostolProstaglandin E1 analog that restores mucus, bicarbonate and blood flow and lowers acidPrevents NSAID ulcers; diarrhea; contraindicated in pregnancy because it contracts the uterus
SucralfatePolymerizes in acid into a sticky gel over ulcer basesNeeds acid to work, so it is not combined with acid suppressants; constipation
BismuthCoats ulcers and kills H. pyloriBlack stools and tongue; contains salicylate

Proton pump inhibitors are the strongest acid suppressants because they block the final step shared by every stimulus. Their long-term effects mostly follow from low acid: less killing of swallowed bacteria, less release of B12 from food, less iron reduction, and high gastrin that drives rebound acid when the drug is stopped.

Treating H. pylori

Antibiotic resistance, especially to clarithromycin, now shapes the choice[3]:

  • Bismuth quadruple therapy: a proton pump inhibitor, bismuth, tetracycline and metronidazole for 14 days, the first choice where clarithromycin resistance is common.
  • Clarithromycin-based triple therapy only where resistance is known to be low.
  • Rifabutin-based and vonoprazan-based regimens as alternatives.

Cure is confirmed with a urea breath test or stool antigen at least four weeks after treatment, with proton pump inhibitors stopped beforehand to avoid false negatives.

Antiemetics, prokinetics, laxatives and antidiarrheals

Antiemetics

Vomiting is coordinated in the brainstem, which receives signals from the chemoreceptor trigger zone (dopamine and serotonin), the gut (serotonin released from damaged cells), the inner ear (histamine and acetylcholine) and the cortex. Each drug class blocks one input[4].

ClassExamplesBest for and cautions
5-HT3 antagonistsOndansetron, granisetronChemotherapy, postoperative and gastroenteritis vomiting; headache, constipation, QT prolongation
D2 antagonistsMetoclopramide, prochlorperazine, promethazineAcute dystonia, akathisia, parkinsonism and tardive dyskinesia; high prolactin; avoid in Parkinson disease and bowel obstruction
NK1 antagonistsAprepitantAcute and delayed chemotherapy nausea; CYP3A4 interactions
H1 antihistaminesMeclizine, dimenhydrinateMotion sickness and vertigo; sedation
Muscarinic antagonistsScopolamine patchMotion sickness; dry mouth, blurred vision, confusion
OthersDexamethasone, cannabinoidsAdd-ons for chemotherapy nausea

Prokinetics

Metoclopramide blocks D2 receptors and stimulates 5-HT4 receptors, speeding gastric emptying in gastroparesis. Erythromycin stimulates motilin receptors, but its effect fades with repeated use. Prucalopride, a 5-HT4 agonist, treats chronic constipation.

Laxatives

TypeExamplesNotes
Bulk-formingPsylliumNeed plenty of fluid
OsmoticPolyethylene glycol, lactulose, magnesium saltsLactulose also treats hepatic encephalopathy; magnesium builds up in kidney failure
StimulantSenna, bisacodylCramping; long-term senna causes melanosis coli, a brown-black pigmented colon
SecretagoguesLubiprostone (opens ClC-2 chloride channels); linaclotide (guanylate cyclase-C agonist)Increase fluid secretion; used for constipation and IBS with constipation[5]
Peripheral mu-opioid antagonistsMethylnaltrexone, naloxegolOpioid-induced constipation; they do not cross into the brain, so pain relief is kept

Tolerance develops to most opioid effects but not to constipation, which is why opioid-induced constipation needs specific treatment.

Antidiarrheals

  • Loperamide is a mu-opioid agonist that slows the gut. It is pumped out of the brain by P-glycoprotein, so it has no central effects at normal doses. It is avoided in bloody or invasive diarrhea, C. difficile, enterohemorrhagic E. coli and severe colitis, where slowing the gut can trigger toxic megacolon. Huge doses cause dangerous arrhythmias.
  • Diphenoxylate with atropine works the same way; the atropine discourages misuse.
  • Octreotide treats VIPoma and carcinoid diarrhea. Bile acid binders such as cholestyramine treat bile acid diarrhea.

Drugs for inflammatory bowel disease

Aminosalicylates and steroids

5-aminosalicylic acid (5-ASA) drugs act topically on the inflamed bowel lining. Sulfasalazine joins 5-ASA to sulfapyridine through a chemical bond that colonic bacteria split, releasing the active drug in the colon. The sulfapyridine part causes most of the side effects: rash, headache, reversible low sperm counts, hemolysis in G6PD deficiency, agranulocytosis and folate malabsorption. Mesalamine, 5-ASA alone, avoids these and is the first-line drug for mild to moderate ulcerative colitis[6].

Glucocorticoids induce remission in flares but are not used for maintenance, because of infection, high glucose, bone loss and adrenal suppression. Budesonide is largely removed by the liver on first pass, so it has fewer systemic effects.

Immunomodulators

Azathioprine and its metabolite 6-mercaptopurine are purine antimetabolites that stop lymphocytes dividing. They are used to maintain remission and spare steroids. The enzyme TPMT (and NUDT15) inactivates them, so activity is checked before starting: people with low activity develop severe bone marrow suppression[7]. Allopurinol blocks xanthine oxidase, another route of inactivation, and greatly increases toxicity, so the combination is avoided or the dose is cut sharply. Other risks include liver injury, pancreatitis, lymphoma and skin cancer.

Methotrexate is used in Crohn disease, with folic acid; it is toxic to the liver, marrow and lungs and is teratogenic.

Biologic and small-molecule drugs

DrugTargetKey cautions
Infliximab, adalimumab and other TNF inhibitorsTNF-alphaScreen for latent tuberculosis and hepatitis B first; serious infections including histoplasmosis, infusion reactions, drug-induced lupus, demyelination, worsening heart failure, lymphoma. Effective for fistulizing Crohn disease
VedolizumabAlpha-4-beta-7 integrin, which directs lymphocytes to the gutGut-selective, so little systemic immunosuppression
Ustekinumab, risankizumabIL-12/IL-23 or IL-23 aloneInfections
Tofacitinib, upadacitinibJAK enzymes inside cellsShingles, blood clots, cardiovascular events
OzanimodS1P receptor; traps lymphocytes in lymph nodesSlow heart rate

TNF inhibitors and the newer agents are used for moderate to severe disease in both ulcerative colitis and Crohn disease[6,8].

Common confusions

  • Sucralfate with acid suppression: sucralfate needs acid to form its gel, so it is not combined with proton pump inhibitors.
  • Which part of sulfasalazine causes side effects: mostly sulfapyridine; mesalamine avoids them.
  • Peripheral opioid antagonists: they relieve opioid constipation without blocking pain relief, unlike naloxone.
  • Loperamide in bloody diarrhea: avoid it, because slowing an invasive or toxin-mediated infection can cause toxic megacolon or worse outcomes.

References

  1. Vanderah TW, ed. Katzung's Basic and Clinical Pharmacology. 16th ed. McGraw Hill; 2024. ↩
  2. Freedberg DE, Kim LS, Yang YX. The risks and benefits of long-term use of proton pump inhibitors: expert review and best practice advice from the American Gastroenterological Association. Gastroenterology. 2017;152(4):706-715. doi:10.1053/j.gastro.2017.01.031 Link ↩
  3. Chey WD, Howden CW, Moss SF, et al. ACG clinical guideline: treatment of Helicobacter pylori infection. Am J Gastroenterol. 2024;119(9):1730-1753. doi:10.14309/ajg.0000000000002968 Link ↩
  4. Hesketh PJ, Kris MG, Basch E, et al. Antiemetics: ASCO guideline update. J Clin Oncol. 2020;38(24):2782-2797. doi:10.1200/JCO.20.01296 Link ↩
  5. Lacy BE, Pimentel M, Brenner DM, et al. ACG clinical guideline: management of irritable bowel syndrome. Am J Gastroenterol. 2021;116(1):17-44. doi:10.14309/ajg.0000000000001036 Link ↩
  6. Rubin DT, Ananthakrishnan AN, Siegel CA, Sauer BG, Long MD. ACG clinical guideline: ulcerative colitis in adults. Am J Gastroenterol. 2019;114(3):384-413. doi:10.14309/ajg.0000000000000152 Link ↩
  7. Relling MV, Schwab M, Whirl-Carrillo M, et al. Clinical Pharmacogenetics Implementation Consortium guideline for thiopurine dosing based on TPMT and NUDT15 genotypes: 2018 update. Clin Pharmacol Ther. 2019;105(5):1095-1105. doi:10.1002/cpt.1304 Link ↩
  8. Lichtenstein GR, Loftus EV, Isaacs KL, Regueiro MD, Gerson LB, Sands BE. ACG clinical guideline: management of Crohn's disease in adults. Am J Gastroenterol. 2018;113(4):481-517. doi:10.1038/ajg.2018.27 Link ↩

Test yourself in the Question Bank · Listen to the podcasts