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 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."
While the medication question is worked out, the dietary levers that support urine chemistry stay the same:
| Food | Oxalate (mg) | Serving | Rating |
|---|---|---|---|
| Water, still | 0 mg | 1 glass | Safe |
| Yogurt, plain whole-milk | 5 mg | 6 oz | Safe |
| Banana | 6 mg | 1 medium | Safe |
| Oatmeal, cooked | 2 mg | 1 cup | Safe |
| Chicken breast, roasted | 0 mg | 4 oz | Safe |
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.
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.
See how oxalate values are measured and verified on our data methodology page.