← OxalateWatch   All posts

Heartburn Medication and Kidney Stones: The PPI Connection, Weighed

2026-08-26 · By Elena Novak, Research Editor · Dietary reference, not medical advice

Proton pump inhibitors are among the most prescribed drugs in the world — millions of people take them daily for heartburn and reflux. A growing body of data suggests a side effect few patients hear about: long-term PPI use is associated with a modestly higher risk of kidney stones. The association is real, the mechanism is plausible, and the practical response is not panic — it is awareness.

The finding, plainly: A 2023 analysis of NHANES 2007-2018 (27,075 adults) found PPI use associated with a 31 percent higher odds of kidney stones (OR 1.31, 95% CI 1.07-1.60), with a 4 percent increase in prevalence for each additional year of use, and a meta-analysis of prior studies confirming the association (OR 1.49). A 2021 study of 465,891 veterans found PPI use tied to a 46 percent higher risk of incident stones after adjustment (HR 1.46), with a dose-response relationship. A 2022 study of 55,765 GERD patients found PPI users had significantly lower urinary citrate and magnesium — two stone inhibitors — suggesting the mechanism.

Why Acid Suppression Might Matter

The proposed mechanism is indirect but biologically plausible. Acid suppression raises gastric pH, which can reduce the absorption of magnesium — and low urinary magnesium is a stone risk factor, because magnesium binds oxalate and blocks crystal growth. The 2022 study found exactly that pattern: PPI users had lower urine citrate (3.0 vs 3.4 mmol) and lower urine magnesium (3.6 vs 4.3 mmol). Both are protective substances, so losing them tilts the urine toward stone formation.

The honest context matters as much as the numbers. The association is observational — it cannot prove the drug causes stones, and people taking PPIs differ from non-users in ways studies adjust for imperfectly. The absolute risk increase is small for most individuals, and the 2021 authors were explicit that their finding "should not change prescribing for most patients" — acid reflux has real harms untreated. The useful takeaway is not "stop your medication"; it is "if you are on long-term PPIs, know the signpost and mention it at a stone workup."

The boundary, stated clearly: PPIs are prescribed for real conditions — GERD, ulcers, Barrett's esophagus — and stopping them without direction can cause rebound symptoms or allow serious disease to progress. Any change to acid-reducer use is a decision for the prescribing clinician, not a food site.

The Supportive Plate, Measured

While the medication question is worked out, the dietary levers that support urine chemistry stay the same:

FoodOxalate (mg)ServingRating
Water, still0 mg1 glassSafe
Yogurt, plain whole-milk5 mg6 ozSafe
Banana6 mg1 mediumSafe
Oatmeal, cooked2 mg1 cupSafe
Chicken breast, roasted0 mg4 ozSafe

Fluid volume, dietary calcium, and magnesium-bearing low-oxalate foods (banana, oatmeal, yogurt) all sit at the safe end of the table while supporting the chemistry that PPI use may quietly shift. None of this replaces the clinician's decision — it simply keeps the dietary side of the ledger as clean as possible while the bigger question is managed.

What to Do With This

Three habits cover most of the upside. If you take a PPI long-term, know the signpost: recurrent stones, or a stone workup showing low citrate or low magnesium, is a conversation worth having with your doctor — who may revisit the dose or the need for continued use. Do not stop the medication on your own; rebound reflux and undertreated disease are real. And keep the stone basics — fluids, dietary calcium, low sodium — because whatever the PPI does to urine chemistry, those levers still work.

Frequently Asked Questions

Do acid reflux medicines cause kidney stones?
Large observational studies link long-term PPI use to a modestly higher stone risk (OR ~1.3-1.5), with lower urine citrate and magnesium proposed as the mechanism. The association is real but small, and it is not a reason to stop a prescribed medication without talking to your doctor.
Should I stop my PPI to protect my kidneys?
No — stopping without direction can cause rebound reflux and allow serious conditions to go undertreated. The right move is a conversation with your prescriber about whether continued use is needed and whether your stone risk warrants monitoring.
Sources:
Harvard T.H. Chan School of Public Health Oxalate Database (2024); USDA FoodData Central; PPI use and risk of kidney stones: NHANES 2007-2018 + meta-analysis. BMJ Open. 2023.; Simonov M, et al. Use of proton pump inhibitors increases risk of incident kidney stones. Clin Gastroenterol Hepatol. 2021.; Sui W, et al. PPI use and risk of incident nephrolithiasis. Urolithiasis. 2022. All oxalate values are lab-measured via ion chromatography. This page is a dietary reference tool, not medical advice.

See how oxalate values are measured and verified on our data methodology page.

Medical Disclaimer: This site is a dietary reference tool based on published food composition data. It does not provide medical advice, diagnose, or treat any condition. Talk to your doctor or a registered dietitian before changing your diet, especially if you have kidney stones, kidney disease, or other medical conditions.