Preventing oxalate kidney stones comes down to a handful of daily habits: drinking enough fluid, eating calcium with your meals, limiting high-oxalate foods, and keeping sodium and animal protein in check. Most calcium oxalate stones form when oxalate concentrations in the urine get too high relative to the protective factors that keep crystals from forming. Since five-year recurrence rates run as high as 40%, prevention matters even more if you’ve already passed a stone.
Drink Enough to Produce 2.5 Liters of Urine Daily
The single most effective prevention measure is increasing your fluid intake. The goal is to produce more than 2.5 liters (roughly 85 ounces) of urine per day. For most people, that means drinking about 3 liters of fluid, since some water is lost through sweat and breathing. The relationship between urine volume and stone risk is continuous: more dilute urine is always better, with no hard cutoff where risk suddenly drops to zero.
Water is the best choice. Spread your intake throughout the day, including a glass before bed, since urine concentrates overnight. If your urine is consistently pale yellow, you’re likely on track. If you live in a hot climate or exercise heavily, you’ll need more.
Eat More Calcium, Not Less
This one surprises many people. Calcium oxalate stones contain calcium, so it seems logical to cut back. But the opposite is true. The target is 1,200 milligrams of dietary calcium per day, ideally spread across meals. When you eat calcium-rich foods alongside oxalate-containing foods, the calcium binds oxalate in your gut before it ever reaches the kidneys. Less oxalate is absorbed into your bloodstream, which means less ends up in your urine.
The key word is “dietary.” Calcium from food (dairy, fortified plant milks, canned sardines) is protective. Calcium supplements taken between meals don’t have the same gut-binding effect and may actually increase stone risk. If you do supplement, take it with a meal that contains oxalate.
Know Which Foods Are Highest in Oxalate
You don’t need to eliminate oxalate entirely, but knowing the biggest sources helps you make smart swaps. Oxalate content varies enormously across foods. Harvard’s measured values per serving tell the story:
- Spinach (boiled, ½ cup): 547 mg of oxalate
- Spinach (raw, 1 cup): 316 mg
- Buckwheat groats (1 cup): 133 mg
- Wheat berries (1 cup): 98 mg
- Navy beans (canned, ½ cup): 96 mg
- Baked potato with skin: 92 mg
- Beets (canned, ½ cup): 76 mg
- Almonds (1 oz): 72 mg
- Cashews (1 oz): 64 mg
Spinach is in a league of its own. A single half-cup of cooked spinach delivers more oxalate than most people consume in an entire day from other foods. Swapping spinach for kale, arugula, or romaine lettuce dramatically cuts your oxalate load while still giving you greens. Baked potatoes, beets, nuts, and certain whole grains are moderate sources. You don’t have to avoid them completely, but pairing them with a calcium-rich food at the same meal helps neutralize the oxalate before it’s absorbed.
Keep Sodium Under 2,300 mg Per Day
Sodium directly increases the amount of calcium your kidneys excrete into your urine. More calcium in the urine means more raw material for calcium oxalate crystals. The National Institute of Diabetes and Digestive and Kidney Diseases recommends staying below 2,300 mg of sodium per day, roughly one teaspoon of table salt. This applies even if you’re taking medication to prevent stones.
Most excess sodium comes from processed and restaurant foods, not the salt shaker. Canned soups, deli meats, frozen meals, bread, and condiments are common culprits. Reading labels and cooking more meals at home are the most practical ways to cut back.
Moderate Animal Protein
High intakes of animal protein (beef, pork, poultry, fish, eggs) shift your body’s acid balance in ways that promote stones through multiple pathways at once. In controlled studies, a high-protein diet dropped urinary pH from about 6.3 to 5.7, making urine significantly more acidic. It also cut urinary citrate, one of the body’s natural stone inhibitors, from around 686 mg per day to just 423 mg per day. At the same time, uric acid output climbed and urinary calcium increased.
The combined effect is urine that’s more concentrated with stone-forming ingredients and stripped of the compounds that normally prevent crystals from growing. You don’t need to go vegetarian. Keeping animal protein portions to roughly the size of a deck of cards per meal, and not making it the centerpiece of every meal, is enough for most people.
Increase Your Citrate Intake
Citrate is one of the most important natural inhibitors of calcium oxalate stones. It works two ways: it binds calcium in the urine so there’s less available to pair with oxalate, and it coats the surface of any crystals that do form, blocking further growth.
Consuming just 4 ounces of lemon juice per day has been shown to significantly increase urinary citrate without raising oxalate levels. Orange juice and melon juice are also rich in citrate. If your urinary citrate is low (something a 24-hour urine test can reveal), your doctor may recommend a potassium citrate supplement, which has been shown in randomized trials to reduce stone formation by raising both urinary citrate and pH.
The research on high-protein diets reinforces why citrate matters. When potassium citrate was given alongside a high-protein diet, urinary citrate more than doubled (from 423 to 978 mg per day), urine pH normalized, and the elevated crystal saturation was completely reversed.
Be Cautious With Vitamin C Supplements
Your body converts excess vitamin C into oxalate. At doses of 1,000 mg per day or more, supplemental vitamin C has been linked to increased kidney stone risk in men. A metabolic study of 24 people found that 2 grams daily raised urinary oxalate excretion by about 22%. Vitamin C from food (fruits and vegetables) hasn’t been associated with the same risk, likely because the doses are much smaller and come packaged with other beneficial compounds. If you’re prone to oxalate stones, skip high-dose vitamin C supplements and get your intake from food instead.
What About Magnesium?
Magnesium can bind oxalate in the gut (similar to calcium) and reduce oxalate concentrations in urine. Animal studies confirm that higher magnesium intake decreases urinary supersaturation with calcium oxalate, while low magnesium intake increases it. However, the evidence that this translates into fewer actual stones is less clear. Getting adequate magnesium from foods like pumpkin seeds, black beans, avocado, and yogurt is a reasonable part of an overall prevention strategy, but it’s not a substitute for the higher-impact steps like hydration, dietary calcium, and sodium reduction.
Putting It All Together
Stone prevention works best as a package. No single change is as effective as combining several. A practical daily framework looks like this: drink water consistently throughout the day (targeting pale urine), include a calcium source at each meal, swap spinach for lower-oxalate greens, keep processed food and sodium in check, moderate your portions of meat and eggs, and add citrus to your routine. These changes are sustainable and, for most people, enough to significantly lower the odds of forming another stone.

