Pharmacology

Gastrointestinal drugs

  • 21 min read
  • 4 visuals
  • 7 practice questions

Drugs for reflux and ulcers, antiemetics, laxatives and antidiarrheals, and the drugs for bowel disease, the pancreas and the liver: how each works, what to check and what to teach.

Lesson cards: this lesson’s 13 key terms and 6 questions, ready now and free.

Sign in to track your progress · AI sets use credits, your own are free

How the flashcard maker works

In one minute

  • Proton pump inhibitors (PPIs) such as omeprazole block acid most strongly. Give them before a meal, usually before breakfast. Long use raises the risk of fractures and lowers magnesium.
  • Sucralfate coats an ulcer, so it is given on an empty stomach, 1 hour before meals. Antacids are kept at least 30 minutes away from it.
  • Misoprostol can cause miscarriage, so a client who could become pregnant needs a negative pregnancy test and reliable birth control.
  • Metoclopramide can cause tardive dyskinesia, with lip smacking and tongue movements. Ondansetron can lengthen the QT interval.
  • Lactulose lowers ammonia in liver disease. The goal is 2 or 3 soft stools a day, and confusion should lift.
  • Never give a laxative to a client with abdominal pain of unknown cause, because it may be appendicitis or an obstruction.

Key terms

Proton pump inhibitor (PPI)
A drug that blocks the pump in stomach cells that releases acid. Names end in -prazole, such as omeprazole and pantoprazole.
H2-receptor antagonist
A drug that blocks histamine’s signal to the acid-making cells. Famotidine is the main example.
Antacid
A base, such as aluminum hydroxide, magnesium hydroxide or calcium carbonate, that neutralizes acid already in the stomach.
Helicobacter pylori (H. pylori)
A bacterium that lives in the stomach lining. It causes most peptic ulcers that are not caused by NSAIDs.
Cytoprotective drug
A drug that protects the stomach lining rather than lowering acid, such as sucralfate or misoprostol.
Antiemetic
A drug that prevents or relieves nausea and vomiting.
Tardive dyskinesia
Involuntary movements of the face, tongue and limbs, such as lip smacking. It can follow long use of metoclopramide and may be permanent.
QT prolongation
A long QT interval on the electrocardiogram (ECG). It can lead to a dangerous rhythm called torsades de pointes.
Osmotic laxative
A laxative that draws water into the bowel, such as polyethylene glycol, lactulose or magnesium citrate.
Stimulant laxative
A laxative that makes the bowel wall contract, such as senna or bisacodyl.
Hepatic encephalopathy
Confusion caused by ammonia and other toxins that a failing liver cannot clear. Lactulose and rifaximin treat it.
Aminosalicylate
An anti-inflammatory drug for ulcerative colitis, such as sulfasalazine or mesalamine.
Pancreatic enzyme replacement
Capsules of pancreatic enzymes, such as pancrelipase, taken with food when the pancreas cannot digest fat. Cystic fibrosis is a common reason.

Drugs for reflux and ulcers

Cells in the stomach wall make acid when three signals switch them on: histamine, acetylcholine and the hormone gastrin. All three act on one final step, a pump that pushes acid into the stomach. Normally a layer of mucus, kept healthy by prostaglandins, protects the lining from that acid.

An ulcer forms when the acid overcomes that protection. The two commonest causes are the bacterium H. pylori and nonsteroidal anti-inflammatory drugs (NSAIDs), which lower the protective prostaglandins.

Visual 1 · Diagram

