Skip to content

Keto Flu: Symptoms, Causes and How to Feel Better Fast

Keto flu is real, miserable and almost entirely preventable. I have been eating keto since 2017 and have experienced keto flu exactly once: the first time I tried the diet, before I understood what causes it and how to prevent it. Every subsequent time I have re-entered ketosis (after vacations, holidays or intentional carb cycling), I have avoided it completely by following the electrolyte protocol I am about to share.

Keto flu is not actually the flu. It is a collection of symptoms caused by electrolyte depletion and metabolic transition that happens in the first three to seven days of carbohydrate restriction. Understanding the mechanism is the key to preventing it.

What Causes Keto Flu

When you drastically reduce carbohydrate intake, two things happen simultaneously. First, your body depletes its glycogen stores (the stored form of glucose in your muscles and liver). Each gram of glycogen holds three to four grams of water, so as glycogen is used up, your body releases a significant amount of water. This is the rapid initial weight loss that most people experience in the first week of ket, which is mostly water.

Disclaimer: Links may contain affiliate links, which means we may get paid a commission at no additional cost to you if you purchase through this page. Read our full disclosure here.

Second, that water loss carries essential electrolytes with it: sodium, potassium and magnesium. Lower insulin levels (which is one of the metabolic goal of ketosis) also cause your kidneys to excrete more sodium than they normally would. The combination of water loss and electrolyte depletion is what produces keto flu symptoms. It is not carbohydrate withdrawal or your body “detoxing.” It is a fixable electrolyte imbalance.

keto flu

Keto Flu Symptoms

The symptoms typically appear within the first one to three days of carbohydrate restriction and can last three to seven days if untreated. They include headache (the most common symptom, caused primarily by sodium depletion), fatigue and low energy, brain fog and difficulty concentrating, muscle cramps (magnesium and potassium depletion), nausea, irritability and mood changes, dizziness when standing (low blood pressure from fluid loss) and difficulty sleeping.

The severity varies widely. Some people experience mild symptoms that resolve in a day or two. Others feel genuinely terrible for a week. The difference almost always comes down to how aggressively you replace electrolytes.

The Electrolyte Protocol That Prevents Keto Flu

This is what I use every time I re-enter ketosis. It is also what I recommend to anyone starting a ketogenic diet for the first time.

Sodium: 3,000 to 5,000 mg per day. This is significantly more than most people consume. Add salt liberally to all food. Drink one to two cups of bone broth daily (provides about 500 mg sodium per cup). Dissolve a quarter teaspoon of salt in water and drink it if you feel a headache coming on. The headache will often resolve within 20 to 30 minutes. Sodium is the most important electrolyte to replace and the one most people under-dose.

Potassium: 1,000 to 3,500 mg per day. Use “lite salt” (Morton Lite Salt or similar), which is a blend of sodium chloride and potassium chloride. Add it to food and water. Avocados are the best whole-food source. You can also supplement with potassium citrate capsules

Magnesium: 200 to 400 mg per day. I take magnesium glycinate every night. It supports both electrolyte balance and sleep quality, both of which can suffer during the keto transition. Magnesium glycinate is better absorbed and less likely to cause digestive issues than magnesium oxide or citrate. My favorite magnesium is Sleep Breakthrough.

Water: Drink when thirsty but do not overhydrate. Excessive water intake without adequate sodium actually worsens electrolyte imbalance. Drink to thirst and make sure you are adding sodium to your water.

keto flu

How Long Does Keto Flu Last

Without electrolyte intervention: three to seven days for most people. With aggressive electrolyte replacement from day one, most people avoid keto flu entirely. Symptoms that do appear are typically mild and resolve within one to two days.

If your symptoms persist beyond seven days despite adequate electrolyte intake, consider whether you are eating enough total calories (under-eating worsens keto flu), getting enough sleep and not exercising too aggressively during the adaptation period. If symptoms are severe or prolonged, consult a healthcare provider.

Keto Side Effects Beyond Keto Flu

Keto flu resolves within the first week. Other side effects can appear later in the adaptation process. Keto breath (a metallic or fruity smell) is caused by acetone, a ketone body, being exhaled. It is temporary and resolves as your body becomes more efficient at using ketones. Digestive changes (constipation or diarrhea) are common in the first two to three weeks as your gut microbiome adjusts to a higher-fat, lower-fiber diet. Increasing water, magnesium and vegetables (if your version of keto allows them) typically resolves this. Temporary performance decrease in the gym is normal during the first one to two weeks. Your muscles are adapting from glucose to fat as fuel. Performance returns to baseline (and often improves) by week three to four.

Keto Electrolyte Supplements

keto flu

While you can get adequate electrolytes from food and basic supplements (salt, lite salt, magnesium glycinate), there are purpose-built keto electrolyte products that simplify the process. Look for products that provide sodium, potassium and magnesium in meaningful doses (not token amounts). Many electrolyte products marketed for general hydration do not contain enough sodium for keto needs.

One of the most popular options that I've used for years is Pruvit. My other favorite, Buoy, comes in drop form and can be added to any drink. Redmond Re-Lyte is another well-regarded option. The specific brand matters less than hitting your daily sodium, potassium and magnesium targets.

frequently asked questions

What is keto flu?

Keto flu is a collection of temporary symptoms (headache, fatigue, brain fog, muscle cramps, nausea) caused by electrolyte depletion and metabolic transition during the first one to seven days of carbohydrate restriction. It is not an actual flu and is not caused by carb withdrawal. It is caused by the loss of sodium, potassium and magnesium as your body sheds water from depleted glycogen stores.

