Pillar guide · 1358 words · Lab-Verified Data

Keto Flu and Electrolytes: A Data-Backed Guide

What people actually mean by "keto flu"

The keto flu is not influenza. It is the cluster of symptoms — headache, fatigue, lightheadedness, irritability, muscle cramps, poor concentration — that many people feel in the first week of cutting carbohydrates below roughly 50 grams per day. It typically starts on day two to four, peaks before the end of the first week, and fades as the body finishes adapting to burning fat. Most people who quit a ketogenic diet in week one quit because of this, which is unfortunate, because the mainstream explanation of the last decade points at something boring and fixable: electrolytes.

We should be precise about what is established and what is plausible. It is well established that cutting carbohydrates drops insulin, that lower insulin makes the kidneys excrete sodium, and that sodium drags water out with it — this is why the first-week scale drop is largely water. Low sodium plus low body water is a textbook recipe for exactly the symptoms listed above. Magnesium and potassium depletion are plausible contributors — both are heavily supplied in the grains and fruits that keto removes — but they are harder to measure from outside. The safe, honest summary: sodium loss is the proven driver; potassium and magnesium are the usual suspects worth covering anyway. None of this requires any exotic product; it requires food and salt.

Sodium first, because the loss is fastest

Sodium is the electrolyte keto drains first and hardest, and it is the only one where the standard advice ("watch your sodium") inverts on a ketogenic diet. A low-carb eater who also avoids processed food and salty sauces can easily take in under 1,500 mg of sodium a day while losing more than usual through the kidneys. The result is the classic week-one headache that salt fixes.

The practical guidance most experienced keto clinicians give: salt your food deliberately, drink broth, and do not fear the salt shaker during adaptation. For reference, the US FDA Daily Value for sodium is 2,300 mg. As a data point, 100 g of Swiss chard carries 415 mg of sodium naturally (FDC #169343), and 100 g of cheddar cheese carries 653 mg (FDC #173414) — food gets you part of the way, but the shaker usually has to do the rest.

Potassium: the one keto removes with the junk food

The US FDA Daily Value for potassium is 4,700 mg. Standard low-carb warnings about bananas being "too high carb" obscure a simple fact: the best potassium sources in the entire food supply are mostly keto-compatible already. Below is what our USDA-verified database shows, per 100 grams:

Potassium in keto-compatible foods (USDA SR Legacy, per 100 g)
FoodPotassiumNet carbs
Pumpkin seed kernels (FDC #170556)809 mg4.71 g
Almonds (FDC #170158)713 mg10.11 g
Swiss chard (FDC #169343)549 mg2.03 g
Avocado, raw (FDC #171705)485 mg1.83 g
Salmon, sockeye (FDC #173692)436 mg0 g
Chicken breast, raw (FDC #171140)343 mg0 g
Mushrooms, white, raw (FDC #169376)318 mg2.26 g
Spinach, raw (FDC #169400)256 mg0.61 g
Coconut water (FDC #170174)250 mg2.61 g

Do the portion arithmetic and the picture gets friendlier still: a whole 150 g avocado delivers roughly 728 mg of potassium for under 3 g net carbs. A 30 g handful of pumpkin seeds — keto-legal at about 1.4 g net — adds about 243 mg. Two salmon dinners and a daily avocado, plus greens with your eggs, and you are at or near half the Daily Value from food alone, without a banana in sight. Note the pattern that makes this work: animal protein and leafy greens are the backbone of a keto plate and its potassium supply. The banana ban costs far less than it appears to.

Magnesium: the quiet one behind cramps

The FDA Daily Value for magnesium is 420 mg. Magnesium shortfall is the usual explanation offered for the muscle cramps and night-time leg twitches of keto week one, and while the evidence is less direct than for sodium, the foods that fix it are the same foods already recommended above:

Magnesium in keto-compatible foods (USDA SR Legacy, per 100 g)
FoodMagnesiumNet carbs
Pumpkin seed kernels (FDC #170556)592 mg4.71 g
Almonds (FDC #170158)279 mg10.11 g
Walnuts (FDC #170186)201 mg2.78 g
Swiss chard (FDC #169343)86 mg2.03 g
Avocado, raw (FDC #171705)29 mg1.83 g
Salmon, Atlantic, farmed (FDC #175168)30 mg0 g

Pumpkin seeds are the outlier here — 592 mg per 100 g means a 30 g handful covers roughly 42% of the Daily Value for 1.4 g net carbs. Seeds and nuts alone will not hit 420 mg within a keto day's calorie budget, which is why greens, fish and avocados need to appear regularly rather than occasionally.

A realistic adaptation-week food pattern

Putting the three together, here is what a competent first-week plate looks like in data terms — no supplements required, though some people use them:

Example day during keto adaptation (portions scaled from per-100-g figures)
Eaten during the day≈ Potassium≈ Magnesium≈ Sodium
2 eggs + spinach omelette, salted (≈100 g spinach)~320 mg~50 mg~1,000 mg (shaker)
1 whole avocado with salt (150 g)~728 mg~44 mg~800 mg (shaker)
Salmon dinner, 200 g sockeye + chard (150 g)~1,700 mg~60 mg~900 mg (food + shaker)
30 g pumpkin seeds as snack~243 mg~178 mg~2 mg
Cup of broth (240 ml, prepared)~35 mg~6 mg~800 mg

Add the trace potassium and magnesium present in everything else eaten that day and the totals land respectably close to Daily Values — using nothing but ordinary groceries. The symptom-prevention logic of keto week one really is this unglamorous: salt, broth, fish, greens, avocado, seeds, water.

What does not work, and what needs a professional

Pushing through the symptoms. Five days of headaches is not discipline; it is an easily-fixed electrolyte deficit. Fix the deficit and see how week two feels before judging the diet.

Drinking enormous amounts of water. Water without sodium dilutes what sodium remains. On keto, drink to thirst and salt to taste — the classic advice needs inverting, not doubling.

Banana replacements in pill form. Potassium supplements are legally capped at tiny doses in the US precisely because concentrated potassium can be dangerous. Food is both safer and more effective here.

Ignoring red flags. This page is data, not medicine. Palpitations, fainting, severe or persistent symptoms, vomiting, or any history of kidney disease, heart disease or blood-pressure medication are medical matters. Anyone in those situations — and anyone pregnant or on glucose-lowering or diuretic medication — should involve a qualified professional before and during a ketogenic diet. We are a data editorial team and this guide is not a prescription.

Why we can show you these numbers at all

Every figure on this page comes from the same USDA FoodData Central entries we use for verdicts, with the FDC ID printed so you can check each one at the source. Electrolyte content is where a food database earns its keep — it is measurable, it is standardized, and it converts vague community folklore ("eat an avocado!") into arithmetic you can act on. Our daily food verdicts print the same three electrolyte figures on every card, and the scene guides apply them to real situations like travel days and office lunches.

For the arithmetic behind net carbs and the verdict lines used in the tables above, see Net Carbs Explained. For what a ketogenic diet is and what the evidence does and does not support, see What Is Keto? — and for how any figure on this site can be reproduced, About Our Data.

Not medical advice. FoodCanEat is a data editorial team (Lab-Verified Data). We compile and label USDA FoodData Central figures; we do not treat, diagnose or prescribe. Electrolyte imbalances can be serious in people with kidney, heart or blood-pressure conditions — involve a qualified professional before making dietary changes if any of those apply to you.