OxalateWatch · Kidney Stone Diet Reference

Published 2026-07-31 · OxalateWatch Editorial Team · Dietary reference, not medical advice

Coffee and Kidney Stones: Is Your Morning Cup Friend or Foe?

2026 — Coffee is one of the most debated drinks in kidney stone circles. Some warn that caffeine raises urinary calcium; others point to large studies showing coffee drinkers get fewer stones. The truth sits in the nuance — and the evidence leans protective, with one sensible caveat.

What the Genetic Studies Found

A Mendelian randomization study published in American Journal of Kidney Diseases (Yuan & Larsson) analyzed 7,396 kidney stone cases and 530,411 non-cases. Using genetic variants linked to coffee and caffeine consumption as natural experiments, the authors found inverse associations: genetically predicted coffee consumption was associated with about a 40% lower odds of stones for a 50% increase in intake (roughly one extra cup per day), and caffeine intake with about a 19% lower odds for an 80 mg increase. The authors concluded increasing coffee/caffeine "may be a prevention strategy for kidney stones." The design — using genes as instruments — reduces confounding from lifestyle factors that usually muddy observational diet studies.

A separate population study (published 2022, drawing on NHANES) found that per-quartile increase in caffeine intake was associated with a decreased stone risk, and that the protective effect was stronger for caffeine from coffee than from non-coffee sources. The subgroup analysis suggested the benefit was clearest in certain groups, with caffeine from non-coffee sources showing a weaker or neutral association.

The NHANES Confirmation

A 2026-reporting analysis from Sichuan University (based on 2007–2018 NHANES data, 30,716 adults) found an overall inverse association between caffeine and kidney stone risk. In fully adjusted models, each ascending caffeine quartile was linked to about a 5.32% lower stone risk, and the highest intake group (>237 mg/day) had an odds ratio around 0.87 versus the lowest. The effect was strongest in women, white individuals, and non-overweight individuals — and again, coffee-sourced caffeine looked more protective than caffeine from other drinks. The authors credited mechanisms such as increased urine volume, lower oxalate/uric acid supersaturation, and possible crystal-binding effects of coffee compounds.

The Caveat: Calcium in Urine

Here is the nuance often lost. Caffeine is a mild diuretic and can transiently increase urinary calcium excretion. An older controlled study (Massey, published in The Journal of Urology) gave people caffeine equivalent to two cups of coffee and found elevated urinary calcium and sodium in the hours after. For someone already prone to calcium stones, that short-term spike is worth noting. The protection does not come from caffeine neutralizing calcium; it comes from the net urinary effect of the whole beverage.

So how do we reconcile "coffee lowers stone risk" with "caffeine raises urinary calcium"? Most researchers explain it through the net effect: coffee increases total urine volume (dilution) and may reduce oxalate/uric acid supersaturation, and coffee contains compounds beyond caffeine (polyphenols, diterpenes) that may help. The diluting and inhibitory effects appear to outweigh the transient calcium bump for most people.

Reading the Oxalate Numbers

Drink (serving)OxalateVerdict
Coffee, black (1 cup)2 mgSafe
Soda, variety (12 oz)1 mgSafe
Lemonade (1 cup)2 mgSafe
Beer, regular (12 oz)4 mgSafe
Spinach, boiled (1/2 cup)493 mgAvoid

All oxalate values: Harvard T.H. Chan School of Public Health Oxalate Database (2024), lab-measured via ion chromatography. Verdicts: Safe <25 mg/serving, Caution 25–99 mg, Avoid ≥100 mg.

What This Means for You

Fact vs. Inference

Multiple observational and genetic studies consistently suggest a protective association between coffee/caffeine and lower stone risk. What they do not prove is that coffee will prevent a stone in any given person, or that it is safe in unlimited amounts for someone with specific metabolic abnormalities. The prudent reading: moderate coffee is a reasonable, likely beneficial choice for most stone formers — not a treatment.

Frequently Asked Questions

Is coffee good or bad for kidney stones?

The balance of evidence leans good. Genetic and NHANES studies link coffee and caffeine to lower stone risk, likely via increased urine volume and lower supersaturation.

Does caffeine cause calcium loss in urine?

Yes, transiently. Caffeine can briefly raise urinary calcium and sodium. For most people the diluting effect of coffee outweighs this; those with hypercalciuria should check with their clinician.

How much coffee is safe with a stone history?

Moderate intake — roughly one to two cups of black coffee — appears reasonable for most. Avoid loading it with sugar and cream, which change the nutritional picture.

Is tea as protective as coffee?

Tea is also very low in oxalate, but the strongest protective signal in the studies was for coffee-sourced caffeine specifically. Both are reasonable low-oxalate choices.

Can I drink coffee if I've had a calcium stone?

For most people, moderate coffee (one to two cups) is reasonable and may even lower risk. If you have documented hypercalciuria, discuss intake with your clinician because caffeine can transiently raise urinary calcium.

Is decaf better for kidney stones?

Decaf coffee also showed protective association in studies, suggesting benefits are not solely from caffeine. Decaf avoids the transient calcium spike, which may suit those sensitive to caffeine's urinary effects.

Does adding milk to coffee help or hurt?

A splash of milk adds a little calcium, which can bind oxalate — generally fine. The bigger issue is sugary, high-calorie coffee drinks, which add sugar without the plain-coffee benefit.

Quick Takeaways

Bottom line: For most people with kidney stones, a daily cup or two of black coffee is low in oxalate and may modestly lower risk. The old warning to avoid coffee is not well supported by current evidence — provided you are not using it as a substitute for water.

Sources: Yuan & Larsson, American Journal of Kidney Diseases (Mendelian randomization, coffee/caffeine and kidney stones); PubMed (2022) caffeine intake and kidney stone risk, NHANES; Sichuan University NHANES analysis (2007-2018, reported 2026); Massey, The Journal of Urology (acute caffeine effects on urine calcium); Harvard T.H. Chan School of Public Health Oxalate Database (2024); USDA FoodData Central. All oxalate values are lab-measured via ion chromatography.
Medical Disclaimer: This article is for informational purposes only and does not constitute medical advice. Oxalate values are sourced from the Harvard T.H. Chan School of Public Health Oxalate Database (2024), lab-measured via ion chromatography. Always consult your urologist or registered dietitian before making dietary changes for kidney stone prevention.