A parietal cell in the stomach wall receives signals from histamine, acetylcholine and gastrin, which switch on its proton pump. The pump releases acid into the stomach. Famotidine blocks the histamine signal, proton pump inhibitors such as omeprazole block the pump, and antacids neutralize acid already made. Sucralfate coats an ulcer, misoprostol protects the lining, and antibiotics with bismuth clear H. pylori. Acid-making cell histamineacetylcholinegastrin proton pump Stomach acid (H⁺) famotidine blocksthe histamine signal omeprazole and otherPPIs block the pump antacids neutralizeacid already made stomach lining ← an ulcer sucralfate coats an ulcer misoprostol protects the lining antibiotics clear H. pylori
Where ulcer drugs act. Blocking the pump stops acid from every signal, so PPIs are the strongest acid reducers.
Drugs for reflux and ulcers
GroupExamplesWhat to watch most
Proton pump inhibitors (PPIs)omeprazole, pantoprazole, esomeprazole, lansoprazoleGive before a meal. Long use raises the risk of fractures and lowers magnesium.
Potassium-competitive acid blockervonoprazanIt blocks the pump by another route. It is used for H. pylori and erosive esophagitis.
H2-receptor antagonistsfamotidine, cimetidineFamotidine is often taken at bedtime. Cimetidine interacts with many drugs.
Antacidsaluminum hydroxide, magnesium hydroxide, calcium carbonateAluminum constipates, and magnesium causes diarrhea. Keep them apart from other drugs.
SucralfatesucralfateGive it on an empty stomach. It can cause constipation.
MisoprostolmisoprostolIt protects the stomach from NSAIDs, but it must not be taken in pregnancy.
Bismuth subsalicylatebismuth subsalicylateIt turns the tongue and stool black, which is harmless.
  • Give a PPI before a meal. The pumps are most active when food arrives, so the drug works best if it is already in the blood. Most clients take it before breakfast.
  • Know the risks of long PPI use. These include fractures of the hip, wrist and spine, a low magnesium and a low vitamin B12. Severe watery diarrhea may be Clostridioides difficile infection, because with less acid the germ survives more easily.
  • Separate antacids from other drugs, because antacids bind many drugs and change how they are absorbed. Avoid magnesium antacids in kidney failure, because magnesium builds up.
  • Give sucralfate 1 hour before meals or 2 hours after. It forms a paste over the ulcer that works best on an empty stomach, and antacids are kept at least 30 minutes apart.
  • Check pregnancy before misoprostol, because it can cause miscarriage and birth defects. A client who could become pregnant needs a negative pregnancy test in the past 2 weeks and reliable birth control.
  • Teach that black stool from bismuth is harmless, but black, tarry stool with dizziness can mean bleeding, so ask about both.
Practice has changedRanitidine was removed from the U.S. market in April 2020, because an impurity that may cause cancer built up in it over time. Older questions may still name it. Famotidine is the H2 blocker now used.

Treating H. pylori

H. pylori is treated with several drugs at once, because a single antibiotic fails and resistance develops. The American College of Gastroenterology recommends bismuth quadruple therapy first for most clients, which is a PPI with bismuth, tetracycline and metronidazole. A regimen of vonoprazan with amoxicillin is another option.

Clarithromycin is avoided unless testing shows the bacteria are sensitive, because resistance is now common. A test of cure follows at least 4 weeks after treatment ends.

omeprazoleProton pump inhibitor
Watch
Ask about heartburn, black stools and bone health. Check the magnesium on long use.
Report
Report severe watery diarrhea, muscle cramps or tremor, or black, tarry stools.
Teach
Take it before breakfast. Use the lowest dose for the shortest time that works.
sucralfateCytoprotective drug
Watch
Check the timing against meals and other drugs. Watch for constipation.
Report
Report black stools, vomiting of blood or constipation that does not ease.
Teach
Take it 1 hour before meals and at bedtime. Keep antacids at least 30 minutes away.

A bleeding ulcer: what to do first

An ulcer can bleed slowly or fast, and a client on NSAIDs, aspirin or an anticoagulant is at the highest risk. Black, tarry stool or vomit that looks like coffee grounds means that blood has been in the gut.

  1. 1Check for shock Measure the blood pressure, heart rate and level of consciousness. A falling pressure with a rising pulse is an emergency.
  2. 2Call for help and report Tell the provider at once. Hold NSAIDs and anticoagulants until the provider reviews them.
  3. 3Prepare IV access and fluids Insert a large-bore IV line, and give fluids as ordered. Send blood for a count and type and crossmatch.
  4. 4Keep the client NPO Nothing by mouth, because endoscopy is likely.
  5. 5Give an IV PPI as ordered IV acid suppression helps a clot form over the ulcer. Prepare for endoscopy and transfusion.

