Most people think of Prilosec as a stomach drug, and it is. It works by shutting down the pumps in the stomach lining that make acid. But stomach acid does more than digest food. It is also one of the main gatekeepers that decides which bacteria get to travel further down your gut.
When that gate is propped open for months or years, the bacteria living in your intestines change. Research over the past decade has shown that these changes are real, measurable and, at a population level, larger than the changes seen with many other common drugs. This guide explains what the studies found, why it happens, what it might mean for your health, and what you can do about it.
The quick answer
- Large studies of thousands of people found that PPI users have less diverse gut bacteria and changes in about 20% of bacterial groups.
- The most striking change is that bacteria normally found in the mouth show up in much greater numbers in the gut.
- A small controlled trial in healthy volunteers showed omeprazole directly caused some of these shifts within weeks.
- These changes may help explain why PPI users have more gut infections, such as C. diff, and possibly more SIBO.
- Whether they cause everyday symptoms like bloating in a given person is not yet proven.
Why stomach acid matters for your gut bacteria
Every day you swallow huge numbers of bacteria in food, drinks and saliva. Normally, strong stomach acid kills or disables most of them before they reach the small intestine. This acid barrier is one reason the upper gut usually has relatively few bacteria compared with the colon.
PPIs like omeprazole reduce stomach acid very effectively. That is great for healing an ulcer or protecting an inflamed esophagus. But a weaker acid barrier means more swallowed bacteria survive the trip. Over time, this changes which bacteria settle in the intestines.
What the research found
1,815 people in the Netherlands (2016)
A study in the journal Gut analyzed stool samples from 1,815 people across three groups: the general population, people with IBS and people with inflammatory bowel disease. Compared with non-users, PPI users had:
- A significant drop in bacterial diversity
- Changes in 20% of the bacterial groups measured
- More mouth bacteria in their stool, including the genus Rothia
- More bacteria from groups such as Enterococcus, Streptococcus and Staphylococcus, and more of the potentially harmful species Escherichia coli
The researchers concluded that, on a population level, the effects of PPIs on the gut microbiome were more prominent than the effects of antibiotics or other commonly used drugs (Imhann et al.).
1,827 twins in the UK (2016)
Another study in Gut examined 1,827 twins from the TwinsUK registry. PPI users had lower gut bacterial diversity and more bacteria normally found higher up in the digestive tract and mouth, including the Streptococcaceae family. Because the study included identical twins where one took a PPI and the other did not, it could rule out shared genes and upbringing as the explanation for many of the differences.
A controlled trial in healthy volunteers (2015)
Observational studies cannot prove cause and effect, so researchers at Columbia University ran a small crossover trial. Twelve healthy volunteers gave stool samples, then took omeprazole 40 mg twice daily for 4 to 8 weeks (Freedberg et al., Gastroenterology).
Overall diversity did not change significantly within each person over that short time. But specific groups did shift:
- Increases in Enterococcaceae and Streptococcaceae, and a decrease in Clostridiales, all changes linked with C. diff infection
- Increases in Micrococcaceae and Staphylococcaceae, groups linked with bacterial overgrowth in the gut
- An increase in bacterial genes involved in invading host cells
The authors suggested these changes could provide a mechanism by which PPIs make people more susceptible to C. diff (full text). The dose used was higher than the standard 20 mg daily, and the study was small, but it shows that omeprazole can directly change gut bacteria in weeks.
41 common medicines compared (2020)
A study in Nature Communications looked at how 41 commonly used medicines relate to the gut microbiome. Nineteen were linked with changes in gut bacteria. After accounting for people taking several medicines at once, PPIs were among the four drug groups with the strongest effects, along with metformin, antibiotics and laxatives (abstract).
Why mouth bacteria end up in your gut
This finding comes up in almost every study, and it makes sense once you think about the acid barrier. You swallow roughly a liter or more of saliva every day, and it carries mouth bacteria with it. When stomach acid is strong, few of them survive. When acid is suppressed, many more reach the intestines alive. Researchers sometimes describe this as the gut becoming more like the mouth.
Many of these mouth bacteria are harmless in the mouth. The question is what happens when they show up in large numbers in a place they do not usually live.
What these changes might mean for your health
More gut infections
This is where the evidence is strongest. PPI users have higher odds of C. diff infection in multiple meta-analyses, and the FDA has warned about this since 2012. The COMPASS trial, which randomly assigned 17,598 people to pantoprazole or placebo for about 3 years, found more enteric (gut) infections in the PPI group: 1.4% vs 1.0% (Moayyedi et al.). It was the only safety outcome that differed between the groups. Researchers think the microbiome changes help explain why. See Omeprazole and C. diff: the FDA warning explained.
Small intestinal bacterial overgrowth (SIBO)
With more bacteria surviving the stomach, it is plausible that more settle in the small intestine. Meta-analyses have found PPI users have higher odds of SIBO, though the strength of the link depends on how SIBO is tested. See Can omeprazole cause SIBO?
IBS and digestive symptoms
For people with IBS, gut bacteria matter. The Dutch study included people with IBS, and PPI users across all groups showed similar changes. However, research has not shown that PPI-related microbiome changes cause IBS or make IBS symptoms worse in a given person. It remains a reasonable concern, not a proven effect. See Omeprazole and IBS and Does omeprazole cause diarrhea, bloating or gas?
Other links that are still being studied
Researchers have proposed that microbiome changes might play a part in other conditions linked with PPIs in observational studies. These ideas are still being tested, and none has been shown to be caused by PPI microbiome changes in people.
Are the changes permanent?
This is one of the most common questions, and the honest answer is that it is not well established. Most large studies compared current users with non-users at a single point in time, and the controlled trial lasted only a few weeks. Because the changes are thought to stem from reduced stomach acid, many researchers expect them to lessen after stopping, but how fully and how quickly the gut microbiome recovers after long-term use has not been clearly measured. We will update this article as better data appears.
What about probiotics?
Some people take probiotics alongside a PPI hoping to protect their gut bacteria. There is not good evidence yet that probiotics reverse PPI-related microbiome changes or prevent problems in PPI users specifically. If you want to try one, talk to your doctor, especially if you have a weakened immune system.
What you can do
- Make sure you need your PPI. The American Gastroenterological Association recommends regular reviews of PPI prescriptions (AGA, 2022). If you do not need it, stepping down removes the cause of these changes.
- Use the lowest effective dose. Ask whether on-demand use, a lower dose or an H2 blocker could control your symptoms.
- Avoid unnecessary antibiotics, which also disrupt gut bacteria. The combination of PPIs and antibiotics carries the highest C. diff risk.
- Eat a varied diet with fiber from a range of plant foods if you tolerate it. If you have IBS, some high-fiber foods can trigger symptoms, so a dietitian can help you find a balance.
- Act on persistent diarrhea or new bloating. Do not assume it is just IBS if it started after beginning a PPI. See red flag symptoms that are not IBS.
- Step down safely. If you and your doctor decide to stop, follow a plan to avoid rebound heartburn. See How to stop taking omeprazole safely.
Frequently asked questions
Does omeprazole kill good bacteria?
Not directly in the way antibiotics do. It reduces stomach acid, which lets more swallowed bacteria survive, and that shifts the balance of bacteria in the gut. Studies show lower diversity and fewer of some groups, such as Clostridiales, in PPI users.
How fast does Prilosec change gut bacteria?
In the controlled trial, changes in specific bacterial groups appeared within 4 to 8 weeks of high-dose omeprazole.
Are H2 blockers like Pepcid better for gut bacteria?
H2 blockers reduce acid less strongly than PPIs, and research has generally linked them with lower risks of C. diff. Fewer studies have looked at their effect on the microbiome directly.
Is Prilosec OTC for 14 days a problem for my gut bacteria?
Short courses are unlikely to cause the long-term changes seen in studies of regular users, though some shifts can begin within weeks. Using it as directed is the safest approach.
Can a stool test show whether my PPI has changed my microbiome?
Consumer microbiome tests can describe your gut bacteria, but there is no standard test or normal range that doctors use to diagnose PPI-related changes. Stool tests for infections like C. diff are different and are used when there are symptoms.
The bottom line
Prilosec changes your gut bacteria. That is one of the most consistent findings in PPI research. Users have less diverse gut bacteria and more mouth bacteria in the gut, and these shifts likely contribute to the higher risk of gut infections. What they mean for everyday symptoms is still being worked out. The practical response is simple: use a PPI when you need one, not by default. Learn more in our complete guide to Prilosec and review of long-term Prilosec research.
Sources
- Imhann F, et al. Proton pump inhibitors affect the gut microbiome. Gut. 2016. PubMed; Gut.
- Jackson MA, et al. Proton pump inhibitors alter the composition of the gut microbiota. Gut. 2016. PMC.
- Freedberg DE, et al. PPIs alter specific taxa in the human gastrointestinal microbiome: a crossover trial. Gastroenterology. 2015. PubMed; PMC.
- Vich Vila A, et al. Impact of commonly used drugs on the composition and metabolic function of the gut microbiota. Nat Commun. 2020. PubMed.
- Imhann F, et al. The influence of PPIs and other commonly used medication on the gut microbiota. Gut Microbes. 2017. PMC.
- Moayyedi P, et al. COMPASS trial. Gastroenterology. 2019. PubMed.
- Targownik LE, et al. AGA Clinical Practice Update. 2022. PubMed.
Medical note: This article is for education and does not replace advice from your doctor. Persistent diarrhea, fever or blood in the stool need prompt medical care. Do not stop a prescribed medicine without talking to your doctor.

