- Published on
Electrolytes on a Ketogenic Diet: Requirements, Sources, and How to Supplement
- Authors

- Name
- Metabolic Boost Diets Editorial Team
Electrolyte management is the one area of keto supplementation with a clear physiological basis and straightforward evidence. Understanding why electrolytes are lost on a ketogenic diet, how much is needed, and what form is most effective prevents keto flu and supports optimal function during adaptation and ongoing ketosis.
Why Electrolytes Are Depleted on a Ketogenic Diet
Two distinct mechanisms drive electrolyte loss at the start of a ketogenic diet:
Mechanism 1: Glycogen Depletion and Water Release
At carbohydrate intake below ~50g/day, the body depletes liver and muscle glycogen within 24–72 hours. Glycogen is stored with approximately 3g of water per gram of glycogen. With approximately 400–500g of total glycogen stored in liver (~100g) and muscle (~300–400g), depletion releases approximately 1.2–1.5 kg of water.
This water carries dissolved electrolytes — particularly sodium and potassium — out of the body through increased urine output.
Mechanism 2: Reduced Insulin and Renal Sodium Excretion
Low carbohydrate intake substantially reduces circulating insulin. Insulin acts on the distal nephron of the kidney (via aldosterone-like mechanism) to promote sodium and water reabsorption. As insulin falls:
- The kidney excretes more sodium
- Water follows sodium (osmotic effect)
- Additional fluid and electrolyte losses occur beyond the glycogen-associated water
Combined effect: 1.5–3 kg water loss in the first week, carrying with it significant sodium, potassium, and magnesium losses. This is the physiological basis for keto flu symptoms (days 3–7): headache, fatigue, muscle cramps, brain fog, dizziness.
The Three Key Electrolytes: Requirements and Sources
Sodium
Why higher intake is needed on keto: Standard UK dietary sodium recommendations (<2.4g/day elemental sodium = <6g salt) apply to people with normal insulin levels and normal renal sodium handling. On a ketogenic diet, the insulin-driven renal sodium retention mechanism is reduced — sodium is excreted more readily. Higher intake is required to compensate.
Keto-adapted sodium target: 3,000–5,000 mg elemental sodium/day (7.5–12.5g salt/day) during the adaptation phase. This can reduce once fully adapted (typically 4–6 weeks), as the kidney partially compensates.
Note: This recommendation is reversed from standard cardiovascular advice and applies specifically to the ketogenic diet context. People with hypertension on antihypertensive medications — particularly ACE inhibitors, ARBs, or diuretics — should not increase sodium intake without discussing with their GP, as these medications already affect renal sodium handling.
Food sources:
- Table salt: 390 mg sodium/g (1 teaspoon = ~2,300 mg sodium)
- Bone broth/stock (homemade): ~800–1,200 mg/250ml
- Pickles, olives: ~400–700 mg per 50g serving
- Smoked fish, cured meats: variable, typically 500–1,000+ mg/100g
Supplement form: Sodium chloride (table salt, sea salt, Himalayan salt — all equivalent in sodium content despite marketing). Electrolyte powders and tablets providing sodium are convenient for people who struggle to increase dietary salt.
Potassium
UK RNI: 3,500 mg/day (SACN). Most UK adults consume approximately 3,000–3,200 mg/day — already slightly below recommendation.
On keto: Potassium is lost alongside sodium in the initial electrolyte depletion. Muscle cramps (a classic keto flu symptom) are partly caused by potassium insufficiency.
MHRA supplement restriction: UK potassium supplements are limited to 99–200 mg per tablet by regulation — to prevent accidental hyperkalaemia (dangerously high potassium), which can cause cardiac arrhythmia. This means potassium supplementation via tablets provides a small fraction of daily needs. Food sources are the primary route for potassium on keto.
Keto-compatible potassium-rich foods:
| Food | Potassium (mg) | Net carbs (g) |
|---|---|---|
| Avocado (100g) | 485 | 1.8 |
| Salmon (100g) | 490 | 0 |
| Spinach, cooked (100g) | 558 | 1.4 |
| Kale, cooked (100g) | 491 | 3.5 |
| Mushrooms (100g) | 318 | 1.1 |
| Beef (100g, lean) | 355 | 0 |
| Pumpkin seeds (30g) | 226 | 2.5 |
Target on keto: Aim for 3,000–4,000 mg/day from food; low-dose supplements (200 mg) can supplement but not replace dietary sources.
Magnesium
Why keto increases magnesium needs: Magnesium is a cofactor in over 300 enzymatic reactions, including ATP synthesis, muscle contraction, and nerve transmission. Magnesium is lost in urine alongside the keto-associated fluid losses. UK adults already average approximately 250 mg/day — below the RNI of 270–300 mg/day (NDNS data).
Deficiency symptoms on keto: Muscle cramps, sleep disturbance, fatigue, constipation, and cardiac palpitations can all reflect magnesium insufficiency.
Supplementation recommendation: 200–400 mg/day elemental magnesium during keto adaptation; maintain at 200 mg/day ongoing if dietary intake is insufficient.
Form matters significantly:
| Magnesium form | Absorption | GI tolerability | Notes |
|---|---|---|---|
| Magnesium glycinate | Good | Excellent | Best tolerated; preferred for ongoing use |
| Magnesium malate | Good | Good | Also well-tolerated; good for muscle function |
| Magnesium citrate | Good | Moderate | Looser stools at higher doses; useful for constipation |
| Magnesium oxide | Poor | Poor | Most common in cheap supplements; ~4% absorption; least recommended |
| Magnesium chloride | Good | Moderate | Available as liquid or flakes for topical/bath use (transdermal absorption is minor) |
Keto-compatible food sources: Pumpkin seeds (30g: ~160 mg), dark chocolate 85%+ (30g: ~65 mg), almonds (30g: ~80 mg), spinach (100g cooked: ~87 mg), avocado (100g: ~29 mg).
Electrolyte Supplement Products: What to Look For
Powder or capsule form: Both work. Powders are more flexible for dose adjustment; capsules are more convenient.
What to look for in a keto electrolyte supplement:
- Contains all three primary electrolytes: sodium, potassium, and magnesium
- Magnesium in glycinate, malate, or citrate form (not oxide)
- No added sugar or maltodextrin (will impair ketosis)
- Total carbohydrate per serving: ≤1g
- Sweetened with stevia or erythritol if sweetened
- Discloses exact amounts of each electrolyte (not a "proprietary blend")
UK-available options: LMNT, Precision Hydration, ZipFizz, Science in Sport Hydration Tabs (check ingredients for carbohydrate content). Many basic pharmacy electrolyte products (Dioralyte) contain significant glucose — not suitable for ketosis maintenance.
Bone broth as a natural electrolyte drink: Homemade bone broth provides sodium (~900 mg/250ml), some potassium and magnesium, and is naturally keto-compatible. Commercial bone broth quality varies significantly.
Keto Flu Prevention Protocol
| Day/Phase | Priority electrolyte actions |
|---|---|
| Days 1–3 (pre-ketosis) | Increase sodium immediately; begin magnesium supplement |
| Days 3–7 (peak adaptation) | Sodium 3,000–5,000 mg; potassium from food (avocado, leafy greens, salmon daily); magnesium 200–400 mg/day |
| Weeks 2–6 (adaptation) | Maintain sodium above standard recommendations; taper to 2,500–3,000 mg once fluid balance stabilises |
| Ongoing | Sodium: adjust to thirst and activity; potassium: food-first; magnesium: 200 mg/day supplement if not hitting food targets |
Hydration: Drink to thirst — not to a fixed volume. On keto, thirst signals are generally reliable; overhydration (drinking beyond thirst) causes additional electrolyte dilution and excretion.
When to Seek Medical Advice
Electrolyte disturbances can be clinically significant in some circumstances. Seek GP advice before significantly increasing electrolyte intake if:
- You take diuretic medications (thiazides, furosemide, spironolactone) — these already affect electrolyte balance
- You take ACE inhibitors or ARBs (which affect renal sodium and potassium handling)
- You have kidney disease (which reduces electrolyte excretion capacity)
- You have heart failure or liver cirrhosis (fluid regulation is impaired)
Disclaimer: This article is for informational and educational purposes only. People with kidney disease, cardiovascular disease, or those taking medications affecting blood pressure or fluid balance should consult their GP before starting a ketogenic diet or significantly changing electrolyte intake.