Visual 2 · Number line

MagnesiummEq/L · long PPI use lowers it
Low: cramps, tremor and dysrhythmias1.3–2.1 (MedlinePlus gives 1.7–2.2 mg/dL, about 1.4–1.8 mEq/L)High: magnesium antacids or laxatives in kidney failure

Antiemetics

Vomiting is controlled by a center in the brainstem, which takes signals from the gut, the inner ear and a trigger zone that senses drugs and toxins in the blood. Each antiemetic blocks a different signal, so the choice depends on the cause: motion sickness comes from the inner ear, while chemotherapy acts through serotonin released in the gut.

Antiemetics
GroupExamplesWhat to watch most
Serotonin (5-HT3) blockersondansetron, granisetronHeadache and constipation are common. They can lengthen the QT interval.
Dopamine blockersmetoclopramide, prochlorperazine, promethazineDrowsiness and movement disorders. Promethazine is not given to children under 2.
Anticholinergicscopolamine patchDry mouth, blurred vision and drowsiness. It is used for motion sickness.
Antihistaminemeclizine, dimenhydrinateDrowsiness. They are used for motion sickness and vertigo.
NK1 receptor blockersaprepitant, fosaprepitantThey are combined with others to prevent nausea from chemotherapy.
CorticosteroiddexamethasoneIt adds to other antiemetics before chemotherapy, and it raises the glucose.
CannabinoiddronabinolIt treats chemotherapy nausea and poor appetite. It can cause dizziness and mood changes.
  • Give antiemetics before chemotherapy, not after vomiting starts, because nausea is easier to prevent than to stop.
  • Check the ECG and electrolytes in clients at risk on ondansetron. A low potassium or magnesium, or other QT-prolonging drugs, raise the risk of dysrhythmias.
  • Watch for abnormal movements on metoclopramide. Lip smacking, chewing, tongue thrusting or blinking may be tardive dyskinesia. The drug is stopped and the finding reported, because the movements can be permanent.
  • Know that metoclopramide also speeds stomach emptying. It treats gastroparesis, which is common in diabetes, but it is not used in a bowel obstruction.
  • Do not give promethazine to children under 2, because it can slow or stop their breathing.
  • Give promethazine injection deep into a muscle, because if it leaks from a vein or enters an artery it can cause severe tissue injury. The page on high-alert medicines covers this.
  • Apply a scopolamine patch behind the ear. Place it on hairless skin at least 4 hours before travel, then wash the hands, because touching the eye with drug on the fingers enlarges the pupil and blurs vision.
ondansetron5-HT3 blocker
Watch
Check the potassium, magnesium and ECG in clients at risk. Ask about bowel movements.
Report
Report a fast, slow or irregular heartbeat, fainting, or severe constipation.
Teach
Headache is common. Take the dose before chemotherapy as scheduled.
metoclopramideDopamine blocker and prokinetic
Watch
Watch the face, mouth and limbs for abnormal movements. Watch for drowsiness and low mood.
Report
Report lip smacking, tongue movements, muscle spasms of the jaw or neck, or depression.
Teach
Take it 30 minutes before meals as ordered. Avoid alcohol, and do not drive if drowsy.
PregnancyFor nausea and vomiting in pregnancy, doxylamine with pyridoxine (vitamin B6) is a common first drug. Diet changes come first, with small, frequent, bland meals.

Laxatives and antidiarrheals

Constipation is treated first with fluids, fiber and activity. When a laxative is needed, the gentlest one that works is chosen, and the drawing shows how each group makes stool move.

Visual 3 · Diagram