How do you get rid of keto flu fast?

Increase your sodium intake immediately. Dissolve a quarter teaspoon of salt in water and drink it. Drink bone broth. Supplement with magnesium glycinate (200 to 400 mg) and use lite salt for potassium. Most keto flu symptoms, especially headache, resolve within 20 to 30 minutes of adequate sodium intake. Prevention through proactive electrolyte supplementation from day one is more effective than treatment after symptoms appear.

How long does keto flu last?

Without electrolyte intervention, keto flu typically lasts three to seven days. With aggressive electrolyte replacement from day one, many people avoid symptoms entirely or experience only mild symptoms for one to two days. If symptoms persist beyond seven days despite adequate electrolyte intake, consult a healthcare provider.

Can you prevent keto flu?

Yes. The most effective prevention is starting electrolyte supplementation on day one of carbohydrate restriction, before symptoms appear. Aim for 3,000 to 5,000 mg sodium, 1,000 to 3,500 mg potassium and 200 to 400 mg magnesium daily. Drink bone broth, salt your food liberally and use lite salt. Most people who proactively manage electrolytes experience minimal or no keto flu symptoms.

What are the best electrolytes for keto?

Look for electrolyte products that provide significant amounts of sodium (at least 500 mg per serving), potassium and magnesium. LMNT (1,000 mg sodium per packet) is the most popular in the keto community. Keto Vitals, Keto Chow drops and Redmond Re-Lyte are also well-regarded. You can also make your own by mixing salt, lite salt and magnesium powder in water.

Is keto flu a sign that keto is bad for you?

No. Keto flu is a temporary side effect of electrolyte imbalance during the metabolic transition from glucose to fat-burning. It is not a sign that the diet is harmful. It is a sign that your body is adapting and needs electrolyte support during the transition. With proper supplementation, keto flu can be prevented entirely.

The Bottom Line

Keto flu is an electrolyte problem with an electrolyte solution. Salt, potassium and magnesium from day one. Do not overhydrate without sodium. After seven years on keto, I can tell you that the adaptation gets easier every time and that preventing keto flu is far simpler than suffering through it.

For the full keto beginner guide, see our complete guide to the ketogenic diet. For the food reference, see our keto food list. If you are considering a carnivore approach, see our carnivore diet meal plan (keto flu prevention applies to carnivore transition too). For why magnesium glycinate is my preferred form, that article covers the research.

This article is for informational purposes only and does not constitute medical or dietary advice. Consult a qualified healthcare provider before starting any diet, especially if you have diabetes, kidney disease or take medications that affect electrolyte balance.

Author

  • Cheryl McColgan

    Cheryl McColgan is the Founder and Editor in Chief of Heal Nourish Grow, where she has published evidence-based health and nutrition content since 2018.

    With over 30 years of experience in fitness, nutrition, and healthy living, and nearly 20 years of professional editorial and journalism experience, she brings both subject-matter depth and trained editorial judgment to everything on the site.

    Cheryl holds a degree in Psychology with a minor in Addictions Studies, completed graduate training in Clinical Psychology, and is a NASM Certified Personal Trainer and E-RYT Certified Yoga Instructor.
    She is the author of 21 Day Fat Loss Kickstart, Make Keto Easy, Take Diet Breaks and Still Lose Weight, The Grain Free Cookbook for Beginners, and Easy Weeknight Keto.

    Read more about Cheryl and the journey that created Heal Nourish Grow on the about page.
    Cheryl McColgan is the founder of Heal Nourish Grow, where she writes about protein, body composition, healthy aging, and evidence-based nutrition, along with the everyday habits that actually make those things work in real life.

    With a background in psychology and graduate training in clinical psychology, plus nearly 20 years of experience in editorial and publishing, Cheryl approaches health from both a research and real-world perspective. She’s also been immersed in fitness and nutrition for more than 25 years, which gives her a practical lens most purely academic content tends to miss.

    Her work today focuses heavily on protein intake (especially for women), muscle retention, metabolic health, and sustainable fat loss, along with topics like sleep, recovery, and wearable health tech. You’ll also find a mix of high-protein, low-carb recipes designed to make hitting those goals easier without overcomplicating things.

    Cheryl’s interest in health and nutrition became more personal after navigating her own autoimmune challenges, which pushed her to dig deeper into how lifestyle, diet, and daily habits impact long-term health. That experience continues to shape how she approaches everything on this site: practical, realistic, and focused on what actually works over time.

    What Cheryl Covers

    Most of the content here falls into a few core areas:

    Protein & Muscle Health: how much you actually need, especially for women and how to use protein to support strength, body composition, and aging
    Fat Loss & Metabolic Health: sustainable approaches that prioritize muscle retention and long-term results
    Healthy Habits & Lifestyle: sleep, movement, strength training, consistency, and the small things that compound over time
    Wearables & Recovery: real-world testing and comparisons of tools like Oura, Whoop and others
    High-Protein & Low-Carb Recipes: simple, realistic meals that support your goals without feeling restrictive
    Travel & Lifestyle: wellness-focused travel, outdoor experiences, and a slightly more elevated take on healthy living

    If you're new, here are a few good places to begin:

    30 Day Healthy Habits Challenge

    Protein Foundations

    High Protein Recipes

    About Cheryl & Heal Nourish Grow

    Coaching and Programs