What are the real risks of taking PPIs long-term?
Long-term PPIs are likely to carry few established risks beyond enteric infections; low magnesium is plausible, and most other alarms rest on confounded observational studies.
Proton pump inhibitors (PPIs such as omeprazole, esomeprazole and pantoprazole) are effective at treating acid-related disorders1. Observational studies have linked long-term use to many problems, but the one large randomized trial, in 17,598 people over about three years, found no significant difference in safety events except more enteric (gut) infections1. An umbrella review rated the certainty of most observational links as very low3. Plausible, smaller effects include infections (seen in the trial) and low magnesium (observational, inconsistent)1,10,11.
What you can do
- Ask your prescriber at each review whether you still have a clear reason to take it; a 2018 review called checking the indication the most important PPI safety issue4.
- The FDA advises telling a healthcare professional if you have had low blood magnesium or take digoxin or diuretics while on a long-term PPI12.
- A 2018 review argued that worry about poorly proven side effects should not by itself lead to dropping a PPI that is needed4.
Be careful if
- A PPI prescribed to prevent ulcers or bleeding is doing a job: in prevention trials PPIs cut upper gastrointestinal bleeding (odds ratio 0.21). Talk to your prescriber before stopping18.
- The COMPASS trial enrolled people with cardiovascular disease, not typical reflux patients, so its results may not transfer exactly1.
- Observational links to dementia, kidney disease and fractures are associations; an umbrella review rated the certainty of most outcomes as very low3.
Go deeper
How it works What it does in your body, in plain words 3 min
What PPIs are for
PPIs lower stomach acid and are used to treat acid-related disorders1. In a large meta-analysis of randomized trials, gastroprotective drugs reduced ulcers and upper gastrointestinal bleeding, and PPIs did so more than H2 blockers or prostaglandin analogues18. PPIs are widely used, so the question is what long-term use costs4.
The one big randomized trial
COMPASS was a double-blind trial in which 17,598 people with stable cardiovascular disease or peripheral artery disease were randomly assigned to pantoprazole or placebo, alongside a separate randomization to blood-thinning regimens1. Over a median of 3.01 years, the groups had similar rates of pneumonia, fractures, kidney disease, dementia, cancer, diabetes and death1. The exception was enteric infections: 1.4% on pantoprazole versus 1.0% on placebo (odds ratio 1.33)1. C. difficile infection was about twice as common on pantoprazole, but there were only 13 events, so that was not statistically significant1.
The observational alarms
Observational studies, mostly of health-insurance or electronic records, have linked PPIs to many outcomes. An umbrella review of 42 meta-analyses found associations with fractures, kidney disease, infections, stomach cancer and fundic gland polyps, but no association with non-gastric cancers or neurological disease, and rated certainty very low for most outcomes3.
| Outcome | Observational signal | What else we know |
|---|---|---|
| Enteric infection, including C. difficile | Odds ratio 1.99 for C. difficile3 | Also higher in the trial (infections 1.4% vs 1.0%)1; FDA safety communication in 201214 |
| Low magnesium | Adjusted odds ratio 1.7110 | FDA safety communication in 201112; a 2019 meta-analysis called it unclear11 |
| Fractures | Risk ratio 1.20 for hip fracture3 | FDA 2010 communication13; no excess in the trial1 |
| Kidney disease | Adjusted hazard ratio 1.50 in one cohort9 | Small extra eGFR decline in a post hoc trial analysis2 |
| Dementia | Hazard ratio 1.44 in older adults6 | Umbrella review: a true causal link "appears unlikely"7 |
| Stomach cancer | Hazard ratio 2.44 after H. pylori treatment5 | Absolute excess about 4.29 per 10,000 person-years5 |
Why observational links can mislead
A 2018 review concluded that most suggested side effects have only been evaluated in observational studies showing conflicting, weak associations with a substantial risk of confounding4. Confounding means people who take PPIs can differ from those who do not (in age, illness or other drugs) in ways the statistics cannot fully capture. A 2026 meta-analysis of dementia studies found major heterogeneity and bias from confounding, exposure misclassification and immortal-time bias8. Several better-designed studies use H2 blockers as a comparison to test whether the signal is specific to PPIs5,9.
What looks real
The same 2018 review judged that a high probability of causality seems established for gastrointestinal infections and for rebound acid hypersecretion after stopping; it also listed impeded absorption of micronutrients as a suspected effect4. For nutrient effects see which medications deplete nutrients, vitamin B12 and magnesium. Rebound is covered in stopping a PPI.
How this fits with other pages
Related reading: acid reflux and GERD, low stomach acid and ibuprofen and naproxen.
The evidence The studies, what they found, and how much to trust them 5 min · 18 sources
COMPASS (Gastroenterology, 2019)
A 3 x 2 partial factorial, double-blind trial randomized 17,598 participants with stable cardiovascular disease and peripheral artery disease to pantoprazole 40 mg daily (n=8,791) or placebo (n=8,807), and separately to rivaroxaban plus aspirin, rivaroxaban alone, or aspirin alone1. Investigators recorded pneumonia, C. difficile infection, other enteric infections, fractures, gastric atrophy, chronic kidney disease, diabetes, chronic obstructive lung disease, dementia, cardiovascular disease, cancer, hospitalizations and all-cause mortality every 6 months, over a median of 3.01 years (53,152 patient-years)1. Safety events were not significantly different except enteric infections (odds ratio 1.33, 95% CI 1.01 to 1.75)1. The authors concluded that pantoprazole was not associated with any adverse event over 3 years, with the possible exception of enteric infections1.
A post hoc analysis of COMPASS kidney data included 8,991 participants (51%) with eGFR measured at randomization and about 3.3 years later2. The eGFR fell by 1.41 ml/min per 1.73 m2 per year on placebo and 1.64 on pantoprazole, an adjusted extra decline of 0.27 per year (95% CI 0.11 to 0.43), while the odds ratios for incident CKD (1.11, 0.98 to 1.25) and acute kidney injury (0.89, 0.65 to 1.21) were not significant2. This is post hoc and should be treated as hypothesis-generating2.
Umbrella review of 42 meta-analyses (2021)
The most comprehensive meta-analyses reported significant associations with hip fracture (risk ratio 1.20, 1.14 to 1.28; n=2,103,800), acute kidney injury (1.61, 1.16 to 2.22), C. difficile (odds ratio 1.99, 1.73 to 2.30), gastric cancer (2.50, 1.74 to 3.85; n=943,070) and fundic gland polyps (2.46, 1.42 to 4.27)3. It found no association with non-gastric cancers or neurological disease, conflicting evidence for cardiovascular outcomes, and very low GRADE certainty for most outcomes3. The authors said that if higher-quality evidence confirmed the risks, alternative strategies might be needed when PPI efficacy is suboptimal3.
Stomach cancer after H. pylori treatment
A Hong Kong population study followed 63,397 adults who had received clarithromycin-based triple therapy; 153 (0.24%) developed gastric cancer over a median of 7.6 years5. PPI use was associated with gastric cancer (hazard ratio 2.44, 1.42 to 4.20) while H2 blocker use, a negative control, was not (0.72, 0.48 to 1.07)5. Hazard ratios rose with duration: 5.04, 6.65 and 8.34 for 1, 2 and 3 or more years of use, with wide intervals5. The adjusted absolute risk difference was 4.29 excess cases (95% CI 1.25 to 9.54) per 10,000 person-years5. This is an association in people with a prior H. pylori infection, not proof of cause, and the absolute number is small5. For H. pylori itself, see H. pylori and natural management.
Dementia
A German insurance-claims cohort of 73,679 people aged 75 or older (2,950 on regular PPIs) found an incident-dementia hazard ratio of 1.44 (1.36 to 1.52); the authors cited mouse studies and called for randomized trials6. A 2026 umbrella review of 11 meta-analyses (21 studies, one randomized trial) found that only one of the high-confidence reviews linked PPIs to dementia, none of six on Alzheimer disease did, and concluded that a causal relationship appears unlikely7. A 2026 meta-analysis of 18 studies (over 6.3 million participants) found a pooled risk ratio of 1.14 (0.98 to 1.33; heterogeneity 99%), with higher estimates in people 65 or older (1.21, 1.01 to 1.46)8.
Kidney disease
In the Atherosclerosis Risk in Communities cohort (10,482 people), PPI use was associated with incident CKD (adjusted hazard ratio 1.50, 1.14 to 1.96), including against H2 blocker users (1.39, 1.01 to 1.91)9. A replication in 248,751 patients from the Geisinger system found 1.24 (1.20 to 1.28) with a time-varying new-user design; twice-daily dosing (1.46) carried a higher estimate than once-daily (1.15)9. The randomized trial analysis above suggests a small effect on eGFR decline, not a clear increase in kidney disease2. PPIs have also been linked to acute interstitial nephritis, a separate kidney problem from chronic kidney disease9.
Low magnesium
A meta-analysis of 16 observational studies (13 cross-sectional, 2 case-control, 1 cohort; 131,507 patients) found low magnesium in 19.4% of PPI users versus 13.5% of non-users (adjusted odds ratio 1.71, 1.33 to 2.19), higher with high-dose PPIs (2.13, 1.26 to 3.59)10. A second systematic review of 15 studies (129,347 participants; meta-analysis of 14) found a risk ratio of 1.44 (1.13 to 1.76; heterogeneity 85.2%) but no significant association in outpatient or hospitalized subgroups, and concluded the association remained unclear11. The FDA's 2011 communication said prescription PPIs may cause low magnesium if taken for prolonged periods, in most cases longer than one year12.
Fractures and bone
The FDA's 2010 communication reported a possible increased risk of hip, wrist and spine fractures, based on epidemiological studies13. A 2025 meta-analysis of 11 observational studies in older adults found a crude (unadjusted) odds ratio of 1.41 (1.31 to 1.51)15. In a Korean national cohort, long-term PPI users had more osteoporosis (hazard ratio 1.62, 1.22 to 2.15); hip fracture was not significant in that database (1.45, 0.74 to 2.80) but was in a pooled analysis of four record databases (1.82, 1.04 to 3.19)16.
Mortality
A meta-analysis of 4 randomized trials and 36 cohorts in older adults found no association with death in the trials, an unadjusted risk ratio of 1.14 (0.90 to 1.45) in 23 observational studies, and an adjusted risk ratio of 1.15 (1.10 to 1.20) in 33 observational studies17. The trials found no association while the cohorts did; the 2018 review flags confounding as a substantial risk in observational studies4, and the authors of this meta-analysis advised that PPIs be prescribed carefully in people aged 50 or older17. Notably, the unadjusted and adjusted cohort estimates were similar, so statistical adjustment did not shrink the signal17.
How sure are we?
Moderately sure about the main message. The infection signal appears in both the trial and observational data1,3, and low magnesium has observational data that are inconsistent between meta-analyses, plus a regulatory communication10,11,12. The rest of the alarms (dementia, kidney disease, fractures, stomach cancer, death) are associations whose certainty reviews rate as low or very low3,7. Limits: COMPASS enrolled people with cardiovascular disease, used one PPI at one dose and lasted about three years1, so in our reading it leaves small or rare effects over longer periods untested.
More on PPIs (Omeprazole and Others)
Sources
- Safety of Proton Pump Inhibitors Based on a Large, Multi-Year, Randomized Trial of Patients Receiving Rivaroxaban or Aspirin. Moayyedi P, Eikelboom JW, Bosch J, Connolly SJ, Dyal L, Shestakovska O, Leong D, Anand SS, Störk S, Branch KRH, Bhatt DL, Verhamme PB, O'Donnell M, Maggioni AP, Lonn EM, Piegas LS, Ertl G, Keltai M, Bruns NC, Muehlhofer E, Dagenais GR, Kim JH, Hori M, Steg PG, Hart RG, Diaz R, Alings M, Widimsky P, Avezum A, Probstfield J, Zhu J, Liang Y, Lopez-Jaramillo P, Kakkar AK, Parkhomenko AN, Ryden L, Pogosova N, Dans AL, Lanas F, Commerford PJ, Torp-Pedersen C, Guzik TJ, Vinereanu D, Tonkin AM, Lewis BS, Felix C, Yusoff K, Metsarinne KP, Fox KAA, Yusuf S, COMPASS Investigators. Gastroenterology, 2019. PubMed 31152740 (opens in a new tab)
- The Effects of Pantoprazole on Kidney Outcomes: Post Hoc Observational Analysis from the COMPASS Trial. Pyne L, Smyth A, Molnar AO, Moayyedi P, Muehlhofer E, Yusuf S, Eikelboom J, Bosch J, Walsh M. Journal of the American Society of Nephrology, 2024. PubMed 38602780 (opens in a new tab)
- Umbrella review of 42 systematic reviews with meta-analyses: the safety of proton pump inhibitors. Salvo EM, Ferko NC, Cash SB, Gonzalez A, Kahrilas PJ. Alimentary Pharmacology & Therapeutics, 2021. PubMed 34114655 (opens in a new tab)
- Side Effects of Long-Term Proton Pump Inhibitor Use: A Review. Haastrup PF, Thompson W, Søndergaard J, Jarbøl DE. Basic & Clinical Pharmacology & Toxicology, 2018. PubMed 29658189 (opens in a new tab)
- Long-term proton pump inhibitors and risk of gastric cancer development after treatment for Helicobacter pylori: a population-based study. Cheung KS, Chan EW, Wong AYS, Chen L, Wong ICK, Leung WK. Gut, 2018. PubMed 29089382 (opens in a new tab)
- Association of Proton Pump Inhibitors With Risk of Dementia: A Pharmacoepidemiological Claims Data Analysis. Gomm W, von Holt K, Thomé F, Broich K, Maier W, Fink A, Doblhammer G, Haenisch B. JAMA Neurology, 2016. PubMed 26882076 (opens in a new tab)
- Proton Pump Inhibitor Use and Risk of Dementia: An Umbrella Review of Systematic Reviews and Meta-Analyses. Emad B, Al-Naamani K, Martel M, Barkun A. Digestive Diseases and Sciences, 2026. PubMed 41087608 (opens in a new tab)
- Inconsistency in the Association Between Proton Pump Inhibitor Use and Dementia Risk: An Updated Meta-Analysis. Peng TR, Lin HH, Yang LJ, Wu TW. Brain Sciences, 2026. PubMed 41750160 (opens in a new tab)
- Proton Pump Inhibitor Use and the Risk of Chronic Kidney Disease. Lazarus B, Chen Y, Wilson FP, Sang Y, Chang AR, Coresh J, Grams ME. JAMA Internal Medicine, 2016. PubMed 26752337 (opens in a new tab)
- Proton pump inhibitors and hypomagnesemia: A meta-analysis of observational studies. Srinutta T, Chewcharat A, Takkavatakarn K, Praditpornsilpa K, Eiam-Ong S, Jaber BL, Susantitaphong P. Medicine, 2019. PubMed 31689852 (opens in a new tab)
- Does the use of proton pump inhibitors increase the risk of hypomagnesemia: An updated systematic review and meta-analysis. Liao S, Gan L, Mei Z. Medicine, 2019. PubMed 30921222 (opens in a new tab)
- FDA Drug Safety Communication: Low magnesium levels can be associated with long-term use of Proton Pump Inhibitor drugs (PPIs). U.S. Food and Drug Administration. FDA Drug Safety Communication, 2011. Source (opens in a new tab)
- FDA Drug Safety Communication: Possible increased risk of fractures of the hip, wrist, and spine with the use of proton pump inhibitors. U.S. Food and Drug Administration. FDA Drug Safety Communication, 2010. Source (opens in a new tab)
- FDA Drug Safety Communication: Clostridium difficile associated diarrhea can be associated with stomach acid drugs known as proton pump inhibitors (PPIs). U.S. Food and Drug Administration. FDA Drug Safety Communication, 2012. Source (opens in a new tab)
- Proton pump inhibitors and risk of fracture in older adults: a systematic review and meta-analysis. Robert V, Papailhau C, Lesclide E, Ben Romdhane Z, Vincentelli MB, Franqui C, Grino M. Geriatric Nursing, 2025. PubMed 40848405 (opens in a new tab)
- Long-term proton pump inhibitor use and risk of osteoporosis and hip fractures: A nationwide population-based and multicenter cohort study using a common data model. Park DH, Seo SI, Lee KJ, Kim J, Kim Y, Seo WW, Lee HS, Shin WG, Yoo JJ. Journal of Gastroenterology and Hepatology, 2022. PubMed 35501296 (opens in a new tab)
- Proton pump inhibitors associated with an increased risk of mortality in elderly: a systematic review and meta-analysis. Song HJ, Seo HJ, Jiang X, Jeon N, Lee YJ, Ha IH. European Journal of Clinical Pharmacology, 2024. PubMed 38147074 (opens in a new tab)
- Effects of gastroprotectant drugs for the prevention and treatment of peptic ulcer disease and its complications: a meta-analysis of randomised trials. Scally B, Emberson JR, Spata E, Reith C, Davies K, Halls H, Holland L, Wilson K, Bhala N, Hawkey C, Hochberg M, Hunt R, Laine L, Lanas A, Patrono C, Baigent C. The Lancet Gastroenterology & Hepatology, 2018. PubMed 29475806 (opens in a new tab)