Bulk-forming laxatives such as psyllium soak up water and swell. Stool softeners such as docusate let water mix into the stool. Osmotic laxatives such as polyethylene glycol, lactulose and magnesium pull water into the bowel. Stimulant laxatives such as senna and bisacodyl push the bowel wall. They run roughly from milder and slower to stronger and faster. Bulk-forming psylliumsoaks up waterand swells Stool softener docusatelets water mixinto the stool Osmotic polyethylene glycol,lactulose, magnesiumpull water in Stimulant senna, bisacodylpush the bowelwall to contract the colon milder and slower stronger and faster
How laxatives work. Bulk-forming laxatives act most like natural fiber. Stimulants work fastest but cause cramps.
Laxatives
GroupExamplesWhat to watch most
Bulk-formingpsyllium, methylcelluloseTake each dose with at least 8 oz of liquid. Without enough fluid, it can block the bowel.
Stool softenerdocusateIt is mild. It suits clients who must not strain, such as after a heart attack or surgery.
Osmoticpolyethylene glycol 3350, lactulose, magnesium citrate, magnesium hydroxideWatch for dehydration. Avoid magnesium products in kidney failure.
Stimulantsenna, bisacodylCramping is common. Swallow bisacodyl tablets whole, and do not take them with milk or antacids.
Opioid antagonists for the gutmethylnaltrexone, naloxegolThey treat constipation from opioids. They are not given if a bowel obstruction is possible.
Bowel preparationpolyethylene glycol with electrolytesLarge volumes clear the bowel before colonoscopy. Watch the fluid balance in older adults.
  • Never give a laxative for abdominal pain of unknown cause. The pain may be appendicitis or a bowel obstruction, and a laxative could cause a rupture.
  • Prevent constipation when opioids start. Opioid constipation does not wear off with time, so a stimulant laxative with a softener is often ordered from the first dose.
  • Teach the risk of laxative overuse. Long use of stimulants can leave the bowel dependent on them, and diarrhea from overuse also lowers potassium.
  • Adjust lactulose to the stool count. In liver disease, the dose is changed every day or two to produce 2 or 3 soft stools a day, and the nurse watches for dehydration and low potassium if the diarrhea is heavy.

Visual 4 · Number line

Soft stools a day on lactulose for liver diseasestools · the dose is adjusted to reach this
Fewer than 2: ammonia may build up; report2–3 soft stools: the label’s goalMany watery stools: dehydration and low potassium

Antidiarrheals

  • Find the cause before slowing the bowel. Diarrhea with fever or blood may be an infection such as C. difficile, and slowing the bowel then keeps the toxin in, so antidiarrheals are avoided.
  • Give loperamide only at the dose on the label, because high doses can cause serious heart rhythm problems and death. It is not given to children under 2.
  • Watch for anticholinergic effects with diphenoxylate–atropine, such as dry mouth, urine retention and a fast heart rate. It is a controlled substance.
  • Replace fluid and electrolytes first. Oral rehydration solution treats most dehydration from diarrhea.
lactuloseOsmotic laxative, ammonia reducer
Watch
Count the stools, and check the mental status, potassium and fluid balance.
Report
Report fewer than 2 stools a day, many watery stools, or confusion that worsens.
Teach
Mix it with juice or water if the taste is too sweet. Expect loose stools, which mean it is working.
psylliumBulk-forming laxative
Watch
Check fluid intake and bowel sounds. Ask about trouble swallowing.
Report
Report chest pain, vomiting or trouble swallowing after a dose, or no stool for days.
Teach
Mix it in at least 8 oz of liquid and drink it at once. Take other medicines 2 hours apart.

Bowel disease, pancreas and liver drugs

Ulcerative colitis and Crohn’s disease are inflammatory bowel diseases (IBD). The immune system attacks the gut wall, so treatment calms inflammation and the immune response, and drugs are added in steps, from aminosalicylates up to biologic drugs.

