Electrolytes on keto: the complete guide
June 11, 2026 · 4 min read
The keto flu — the fatigue, headaches, cramping, and lightheadedness some people feel in the first one to two weeks — is largely driven by electrolyte and fluid shifts. The keto flu guide covers the symptoms; this guide covers the mechanism and the practical fix.
The keto-adaptation research cites a 2023 controlled-feeding study (Belany et al., J Clin Endocrinol Metab) that found aldosterone rose 88–144% in participants on a ketogenic diet — the body's sodium-compensating mechanism activating in response to increased urinary sodium excretion. This is the established pathway behind why electrolytes matter on keto.
Why keto depletes electrolytes
When carbohydrate intake drops, insulin levels fall. Lower insulin is established renal physiology: the kidney's response includes increasing sodium excretion. As sodium is lost in urine, potassium and magnesium tend to follow through related hormonal and renal pathways. The body attempts to compensate (hence the aldosterone rise), but the adaptation is imperfect in the first weeks, which is why symptoms appear.
This is established renal physiology, not speculative. The keto-specific magnitude and timeline varies between people.
The three electrolytes
Sodium is the primary loss and the most important to address. Standard keto guidance commonly recommends 3–5 grams of sodium a day (equivalent to roughly 7–12 grams of table salt), significantly more than a standard diet — though appropriate intake varies by individual, activity level, and heat exposure. The easiest sources: salt food generously, drink broth, use sodium-containing electrolyte drinks without added sugar.
Potassium is harder to supplement safely — high-dose potassium supplements carry real risks and should be used only under medical guidance. Food sources are the practical approach: avocado (roughly 700mg per medium avocado), salmon, spinach, and mushrooms are among the highest-potassium keto-friendly foods. Getting 2,000–3,000mg a day from food is achievable on a well-constructed keto diet.
Magnesium is depleted alongside sodium and commonly low in Western diets regardless of keto. Magnesium glycinate or magnesium citrate (200–400mg before bed) is widely used by keto practitioners with minimal gastrointestinal effects. Magnesium oxide is poorly absorbed and commonly causes digestive issues; it's worth avoiding.
When symptoms are worst
Electrolyte symptoms typically peak in days two through four of strict restriction, when glycogen depletion is complete and the new excretion rate hasn't been fully compensated by dietary intake. Most people find symptoms resolve within one to two weeks if they're replacing electrolytes; some find they need to continue ongoing supplementation, particularly sodium, for as long as they're on keto.
What not to do
Drinking large amounts of plain water without replacing electrolytes can worsen symptoms by diluting sodium further — a condition called hyponatremia in extreme cases, though this requires unusually high fluid intake. Drinking to thirst with adequate sodium intake is a more reliable approach than aggressive hydration.
Don't stop keto because of week-one symptoms. The electrolyte fix resolves them in most people within a few days.
Frequently asked
Do I need an electrolyte supplement on keto? Not necessarily. Many people meet their electrolyte needs through food — salting generously, eating avocado, salmon, and leafy greens, and drinking broth. Supplements are useful if symptoms persist despite dietary adjustments, or for people who sweat heavily through exercise. This is general information; talk to your doctor before supplementing if you manage blood pressure, kidney conditions, or take diuretics.
Which electrolyte drink is best for keto? Any that contains sodium without added sugar. Common options are LMNT, Liquid IV (look for the low-sugar version), or plain broth. Check labels — many popular electrolyte drinks are sweetened and carry 20–30g carbs per serving.
How long do I need to supplement electrolytes? Sodium needs tend to be ongoing as long as you're on keto, because lower insulin means continued higher renal excretion. Magnesium and potassium often normalize once the adaptation phase passes and dietary intake is adequate.
Copper Keto Companion logs meals as you speak them and shows your running net-carb and macro totals, so you can keep food-based electrolyte sources — avocado, salmon, salted broth — visible in your daily log.