Yes, proton pump inhibitors (PPIs) can cause constipation. It’s listed as one of the most common side effects alongside diarrhea, nausea, abdominal pain, and gas. The constipation isn’t usually severe, but for people taking PPIs long-term for acid reflux or ulcers, it can become a persistent and frustrating problem.
How PPIs Slow Things Down
PPIs work by dramatically reducing stomach acid production, which is exactly what makes them effective for heartburn and ulcers. But that same acid suppression sets off a chain of digestive changes that can affect how quickly food moves through your system.
The most direct effect involves how your stomach breaks down solid food. Stomach acid activates pepsin, the enzyme responsible for breaking proteins and other solids into smaller particles. When PPIs suppress acid, pepsin can’t do its job efficiently. Large, undigested food particles linger in the stomach longer because the stomach won’t release them into the small intestine until they’re small enough. This is sometimes called the “acid-pepsin maldigestion hypothesis,” and it’s the most established explanation for why PPIs delay gastric emptying of solid foods.
There’s also a more counterintuitive effect. Normally, when acid enters the upper small intestine, it triggers a feedback signal that tells the stomach to slow down, preventing too much acid from flooding the gut at once. PPIs remove that brake signal, which sounds like it should speed things up. But what actually happens is that the stomach’s contractions become stronger and less coordinated. The muscular squeezing in the lower stomach gets out of sync with the opening of the valve leading to the small intestine, so food gets churned but not effectively pushed forward. The result is slower transit overall.
PPIs also reduce the total volume of fluid your stomach secretes after a meal. This changes how diluted and fluid your stomach contents are, altering their consistency, energy density, and thickness in ways that can further slow movement through the digestive tract.
Changes to Gut Bacteria
Stomach acid serves as a barrier that kills many bacteria before they reach the intestines. When PPIs lower that acid level, bacteria that normally live in the mouth and throat can survive the trip to the gut, shifting the balance of your intestinal microbiome. Research shows PPI users develop increased populations of oral bacteria like Streptococcus and Veillonella in their intestines, where they don’t normally thrive in large numbers.
These shifts in bacterial composition can alter stool consistency and bowel habits. The gut microbiome plays a direct role in how quickly waste moves through the colon, how much water your stool retains, and how well the muscles of your intestines contract in coordinated waves. When the bacterial balance shifts, those processes can become less efficient, contributing to harder stools and less frequent bowel movements.
The Role of Bacterial Overgrowth
One of the better-studied consequences of long-term PPI use is an increased risk of small intestinal bacterial overgrowth, or SIBO, a condition where bacteria proliferate excessively in the small intestine. A meta-analysis found that PPI users had roughly double the risk of developing SIBO compared to non-users. The risk climbed with duration: patients on PPIs for more than six months had about four times the odds of developing the condition.
SIBO typically causes bloating, gas, and abdominal discomfort. While diarrhea is the more commonly reported bowel symptom with SIBO, the condition can also contribute to irregular motility patterns that affect stool consistency in either direction. A large multicenter study of over 1,800 patients found that symptoms characteristic of SIBO first appeared after starting PPI therapy in 44% of cases, suggesting a clear temporal link between starting the medication and developing gut symptoms.
Does Duration of Use Matter?
The evidence strongly suggests it does. The meta-regression analysis on SIBO risk found that each additional month of PPI therapy was associated with a roughly 4.3 percentage point increase in the prevalence of bacterial overgrowth. The odds ratio for SIBO nearly tripled when comparing patients who used PPIs for less than one month to those who used them for more than six months.
This duration-dependent pattern likely applies to constipation as well, since the mechanisms that cause it, including impaired digestion, altered motility, and microbiome changes, all compound over time. If you’ve been on a PPI for weeks without any bowel issues but start noticing constipation months later, the medication is still a plausible contributor.
PPIs vs. H2 Blockers
H2 blockers (like famotidine) are a less potent class of acid-suppressing medication that work through a different mechanism. They also list constipation as a possible side effect, along with headache, fatigue, and dizziness. Because H2 blockers suppress acid to a lesser degree than PPIs, they cause less disruption to pepsin activity, gastric emptying, and microbiome composition. For people whose constipation is clearly tied to their PPI, switching to an H2 blocker is one option worth discussing with a prescriber, though H2 blockers may not control acid as effectively for more serious conditions like erosive esophagitis.
Managing Constipation While on a PPI
If you need to stay on a PPI, dietary adjustments are the most practical first step. The goal is to increase stool bulk, keep stools hydrated, and encourage regular intestinal contractions.
Soluble fiber is the most consistently supported intervention. Psyllium husk, taken at 6 to 12 grams per day, has the strongest evidence for improving stool frequency and ease of passage. It works by absorbing water and forming a gel that keeps stool soft while adding bulk that stimulates the intestinal muscles. If you’re prone to bloating, start low (around 5 grams per day) and increase gradually over one to two weeks.
Whole foods can be equally effective:
- Kiwifruit: Two per day have been shown to improve stool frequency and consistency, sometimes outperforming psyllium supplements.
- Prunes: 50 to 100 grams per day (roughly 5 to 10 prunes) work through a combination of sorbitol, polyphenols, and soluble fiber.
- Flaxseed and chia seeds: Both contain mucilaginous fibers that increase stool hydration and help waste move through more easily.
The overall fiber target to aim for is 25 to 30 grams per day from a mix of soluble and insoluble sources, spread across meals rather than consumed all at once. Hydration matters just as much as fiber intake. Aim for at least 1.5 to 2 liters of water daily; fiber without adequate fluid can actually make constipation worse. Mineral water containing at least 100 mg/L of magnesium, consumed before breakfast or between meals, can provide an additional mild laxative effect.
Prebiotic fibers like partially hydrolyzed guar gum are worth considering as well, particularly if bloating is a concern. They’re low-FODMAP and well tolerated, and they selectively feed beneficial bacteria like Bifidobacterium and Lactobacillus, which may help counteract some of the microbiome disruption PPIs cause.
For some people, the simplest solution is reassessing whether the PPI is still necessary. PPIs are sometimes continued long after the original condition has resolved, or at higher doses than needed. Stepping down to a lower dose, switching to an H2 blocker, or using the PPI on an as-needed basis rather than daily can reduce side effects while still managing acid-related symptoms.

