Crystals that clump together in the urinary tract until they are large enough to block it. This page exists largely to correct one piece of advice that was long the standard3 and is the opposite of what the evidence shows: cutting dietary calcium makes calcium stones more likely, not less1.
Last updated:
Solid deposits that form when the urine becomes concentrated enough for dissolved minerals to crystallize, stick together and grow. Most are made mainly of calcium oxalate8. That is why the oxalate advice here is written for stone formers and nobody else. If you form calcium oxalate stones, keep high-oxalate greens but eat them with a calcium food.
The pain does not come from the stone sitting in the kidney, where stones are frequently silent for years. It comes when one moves into the ureter (the narrow tube to the bladder) and blocks it. Pressure builds behind the obstruction, and that is the pain people describe as the worst of their lives.
Stones are a recurring condition rather than a one-off event. Without a change in what drives them, up to half of people form another within 5 years8, which is why prevention rather than treatment is the whole point of this page.
In more than 45,000 men, higher dietary calcium intake was associated with a lower risk of symptomatic stones1. The direction surprises almost everyone, including some clinicians.
In women, dietary calcium was again protective while supplemental calcium was associated with higher risk2. Timing is the likely explanation: food calcium meets oxalate in the gut; a pill taken apart from meals does not.
A five-year randomized trial in first-time stone formers found that increasing urine volume cut recurrences to fewer than half, compared with no intervention4. Nothing else on this page is that cheap.
Symptoms of a kidney stone include sharp pain in the back, side, lower abdomen or groin; pink, red or brown blood in the urine; a constant need to urinate, pain while urinating or passing little or no urine; cloudy or bad-smelling urine; and nausea and vomiting15. Fever or chills with any of these needs emergency care, as the warning at the top of this page explains.
The dietary advice differs by stone type, which is why having a stone analyzed changes what you should actually do.
| Type | Roughly how common | What drives it | What changes |
|---|---|---|---|
| Calcium oxalate | The large majority | Concentrated urine, high urinary oxalate, low urinary citrate, high sodium | Fluid, normal dietary calcium with meals, less salt, moderate oxalate |
| Calcium phosphate | Less common | Alkaline urine, high urinary calcium | Fluid and salt still matter; alkalinizing agents may not suit, so type-specific advice is needed |
| Uric acid | Uncommon | Persistently acidic urine, high urate | Fluid, less animal protein and treating gout where present. These can sometimes be dissolved |
| Struvite | Uncommon | Urinary infection with urea-splitting bacteria | Diet does not treat these. They need urological and antibiotic management |
| Cystine | Rare | An inherited transport disorder | Very high fluid intake and specialist care |
Stones form when urine carries more stone-forming minerals than it can keep dissolved; fluid and diet drive most of it, and a few medical causes need finding because diet will not fix them9.
| Cause | How It Contributes to Kidney Stones | What Helps |
|---|---|---|
| Not enough fluid | Concentrated urine lets crystals form and grow; first-time stone formers made less urine than people without stones4, and not drinking enough is one of the main causes13 | Enough fluid, mainly water, to keep urine pale, spread through the day, unless a clinician has told you to limit fluid9; in a 5-year trial it cut recurrences to fewer than half4 |
| Salt, animal protein and sugar | Higher sodium and sugar intakes went with more stones in women2, and more animal protein with more stones in men1 | Less salt and moderate animal protein with normal calcium, the diet that gave about half the recurrences of a low-calcium diet3 |
| Too little calcium with meals | Calcium in food binds oxalate in the gut. A low-calcium diet raised urinary oxalate and led to more recurrences than a normal-calcium diet3 | Normal calcium from food eaten with meals; high-oxalate foods paired with a calcium food rather than cut out, as the diet section says |
| Supplements and some medicines | The body converts vitamin C to oxalate, and 1 g a day raised urinary oxalate in calcium stone formers10; calcium supplements went with higher risk while food calcium did not2; antacids, diuretics and certain antibiotics can also raise the risk13 | Stopping vitamin C supplements if you form calcium oxalate stones and getting the vitamin from food; any calcium supplement taken with meals and cleared with your clinician; a prescriber review, never stopping a medicine yourself |
| Obesity and diabetes | Stones were more common with obesity, and obesity and diabetes were strongly associated with a history of stones12 | Weight management where relevant; for uric acid stones in particular, losing excess weight matters9 |
| Medical causes and family history | An overactive parathyroid gland raises blood calcium and can lead to calcium stones9; urinary infection causes struvite stones, and a family history or earlier stones make more stones likely13 | Blood calcium tests and a 24-hour urine collection, as the diagnosis section describes; parathyroid surgery can prevent further stones9, and struvite stones need antibiotic and urological care |
Diagnosing the stone is the easy part. Working out why it formed is the part that prevents the next one, and the part most often skipped.
| Test | What it shows |
|---|---|
| CT of the urinary tract | Whether a stone is present, its size and where it sits, which decides treatment. Worth knowing: Says nothing about why it formed. |
| Ultrasound | Obstruction and larger stones, without radiation; usually first in pregnancy. Worth knowing: Misses small stones, particularly in the ureter. |
| Stone analysis | The stone type, which determines the entire dietary plan. Worth knowing: Requires actually catching the stone, so strain your urine. |
| 24-hour urine collection | Volume, calcium, oxalate, citrate, uric acid, sodium; the most informative test for prevention. Worth knowing: Inconvenient, and one collection may not represent a typical day. |
| Blood calcium and parathyroid hormone | Screens for overactive parathyroid glands, a treatable cause. Worth knowing: Easily missed if nobody thinks to check. |
| Kidney function | Whether repeated stones or obstruction have caused damage. Worth knowing: The chronic kidney disease guide covers kidney function in more detail. |
| Medication and supplement review | Several medicines, and vitamin C supplements, raise stone risk. Worth knowing: Requires someone to ask; supplements in particular are rarely volunteered. |
Fluid, normal dietary calcium with meals, less salt, moderate animal protein
Assuming calcium oxalate stones, which are the large majority. Other types need different advice, which is why the stone analysis matters.
The calcium question in kidney stones, and what settled it
| What to eat or do | Details |
|---|---|
| More fluid | Dilutes everything that crystallizes. Practical note: The highest-value change. Aim for pale urine, and drink before bed. |
| Normal dietary calcium, with meals | Binds oxalate in the gut so it is never absorbed. Practical note: Dairy and canned sardines or wild salmon with bones. Timing is the whole point, so eat it alongside the oxalate. |
| Less salt | Sodium drives calcium into the urine. Practical note: Mostly processed food rather than the saltshaker. |
| Moderate animal protein | Raises acid load, urinary calcium and uric acid, and lowers citrate. Practical note: Moderation, not elimination. |
| Moderate the highest-oxalate foods | Reduces the oxalate available to crystallize. Practical note: Spinach, rhubarb, beets, almonds, Swiss chard. Pair them with a calcium food rather than banning them. |
| Citrus and citrate | Citrate binds calcium in urine and inhibits crystal growth. Practical note: Lemon in water is a reasonable habit; it is a mild effect, not a treatment. |
| Limit sugar-sweetened drinks | Associated with higher stone risk. Practical note: Water is both the substitute and the treatment. |
| Keep vegetables and fruit | Associated with lower risk, and a source of citrate and potassium. Practical note: Do not strip the diet down in the name of oxalate. |
This is a section mostly about what to stop taking.
| Supplement | What it is for | Typical range | Timing | Notes & cautions |
|---|---|---|---|---|
| Calcium, as food not a pill | Binding oxalate in the gut. This is the most misunderstood item on the page. | Normal dietary intake from food; do not restrict | With the meal containing oxalate | Supplemental calcium was associated with higher stone risk while dietary calcium was protective2, plausibly because a pill taken between meals never meets the oxalate. If a supplement is genuinely needed for bone health, take it with food and discuss it with your clinician; see osteoporosis. |
| Potassium citrate | Raising urinary citrate, which inhibits crystal formation. Usually prescribed rather than bought, and guided by a 24-hour urine result. | A prescriber decision, based on your urine chemistry | As prescribed | Not a supplement to self-select. Potassium loading is hazardous in reduced kidney function and with several common medicines; see chronic kidney disease. Lemon juice in water is the food-level version and is much weaker. |
| Magnesium | Sometimes used as a crystallization inhibitor. The evidence is thin and it is not a first-line measure. | Only if intake from food is low, and cleared with your clinician | With food | Can loosen stools. Reduce or avoid in reduced kidney function, where magnesium accumulates. Do not add it while also taking potassium citrate without medical advice. |
| Vitamin D3 | Correcting a deficiency. Not a stone treatment, and worth a conversation first. | Set a daily dose with your clinician; most adults need no blood test first | With a fat-containing meal | Vitamin D raises calcium absorption, so discuss it with your clinician if you form calcium stones or have raised blood calcium. Avoid large intermittent doses; see osteoporosis. |
Passing a stone takes days to weeks; preventing the next one is a matter of years.
Most stones are small enough to pass in the urine, which can take a few weeks, with pain relief, plenty of fluid and sometimes a medicine to help the stone pass13. Catch the stone for analysis. Larger or blocking stones are broken up or removed9. The emergency signs are under When to Seek Care.
Once the stone has passed or been removed, the stone analysis and a 24-hour urine collection show what drove it9. More fluid comes first for almost everyone.
Call 911 or go to the emergency department now for stone pain with fever, chills or shivering, which can mean a blocked, infected kidney14; for being unable to pass urine; for pain that painkillers do not control; for vomiting that stops you from keeping fluids down9; or for stone pain if you have only one working kidney. See a clinician promptly for blood in the urine or cloudy, bad-smelling urine.
Get new guides in your inbox. Once a month: new condition guides and research updates, including the trials that did not work. Free, no spam, and you can unsubscribe in one click.
Passing a stone takes days to weeks; preventing the next one is a matter of years. More fluid comes first for almost everyone, and cutting dietary calcium makes calcium stones more likely, not less. Further diet changes follow your stone type and urine results.
Each numbered entry below is either a source you can follow or a note setting out what the evidence does and does not support. Both are numbered together so the markers in the text line up.
Last reviewed October 20, 2026. Supplement entries are cross-checked against the NIH National Center for Complementary and Integrative Health and the Linus Pauling Institute Micronutrient Information Center.7 This page is nutrition education, not medical advice, and it does not replace your doctor. An obstructing stone is a urological problem and diet does not treat it. The advice here is about preventing the next stone, it assumes calcium oxalate stones unless yours have been analyzed, and it is not a substitute for a metabolic evaluation. What nutrition education can do is help you understand the evidence well enough to have a better conversation with the clinician who does treat you.