Drugs for bowel disease, pancreas and liver
DrugUsed forWhat to watch most
sulfasalazineUlcerative colitisIt turns urine and skin yellow-orange. Avoid it in a sulfa allergy.
mesalamineUlcerative colitisIt has no sulfa part. Check kidney function.
budesonide, prednisoneFlares of IBDShort courses only. The endocrine drugs page covers steroid effects.
azathioprineKeeping IBD in remissionIt lowers blood counts. Report fever or sore throat.
infliximab, adalimumab, vedolizumabModerate to severe IBDScreen for tuberculosis and hepatitis B first. Watch for infection.
pancrelipasePoor digestion from cystic fibrosis or pancreatitisTake it with every meal and snack. Swallow it whole.
lactulose, rifaximinHepatic encephalopathyLactulose aims for 2 or 3 soft stools a day. Rifaximin kills gut bacteria that make ammonia.
  • Give sulfasalazine after a meal with a full glass of water, because it upsets the stomach and fluids prevent crystals in the urine. Blood counts and liver tests are checked during treatment.
  • Teach that yellow-orange urine on sulfasalazine is expected. It can also stain soft contact lenses.
  • Give pancrelipase with the first bite of each meal and snack, because the enzymes must meet the food to digest it.
  • Do not crush or chew pancrelipase. If the client cannot swallow capsules, open them onto a little soft, acidic food such as applesauce, and swallow without chewing.
  • Judge pancrelipase by the stools. Fewer fatty, foul-smelling stools and steady weight gain show the dose is right.
  • Screen before a biologic drug, because infliximab and similar drugs can reawaken tuberculosis and hepatitis B. The immune drugs page covers them.
sulfasalazineAminosalicylate
Watch
Check blood counts, liver tests and fluid intake. Ask about sulfa allergy.
Report
Report a sore throat, fever, rash, unusual bruising or yellow eyes.
Teach
Take it after a meal with a full glass of water. Orange urine is expected.
pancrelipasePancreatic enzyme
Watch
Check the stools for fat, and the weight and growth in children.
Report
Report abdominal pain or swelling, or stools that stay fatty.
Teach
Take it with every meal and snack. Swallow it whole, or sprinkle it on applesauce.

What the exam tests

Questions on GI drugs ask when to give each drug, which adverse effect needs action, and which client is in the most danger. The angles below show how a good answer reasons.

“When should the client take omeprazole?”Before a meal, usually before breakfast.
“When should sucralfate be given?”One hour before meals and at bedtime, with antacids kept 30 minutes away.
“Which client should not receive misoprostol?”A client who is pregnant or could become pregnant without reliable birth control.
“Which finding on metoclopramide needs action?”Lip smacking or tongue movements. Stop the drug and report tardive dyskinesia.
“How does the nurse know lactulose is working?”Two or three soft stools a day, a lower ammonia level and clearer thinking.
“Which client should not get a laxative?”The client with abdominal pain of unknown cause, or signs of obstruction.
“Which report is most urgent?”Black, tarry stools with dizziness in a client on an NSAID. This may be a bleeding ulcer.
-prazole before breakfastPPIs work best before the first meal.
Sucralfate likes it emptyAn empty stomach, 1 hour before meals.
Miso-no in pregnancyMisoprostol can cause miscarriage.
Two to three for lactuloseSoft stools a day in liver disease.
Pain first, then the laxativeNever treat unexplained abdominal pain with a laxative.
Exam trap

A client on lactulose for liver disease has 3 soft stools a day and asks for an antidiarrheal. Stopping the diarrhea looks kind. But the stools are the treatment, because they carry ammonia out of the body.

Exam trap

A client with new right lower abdominal pain and no stool for 2 days asks for a laxative. Constipation looks likely. But a laxative is not given for abdominal pain of unknown cause, so report it and assess for appendicitis.

Practice questions

