Magnesium citrate is the best-supported form of magnesium for preventing kidney stones, particularly calcium oxalate stones. It outperforms magnesium oxide in clinical trials, absorbs more completely into the bloodstream, and delivers a bonus: the citrate portion itself is a natural stone inhibitor. But the full picture involves how magnesium works in your urinary tract, how much you need, and whether a combination supplement might be even more effective.
How Magnesium Prevents Kidney Stones
Most kidney stones are made of calcium oxalate, crystals that form when calcium and oxalate bind together in urine. Magnesium disrupts this process in two ways. First, magnesium ions are smaller than calcium ions, so they fit into the binding sites on oxalate molecules more easily. This blocks calcium from latching on. Second, and perhaps more importantly, magnesium screens the electrical interaction between calcium and oxalate, weakening their attraction and shortening the time they stay in contact. The result is smaller crystal clusters that are less likely to grow into stones.
Think of it like interference in a crowded room. Magnesium doesn’t necessarily steal oxalate’s attention permanently, but it gets in the way often enough that calcium and oxalate can’t form the tight bonds needed to build a stone. Research published in the Journal of Endourology confirmed that the presence of magnesium reduces the average size of both calcium oxalate and calcium phosphate aggregates.
Why Magnesium Citrate Comes Out on Top
A head-to-head randomized clinical trial comparing magnesium citrate and magnesium oxide in kidney stone formers with high oxalate levels found that both forms reduced urinary oxalate and the supersaturation score for calcium oxalate (the measure of how likely crystals are to form). However, only the magnesium citrate group reached statistical significance, meaning its effects were large and consistent enough to be clearly distinguished from placebo. Magnesium citrate also showed a greater effect in patients whose urine magnesium levels were already normal, suggesting it works even when you’re not deficient.
The advantage starts with absorption. A bioavailability study measuring both blood levels and urinary excretion found that a single dose of magnesium citrate produced significantly higher plasma magnesium at 4 and 8 hours compared to magnesium oxide. In fact, magnesium oxide didn’t produce a statistically significant increase in 24-hour urinary magnesium at all, while magnesium citrate clearly did. If magnesium isn’t getting absorbed, it can’t do its job in your kidneys.
Magnesium citrate also has a structural advantage that other forms lack. The citrate component raises urinary citrate levels, and citrate is one of the body’s most powerful natural inhibitors of stone formation. Citrate binds to calcium in urine, keeping it dissolved and unable to crystallize with oxalate. So you’re getting two protective mechanisms from a single supplement.
The Case for Potassium-Magnesium Citrate
If magnesium citrate is good, combining it with potassium citrate may be even better. A three-year clinical trial tracked recurrent calcium oxalate stone formers and found that potassium-magnesium citrate reduced the risk of new stones by 85%. In the placebo group, 63.6% of participants formed new stones. In the treatment group, only 12.9% did. That’s a dramatic difference, and it held up even after adjusting for age, prior stone history, and urinary chemistry.
Potassium citrate adds another layer of protection by raising urine pH, making it less acidic. A more alkaline urine environment discourages calcium oxalate crystallization. The combination of magnesium (blocking crystal formation), citrate (binding free calcium), and potassium (raising pH) covers multiple pathways at once. Potassium-magnesium citrate supplements are available by prescription and in some over-the-counter formulations.
How Much Magnesium You Need
A large dose-response analysis of a nationally representative population found that kidney stone risk drops steeply as magnesium intake increases, then levels off around 350 mg per day. Beyond that threshold, additional magnesium still helps, but the benefit plateaus. At 350 mg daily, the odds of having kidney stones were 23% lower compared to low-intake groups.
This 350 mg figure represents total daily intake from both food and supplements. Many people get 200 to 300 mg from diet alone (good sources include pumpkin seeds, almonds, spinach, black beans, and dark chocolate), so a supplement of 200 to 400 mg of magnesium citrate can fill the gap. One older but well-known study using magnesium hydroxide found that supplementation dropped the stone rate from 0.8 stones per year to 0.08, with 85% of treated patients remaining stone-free during follow-up.
Adding Vitamin B6
Some kidney stone protocols pair magnesium with vitamin B6 (pyridoxine), based on a long-running study that gave patients 200 mg of magnesium oxide and 10 mg of B6 daily. After one year, urine samples showed a marked increase in the ability to keep calcium oxalate dissolved. The study also found increased urinary citric acid, another natural stone inhibitor.
B6 plays a role in oxalate metabolism. Your body produces oxalate as a byproduct of certain chemical reactions, and B6 helps steer those reactions away from oxalate production. The dose used in the study (10 mg) is modest and well within safe limits. Many magnesium supplements marketed for kidney health already include B6 for this reason.
What About Magnesium Oxide?
Magnesium oxide is the most common and cheapest form on store shelves, and it does have some clinical support. Studies show it can reduce stone recurrence, and it contains more elemental magnesium per tablet than citrate (meaning fewer pills for the same dose on the label). The problem is that your body absorbs it poorly. Much of it passes through your digestive system without entering the bloodstream, which is why it’s more commonly associated with its laxative effect than its stone-prevention benefits.
If magnesium oxide is all you can access or afford, it’s still better than no magnesium. The clinical data shows it does reduce urinary oxalate and calcium oxalate supersaturation compared to placebo. It just doesn’t perform as well as magnesium citrate, and it’s more likely to cause loose stools at higher doses.
Forms to Skip for Stones
Not every magnesium supplement is relevant to kidney stones. Magnesium glycinate and magnesium threonate are popular for sleep and cognitive function, respectively, but they haven’t been studied for stone prevention. They also lack the citrate component that provides the extra urinary benefit. Magnesium taurate, marketed for heart health, similarly has no stone-specific data. If kidney stones are your primary concern, stick with magnesium citrate or a potassium-magnesium citrate combination.
Safety With Reduced Kidney Function
If your kidneys are already impaired, magnesium supplementation requires more caution. Healthy kidneys efficiently clear excess magnesium through urine, but compromised kidneys can let it accumulate. A clinical trial specifically tested magnesium supplementation in people with moderate to severe chronic kidney disease (filtering rates as low as 15 mL/min) and found it was safe over 8 weeks at controlled doses. However, this was done under medical supervision with regular blood monitoring.
For people with normal kidney function who simply form stones, standard supplemental doses of magnesium citrate (200 to 400 mg daily) are well tolerated. The most common side effect is digestive: loose stools or mild diarrhea, especially when starting at higher doses. Taking it with food and splitting the dose between morning and evening can help.

