What Are PPIs? How Proton Pump Inhibitors Work, Side Effects, and What to Know

Learn how PPIs reduce stomach acid, how they compare with Pepcid and antacids, and what the evidence says about side effects and long-term use.

Written by the Re:Your Gut Team

12 min read, Published October 25, 2026

What Are PPIs? How Proton Pump Inhibitors Work, Side Effects, and What to Know

If you've ever taken omeprazole, Nexium, or Prevacid, you've taken a PPI. So what exactly are they doing in there?

PPIs are some of the most widely used medicines in the country. They work well for what they're designed to do. They also get a lot of attention for their side effects, some of it deserved and some of it not.

So let's walk through it plainly: what a PPI is, how it works, how it compares with the other acid medicines on the shelf, and what the evidence actually says about long-term use.

 

What Are PPIs?

PPIs, or proton pump inhibitors, are medicines that lower the amount of acid your stomach makes. They work by blocking the proton pumps in the stomach lining, the tiny enzymes that release acid. Common PPIs include omeprazole (Prilosec), esomeprazole (Nexium), lansoprazole (Prevacid), and pantoprazole (Protonix). They're used for GERD, frequent heartburn, and ulcers.

MedlinePlus lists their main uses as relieving symptoms of acid reflux or GERD, treating a duodenal or stomach ulcer, and treating damage to the lower esophagus caused by acid reflux. The prescription omeprazole label also lists their use alongside antibiotics to clear H. pylori infection and reduce the chance of a duodenal ulcer coming back.

If you're still sorting out the terms, we explained the difference between reflux, heartburn, and GERD in Acid Reflux vs. Heartburn vs. GERD.

How Common Are They?

Very. Using national survey data, researchers found that prescription PPI use rose from 4.1 percent of US adults in 1999 to 2000 to 8.6 percent in 2017 to 2018, then leveled off. That count doesn't include the many people who buy them over the counter.

How Do PPIs Work?

Your stomach lining contains parietal cells, and those cells hold large numbers of tiny acid pumps. StatPearls, a medical reference hosted by the National Library of Medicine, explains that the parietal cells contain the H+/K+ ATPase enzyme, the proton pump, that PPIs block. That pump is the last step before acid enters your stomach, which is why PPIs are so effective.

A few details explain how PPIs behave in real life:

Proton pump inhibitor mechanism of action
A PPI Switches Off the Last Step of Acid Production
Stomach acid icon
1 · THE PUMPS
Parietal cells hold acid pumps
The H+/K+ ATPase enzyme releases acid into the stomach.
2 · SWITCH ON
PPIs need acid to activate
That’s why you take one before a meal, when the pumps get busy.
3 · BUILD UP
Full effect in about 4 days
Pumps recycle, so the effect plateaus after days of once-daily dosing.
4 · STOP
Acid returns over 3 to 5 days
The drug leaves the blood in under an hour, but its binding lasts longer.
Acid suppression over time














Days 1 to 4: buildingPlateau while taking it dailyAfter stopping: 3 to 5 days
Illustrative, not to scale. Sources: StatPearls; omeprazole prescription label.

When Should You Take a PPI?

MedlinePlus says these medicines are commonly taken 30 minutes before the first meal of the day. The over-the-counter omeprazole label says to take it before eating in the morning. Follow your own prescription or package directions, since some people are told to take it differently.

Illustration of a person taking a capsule with water in the morning before breakfast, the usual timing for a PPI

List of PPIs

Here are the PPIs available in the US (list from MedlinePlus; prescription status from FDA labeling):

List of PPIs available in the US
Seven PPIs, Four Sold Over the Counter
Capsule icon
Over the counter and prescription
Prescription only
Omeprazole
Prilosec · OTC
Esomeprazole
Nexium · OTC
Lansoprazole
Prevacid · OTC
Omeprazole + sodium bicarbonate
Zegerid · Zegerid OTC
Pantoprazole
Protonix · Rx only
Rabeprazole
AcipHex · Rx only
Dexlansoprazole
Dexilant · Rx only
Most PPI names end in “-prazole.” Vonoprazan (“-prazan”) is a newer, different class. MedlinePlus says most work equally as well.
Sources: MedlinePlus; FDA labeling.

Which PPI Is Strongest, or Safest Long Term?

