Calculate your daily sodium, potassium, and magnesium needs during extended fasts (24h to 5+ days). Get a personalized dosing schedule based on your weight, fast length, activity level, climate, and keto-adaptation status.
Log meals, track macros, and monitor your fasting windows — all in one place. BiteKit's AI handles the nutritional math so you can focus on your goals.
When you fast, insulin levels drop significantly. Under normal eating conditions, insulin signals the kidneys to retain sodium. Without that signal, the kidneys begin excreting sodium at a much higher rate — and potassium and magnesium follow. This is why many people experience the so-called “fasting flu” or “keto flu”: headaches, muscle cramps, fatigue, heart palpitations, and irritability are all classic signs of electrolyte depletion, not hunger or metabolic distress.
For keto-adapted individuals, these losses are even more pronounced. Ketone bodies in the urine carry sodium with them as they are excreted, compounding the effect. Research by Phinney and Volek has quantified these needs for low-carbohydrate dieters, and Dr. Jason Fung's fasting protocols have popularized electrolyte supplementation as a core strategy for making extended fasting sustainable and safe.
Sodium is the most important electrolyte to supplement during fasting and typically the first to become deficient. The simplest approach is to dissolve 1/4 to 1/2 teaspoon of table salt in water or add it to bone broth throughout the day. Table salt provides approximately 575 mg of sodium per 1/4 teaspoon. Himalayan pink salt is slightly lower at around 480 mg per 1/4 teaspoon. Sodium bicarbonate (baking soda) is another option that may also help buffer the slight acidity of ketosis.
Potassium is essential for muscle function and heart rhythm. Adequate potassium prevents the muscle cramps and heart palpitations that some fasters experience. The practical challenge is that most potassium supplements are limited to 99 mg per tablet by FDA guidelines — far below what is needed. The most effective approach is using potassium chloride salt substitutes such as No Salt or Nu-Salt, which provide approximately 650 mg per 1/4 teaspoon. Electrolyte tablets and powders formulated for fasting (such as LMNT, Re-Lyte, or Keto Chow electrolytes) often contain meaningful potassium amounts.
Magnesium is often the most overlooked electrolyte during fasting, yet it plays a central role in over 300 enzymatic reactions in the body and is critical for sleep quality, muscle recovery, and insulin sensitivity. Magnesium glycinate is the preferred form due to its high bioavailability and minimal laxative effect. Magnesium citrate (Natural Vitality Calm) is a popular powder form that dissolves in warm water. Avoid magnesium oxide — it has poor absorption rates (around 4%) and is better suited as a laxative than an electrolyte supplement. Taking your evening magnesium dose at bedtime can meaningfully improve sleep depth during fasting.
| Source | Electrolyte | Amount (per 1/4 tsp or serving) | Notes |
|---|---|---|---|
| Table salt | Sodium | ~575 mg | Most concentrated sodium source |
| Himalayan pink salt | Sodium | ~480 mg | Trace minerals; slightly lower sodium |
| Baking soda | Sodium | ~315 mg | Also buffers ketosis acidity |
| Bone broth (1 cup) | Sodium | 500–900 mg | Varies by brand; also has collagen |
| No Salt / Nu-Salt | Potassium | ~650 mg | Best practical potassium source |
| Magnesium glycinate (2 caps) | Magnesium | 200 mg | Highest bioavailability form |
| Magnesium citrate (Calm, 1 tsp) | Magnesium | ~80 mg | Dissolves in warm water |
A single day or overnight fast is the most common approach. Electrolyte needs are moderate — sodium supplementation is the most important priority. If you are already on a standard carbohydrate diet and are not exercising, you may be able to rely on sodium in your last meal and a pinch of salt in water throughout the fast. Keto-adapted individuals should prioritize sodium actively even for shorter fasts.
Multi-day fasts require active and consistent electrolyte management. Potassium needs increase substantially — aim for 2000–2500 mg/day using No Salt / Nu-Salt spread across morning and evening doses. Continue sodium at 2500–3500 mg/day and magnesium at 300–400 mg/day. Most people find these fasts significantly more comfortable with a structured dosing routine versus ad-hoc supplementation.
Extended fasts beyond 72 hours require medical supervision and blood work. The primary additional concern is phosphate — unlike sodium, potassium, and magnesium, the body does not deplete phosphate during fasting itself, but upon refeeding, phosphate rapidly shifts into cells and serum levels can crash (refeeding syndrome). Monitoring serum phosphate, potassium, and magnesium before and after refeeding is essential for fasts of this length. These are not protocols for self-management without medical guidance.
During fasting, insulin levels fall sharply. Insulin normally signals the kidneys to retain sodium; without it, the kidneys excrete far more sodium in urine. Potassium and magnesium follow. Keto-adapted fasters have even higher losses because ketone excretion also carries sodium out in urine.
The standard recommendation is 2000–3000 mg/day of sodium during fasting. This increases to 3000–4000 mg/day if you are keto-adapted, in a hot climate, or exercising. Table salt (575 mg per 1/4 tsp) dissolved in water or bone broth is the simplest approach.
No Salt or Nu-Salt (potassium chloride) provides 650 mg of potassium per 1/4 teaspoon and is the most practical option. Most over-the-counter potassium supplements are limited to 99 mg per tablet, making it nearly impossible to reach fasting targets with pills alone.
Magnesium glycinate is preferred — it has the highest bioavailability, is gentle on the digestive tract, and does not cause loose stools at typical doses. Magnesium citrate is a solid second choice. Avoid magnesium oxide, which has very poor absorption.
Refeeding syndrome is a dangerous electrolyte shift — particularly phosphate — that can occur when food is reintroduced after prolonged fasting (5+ days) or severe caloric restriction. It can cause cardiac arrhythmias and neurological complications. Anyone undertaking a fast of 5 or more days should have medical supervision and electrolyte monitoring.
Generally, no. A 16:8 or 18:6 intermittent fast is short enough that healthy individuals maintain adequate electrolyte levels, especially if eating sufficient sodium in their feeding window. Supplementation becomes important for 24-hour and longer fasts, particularly for keto-adapted individuals.