Preventing calcium oxalate stones comes down to a handful of dietary and hydration habits that change the chemistry of your urine. These stones form when calcium and oxalate concentrate in the kidneys and crystallize, but the right balance of fluids, minerals, and food choices can keep that from happening. Most of the strategies are straightforward, and many work together.
Drink Enough to Produce 2.5 Liters of Urine Daily
The single most effective prevention strategy is diluting the substances that form stones. The American Urological Association recommends that all stone formers aim for a urine output of at least 2.5 liters per day. For most people, that means drinking roughly 3 liters (about 100 ounces) of fluid daily, since you lose some water through sweat and breathing before it ever reaches your kidneys.
Water is the best choice, but the volume matters more than the source. Spreading your intake throughout the day is important because a few large glasses at meals won’t keep your urine dilute overnight, when stones are most likely to grow. Keeping a water bottle nearby and drinking before bed (and again if you wake up during the night) helps maintain dilution around the clock. If your urine is pale yellow, you’re generally on track.
Eat Calcium With Meals, Don’t Avoid It
This is the part that surprises most people. Cutting back on dietary calcium actually raises your risk of calcium oxalate stones. The reason is simple: calcium binds to oxalate in your digestive tract, forming an insoluble compound that passes harmlessly through your stool instead of being absorbed into your bloodstream and filtered through your kidneys.
When you eat a low-calcium diet, more oxalate stays free in your intestines, gets absorbed, enters your blood, and ends up concentrated in your urine, exactly where you don’t want it. The recommended intake for stone formers is 800 to 1,200 mg of calcium per day, ideally from food rather than supplements. Dairy products, fortified plant milks, canned sardines, and tofu made with calcium sulfate are all good sources. The key is timing: eat calcium-rich foods alongside meals that contain oxalate so the binding happens in your gut.
Reduce High-Oxalate Foods
You don’t need to eliminate oxalate entirely, but knowing which foods are extremely high in it lets you make smart swaps. Oxalate content varies enormously. Spinach, for example, contains about 750 mg of oxalate per 100 grams when cooked, making it one of the most concentrated sources by far. Unsweetened cocoa powder is even higher at around 950 mg per 100 grams, though you’d rarely eat that much in a sitting.
Other notable high-oxalate foods include cashews (about 175 mg per 100 g), walnuts (110 mg), sesame seeds (106 mg), rice bran, black pepper, and chocolate-based baked goods like brownies and chocolate chip cookies (each over 100 mg per 100 g). You don’t need to memorize a chart, but being aware that spinach, nuts, chocolate, and certain baked goods are the biggest contributors gives you practical leverage. Swapping spinach for kale or romaine in salads, for instance, dramatically cuts oxalate without changing your vegetable intake.
Pairing high-oxalate foods with a calcium source (like cheese or yogurt at the same meal) also helps neutralize the oxalate before it reaches your kidneys.
Cut Back on Sodium
High sodium intake directly increases the amount of calcium your kidneys excrete into your urine. The relationship is roughly linear: for every 100 mmol of sodium you consume, you lose about 1 mmol of extra calcium through urine. That extra urinary calcium gives oxalate more material to crystallize with.
Most dietary sodium comes from processed and restaurant foods rather than the salt shaker. Canned soups, deli meats, frozen meals, bread, sauces, and fast food are common culprits. Aiming for under 2,300 mg of sodium per day (the general recommendation for adults) is a reasonable target for stone prevention. Reading labels and cooking more meals at home are the most practical ways to get there.
Moderate Animal Protein
Eating large amounts of animal protein creates an acid load that shifts urine chemistry in several unfavorable directions at once. The sulfur-containing amino acids in meat, poultry, fish, and eggs lower urinary pH, making urine more acidic. That acidity reduces citrate excretion (citrate is one of the body’s main defenses against stone formation) and promotes calcium loss from bones into urine. Animal protein also increases uric acid production, which can serve as a seed for calcium oxalate crystals to grow on.
This doesn’t mean you need to go vegetarian. It means that portions matter. A serving of meat the size of a deck of cards at one or two meals, rather than a large steak at every dinner, keeps the acid load manageable. Replacing some animal protein with plant-based sources like legumes and lentils shifts urine toward a more alkaline, citrate-friendly environment.
Increase Citrate From Food
Citrate is one of the most powerful natural inhibitors of calcium oxalate crystallization. It works by binding to calcium in urine, preventing it from linking up with oxalate, and by directly interfering with crystal growth. Urine calcium and citrate levels are, together, the most important factors determining whether stones form.
Citrus fruits are the richest dietary sources. Lemons and limes have particularly high concentrations of citrate. Drinking the juice of two or three fresh lemons diluted in water throughout the day is a common recommendation. Oranges and grapefruits also contribute meaningful amounts. Beyond citrus, fruits and vegetables in general promote citrate excretion because they produce an alkaline load that reduces the acid your kidneys need to clear, freeing up citrate that would otherwise be consumed in that process.
Be Cautious With Vitamin C Supplements
Your body converts excess vitamin C into oxalate, and the effect is significant even at common supplement doses. In clinical studies, taking just 1 gram of vitamin C daily increased urinary oxalate excretion by 33 to 61 percent in both stone formers and healthy adults. Two grams per day produced similar increases. That’s a substantial jump in the raw material for calcium oxalate stones.
Getting vitamin C from food (oranges, bell peppers, strawberries, broccoli) is not a concern because the amounts are much lower and come packaged with other beneficial compounds. The risk is specifically with supplements, especially doses of 1,000 mg or more. If you’re prone to calcium oxalate stones, this is one of the most avoidable risk factors.
Putting It All Together
These strategies work best in combination because they target different parts of the same process. Hydration dilutes all stone-forming substances. Eating calcium with meals traps oxalate before it’s absorbed. Limiting sodium and animal protein reduces the calcium and acid that end up in your urine. Citrate from fruits actively blocks crystal formation. And avoiding high-dose vitamin C removes a hidden source of extra oxalate.
For people who’ve already passed a stone, a 24-hour urine collection test can identify which specific risk factors are elevated in your case, whether that’s high oxalate, high calcium, low citrate, high sodium, or some combination. That information lets you focus your efforts where they’ll matter most rather than overhauling everything at once.