There's no clear winner. MedlinePlus says most work equally as well, and side effects may vary from drug to drug. An expert review from the American Gastroenterological Association advised that specific PPI formulations should not be selected based on potential risks. In other words, there's no "safest PPI" backed by evidence. The safest approach is the lowest dose that works, for as long as you actually need it, reviewed with your doctor.

PPIs vs. H2 Blockers vs. Antacids

This is where a lot of the confusion lives. Three kinds of acid medicine sit side by side in the pharmacy aisle, and they work in very different ways.

H2 blocker vs PPI vs antacid
Four Acid Medicines, Four Different Jobs
Antacid tablets icon
Antacids
Tums (calcium carbonate), Rolaids, Mylanta
How it works: Neutralizes acid already in the stomach
How fast: Quickly
Best suited to: Occasional, mild heartburn
Tablets icon
H2 Blockers
Famotidine (Pepcid)
How it works: Blocks one signal that tells the stomach to make acid
How fast: Take 15 to 60 min before a trigger meal
Best suited to: Occasional heartburn, as needed
Capsule icon
PPIs
Omeprazole (Prilosec), esomeprazole (Nexium)
How it works: Blocks the acid pumps themselves
How fast: Full effect in 1 to 4 days
Best suited to: Frequent heartburn, GERD, ulcers, esophageal healing
Stomach acid icon
P-CABs
Vonoprazan (Voquezna), Rx only
How it works: Blocks the pumps a different way, no acid needed to activate
How fast: Within hours; full effect in about 4 days
Best suited to: Erosive esophagitis, GERD heartburn, H. pylori (with antibiotics)
Not PPIs: Pepcid (an H2 blocker) and Tums (an antacid). PPIs are better at treating GERD symptoms than H2 blockers.

On strength, NIDDK is clear: PPIs are better at treating GERD symptoms than H2 blockers, and they can heal the esophageal lining in most people with GERD. H2 blockers can help heal the esophagus, but not as well.

Is Pepcid a PPI? Is Famotidine a PPI?

No. MedlinePlus says famotidine is in a class of medications called H2 blockers. It lowers acid too, but it blocks a signal to the pump rather than the pump itself. Over-the-counter famotidine is often taken shortly before a meal that tends to cause heartburn, or once or twice a day, while an over-the-counter PPI is taken daily for a 14-day course. So Pepcid and omeprazole aren't the same thing.

Are Tums a PPI?

No. Tums is calcium carbonate, an antacid. MedlinePlus says it's used as an antacid to relieve heartburn, acid indigestion, and upset stomach, and not to take it as an antacid for more than 2 weeks unless your doctor tells you to. Antacids neutralize acid that's already there. They don't change how much your stomach makes. We went deeper in Do Antacids Work for Acid Reflux?

Is Omeprazole a PPI? Is Pantoprazole?

Yes to both. Omeprazole, pantoprazole, esomeprazole, lansoprazole, dexlansoprazole, and rabeprazole are all PPIs. "PPI" is the drug class. Omeprazole is one drug in that class.

What's the New Drug That Might Replace PPIs?

The one you're likely hearing about is vonoprazan, sold as Voquezna. It's a different class called a potassium-competitive acid blocker, or P-CAB. It also blocks the acid pump, but its label notes that vonoprazan does not require activation by acid. The FDA approved it for healing erosive esophagitis in November 2023 and for heartburn from non-erosive GERD in July 2024. It's prescription only. It isn't a replacement for PPIs across the board, and whether it's right for you is a conversation for your doctor.

Over-the-Counter PPIs: The 14-Day Rule

Over-the-counter omeprazole, esomeprazole, and lansoprazole are sold for one purpose. The omeprazole label says it treats frequent heartburn (occurs 2 or more days a week) and is not intended for immediate relief of heartburn.

The directions are specific:

  • Take 1 tablet before eating in the morning, every day for 14 days
  • You may repeat a 14-day course every 4 months
  • Do not take it for more than 14 days, or more often than every 4 months, unless directed by a doctor
Over-the-counter PPIs
The 14-Day Rule
Calendar icon














1 tablet before eating in the morning, every day for 14 days
14 days
maximum course without a doctor
4 months
minimum gap before repeating a course
For frequent heartburn (2 or more days a week). Not for immediate relief: full effect may take 1 to 4 days. Needing it more often is a reason to see a doctor.

