Electrolytes and Fasting

What happens to electrolyte levels during fasting, and when should you supplement?

The Short Answer

During fasting, the body excretes more sodium, and potassium with it.[1] The sodium loss is sharpest over the first few days, when the drop in insulin (which is what drives both) is steepest.[1] Because depletion accumulates, a short fast costs a fraction of what a multi-day one does.[1] For longer fasts, adding sodium, potassium, and magnesium is the standard remedy, and low-carb diet guidance says it heads off the headaches, fatigue, cramps, and lightheadedness, though a 2025 review of the evidence finds a physiological rationale for supplementing and no clinical studies documenting that it works.[2]

Something to Sit With

The symptoms people blame on “not eating” are often put down to low electrolytes instead. Water and salt are the usual answer, and they ask nothing of your willpower.

Fasting doesn’t have to feel bad: it often feels bad because of what’s missing.


Learn More

What happens during fasting. When you stop eating, especially carbohydrates, insulin levels fall. This triggers a cascade:

Sodium excretion increases. Lower insulin signals the kidneys to release sodium.[1] You urinate more frequently and lose sodium with each trip.

Potassium follows sodium. Potassium is lost alongside sodium, and insulin’s effect on it has been measured directly in a controlled clamp study.[1]

Magnesium is the least settled of the three. It is usually listed with the other two, but that listing comes from low-carb diet guidance, and the reason usually given (that excretion rises as insulin falls) is contested.[1]

Worth separating those three, because they don’t rest on the same footing. The sodium half is measured: controlled clamp studies show the fall in insulin itself drives renal sodium handling, independent of glucose.[1] The potassium half is measured too, in a clamp study that held glucose steady, so the effect is insulin’s.[1] Magnesium’s case rests on advice instead: the claim that it is lost comes from low-carb diet guidance.[1] A 2025 review of electrolyte advice for fasting and low-carbohydrate states finds a physiological rationale for supplementing and no clinical trials showing it works.[2] The footing is what differs.

The result: over the first three days of a fast, urinary sodium can exceed intake by roughly 30-40 mmol a day before the loss begins to taper.[1]

The symptoms of depletion. Low electrolytes produce recognizable symptoms:

Sodium (hyponatremia): Headache, fatigue, nausea, confusion, irritability. Often described as “keto flu” or “fasting flu.”[3]

Potassium (hypokalemia): Muscle weakness, fatigue, constipation, and (as it worsens) an irregular heartbeat.[3]

Magnesium (hypomagnesemia): Muscle cramps and twitches, fatigue, and numbness or tingling.[3]

Read those lists as overlapping, not diagnostic. Cramps and fatigue show up under more than one deficiency, so the symptoms alone won’t tell you which electrolyte is short.[3]

Many people quit fasting because these symptoms feel awful, and conclude that fasting itself is the problem. The issue is commonly attributed to electrolyte depletion, though no study has linked these symptoms to measured electrolyte loss.[2]

When supplementation matters. Guidelines vary by fast length:

Short fasts (16-24 hours): Depletion accumulates over days, so a fast this length costs a fraction of what a multi-day one does.[1] Water is the usual approach at this length.

Extended fasts (24-72 hours): Supplementing is the usual advice at this length, because depletion builds over these days.[1]

Prolonged fasts (beyond 72 hours): Electrolyte management becomes important, and prolonged fasts are best undertaken with medical supervision.[4]

If symptomatic at any point: Adding electrolytes is the usual response regardless of fast length, though, as above, the symptoms won’t tell you which one is short.[1],[3]

How to supplement. Common forms, once you’ve decided supplementation is warranted:[1]

Sodium: Added salt in water or broth.

Potassium: Potassium supplements, electrolyte mixes, or potassium-chloride salt substitutes, the last of which is also the easiest way to overshoot, so see the caution below.[4]

Magnesium: Magnesium citrate, glycinate, or malate supplements.

Combination products: Commercial electrolyte powders sold for fasting or low-carb diets combine all three.

Practical notes. A few considerations:

Start proactively. Don’t wait for symptoms. If you’re doing an extended fast, begin electrolytes early. That is the common practice and the reasoning behind it rather than a tested schedule.[2]

Salt isn’t breaking the fast. Sodium and the other electrolytes contain no calories.

Watch potassium intake. Keep potassium supplementation moderate. Very high amounts (from supplements or from potassium-containing salt substitutes) can outrun the kidneys’ capacity to excrete it and cause acute hyperkalemia, even in otherwise healthy people.[4] Food sources, when you’re eating, are the safer route.

Medical conditions matter. Chronic kidney disease, heart failure, type 1 diabetes, adrenal insufficiency, and liver disease all raise the risk here, as do ACE inhibitors and potassium-sparing diuretics. If any of those apply to you, talk to a clinician before adding electrolytes during a fast.[4]

The insight. Many negative fasting experiences are put down to electrolyte depletion rather than to fasting itself, and low-carb diet guidance says adequate sodium, potassium, and magnesium head off those symptoms, a physiological rationale rather than a demonstrated result, which is what a 2025 review of the evidence concludes.[2] The thing you’re blaming may not be the thing that’s wrong.

Further reading:

  • Phinney SD & Volek JS, The Art and Science of Low Carbohydrate Living[5] (2011) — Chapters on electrolyte management
  • Fung J & Moore J, The Complete Guide to Fasting[6] (2016) — Practical electrolyte guidance
  • Nagler EV et al., “Diagnosis and treatment of hyponatremia”[7] — BMC Medicine, 2014
  • Longo VD & Mattson MP, “Fasting: molecular mechanisms and clinical applications”[8] — Cell Metabolism, 2014

Written by AI, directed and approved by me. How this is made →

More posts