← Recovery

Evidence-based · Recovery

Electrolytes on a GLP-1 or Extended Fast: How Much You Actually Need

Fasting, keto, and GLP-1 medications all shift electrolyte and fluid needs. Here are honest sodium, potassium, and magnesium targets — and who should not follow them.

Evidence: Moderate
Part ofThe Recovery Guide

If you’ve started a GLP-1 medication, a low-carb diet, or an extended fast and suddenly feel wiped out — headache, brain fog, muscle cramps, a heart that flutters when you stand — the culprit is often not the diet itself but what it does to your electrolytes and fluid. This is the single most fixable reason people feel awful in the first week, and it’s almost always about sodium, potassium, magnesium, and water rather than calories. If you’d rather skip the math, the Electrolyte & Hydration Calculator turns your body weight and situation into concrete daily targets in a few seconds.

Why fasting and keto change the rules

The mechanism is worth understanding, because it explains why standard “cut back on salt” advice can backfire here. When you fast or eat very few carbohydrates, insulin levels fall. Insulin normally signals the kidneys to hold on to sodium. When insulin drops, that brake comes off: the kidneys excrete more sodium, and water follows the sodium out. This is why people “whoosh” several pounds of water weight in the first few days of keto or a fast — and also why they feel terrible.

That collection of symptoms — headache, fatigue, lightheadedness, irritability, muscle cramps, and constipation — is what people call the “keto flu” or “fasting flu.” It is largely a self-inflicted electrolyte and fluid deficit, not the body “detoxing” or “running out of glucose.” Replacing what you’re losing usually resolves it. This is the core of the keto flu electrolytes problem: you’re not eating less salt on purpose, but your kidneys are throwing it away faster than usual.

How GLP-1 medications change things differently

GLP-1 medications (semaglutide, tirzepatide, and similar) create the same downstream concern by a different route. They work in part by slowing gastric emptying and blunting appetite — which means you eat less food and, critically, often drink less fluid too. When food intake drops, so does the sodium, potassium, and magnesium that normally ride along with it.

On top of that, the most common GLP-1 side effects are gastrointestinal: nausea, vomiting, and diarrhea, especially after a dose increase. Each of those actively strips fluid and electrolytes. So the risk on a GLP-1 isn’t primarily insulin-driven salt-wasting — it’s simply eating and drinking too little, sometimes while losing extra through the gut. The practical fix is steady, deliberate intake even when you don’t feel hungry or thirsty. (For the broader picture on managing nausea and other symptoms, see our GLP-1 side-effect survival guide.)

Target ranges

These are general, non-diagnostic ranges for otherwise healthy adults. Read the safety section below first — they are not for everyone.

Electrolyte / fluid Fasting or keto On a GLP-1 Common form
Sodium ~3,000–5,000 mg/day (≈1.3–2.2 tsp salt) ~2,300–3,500 mg/day, kept steady Table salt, broth, electrolyte mix
Potassium ~3,000–4,700 mg/day ~3,000–4,700 mg/day Food first; supplements are limited by law
Magnesium ~300–400 mg/day ~300–400 mg/day Glycinate or citrate
Fluid ~30–35 mL per kg body weight ~30–35 mL per kg, sipped deliberately Water, plus sodium-containing fluids

A quick translation, since sodium is the number that trips people up: 1 teaspoon of table salt contains roughly 2,300 mg of sodium (salt is about 40% sodium by weight). So a fasting-day target of ~4,000 mg of sodium is a little under two teaspoons of salt spread across the day — often taken as broth or a pinch in water rather than eaten. That will look alarmingly high next to standard public-health advice to limit sodium, and that tension is real: the usual advice assumes you’re eating normally and insulin is doing its salt-retaining job. During a fast or strict keto, that assumption doesn’t hold.

For fluid, the ~30–35 mL/kg baseline means a 70 kg (154 lb) person is aiming for roughly 2.1–2.5 liters per day — more in heat or with exercise. On an extended fast, timing your intake around your window matters too; a simple fasting timer helps you stay consistent rather than lurching between “forgot to drink” and “chugged a liter at once,” which just gets urinated straight back out.

Potassium and magnesium, briefly

Sodium gets the attention, but potassium and magnesium deficits produce some of the nastiest fasting-flu symptoms — muscle cramps, twitches, palpitations, and poor sleep are classically low-magnesium complaints. Potassium is best pursued through food (avocado, leafy greens, salmon) because over-the-counter potassium supplements are legally capped at small doses precisely because high-dose potassium is dangerous. Magnesium glycinate and citrate are the commonly used, well-tolerated supplement forms; citrate has the side benefit of easing the constipation that both keto and GLP-1s tend to cause.

The safety caveat you must not skip

These ranges assume healthy kidneys and heart. They are actively dangerous for some people. If you have kidney disease, heart failure, or take blood-pressure medication, a diuretic (“water pill”), or a potassium-sparing drug (such as spironolactone, an ACE inhibitor, or an ARB), do not follow generic electrolyte targets. Potassium is the most serious offender: damaged kidneys or potassium-sparing medication can let blood potassium climb to a level that disrupts heart rhythm, and over-supplementing it is a genuine medical emergency risk. Aggressive sodium loading is likewise the wrong move for anyone managing hypertension or fluid retention.

In those situations the right target isn’t a number from an article — it’s the one your clinician sets for you. Talk to them before loading electrolytes, and treat any chest pain, severe palpitations, confusion, or fainting as a reason to stop and seek care immediately.

The takeaway

Fasting and keto make your body throw away sodium and water; GLP-1s quietly cut how much you take in. Both leave the same gap, and closing it is what separates a rough first week from a smooth one. Get sodium up (within your personal limits), keep potassium and magnesium topped from food and sensible supplements, and drink to a real target rather than to thirst — thirst lags behind the deficit. Plug your weight and situation into the Electrolyte & Hydration Calculator to turn these ranges into your own daily numbers, and if any medical condition or medication above applies to you, make that clinician conversation the first step, not the last.

If you’re weighing whether electrolyte products are worth it for exercise rather than fasting, that’s a different question with a different answer — see Electrolytes and Recovery: Sorting Marketing From Need.

Sources

References

  1. NIH Office of Dietary Supplements — Sodium Fact Sheet
  2. NIH Office of Dietary Supplements — Potassium Fact Sheet
  3. NIH Office of Dietary Supplements — Magnesium Fact Sheet

Stay current

Get evidence-based briefings in your inbox.