That's the honest answer to "why shouldn't you take omeprazole every day?" On your own, over the counter, the label is designed around short courses. If you need it more often, that's a sign to see a doctor, not a reason to keep buying boxes. Under a doctor's care, many people do take a PPI daily for good reasons.

Warning Signs on the Label

The over-the-counter label says do not use it, and see your doctor, if you have:

  • Trouble or pain swallowing food
  • Vomiting with blood, or bloody or black stools
  • Heartburn with lightheadedness, sweating, or dizziness
  • Chest pain or shoulder pain with shortness of breath, sweating, pain spreading to arms, neck, or shoulders, or lightheadedness
  • Frequent chest pain

It also says to ask a doctor before use if you've had heartburn for over 3 months, frequent wheezing with heartburn, unexplained weight loss, nausea or vomiting, or stomach pain. And the prescription label adds that feeling better on a PPI does not preclude the presence of gastric malignancy. In plain terms, relief doesn't rule out something more serious, which is why ongoing symptoms deserve a proper evaluation.

PPI Side Effects

Let's split this into two parts, because they're very different.

Common, Short-Term Side Effects

MedlinePlus says side effects from PPIs are rare, and may include headache, diarrhea, constipation, nausea, or itching. NIDDK describes PPIs as generally safe and effective, with uncommon side effects that may include headache, diarrhea, and upset stomach.

Warnings on the Prescription Label

The current prescription omeprazole label lists these warnings and precautions, several of which apply to long-term use:

  • Bone fracture: long-term and multiple daily dose therapy may be associated with an increased risk of fractures of the hip, wrist, or spine
  • Vitamin B12 deficiency: daily long-term use, for example longer than 3 years, may lead to B12 malabsorption or deficiency
  • Low magnesium: reported rarely with prolonged treatment
  • C. difficile diarrhea: PPI therapy may be associated with increased risk, especially in hospitalized patients
  • Kidney inflammation (acute tubulointerstitial nephritis): stop treatment and see your doctor if it's suspected
  • Fundic gland polyps: risk increases with long-term use, especially beyond one year; most people have no symptoms
  • Lupus: mostly skin-related, new onset or a flare of existing disease
  • Severe skin reactions
  • Drug interactions: including clopidogrel, methotrexate, St. John's wort, and rifampin

FDA required some of these warnings over time. In 2010, it required labeling about fractures with high-dose, long-term PPI therapy, and advised using the lowest dose and shortest duration appropriate to the condition. In 2011 it added a warning about low magnesium with PPI use for at least three months, and in most cases after a year. MedlinePlus also notes that PPIs may change the way certain medicines work, including some anti-seizure medicines and blood thinners such as warfarin or clopidogrel.

Are PPIs Safe for Long-Term Use?

This is the question behind most PPI searches, and the honest answer is more reassuring than much of what you'll read online, with some real caveats.

Many of the scary headlines come from observational studies. StatPearls notes that most of these associations have as their basis low-grade evidence and observational associations rather than clear causation, including isolated retrospective analyses suggesting links with dementia, kidney disease, and heart disease. Observational studies can't easily separate the effect of a drug from the reasons people take it. People on long-term PPIs are often older and sicker to begin with.

The strongest test came from a randomized trial. In the COMPASS trial, 17,598 people with stable cardiovascular disease were randomly assigned to pantoprazole 40 mg or placebo and followed for a median of about 3 years. There was no statistically significant difference in adverse events, except for enteric (gut) infections: 1.4 percent on pantoprazole versus 1.0 percent on placebo. The authors concluded that pantoprazole was not associated with any adverse event over 3 years, with the possible exception of enteric infections. That trial was in older heart patients, so it doesn't answer every question, but it's the largest randomized safety test of a PPI to date.

Are PPIs safe for long-term use?
The Largest Randomized Test Found Little Difference
Drug label icon
17,598
people with stable heart disease
~3 years
pantoprazole 40 mg or placebo
1 exception
possibly gut (enteric) infections
Enteric infections
Pantoprazole

1.4%
Placebo

1.0%
Headline risks (dementia, kidney, heart) come mostly from observational studies, which can’t easily separate the drug from why people take it.
Label warnings still apply for long-term use: fractures, B12, low magnesium, C. difficile, polyps and more.
COMPASS was in older heart patients, so it doesn’t answer every question. Sources: COMPASS trial; StatPearls; omeprazole label.

