How much sodium, potassium and magnesium should I have on a ketogenic diet?

By Dr. Stephen Phinney and the Virta Team

In short, 3000-5000 mg of sodium and 3000-4000 mg of potassium on average are needed as part of a well-formulated ketogenic diet. For sodium and potassium (aka electrolytes), rather than trying to track them directly (which is frustrating at best), we recommend salting food to taste, adding 2 grams of sodium as broth or bouillon, and eating 5 servings of non-starchy vegetables daily. For magnesium, 300-500 mg is an initial recommendation. Muscle cramps are our best indicator of depletion, and to replenish one’s intracellular magnesium, we generally recommend 3 tabs per day of Slow-Mag or the generic slow-release equivalent for 3-6 weeks.

Back to Keto FAQ


Related blog posts

Dr. Stephen Phinney on Nutritional Ketosis and Ketogenic Diets: Video Series- Dr. Stephen Phinney put together a three-part video series on ketogenic diets and nutritional ketosis. You'll learn the nutrition science… ... Read More
Ketone Supplements: The Pros and Cons- Ketone supplements rapidly and transiently increase blood concentrations of BOHB. On the surface, this seems like it should promote positive… ... Read More
Sarah Hallberg, DO, MS Reversing Diabetes 101 with Dr. Sarah Hallberg: The Truth About Carbs, Blood Sugar and Reversing Type 2 Diabetes- You may have heard a lot about type 2 diabetes, but do you know what it actually does to your… ... Read More

20 Comments

  1. Avatar

    I have hart PVC and trying to find the best potassium magnesium foods I can help PVCs trying to find a balance with food intake of the daily requirement for a man what’s the magnesium potassium sodium being of my heart condition and what the foods are and how much to intake to achieve that number, free better functioning heart ECT. Thanks

    Reply

    1. Virta Health

      Hi Robert. We are unable to provide specific medical advice via this forum. We would encourage you to speak with your physician or a medical provider that is familiar with your medical history.

      Reply

  2. Avatar

    One of the ingredients in Slow-Mag is Maltodextrin. Being on Keto we’re taught to avoid Maltodextrin. Can you please advise and comment on this issue?

    Reply

    1. Virta Health

      The amount of carbohydrate you will receive from SlowMag is negligible versus what you would find in a food product containing maltodextrin. If you are still uncomfortable with the ingredients, you can find other magnesium supplements that do not contain maltodextrin.

      Reply

  3. Avatar

    Thank you for the great work. I believe our human evolutionary history included frequent and perhaps extended stays in ketosis. My question is with the recommended 5 grams sodium and 3 grams potassium (which I can attest to first hand is optimal for me in nutritional ketosis), why do natural foods, vegetables, not contain more sodium? I.e., the ratio of potassium to sodium is heavily skewed towards potassium. I would think it would be about 5/3 ratio. Any one care to comment on my theory? thanks all

    Reply

    1. Virta Health

      Brannon thank you for such a great question! Dr. Phinney has provided the following response: What an elegant question! Plants evolved to survive and reproduce themselves. They didn’t evolve to please us humans. Well, until the advent of agriculture, when we dirt farmers started propagating the plants that we liked.

      We humans have hearts and arteries and circulating blood that uses sodium to regulate our fluid balance. Plants also have a circulatory system, but it is based on osmosis powered by glucose rather than a heart and sodium. Thus, plants can grow anywhere there is water, airborne CO2, and sunlight. Humans, on the other hand, had to evolve close to the sea or near salt springs to get the minimum sodium we need. Eventually we discovered salt mines and long-distance trade in salt and soy sauce, allowing us to populate inland regions. Note: the Romans elevated this sodium commerce to a fine art, paying their legions in salt (whence the term ‘salary’), with which their soldiers could trade for the remainder of their daily needs.

      Reply

  4. Avatar

    How much is a serving of non-starchy vegetable? I typically consider 1 ounce raw to be a serving, though when cooked it usually shrinks, and I need to take that into account.

    Reply

    1. Virta Health

      Raw leafy greens are typically 2 cups per serving or 1 cup if cooked. All other vegetables are 1 cup/serving.

      Reply

  5. Avatar

    when you say 3 tablets of Slo-Mag, should they be taken all at once or spread throughout the day?

    Reply

    1. Virta Health

      Hi! Great question! We recommend dividing the dose for improved absorption.

      Reply

  6. Avatar

    Should the Slo-Mag be taken all at once or 3 times/day?

    Reply

    1. Virta Health

      Thanks for your question, Richard. We recommend dividing the dose for improved absorption.

      Reply

  7. Avatar

    Hi and thank you for a great blog and YouTube videos.
    Is slow mag only one thing, I’ve ordered but could only find the one with calcium as well?
    What is the difference between sodium and salt? I can easily measure 5g of salt but how do I measure 5g of sodium?
    Thank you

    Reply

    1. Virta Health

      Slow mag does have calcium, so you’ve found the correct product! We don’t recommend specifically tracking sodium as it can be frustrating and inaccurate. We encourage our patients to have 1 cup of bouillon in the morning and afternoon and then to salt their food to taste throughout the day.

      Reply

  8. Avatar

    What are your recommendations on electrolyte levels when water fasting?

    What are your thoughts on using pink salt for potassium while using iodine salt for sodium?

    Reply

    1. Virta Health

      We don’t recommend fasting. For more information, you can see Dr. Phinney’s post, here: https://blog.virtahealth.com/science-of-intermittent-fasting/

      Pink sea salt is limited in potassium compared to other high potassium foods like dark, leafy greens, avocado or steak.
      You can see a list of high potassium foods here: https://blog.virtahealth.com/potassium-sodium-ketogenic-diet/

      Reply

  9. Avatar

    Huge fan of your science based approach, keep up the good work!

    My question is that do you suggest cutting back on the electrolyte supplementation after the six weeks? I have been keto for years and am still supplementing daily with electrolytes.

    If we cut back what is the reason? Do healthy kidneys adapt to recirculate these minerals after a time? It was my understanding that they do not, but I could be missing something.

    Reply

    1. Virta Health

      Hi Lance! We don’t recommend decreasing electrolyte supplementation.

      Reply

  10. Avatar

    Hi, I`d like to know how many grams are in 5 servings of non-starchy vegetables.

    Best regards

    Reply

    1. Virta Health

      Hi! Can you clarify what you mean by grams in a serving?

      Reply

Leave a reply

Your email address will not be published.