KIDNEY STONE DIET®

with Jill Harris, LPN, CHC

    • Increase FluidsHow much to drink, and what counts
    • Reduce SodiumLowering salt, one label at a time
    • Reduce SugarCutting back on added sugar
    • Increase Dietary CalciumGetting enough calcium from food
    • Eat Moderate ProteinModerate protein, with the calculator
    • Lower High-Oxalate FoodsHow much a day, and what to lower first
    • The 24-Hour Urine TestWhat it shows and how to do one
    • Passing a Kidney StoneWhat to expect, from Jill
  • Oxalate Food List
  • Podcast
  • Recipes
  • Start Here
Log in

KIDNEY STONE DIET®

with Jill Harris, LPN, CHC

Log in

Trouble logging in? Get help

  • Start HereJill’s first steps →
  • Oxalate ListLook up any food →
  • PodcastEvery episode →
  • Low Oxalate RecipesCook tonight →
  • Passing a Kidney StoneHave a stone right now?
  • The 24-Hour Urine TestKnow your numbers

Kidney Stone Diet Goals

  • Fluids
  • Sodium
  • Sugar
  • Calcium
  • Protein
  • Oxalate

Read & listen

  • Blog
  • Email Newsletter
  • Patient Reviews
  • Free Resources

Jill’s Programs

Go further with Jill.

  • All-Access Pass
  • Daily Meal Plans
  • Group Coaching
  • Prevention Course
  • Cookbooks
  • Private Consultations
  • See every tool

Help

  • Help Desk
  • Cart
  • About Jill Harris
  • FAQ
Kidney Stone Diet » Blog » Does Magnesium Help Prevent Kidney Stones?

Does Magnesium Help Prevent Kidney Stones?

Jill Harris, LPN, CHC Avatar

Written by

Jill Harris, LPN, CHC

Updated

September 3, 2026

I get asked about magnesium for kidney stone prevention quite a bit. The short answer is yes, magnesium may help, but I don’t consider it one of the main things most patients should focus on first. And I definitely do not want you running to the 5 and 10 to grab a bottle before you finish this article!

How Magnesium Might Help

Magnesium can bind some oxalate in the gut, which may reduce how much oxalate gets absorbed. It may also make it harder for calcium oxalate crystals to form in the urine. So there is a real reason researchers are interested in it.

What the Research Actually Shows

The problem is that research on magnesium alone is still limited. One recent study found that magnesium citrate taken with meals reduced urine oxalate and calcium oxalate supersaturation in people with already high urine oxalate. That is encouraging, but the study was short and did not tell us whether those patients actually went on to form fewer kidney stones.

You may also hear people mention an older study showing a big reduction in kidney stone recurrence with magnesium. That study is often quoted, but the patients were taking potassium-magnesium citrate, not magnesium alone. That matters because we cannot say that magnesium alone was responsible for the benefit.

Some studies combined magnesium with other nutrients, including vitamin B6. One study used potassium citrate, magnesium citrate, and vitamin B6 together and found a reduction in stone recurrence. Earlier research also examined magnesium oxide combined with vitamin B6. Again, these studies are interesting, but they do not tell us what magnesium alone would have done. And be warned that mag oxide can cause diarrhea!

That distinction matters. It is easy to hear, “There was a magnesium study,” and conclude that everyone with kidney stones should take magnesium. That is not what the research tells us.

Focus on the Basics First

This is why I am careful not to make magnesium sound like a major tool for preventing kidney stones. I actually never discuss it in my patient consults for good reason. Most patients already have plenty to work on, and the things with the strongest evidence still matter most: drinking enough fluids, lowering sodium intake, getting enough dietary calcium, watching added sugars and meat protein, and managing oxalate when needed. These are all the goals of the Kidney Stone Diet®.

Calcium is especially important because it helps bind oxalate in the gut when oxalate is consumed with meals. It also supports bone health, which is another reason I would much rather see patients get their calcium needs met before worrying about adding a supplement.

Who Might Actually Benefit — and What About Magnesium Glycinate?

Could magnesium be useful for some people? Yes. If someone has low urinary magnesium or still has high urine oxalate despite doing the important dietary work, it may be worth discussing this with their doctor.

But magnesium citrate is not automatically appropriate for every stone former. The citrate component can raise urine pH, which may be a problem for some patients already at risk of calcium phosphate stones. This is another reason I do not recommend adding it blindly. Whether it makes sense should be based on the person’s 24-hour urine results, including pH, calcium, citrate, oxalate, and supersaturation of calcium phosphate.

And because I know I will get this question: what about magnesium glycinate? Magnesium glycinate has become a very popular supplement for people who take it at night to relax or wind down. If you are already taking magnesium glycinate for that reason, being a kidney stone former does not automatically mean you need to stop it. Magnesium glycinate does not provide the same citrate load as magnesium citrate, and one study of magnesium glycinate found that it did not raise urine pH or urine citrate the way citrate-containing supplements did.

Taking magnesium glycinate at night because you find it helpful is different from taking it specifically to prevent kidney stones. We simply do not have good evidence that magnesium glycinate prevents stone recurrence. And anyone with significantly reduced kidney function should talk with their physician before taking supplemental magnesium because the kidneys are responsible for clearing magnesium from the body.

Bottom Line

What I do not want is for someone to read about magnesium and think, “Perfect. I’ll just take a pill.”

That is the trap. Supplements can feel much easier than changing sodium intake, increasing fluid intake, getting enough calcium, or adjusting portion sizes. But the pill should not replace the work with the strongest evidence.

For now, magnesium is a possible extra tool for selected patients, not a main prevention strategy for everyone.