The American Gastroenterological Association's 2022 guidance puts it this way: although PPIs are generally safe, patients should not use any medication when there is not a reasonable expectation of benefit. It recommends that everyone taking a PPI have a regular review of why they're taking it. Some people should generally not stop, including those with a history of severe erosive esophagitis, Barrett's esophagus, or high risk of upper GI bleeding. And the same guidance says the decision to stop should be based on whether there's still a reason to take it, not on fear of side effects.

We covered the risks side in more depth in The Hidden Risks of Long-Term PPI Use.

Should You Take B12, Magnesium, or Probiotics With a PPI?

Not routinely, according to the AGA's expert review. It advised that long-term PPI users should not routinely use probiotics to prevent infection, and should not routinely raise their intake of calcium, vitamin B12, or magnesium beyond the Recommended Dietary Allowance. The same review also advised against routine B12 or magnesium testing for everyone on a PPI. But if you've been on one for years, take medicines like digoxin or diuretics, or notice symptoms such as numbness, unusual fatigue, muscle cramps, or an irregular heartbeat, ask your doctor whether testing makes sense for you.

What Happens When You Stop a PPI?

Here's something many people aren't told. When you stop a PPI after regular use, your stomach can temporarily make more acid than before. This is called rebound acid hypersecretion.

In one study, 120 healthy volunteers without acid-related symptoms took esomeprazole or placebo for 8 weeks, then placebo. After stopping, 44 percent of the PPI group reported at least one acid-related symptom in weeks 9 to 12, versus 15 percent on placebo. These were healthy people, not reflux patients.

What happens when you stop a PPI
Rebound Is Real, and Temporary
120 healthy volunteers with no acid symptoms took esomeprazole or placebo for 8 weeks, then placebo. Share with at least one acid-related symptom in weeks 9 to 12:
After a PPI

44%
After placebo

15%
Stop warning icon
Don’t stop a prescribed PPI on your own. Some people need one long term. Plan any taper or stop with your doctor.

The AGA guidance says patients who stop long-term PPI therapy should be advised that they may develop transient upper gastrointestinal symptoms due to rebound acid hypersecretion, and that either tapering the dose or stopping all at once can be considered. The key word is transient. It's also why stopping should be planned with your doctor, not done on a whim. We explained rebound in detail in Why PPI Rebound Is Real.

Lifestyle Steps That Work Alongside Any Medicine

Whatever you take, NIDDK lists lifestyle changes that can help reduce GERD symptoms:

For a practical walkthrough, see How to Get Rid of Acid Reflux.

The Better Question

Let's step back.

PPIs answer one question extremely well: how do we make less acid? For an ulcer, a damaged esophagus, or Barrett's esophagus, that's exactly the right question, and PPIs are an important medicine.

But for a lot of people with everyday heartburn, there's a second question worth asking: if acid belongs in the stomach, what normally keeps it there? Your stomach is supposed to be acidic. The problem in reflux is acid ending up where it doesn't belong, above the lid at the top of your stomach, the lower esophageal sphincter. A PPI makes what comes back up less acidic. It isn't designed to change how that lid works, and the lid is only one part of the reflux picture. We explained how the lid works in What Is Acid Reflux?

That second question is where Re:flux comes from. We developed it to support upper digestive comfort for people with occasional heartburn, around how the upper digestive tract normally works: the lid, gastric motility, a healthy inflammatory response, and acid balance, rather than around shutting acid down. It isn't a PPI, it isn't a substitute for a PPI your doctor has prescribed, and it isn't intended to treat GERD, ulcers, or any other condition. If you take a PPI, don't stop or change it without talking to your doctor, and ask before adding any supplement. The full reasoning is on The Acid Truth, and we compared the evidence for common reflux supplements in Best Supplements for Acid Reflux.

Understanding how your own digestion works helps you ask better questions and have better conversations with your healthcare provider. If you want a starting point, take the quiz.

About Re:garding Your Gut

Re:garding Your Gut is a polyphenol-powered gut health brand founded by Kenneth Brown, MD, a board-certified gastroenterologist with more than 20 years in practice. The product family includes Atrantil for bloating and gas, Re:flux for acid reflux, and Re:balance for microbiome support.