Written for this course in the style of the exam. Choose an answer, then check it by saying how sure you are.

  1. Question 1 · Select all that apply

    A client has taken omeprazole daily for 3 years. Which findings should the nurse report to the provider? Select all that apply.

    Show the answer

    Answer: B, C, D, E. Long PPI use raises the risk of C. difficile diarrhea, a low magnesium with cramps and tremor, fractures and a low vitamin B12, which causes numbness, so those four findings need reporting. Heartburn relief is the intended effect, and taking the dose before breakfast is correct, so neither needs a report.

    Report a mistake in this question

  2. Question 2

    A client is prescribed sucralfate 1 g four times daily and an antacid as needed. Which schedule should the nurse plan?

    Show the answer

    Answer: D. Sucralfate forms a protective paste best on an empty stomach, so it is given 1 hour before meals and at bedtime. Antacids interfere with it, so they are kept at least 30 minutes apart, and giving it with food or with antacids lowers its effect.

    Report a mistake in this question

  3. Question 3

    A client receiving metoclopramide for diabetic gastroparesis develops lip smacking and repeated tongue thrusting. What should the nurse do?

    Show the answer

    Answer: D. Lip smacking and tongue thrusting during metoclopramide treatment suggest tardive dyskinesia, which can become permanent, so the drug is held and the provider told. Food does not prevent it, these movements are never harmless, and a higher dose would increase the risk.

    Report a mistake in this question

  4. Question 4

    The nurse receives report on four clients. Which client should the nurse assess first?

    Show the answer

    Answer: B. Black, tarry stools with dizziness on standing in a client on an NSAID suggest a bleeding ulcer and possible shock, which threatens life. Three soft stools on lactulose is the goal, and a mild headache and mild constipation are expected effects that are less urgent.

    Report a mistake in this question

  5. Question 5

    A client with cirrhosis is receiving lactulose. Which finding shows the drug is having the desired effect?

    Show the answer

    Answer: A. Lactulose draws ammonia into the bowel and out in the stool, so clearer thinking with 2 or 3 soft stools a day shows that it is working. No stool means that ammonia may build up, and many watery stools risk dehydration and low potassium. Abdominal girth reflects ascites, not the effect of lactulose.

    Report a mistake in this question

  6. Question 6

    A client is drinking a polyethylene glycol bowel preparation before a colonoscopy. Which task can the registered nurse delegate to assistive personnel?

    Show the answer

    Answer: D. Recording the number and appearance of stools and reporting what was seen is a routine task that can be delegated. Assessing for dehydration, teaching and deciding to stop the preparation need nursing judgment, so they stay with the registered nurse.

    Report a mistake in this question

  7. Question 7

    A 28-year-old client is starting misoprostol to protect the stomach while taking an NSAID for arthritis. Which statement shows the teaching was understood?

    Show the answer

    Answer: A. Misoprostol can cause miscarriage and birth defects, so a negative pregnancy test and reliable birth control are required. If pregnancy occurs, the client stops the drug and calls the provider at once, and stopping birth control would remove the protection. Diarrhea is a common side effect, not a reason to change the dose.

    Report a mistake in this question

Practise these again later

Lesson cards

Sources

Facts, values and guidance on this page were checked against these official sources.

  1. MedlinePlus: Magnesium blood test. medlineplus.gov
  2. American College of Gastroenterology: Clinical guidelines, including the 2024 guideline on treating Helicobacter pylori infection. gi.org
  3. U.S. Food and Drug Administration: FDA requests removal of all ranitidine products from the market (2020). www.fda.gov
  4. MedlinePlus (U.S. National Library of Medicine): Omeprazole. medlineplus.gov
  5. MedlinePlus: Famotidine. medlineplus.gov
  6. MedlinePlus: Sucralfate. medlineplus.gov
  7. MedlinePlus: Misoprostol. medlineplus.gov
  8. MedlinePlus: Bismuth subsalicylate. medlineplus.gov
  9. MedlinePlus: Ondansetron. medlineplus.gov
  10. MedlinePlus: Metoclopramide. medlineplus.gov
  11. MedlinePlus: Promethazine. medlineplus.gov
  12. MedlinePlus: Scopolamine transdermal patch. medlineplus.gov
  13. DailyMed (National Library of Medicine): Lactulose solution, prescribing information. dailymed.nlm.nih.gov
  14. MedlinePlus: Psyllium. medlineplus.gov
  15. MedlinePlus: Loperamide. medlineplus.gov
  16. MedlinePlus: Sulfasalazine. medlineplus.gov
  17. MedlinePlus: Pancrelipase. medlineplus.gov
  18. MedlinePlus: Magnesium blood test. medlineplus.gov

Report a mistake in this lesson. We check every report.

Clinically reviewed by a registered nurse.

Facts checked: 4 November 2026. This page is for exam study. It is not medical advice and does not replace your program’s teaching, your facility’s policies or a prescriber’s orders.

NCLEX®, NCLEX-RN® and NCSBN® are registered trademarks of the National Council of State Boards of Nursing. Headstart is not affiliated with or endorsed by NCSBN.