Do the big things first. Then let the 24-hour urine tell you whether the smaller things need attention.

Want to Dig Deeper?

2024 randomized controlled trial: Magnesium citrate and magnesium oxide in patients with idiopathic hyperoxaluria. Magnesium citrate taken with meals lowered urinary oxalate and calcium oxalate supersaturation. The study lasted eight weeks and looked at urine chemistry, not long-term stone recurrence.

View Article →

Potassium-magnesium citrate trial: This frequently cited randomized trial found a substantial reduction in calcium oxalate stone recurrence compared with placebo. However, the treatment combined potassium citrate with magnesium citrate, so the benefit cannot be attributed to magnesium alone.

View Article →

Potassium citrate, magnesium citrate, and vitamin B6 study: This study used all three together in recurrent stone formers and reported a reduction in stone recurrence. Because it was a combination treatment, it cannot tell us how much benefit was specifically due to magnesium.

View Article →

Older magnesium and vitamin B6 research: Earlier studies also evaluated magnesium oxide together with vitamin B6 in recurrent calcium oxalate stone formers. Again, this is combination therapy, not evidence that magnesium alone prevents stones.

View Article →

Your friend,
Nurse Jill

When you’re ready, here’s how I can help you prevent kidney stones

Since 1998, I’ve helped thousands of patients prevent kidney stones. With my Kidney Stone Diet All-Access Pass, you get access to every prevention tool I’ve ever created:

  • Weekly Kidney Stone Diet Meal Plans
  • Weekly Kidney Stone Prevention Group Consultations
    • 2 video calls per week with me and the Kidney Stone Diet community
  • All of my Kidney Stone Diet Ebooks
  • Plus, 20% Off Private Consultations

And, as a BONUS, you’ll get my flagship Kidney Stone Prevention Course (normally $249) absolutely free!

Learn More!

Jill Harris, LPN, CHC Avatar

About the Author

Jill Harris is a Licensed Practical Nurse (LPN) who specializes in kidney stone prevention. Her goal is to teach you what you need to know and, more importantly, how to put that knowledge to work so you can stop forming stones. For good. Learn the full Kidney Stone Diet®
  1. Leanne Griffin Avatar
    Leanne Griffin
    September 6, 2026

    Thank you Jill for covering all the aspects of magnesium. I’d say 90% of the questions about magnesium on the Facebook group are from people wanting to deal with leg cramps, or a need to lessen anxiety so they can sleep at night. None of that has anything to do with stone prevention, but it is a common concern. It is important to know that magnesium citrate has been used to treat constipation, so that can be an surprise side effect of taking it as a supplement. 🙂

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

“The Kidney Stone Diet is far more than just a diet; this plan is life-altering!”

“The group calls will transform you physically and emotionally. Once you start this journey, your health naturally improves. I have lost a total of 40 pounds and have consistently kept it off. The group calls are such support; this is more like family than a zoom meeting to stay accountable. Jill is far more than a nurse; she is a life coach. Her platform is invaluable.”

Kim J. | Kidney Stone Prevention Course

“The best decision I’ve made has been to join this group.”

“I have been working on weight loss for many years. This group has kept me on track and has helped my continued success with my weight loss.”

Kate L. | Group Calls with Jill

“I have been following the Meal Plan for about 6 weeks and I feel amazing.”

“Eating healthy has also encouraged me to go to bed earlier, so I am also getting more sleep. Because of that, I have been able to get up before work and exercise! So yes, the positive effects are spilling over into all areas of a healthy lifestyle.”

Jerry T. | Meal Plan Subscriber

“I have been a part of the group calls with Jill for the last 14 months, and they are essential to being so successful with the Kidney Stone Diet Prevention Plan.”

Sarah B. | Group Calls with Jill

“These calls are the gold of this program!!”

“I can’t say enough about how Jill knows just the right questions to ask us or how she prods us to think about what is going on in our lives.”

Monica K. | Group Calls with Jill

“I took the course with Jill, and my second 24 hour urine was MUCH better than the first.”

“She gives very practical information, and it WORKS. I was totally overwhelmed at first. I got very poor diet information from my doctors. Jill made it easy for me to understand, and I took it one day at a time. I still watch her videos when I need a tune-up. Jill is the best, and she really cares about all of us. Take the course—it will help you!!!”

Mark J. | Kidney Stone Prevention Course


KIDNEY STONE DIET®

with Jill Harris, LPN, CHC

Kidney Stone Diet® is a set of six evidence-based goals (increase fluids, reduce sodium, reduce sugar, increase dietary calcium, eat moderate protein, and lower high-oxalate foods) developed by Nurse Jill Harris with University of Chicago nephrologist Dr. Fred Coe.

Kidney Stone Diet Goals
  • Fluids
  • Sodium
  • Sugar
  • Calcium
  • Protein
  • Oxalate
Stones and Testing
  • Passing a Kidney StoneHave a stone right now?
  • The 24-Hour Urine TestKnow your numbers:
Free Help
  • Start Here
  • Oxalate Food List
  • Podcast
  • Low Oxalate Recipes
  • Blog
  • Email Newsletter
Work With Jill
  • All-Access Pass$48/mo
  • Daily Meal Plans
  • Group Coaching
  • Prevention Course
  • Private Consultations
  • Cookbooks
About
  • About Jill Harris
  • Patient Reviews
  • FAQ
  • Help Desk
Log in

Stay on track with Jill’s free weekly email

    Follow Jill

    • YouTube
    • Facebook
    • Instagram
    • TikTok
    • Patreon

    Educational content only, not medical advice. Talk with your own doctor about your care.
    © 1998-2026 Kidney Stone Diet®

    Privacy Site by SPYR