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.
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
| Group | Examples | What to watch most |
|---|---|---|
| Proton pump inhibitors (PPIs) | omeprazole, pantoprazole, esomeprazole, lansoprazole | Give before a meal. Long use raises the risk of fractures and lowers magnesium. |
| Potassium-competitive acid blocker | vonoprazan | It blocks the pump by another route. It is used for H. pylori and erosive esophagitis. |
| H2-receptor antagonists | famotidine, cimetidine | Famotidine is often taken at bedtime. Cimetidine interacts with many drugs. |
| Antacids | aluminum hydroxide, magnesium hydroxide, calcium carbonate | Aluminum constipates, and magnesium causes diarrhea. Keep them apart from other drugs. |
| Sucralfate | sucralfate | Give it on an empty stomach. It can cause constipation. |
| Misoprostol | misoprostol | It protects the stomach from NSAIDs, but it must not be taken in pregnancy. |
| Bismuth subsalicylate | bismuth subsalicylate | It 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.
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.
- 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.
- 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.
- 1Check for shock Measure the blood pressure, heart rate and level of consciousness. A falling pressure with a rising pulse is an emergency.
- 2Call for help and report Tell the provider at once. Hold NSAIDs and anticoagulants until the provider reviews them.
- 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.
- 4Keep the client NPO Nothing by mouth, because endoscopy is likely.
- 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
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.
| Group | Examples | What to watch most |
|---|---|---|
| Serotonin (5-HT3) blockers | ondansetron, granisetron | Headache and constipation are common. They can lengthen the QT interval. |
| Dopamine blockers | metoclopramide, prochlorperazine, promethazine | Drowsiness and movement disorders. Promethazine is not given to children under 2. |
| Anticholinergic | scopolamine patch | Dry mouth, blurred vision and drowsiness. It is used for motion sickness. |
| Antihistamine | meclizine, dimenhydrinate | Drowsiness. They are used for motion sickness and vertigo. |
| NK1 receptor blockers | aprepitant, fosaprepitant | They are combined with others to prevent nausea from chemotherapy. |
| Corticosteroid | dexamethasone | It adds to other antiemetics before chemotherapy, and it raises the glucose. |
| Cannabinoid | dronabinol | It 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.
- 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.
- 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.
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
| Group | Examples | What to watch most |
|---|---|---|
| Bulk-forming | psyllium, methylcellulose | Take each dose with at least 8 oz of liquid. Without enough fluid, it can block the bowel. |
| Stool softener | docusate | It is mild. It suits clients who must not strain, such as after a heart attack or surgery. |
| Osmotic | polyethylene glycol 3350, lactulose, magnesium citrate, magnesium hydroxide | Watch for dehydration. Avoid magnesium products in kidney failure. |
| Stimulant | senna, bisacodyl | Cramping is common. Swallow bisacodyl tablets whole, and do not take them with milk or antacids. |
| Opioid antagonists for the gut | methylnaltrexone, naloxegol | They treat constipation from opioids. They are not given if a bowel obstruction is possible. |
| Bowel preparation | polyethylene glycol with electrolytes | Large 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
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.
- 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.
- 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.
| Drug | Used for | What to watch most |
|---|---|---|
| sulfasalazine | Ulcerative colitis | It turns urine and skin yellow-orange. Avoid it in a sulfa allergy. |
| mesalamine | Ulcerative colitis | It has no sulfa part. Check kidney function. |
| budesonide, prednisone | Flares of IBD | Short courses only. The endocrine drugs page covers steroid effects. |
| azathioprine | Keeping IBD in remission | It lowers blood counts. Report fever or sore throat. |
| infliximab, adalimumab, vedolizumab | Moderate to severe IBD | Screen for tuberculosis and hepatitis B first. Watch for infection. |
| pancrelipase | Poor digestion from cystic fibrosis or pancreatitis | Take it with every meal and snack. Swallow it whole. |
| lactulose, rifaximin | Hepatic encephalopathy | Lactulose 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.
- 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.
- 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.
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.
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.
-
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
-
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
-
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
-
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
-
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
-
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
-
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 cardsKeep going
- Find where you stand20 questions across all 8 areas of the exam, then a plan to your exam date.Start the check
- 4 weeks to go?A day-by-day plan through the whole course.See the plan
- Bring your own notesHeadstart turns your class notes, slides and PDFs into flashcards and practice questions, for any subject.Use my notes
AI credits: every account gets free AI credits each week. Making your own cards is always free.
Studying with a friend? Send them your invite link: you each get 500 AI credits once they’ve studied on 2 days. Get my invite link
Sources
Facts, values and guidance on this page were checked against these official sources.
- MedlinePlus: Magnesium blood test. medlineplus.gov
- American College of Gastroenterology: Clinical guidelines, including the 2024 guideline on treating Helicobacter pylori infection. gi.org
- U.S. Food and Drug Administration: FDA requests removal of all ranitidine products from the market (2020). www.fda.gov
- MedlinePlus (U.S. National Library of Medicine): Omeprazole. medlineplus.gov
- MedlinePlus: Famotidine. medlineplus.gov
- MedlinePlus: Sucralfate. medlineplus.gov
- MedlinePlus: Misoprostol. medlineplus.gov
- MedlinePlus: Bismuth subsalicylate. medlineplus.gov
- MedlinePlus: Ondansetron. medlineplus.gov
- MedlinePlus: Metoclopramide. medlineplus.gov
- MedlinePlus: Promethazine. medlineplus.gov
- MedlinePlus: Scopolamine transdermal patch. medlineplus.gov
- DailyMed (National Library of Medicine): Lactulose solution, prescribing information. dailymed.nlm.nih.gov
- MedlinePlus: Psyllium. medlineplus.gov
- MedlinePlus: Loperamide. medlineplus.gov
- MedlinePlus: Sulfasalazine. medlineplus.gov
- MedlinePlus: Pancrelipase. medlineplus.gov
- 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.