Most of the unpleasant stuff people blame on intermittent fasting isn't actually caused by fasting. It's caused by a quiet electrolyte shortage that fasting exposes. Headaches, light-headedness when you stand up, that 4 PM "I feel like I just got off a long-haul flight" fatigue, the muscle cramps at 2 AM — nine times out of ten, the fix is a pinch of salt and a glass of water, not abandoning the protocol.
I've been doing this for 25 years. The single biggest pattern I see in people who try 16:8 and quit in week one is that they were under-salted, under-hydrated, and convinced fasting "didn't agree with them." It wasn't the fasting. It was a missed input. Once you understand intermittent fasting and electrolytes — what's leaving your body, why, and how to put it back — the whole experience changes.
Here's the practical playbook: what's happening, what to take, when to take it, and the dirt-cheap homemade mix that handles 95% of what people are reaching for fancy electrolyte powders to fix.
Why Intermittent Fasting Drains Electrolytes in the First Place
When you eat a normal Western diet, you're being constantly resupplied — usually overdosed — on sodium and a few other minerals. Stop eating for 16 to 24 hours, and that drip stops too. That alone wouldn't be a huge deal, except for what fasting also does to your kidneys.
When insulin levels drop during a fast — which is the whole point — your kidneys start excreting sodium more aggressively. This is well-documented and usually called the "natriuretic effect of fasting." Sodium goes out in your urine, water follows, and your blood volume drops just a little. That's why you sometimes feel dizzy when you stand up too fast on day 3 of a longer fast. It's not low blood sugar. It's low sodium.
Add in coffee, which is a mild diuretic, and the typical fasting recommendation to "drink lots of water" — which, ironically, can flush even more minerals out if you're overdoing it without replacing them — and you've got the classic recipe for what people call "keto flu" or "fasting flu." It isn't a flu. It's an electrolyte issue you can fix in about 90 seconds.
The Big Three: Sodium, Potassium, Magnesium
You can ignore most of the periodic table. For intermittent fasting, three minerals carry the weight, and one of them — sodium — does about 70% of the work. Get these right and the rest of the system runs smoothly.
| Electrolyte | What It Does | Symptoms When Low |
|---|---|---|
| Sodium (Na⁺) | Maintains blood volume and pressure. Drives nerve impulses. Keeps you from feeling like a wrung-out sponge. | Headache, dizziness on standing, fatigue, brain fog, "fasting flu," weak workouts. |
| Potassium (K⁺) | Counterpart to sodium. Regulates heart rhythm and muscle contraction. Critical for steady energy. | Muscle cramps, irregular or "thumping" heartbeat, weakness, constipation. |
| Magnesium (Mg²⁺) | Involved in 300+ enzymatic reactions. Supports sleep, muscle relaxation, blood sugar control, and the nervous system. | Calf cramps at night, restless sleep, eyelid twitches, low-grade anxiety, tension headaches. |
Why "Just Drink Water" Is Bad Advice
The most common mistake I see — by a mile — is people chugging plain water all day during the fast and getting more symptomatic, not less. Plain water dilutes the sodium you have left and accelerates how fast your kidneys flush the rest. If you're drinking a gallon of water during a 20-hour fast and feeling worse instead of better, you don't have a hydration problem. You have a salt problem. Add the salt and the gallon starts working for you instead of against you.
Do Electrolytes Break a Fast?
Short answer: no, not the ones that matter. Pure mineral salts — sodium chloride, potassium chloride, magnesium glycinate, magnesium citrate — contain zero calories, do nothing to insulin, and don't trigger any meaningful digestive response. You can take them throughout your fasting window without breaking your fast in any sense that matters: autophagy, fat burning, ketosis, insulin sensitivity. All of it stays intact.
What does break a fast is the sugar, citric acid, "natural flavors," and 5–10 grams of carbs hiding in most commercial electrolyte drinks. Read the label. If it's sweetened — even with stevia or monk fruit, both of which can produce a small insulin response in some people — it's not a fasting drink, it's a recovery drink. Use those after you break your fast, not during it.
The 90-Second Fasting Electrolyte Mix (free, works):
16 oz cold water · 1/4 teaspoon high-quality salt (sea salt, pink Himalayan, or Redmond Real Salt) · squeeze of lemon (optional, for taste, won't break a fast) · 200–400 mg magnesium glycinate at night.
For potassium: a pinch of "lite salt" (which is half potassium chloride) added to the same glass, or get it from food in your feast window — avocado, leafy greens, salmon, potatoes.
Total cost per day: about 4 cents. Total fix: about 95% of fasting symptoms most people complain about.
Intermittent Fasting and Electrolyte Timing: When to Take What
Timing matters more than people think. The same dose of sodium hits very differently at 7 AM than at 7 PM, and getting the order right can mean the difference between a clean, energetic fasting window and white-knuckling it until lunch.
Your Daily Electrolyte Timing on 16:8
Sodium does the heavy lifting during the fast · Potassium comes from real food · Magnesium goes at night
The Morning Salt Hit
The single most useful habit I can give you: first thing in the morning, drink 16 ounces of cold water with a quarter teaspoon of high-quality salt stirred in. Yes, it tastes weird the first time. By day three you'll miss it on the days you skip it. This single move handles morning headaches, the "I can barely think before noon" brain fog, and the dizziness when you stand up out of bed. It's the closest thing to a free upgrade in the entire fasting toolkit.
How Much Sodium Do You Actually Need While Fasting?
The mainstream "low-salt" advice was built around people eating ultra-processed food. If you've moved to mostly whole foods and you're fasting 16+ hours a day, you're in a different category. Most people doing 16:8 do well on roughly 3,000 to 5,000 mg of sodium per day total — ideally weighted toward the fasting window, since that's when you're actively losing it. For reference, a quarter teaspoon of salt is about 575 mg of sodium.
If you're doing longer fasts — 24, 36, or full God Mode 48-hour fasts — your sodium needs go up, not down. I aim for about 1,000 mg of supplemental sodium for every 12 hours of the fast, in divided doses. Some days that means I'm sipping salt water four times. The fasts are smoother, the energy is steadier, and the workouts on day 2 don't feel like dragging a parachute behind me.
If you have high blood pressure, heart issues, kidney disease, or you're on medication that affects electrolyte balance, this advice doesn't apply to you and you should talk to your doctor before adjusting anything. Fasting amplifies the effects of any medication that's already managing fluid balance.
Build the Complete System
The Fast & Feast Ultimate Lifestyle book has the full electrolyte playbook plus the 16:8 and God Mode protocols, feast-day nutrition, and the mental framework that makes it stick — all in one place.
Get the BookPowders, Pills, or Plain Salt: What's Worth Buying?
The intermittent fasting and electrolytes industry has exploded. There are now dozens of brands selling small packets of salt, magnesium, and potassium for $1.50 a serving. Some of them are good. Most of them are marketing.
- Plain salt + magnesium glycinate: The cheapest, cleanest, most effective option. About 5 cents per day. This is what I've used for most of 25 years.
- Commercial fasting electrolyte powders (LMNT, Redmond Re-Lyte, etc.): Convenient and well-formulated. Worth it if you travel a lot or if having a tasty drink is what gets you to actually take your electrolytes. Check the label for added sugar — most of the good ones are clean, but always verify.
- Sports drinks (Gatorade, Powerade): Never during a fast. The sugar content alone breaks the fast and undoes most of the metabolic benefits you fasted to get.
- "Trace mineral" drops: Mostly hype. The mineral concentrations are too low to matter for most people.
Putting It All Together
Twenty-five years in, the electrolyte question is the one I wish someone had pulled me aside and explained on day one. It would have saved me a lot of headaches — literally. Most people don't quit intermittent fasting because the philosophy is wrong or the science is wrong. They quit because they felt like garbage in week one and assumed the protocol was the problem.
It almost never was. The protocol works. What was missing was the supporting input — the small, dirt-cheap, two-minute habit of putting back what your body is releasing. Get sodium right in the morning. Get potassium from real food in your feast window. Take magnesium before bed. That's the entire system. It's not glamorous, it doesn't sell $40 supplements, and it works.
Frequently Asked Questions About Intermittent Fasting and Electrolytes
Do electrolytes break an intermittent fast?
Pure mineral electrolytes — sodium, potassium chloride, magnesium glycinate or citrate — contain no calories and do not break a fast. They don't raise insulin, don't stop autophagy, and don't disrupt fat burning. What does break a fast is sugar, sweeteners, and carbs hiding in many commercial sports drinks, so always read the label.
What is the best electrolyte drink for intermittent fasting?
The simplest option is also the cheapest: 16 oz of water, 1/4 teaspoon of high-quality salt, and an optional squeeze of lemon. For convenience, clean fasting-specific powders like LMNT or Redmond Re-Lyte are good options as long as they contain no added sugar or artificial sweeteners that can spike insulin.
Why do I get headaches when intermittent fasting?
Most fasting headaches are sodium-related, not caffeine-related. As insulin drops, the kidneys excrete sodium more aggressively, lowering blood volume slightly and triggering a tension-style headache. A glass of water with 1/4 teaspoon of salt usually resolves it within 15–20 minutes.
When should I take magnesium during intermittent fasting?
Take magnesium glycinate or magnesium citrate at night, ideally 30–60 minutes before bed. This timing supports sleep quality, helps prevent nighttime calf cramps, and works well with the body's natural circadian wind-down. 200–400 mg is a typical effective dose, but start at the lower end.
Do I need potassium supplements when fasting?
Most people don't need a potassium pill. A small pinch of "lite salt" (potassium chloride) in your water or a potassium-rich feast window — avocado, leafy greens, salmon, potatoes — covers daily needs. Save supplemental potassium for longer fasts (24+ hours) and only at modest doses, since high-dose potassium can be hard on the heart.