These statements have not been evaluated by the Food and Drug Administration. This product is not intended to diagnose, treat, cure, or prevent any disease. This article is educational and is not medical advice, and it is not a substitute for your medication's prescribing information or your doctor's advice. Do not start, stop, or change the dose of a prescription medication based on this article. Talk to your healthcare provider before adding any supplement while taking a prescription medication.

Frequently Asked Questions

What Are PPIs?

PPIs, or proton pump inhibitors, are medicines that reduce the amount of stomach acid made by glands in the lining of your stomach. They're used for GERD, frequent heartburn, ulcers, and H. pylori treatment.

What Are Examples of PPIs?

Omeprazole (Prilosec), esomeprazole (Nexium), lansoprazole (Prevacid), pantoprazole (Protonix), rabeprazole (AcipHex), and dexlansoprazole (Dexilant). Omeprazole, esomeprazole, and lansoprazole are also sold over the counter.

What Is the Safest PPI to Take Long Term?

No PPI has been shown to be safer than the others. MedlinePlus says most work equally as well, and AGA experts advise against choosing a PPI based on potential risks. The safest approach is the lowest effective dose for as long as you need it, reviewed regularly with your doctor.

Is Pepcid the Same as Omeprazole?

No. Pepcid (famotidine) is an H2 blocker, and omeprazole is a PPI. Both lower acid, but PPIs block the acid pumps directly and are better at treating GERD symptoms, while famotidine can be taken shortly before a meal to prevent heartburn.

Are Tums a PPI?

No. Tums is calcium carbonate, an antacid that neutralizes acid already in your stomach. It works quickly but doesn't change how much acid you make.

Why Shouldn't You Take Omeprazole Every Day?

Over the counter, the label says take it for 14 days, no more often than every 4 months, unless directed by a doctor. Needing it more often is a reason to see a doctor. Many people do take a PPI daily under a doctor's care when there's a clear reason.

What Is the Strongest PPI Over the Counter?

There isn't a clear strongest one. Omeprazole, esomeprazole, and lansoprazole (plus omeprazole with sodium bicarbonate, sold as Zegerid OTC) are sold over the counter for frequent heartburn, and MedlinePlus says most PPIs work equally as well.

What Is the New Drug to Replace PPIs?

Vonoprazan (Voquezna), a potassium-competitive acid blocker, was approved for heartburn from non-erosive GERD in 2024 after earlier approvals for H. pylori treatment (2022) and erosive esophagitis (2023). It's prescription only and not a blanket replacement for PPIs.

Do PPIs Cause Vitamin B12 Deficiency?

They can with long-term use. The prescription omeprazole label says daily long-term use, for example longer than 3 years, may lead to malabsorption or a deficiency of vitamin B12. Testing isn't routine for everyone, but if you've used a PPI for years or have symptoms, ask your doctor whether it makes sense for you.

What Drink Calms Acid Reflux?

There's no drink that works like a medicine, but some choices are gentler than others. We looked at the evidence in Does Water Help Acid Reflux? and Does Milk Help Acid Reflux?

Dr. Ken Brown, MD

Board-Certified Gastroenterologist
Creator of Atrantil + Re:flux · Host, Gut Check Project

Dr. Brown has practiced gastroenterology for over 20 years in Plano, TX. He developed Atrantil to bridge the gap between natural and medical science, and educates millions through the Gut Check Project podcast.

Table of Contents

    Key Takeaways

    • PPIs lower stomach acid. MedlinePlus describes them as medicines that work by reducing the amount of stomach acid made by glands in the lining of your stomach.
    • They switch off the acid pumps themselves. PPIs shut down the proton pump, so, as the omeprazole label puts it, the drug blocks the final step of acid production.
    • They aren't for quick relief. The over-the-counter label says omeprazole may take 1 to 4 days for full effect.
    • Pepcid and Tums aren't PPIs. Famotidine (Pepcid) is an H2 blocker, and Tums is an antacid. They work differently.
    • Over-the-counter use is limited to 14-day courses. The label says not to take it for more than 14 days or more often than every 4 months unless directed by a doctor.
    • Long-term risks are mostly associations. In a large randomized trial, 3 years of pantoprazole showed no significant difference in adverse events except possibly enteric infections.
    • Don't stop a prescribed PPI on your own. Some people need them long term, and stopping can cause temporary rebound symptoms.