May interact with: ACE inhibitors, ARBs and potassium-sparing diuretics — these reduce urinary potassium excretion, so added potassium can push blood potassium too high, Blood-pressure and diabetes medications — carbohydrate restriction lowers both blood pressure and blood glucose, so dose changes are a prescriber's decision, not a self-service one, SGLT2 inhibitors — combining them with a ketogenic diet carries a risk of ketoacidosis, Certain antibiotics (quinolones, tetracyclines) and bisphosphonates — separate magnesium doses by at least two hours. If you take any of these, talk to your doctor or pharmacist before adding this supplement.
Extra caution: Kidney disease — impaired clearance of potassium and magnesium; the potassium Adequate Intake does not apply, and high-sodium or supplemental-potassium guidance needs medical supervision; High blood pressure or heart failure — keto sodium targets sit well above general population guidance; that trade-off is a clinician's call; Pregnancy, a history of disordered eating, and rare fat-metabolism disorders — ketogenic diets are contraindicated or require supervision.
This is educational information, not medical advice.
Cutting carbohydrate really does make you shed sodium and water — settled physiology, and the reason week one of keto feels like flu. What isn't settled is the number. Nearly every keto page quotes 3,000–5,000 mg of sodium a day as though it were a dietary reference value. It isn't. It is clinical practice guidance built on a mechanism, and the 2025 scoping review that went looking for the trials behind it concluded that quantified recommendations for salt supplementation during keto induction "do not appear to exist."1 Here's what each mineral actually needs, where the famous figures come from, and the magnesium limit most keto guides break without noticing.
Key takeaways
- Insulin normally tells the kidney to hold on to sodium. Cut carbohydrate, insulin falls, and you excrete sodium and the water behind it — the "whoosh" of early keto weight.
- The 3,000–5,000 mg sodium figure is practitioner guidance, not a trial result. It's more than double the 2,300 mg population ceiling, and no study has tested that range on keto.
- The 4,700 mg potassium figure on keto sites is the food-label Daily Value, not the Adequate Intake — which is 3,400 mg for men, 2,600 mg for women. Get it from food; potassium is the one to be careful with.
- "Take 300–500 mg of magnesium" crosses a real limit. The upper limit for supplemental magnesium is 350 mg a day. The RDA of 310–420 mg is a total from all sources.
- It fades. The extra sodium and potassium losses subside after about two weeks — the aggressive numbers describe the adaptation window, not a permanent keto tax.
Why keto makes you lose electrolytes
Two things happen when you cut carbohydrate, and only one of them is the one people talk about.
The first is glycogen. Liver glycogen is close to depleted after 24 hours on a low-carbohydrate diet, and muscle glycogen falls about 20% in the first week.1 Glycogen is stored with water, so the water goes with it.
The second actually drives the scale, and it is a kidney story. Insulin increases sodium reabsorption in the kidney.1 The landmark demonstration infused insulin into six healthy people while holding blood glucose steady: urinary sodium excretion fell by roughly half, from 401 to 213 μEq/min, with no change in glomerular filtration rate — direct tubular reabsorption.2 Run that in reverse. Carbohydrate drops, insulin drops, the brake comes off, and the kidney lets sodium go, with water following and some potassium behind that. The same review notes early keto weight loss is predominantly water lost to this natriuresis, not glycogen alone1 — the physiology described in fasting half a century ago as "the natriuresis of fasting." For what these minerals do outside the keto context, start at our electrolytes hub.
"Keto flu": what the evidence actually says
Limited evidenceThe symptom cluster is real and well described. Across 89 studies, the scoping review put adult occurrence rates at 8–25% for headache, 18–25% for fatigue, 15–21% for dizziness, 8–16% for nausea and 3–37% for muscle cramps, with symptoms typically appearing within 2–3 days and mostly resolving inside 2–4 weeks.1 The best-known "keto flu" paper is descriptive in a different way: it analysed 448 posts across 43 online forums, where the 101 users describing their own experience reported headache (24.8%), fatigue (17.8%), nausea (15.8%), dizziness (14.9%) and brain fog (10.9%).6 A useful record of what people report — not a trial, and its authors say so.
Here is the gap nobody names. The natriuresis is well documented. The symptoms are well documented. Nothing has connected the two, and nothing has shown that taking electrolytes resolves them — in the review's phrasing, "no studies have tied these states directly to symptoms of keto-induction."1
Hold that alongside the fact that an abrupt calorie drop, a caffeine change and plain dehydration produce the same symptom list, and all usually happen in week one too. So a C is the honest grade: strong mechanism, no trial evidence. Salt is cheap enough that trying it is sensible; "electrolytes fix keto flu" is a claim nobody has earned.
Sodium on keto: where the 3,000–5,000 mg figure comes from
It comes from low-carbohydrate clinical practice. The peer-reviewed version, documented in the scoping review, is Volek and Phinney's advice to drink 1–2 cups of broth or bouillon a day while low-carb — which the review notes provides 1–2 grams of extra sodium on top of what you already eat, enough to blunt the weakness, fatigue and light-headedness of hypovolaemia.1 Average US sodium intake is about 3,400 mg a day.7 Add 1–2 g and you land at 4,400–5,400 mg — which is where the round "3,000–5,000 mg" keto target comes from. It is an increment, restated as a total.
That reframing matters, because the increment is defensible and the total looks alarming next to population guidance:
- The Adequate Intake for sodium in adults is 1,500 mg/day.3
- The Chronic Disease Risk Reduction intake advises adults to reduce intakes if above 2,300 mg/day — about one teaspoon of table salt.37
- The keto figure is therefore more than double the level at which national guidance asks people to cut back, and no randomised trial has tested it.1
Whether that matters for a healthy person is genuinely contested, and the disagreement is really about study design. DASH-Sodium randomised 412 people through 30 days at each of three sodium levels under controlled feeding: high to intermediate lowered systolic blood pressure 2.1 mmHg, intermediate to low a further 4.6 mmHg.10 PURE followed 101,945 people in 17 countries, estimated sodium from a single morning urine sample, and found the lowest rate of death and cardiovascular events between 3 and 6 g/day.11 One randomises the exposure and measures blood pressure over a month; the other observes populations, infers intake from a spot urine, and counts events over 3.7 years. Different questions — and we won't pretend one settles the other.
This page gives you no sodium target. Deliberately eating at double the population ceiling is a decision that turns on your blood pressure, your kidney function and your medications — including diuretics, which move sodium and potassium in opposite directions. Take this one to your clinician before you take it to a salt shaker.
For everyone else, the practical version is cheap: salt your food, and drink a cup of broth or bouillon if week one feels rough. Sodium is the least expensive nutrient on earth. Nothing in this section requires a purchase.
Potassium on keto: the one to be careful with
Start with the number. The Adequate Intake for potassium, updated by a NASEM committee in 2019, is 3,400 mg/day for men and 2,600 mg/day for women.34 The 4,700 mg quoted across keto sites is the Daily Value used on Nutrition Facts labels, not the intake recommendation.4 Different instruments, different jobs — and quoting the label figure inflates the target by about 40%.
Keto does make potassium harder, because the foods carrying most dietary potassium are the ones the diet removes: a baked potato holds about 610 mg, a cup of cooked lentils 731 mg, a banana 422 mg.4 The keto-compatible replacements are real but smaller — two cups of raw spinach at 334 mg, three ounces of Atlantic salmon at 326 mg, an ounce of cashews at 187 mg.4 The clinical guidance routes potassium through food too: roughly 4 g/day, "mainly through bone broth or vegetables like avocados, nuts and seeds."1 Food-first is not our hedge. It is what the practitioners actually said.
There is no Tolerable Upper Intake Level for potassium, which is easy to misread as a safety clearance. It isn't: the committee found case reports that very large supplement doses can cause heart abnormalities and death, but judged them insufficient to set a UL.4
US supplement makers generally cap potassium at 99 mg per serving, because the FDA ruled that certain oral potassium chloride drugs delivering more than that are unsafe — they were associated with small-bowel lesions.4 ACE inhibitors, ARBs and potassium-sparing diuretics all reduce urinary potassium excretion and can cause hyperkalemia.4 And with impaired excretion from chronic kidney disease or medication, even intakes below the Adequate Intake can cause hyperkalemia.4 We give no supplemental potassium dose on this page. If you think you need one, that is a conversation with a clinician who can check your bloods.
Magnesium on keto — and the upper limit most keto guides miss
This is the factual error copied across the whole category.
The RDA for magnesium is 310–420 mg a day, counting food and supplements together.5 Separately, the Tolerable Upper Intake Level for supplemental magnesium is 350 mg for adults — pills and magnesium-containing medications only, not the magnesium in food.5 So when a keto page prints "take 300–500 mg of magnesium daily" as a supplement target, the top of that range sits above the supplemental ceiling. Plenty of them do exactly that.
That ceiling is not a toxicity line. It is set where supplemental magnesium reliably causes diarrhoea, nausea and abdominal cramping.5 Which is exactly why it matters more here than anywhere else: your gut is already renegotiating fibre, fat and fluid in week one.
The honest version: aim for the RDA in total, keep the supplemental share at or under 350 mg of elemental magnesium, split it in two, and let loose stools be your ceiling signal. The word doing the work is elemental — a "400 mg magnesium glycinate" capsule contains about 56 mg of magnesium, because glycinate is roughly 14% magnesium by weight. Our guide to how much magnesium per day works that math out form by form.
Form matters on keto specifically. Citrate is osmotically active by design — useful for constipation, unhelpful when your digestion is already unsettled; glycinate is the gentlest common form. The form-by-form breakdown grades all of them, and the glycinate vs. citrate comparison settles the everyday choice.
We may earn a commission if you buy through this link, at no extra cost to you. It doesn't change the guidance above — 350 mg of supplemental elemental magnesium is the ceiling whatever brand you choose.
Magnesium is the one keto shortfall where a supplement is genuinely the sensible route rather than a convenience, which is why it is the only product recommendation on this page. The magnesium hub grades what the mineral is and isn't good for.
How long do you actually need to do this?
The section nobody writes, and the most useful one.
The losses are front-loaded. The increased natriuresis and kaliuresis of keto induction subside after about 14 days, the same pattern seen in fasting.1 Symptoms follow the same curve: onset within 2–3 days, most resolved within 2–4 weeks.1 Exercise capacity takes longer — impairment appears to last 3–4 weeks before most adults return to normal.1
So the aggressive sodium numbers describe an adaptation window, not a permanent requirement. Expect to need less salt at month three than in week one. It varies between people and moves with heat, sweat and training load — but writing 5,000 mg/day as a lifelong keto tax, which is what the category does, isn't supported by the physiology it cites.
One caution: liberal fluid intake is widely recommended during keto induction, and the review flags that no experimental evidence supports it.1 Drinking a great deal of plain water while your kidneys are actively dumping sodium is the one way to make week one measurably worse.12 Salt first, then drink to thirst.
Do you need a keto electrolyte powder?
Three minerals, three different answers.
Sodium: no. Salt is free, broth works, and the increment the clinical guidance calls for is 1–2 g a day on top of normal eating.1 A powder is a delivery mechanism for something already in your kitchen.
Potassium: no, and this is where a supplement carries real risk — the 99 mg cap and the medication interactions above are the reason.4 Food is the route the practitioners themselves recommend.1
Magnesium: reasonably, yes. A common shortfall, a well-understood supplemental route, a ceiling clearly marked at 350 mg.5
If you still want a powder — for convenience, or because a fixed dose helps you stay consistent — the sugar-free formulations are the relevant category, since a sugary hydration mix defeats the point of the diet. Our broader look at whether electrolyte supplements are worth it covers that decision for everyone, not just keto dieters.
Who shouldn't be running this experiment
Everything above assumes a healthy adult choosing a diet. Two things it doesn't cover.
Ketogenic diets have a real clinical history — drug-resistant epilepsy is the one guideline-supported indication, everything else remains investigational — and a real contraindication list.8 Rare fat-oxidation disorders and porphyria are absolute; acute pancreatitis, acute liver failure and advanced chronic kidney disease (stages G3b–G5) are relative.9 Pregnancy and a history of disordered eating are also reasons not to start unsupervised.8
Medication changes the picture entirely. Carbohydrate restriction lowers blood pressure and blood glucose enough that antihypertensive and glucose-lowering doses often need adjusting by the prescriber, and combining a ketogenic diet with an SGLT2 inhibitor carries a ketoacidosis risk.9 The supervised version of this diet monitors sodium, potassium, magnesium and bicarbonate8 — it measures what this article can only estimate. None of this is medical advice.
The bottom line
Carbohydrate restriction genuinely makes you dump sodium and water, and most of the fix is a salt shaker. The 3,000–5,000 mg figure quoted everywhere is clinical practice guidance built on a real mechanism, not a trial result, and it's more than double the 2,300 mg level national guidance asks adults to stay under — so if you have high blood pressure, kidney disease or heart failure, that's a clinician's call and this page gives you no number. Get potassium from food. Keep supplemental magnesium at or under 350 mg elemental. And expect to need less of all of it after the first couple of weeks.
Frequently asked questions
Do you need electrolytes on keto?
You need more sodium than usual, at least early on, because falling insulin makes the kidneys shed sodium and the water that follows it.2 Most of that is covered by salting your food, not by buying a powder.
How much sodium do you need on keto?
Keto sources commonly say 3,000–5,000 mg a day. That's clinical practice guidance built on the mechanism rather than a trial result,1 and it's more than double the 2,300 mg level at which national guidance asks adults to cut back3 — a reason to be careful if you have high blood pressure, kidney disease or heart failure.
What is keto flu and how long does it last?
A cluster of self-reported symptoms — headache, fatigue, brain fog, nausea, dizziness — usually starting within 2–3 days of cutting carbohydrate and mostly resolving within 2–4 weeks.1 Much of the evidence base is people's own accounts rather than clinical trials.6
How much magnesium should you take on keto?
Aim for the RDA of 310–420 mg from all sources, and keep supplemental magnesium at or under 350 mg of elemental magnesium a day — that's the tolerable upper intake level for supplements, set because higher supplemental doses cause diarrhoea.5
How do you get potassium on keto?
From food: leafy greens, salmon, avocado, mushrooms, nuts and seeds. Two cups of raw spinach carry about 334 mg and three ounces of salmon about 326 mg.4 Potassium supplements are the one place to be cautious, especially with kidney problems or blood-pressure medication.4
Why do you lose so much water at the start of keto?
Glycogen is stored with water, and liver glycogen is nearly depleted within a day of carbohydrate restriction.1 The larger driver is that falling insulin releases the kidney's brake on sodium excretion, and water follows the sodium out.2
Do electrolytes fix keto flu?
The mechanism makes it plausible and many people report it helps, but no study has tied the electrolyte losses directly to the symptoms, and quantified salt-supplementation recommendations for keto don't exist in the literature.1 Treat it as a reasonable, cheap thing to try — not a proven fix.
References
- Skartun O, Smith CR, Laupsa-Borge J, Dankel SN. Symptoms during initiation of a ketogenic diet: a scoping review of occurrence rates, mechanisms and relief strategies. Front Nutr. 2025;12:1538266. (89 studies; adult occurrence rates for headache 8–25%, fatigue 18–25%, dizziness 15–21%, nausea 8–16%, muscle cramps 3–37%; onset 2–3 days, resolution 2–4 weeks; exercise impairment 3–4 weeks; natriuresis and kaliuresis subside after 14 days; Volek and Phinney's 1–2 cups broth/bouillon providing 1–2 g extra sodium and ~4 g/day potassium mainly from food; "concrete studies and resulting quantified recommendations for salt supplementation during the KD initiation period do not appear to exist"; "no studies have tied these states directly to symptoms of keto-induction"; no experimental evidence for liberal fluid intake.) pmc.ncbi.nlm.nih.gov
- DeFronzo RA, Cooke CR, Andres R, Faloona GR, Davis PJ. The effect of insulin on renal handling of sodium, potassium, calcium, and phosphate in man. J Clin Invest. 1975;55(4):845–855. (Six healthy subjects, euglycemic insulin infusion; urinary sodium fell from 401 ± 46 to 213 ± 18 μEq/min, P < 0.02, with no change in glomerular filtration rate or renal blood flow — direct distal tubular reabsorption.) pmc.ncbi.nlm.nih.gov
- National Academies of Sciences, Engineering, and Medicine. Dietary Reference Intakes for Sodium and Potassium — Appendix J, DRI Summary Tables. Washington DC: National Academies Press; 2019. (Sodium AI 1,500 mg/day for adults 19+; Chronic Disease Risk Reduction Intake: adults ≥19 y "reduce intakes if above 2,300 mg/day"; potassium AI 3,400 mg men / 2,600 mg women; magnesium RDA 310–420 mg; magnesium UL 350 mg from pharmacological agents only; no UL set for sodium or potassium.) ncbi.nlm.nih.gov
- Office of Dietary Supplements, National Institutes of Health. Potassium — Fact Sheet for Health Professionals. (2019 NASEM update: AI 3,400 mg men / 2,600 mg women; no UL, because case reports of heart abnormalities and death from very large supplement doses were judged insufficient to set one; DV on labels is 4,700 mg; supplements generally limited to 99 mg per serving after the FDA ruled higher-dose oral potassium chloride drugs unsafe due to small-bowel lesions; ACE inhibitors, ARBs and potassium-sparing diuretics reduce urinary potassium excretion and can cause hyperkalemia; with impaired excretion, even intakes below the AI can cause hyperkalemia; food sources — potato 610 mg, lentils 731 mg, banana 422 mg, raw spinach 334 mg per 2 cups, Atlantic salmon 326 mg per 3 oz, cashews 187 mg per oz.) ods.od.nih.gov
- Office of Dietary Supplements, National Institutes of Health. Magnesium — Fact Sheet for Health Professionals. (RDA 310–420 mg/day from all sources; "The Tolerable Upper Intake Level for supplemental magnesium is 350 mg for adults"; high supplemental doses cause diarrhea, nausea and abdominal cramping; the laxative effect is osmotic.) ods.od.nih.gov
- Bostock ECS, Kirkby KC, Taylor BV, Hawrelak JA. Consumer reports of "keto flu" associated with the ketogenic diet. Front Nutr. 2020;7:20. (Descriptive analysis of 448 posts from 300 users across 43 online forums; among 101 users describing personal experience, headache 24.8%, fatigue 17.8%, nausea 15.8%, dizziness 14.9%, brain fog 10.9%; symptom reports peaked in the first weeks and dwindled after four; authors note selection bias, no objective confirmation of ketosis, and no validated adherence measure.) pmc.ncbi.nlm.nih.gov
- US Food and Drug Administration. Sodium in Your Diet: Use the Nutrition Facts Label and Reduce Your Intake. (Daily Value less than 2,300 mg/day, about one teaspoon of table salt; Americans average about 3,400 mg/day; over 70% of dietary sodium comes from packaged and prepared foods.) fda.gov
- Daley SF, Masood W, Annamaraju P, Khan Suheb MZ. The Ketogenic Diet: Clinical Applications, Evidence-based Indications, and Implementation. StatPearls. Treasure Island (FL): StatPearls Publishing; updated 13 December 2025. (Drug-resistant epilepsy is the guideline-supported clinical indication; other applications remain investigational; short-term adverse effects during adaptation resolve within days to weeks; periodic monitoring of sodium, potassium, magnesium and bicarbonate; contraindications include fat-metabolism disorders, pancreatitis, liver failure, pregnancy and a history of eating disorders; SGLT2 inhibitor users should avoid the diet due to euglycemic ketoacidosis risk.) ncbi.nlm.nih.gov
- Dyńka D, Rodzeń Ł, Rodzeń M, Łojko D. The ketogenic diet is not for everyone: contraindications, side effects, and drug interactions. Ann Med. 2026;58:2603016. (Absolute contraindications include several fat-oxidation disorders and porphyria; relative contraindications include acute pancreatitis, acute liver failure and advanced chronic kidney disease stages G3b–G5; antihypertensive and glucose-lowering drug doses may need clinician adjustment; SGLT2 inhibitors carry ketoacidosis risk with a ketogenic diet; sodium, potassium and magnesium losses increase during adaptation.) pmc.ncbi.nlm.nih.gov
- Sacks FM, Svetkey LP, Vollmer WM, et al. Effects on blood pressure of reduced dietary sodium and the Dietary Approaches to Stop Hypertension (DASH) diet. N Engl J Med. 2001;344(1):3–10. (412 participants, controlled feeding, 30 days at each of three sodium levels; high to intermediate lowered systolic blood pressure 2.1 mmHg on the control diet, intermediate to low a further 4.6 mmHg.) pubmed.ncbi.nlm.nih.gov
- O'Donnell M, Mente A, Rangarajan S, et al. Urinary sodium and potassium excretion, mortality, and cardiovascular events (PURE). N Engl J Med. 2014;371(7):612–623. (101,945 people in 17 countries; 24-hour sodium estimated from a single morning fasting urine; mean follow-up 3.7 years; lowest composite risk of death and major cardiovascular events at an estimated 3–6 g sodium/day, with higher risk at ≥7 g/day and <3 g/day.) pubmed.ncbi.nlm.nih.gov
- Rout P, Afzal M. Hyponatremia. StatPearls. Treasure Island (FL): StatPearls Publishing; updated 19 June 2026. (Excess water intake relative to solute and sodium losses is a mechanism of dilutional hyponatremia.) ncbi.nlm.nih.gov