How to Prevent a Kidney Stone: Foods and Habits

The single most effective way to prevent a kidney stone is to drink enough fluid to produce at least 2.5 liters of urine per day, which typically means consuming 3 to 4 liters of fluid daily. But hydration is just the starting point. What you eat, how much you weigh, and a few surprising habits (like taking vitamin C supplements) all shape your risk. Most kidney stones are preventable with straightforward changes.

Drink More Than You Think You Need

The American Urological Association recommends that all stone formers aim for a urine volume of at least 2.5 liters per day. For most people under normal conditions, that translates to roughly 3 to 4 liters of total fluid intake. Water is the best choice, but other beverages count too.

The goal is pale, dilute urine throughout the day. Dark or concentrated urine means minerals are more likely to crystallize. If you’ve had stones before, spreading your intake across the full day matters more than drinking a lot at once. For people prone to cystine stones, the target is even higher: some providers recommend 96 ounces (about 3 liters) and suggest waking up once at night to drink a glass, since urine concentrates while you sleep.

Eat Enough Calcium (Yes, Really)

This is the most counterintuitive piece of kidney stone prevention. About 80% of kidney stones contain calcium, so it seems logical to cut back. But dietary calcium actually lowers your risk. When you eat calcium-rich foods alongside a meal, the calcium binds to oxalate in your digestive tract before it ever reaches your kidneys. Less oxalate gets absorbed into your bloodstream, which means less ends up in your urine where it could form stones.

Aim for 1,000 to 1,200 mg of calcium per day, roughly 2 to 3 servings of dairy. The key is timing: eat calcium with meals, not between them, so it can intercept oxalate from the other foods on your plate. Calcium supplements taken on an empty stomach don’t provide the same benefit and may actually increase stone risk.

As for oxalate itself, the National Kidney Foundation advises against strict low-oxalate diets for most people. Restricting oxalate makes it difficult to eat a balanced diet and can eliminate foods that contain protective compounds. A better strategy for most stone formers is simply eating adequate calcium so oxalate absorption stays low.

Cut Back on Sodium

High sodium intake forces your kidneys to excrete more calcium into your urine, directly raising stone risk. The recommended limit is less than 2,300 mg of sodium per day, roughly one teaspoon of table salt. Most Americans far exceed this.

The biggest culprits aren’t the salt shaker on your table. They’re processed, frozen, and canned foods, restaurant meals, deli meats, and salty snacks. Reading nutrition labels and cooking more at home are the most practical ways to bring sodium down. This single change can meaningfully reduce urinary calcium levels, which is why it’s recommended even for people already taking medication to prevent stones.

Moderate Animal Protein

Diets heavy in animal protein (beef, pork, chicken, fish, eggs, and dairy) create a more acidic urine environment and increase calcium and uric acid excretion. Both effects raise stone risk. The NIDDK recommends limiting animal protein intake if you’ve had calcium oxalate or calcium phosphate stones. You don’t need to eliminate it entirely. Swapping some meat-based meals for plant-based protein sources is a reasonable approach. Your doctor or a dietitian can help you figure out the right balance for your body.

Boost Your Citrate Intake

Citrate is a natural stone inhibitor. It binds to calcium in the urine and prevents crystals from forming. People with low urinary citrate levels are at significantly higher risk of stones.

For many people, increasing fruits and vegetables, particularly citrus fruits, helps raise citrate levels naturally. Lemon and lime juice are popular choices. For those who need more aggressive intervention, doctors prescribe potassium citrate tablets, typically starting at 10 to 20 milliequivalents two or three times daily. Potassium citrate also raises urine pH, which is especially important for preventing uric acid stones, since uric acid crystallizes in acidic urine.

Be Cautious With Vitamin C Supplements

Your body converts excess vitamin C into oxalate. A study published in the Journal of Nutrition found that taking 1,000 mg of vitamin C twice daily increased urinary oxalate by about 31% and boosted internal oxalate production by 39% in a significant portion of participants, both in people with and without a history of stones. This raised the calculated risk index for calcium oxalate stones substantially.

Getting vitamin C from food (oranges, peppers, strawberries) is fine. The concern is with high-dose supplements. If you’ve had calcium oxalate stones, avoiding supplemental vitamin C above what you’d get in a standard multivitamin is a sensible precaution.

Weight and Metabolic Health Matter

Carrying extra weight raises kidney stone risk independently of other factors. A study using data from the National Health and Nutrition Examination Survey found that people with obesity had roughly three times the odds of developing kidney stones compared to people at a normal weight, even when they were otherwise metabolically healthy (normal blood pressure, normal blood sugar, no insulin resistance). People who were both obese and metabolically unhealthy had nearly four times the odds.

The connection likely involves how excess body fat affects urine chemistry, including acidity and calcium excretion. Losing weight gradually through balanced dietary changes and regular physical activity can lower risk. Crash diets or very high-protein weight loss plans, however, can temporarily increase stone risk by raising uric acid levels, so a measured approach is better.

Prevention Depends on Your Stone Type

Not all kidney stones form for the same reasons, and prevention strategies differ depending on what your stones are made of.

  • Calcium oxalate stones are the most common type. The strategies above, adequate calcium with meals, lower sodium, moderate protein, and high fluid intake, target these directly.
  • Uric acid stones form in acidic urine. The primary prevention strategy is raising urine pH with potassium citrate, along with reducing animal protein and staying well hydrated.
  • Cystine stones result from a genetic condition that causes excess cystine in the urine. Prevention requires very high fluid intake (often 3 liters or more daily), low sodium, reduced animal protein, and sometimes prescription medications that help keep cystine dissolved.
  • Calcium phosphate stones are managed similarly to calcium oxalate stones, with extra attention to urine pH since they form in alkaline urine.

If you’ve passed a stone, having it analyzed tells you exactly which type you’re dealing with. For recurrent stone formers, a 24-hour urine collection is the most useful diagnostic tool. It measures volume, pH, calcium, oxalate, uric acid, citrate, sodium, and other markers, giving your doctor a specific chemical profile to target with diet changes or medication.

When Diet Isn’t Enough

For people who keep forming stones despite dietary changes, medications can help. The most commonly prescribed are thiazide-type diuretics, which reduce the amount of calcium your kidneys release into the urine. Doctors typically start at low doses and adjust based on follow-up urine testing. These medications work best alongside dietary changes, not as a replacement for them.

Potassium citrate is the other mainstay, used to raise citrate levels and adjust urine pH. For cystine stones specifically, other prescription medications can help prevent the amino acid cystine from crystallizing. The choice of medication depends entirely on what your urine chemistry shows, which is why metabolic testing matters for anyone who forms stones repeatedly.