Keto Flu: Symptoms, Causes, and How to Beat It
The keto flu is a cluster of temporary symptoms in your first days on keto. Learn the causes, symptoms, and how to beat it fast — and when to see a doctor.
Head of Nutrition · June 11, 2026 · 7 min read

The "keto flu" is a cluster of temporary symptoms — fatigue, headache, brain fog, irritability, muscle cramps, and nausea — that some people get in the first days of keto as the body adapts to burning fat and sheds water and electrolytes. It isn't a real infection, and it usually lasts a few days to about a week before fading.
If you've started keto and suddenly feel wiped out, you're not doing it wrong — you're going through a normal, short-lived adjustment. Here's exactly why it happens and how to feel better fast.
Keto flu at a glance
| Symptom | Why it happens | How to fix it |
|---|---|---|
| Fatigue & weakness | Body is switching from glucose to fat for fuel and low on sodium | Add salt, eat enough calories, rest |
| Headache | Dehydration and dropping electrolytes | Drink water, replace sodium and potassium |
| Brain fog | Brain is adapting to running on ketones | Stay hydrated, give it a few days |
| Irritability & mood dips | Carb withdrawal and blood-sugar shifts | Eat enough fat, don't undereat |
| Muscle cramps | Low magnesium and potassium | Magnesium-rich foods or supplement |
| Nausea | Sudden diet change and electrolyte imbalance | Sip broth, eat smaller meals |
| Dizziness / lightheadedness | Water and sodium loss lowering blood pressure | Increase salt and fluids |
What is the keto flu?
The keto flu is a temporary set of symptoms that some people experience in the first few days of cutting carbohydrates very low — usually under about 50 grams a day. The name is a nickname, not a medical diagnosis. There's no virus involved and you're not contagious. The symptoms simply resemble a mild flu while your metabolism reorganizes itself.
Normally your body runs on glucose from carbohydrates. When you remove most carbs, your glycogen (stored carbohydrate) stores empty out, and your body starts producing ketones from fat to use as fuel instead. That switch takes a few days, and the in-between phase is where keto flu shows up.
The good news: it's self-limiting. Once your body adapts, most people report feeling steadier energy and clearer focus than before.
Keto flu symptoms
The most common keto flu symptoms include:
- Fatigue and low energy
- Headache
- Brain fog or trouble concentrating
- Irritability or mood swings
- Muscle cramps or aches
- Nausea
- Dizziness or lightheadedness
- Trouble sleeping
- Sugar and carb cravings
Symptoms range from barely noticeable to genuinely unpleasant, and they vary a lot from person to person. Most are mild and respond quickly to the fixes below.
What causes the keto flu?
Three overlapping factors drive keto flu:
1. Electrolyte loss. This is the big one. When you cut carbs, insulin levels fall. Lower insulin signals your kidneys to excrete more sodium — and along with sodium, you lose potassium and magnesium too. These electrolytes control hydration, nerve signaling, and muscle function, so when they drop, you get headaches, cramps, fatigue, and brain fog.
2. Dehydration. Carbs hold water in the body. As your glycogen stores empty in the first few days, you shed a noticeable amount of water weight (that fast "first week" drop on the scale is mostly water). Lose water without replacing fluids and sodium, and you feel worse.
3. Carb withdrawal. Your brain is used to a steady stream of glucose. Pulling that suddenly can cause cravings, irritability, and mood dips for a few days while it adjusts to ketones as an alternate fuel.
Notice that two of the three causes come back to electrolytes and fluids — which is why most of the fix is about salt and water, not toughing it out. Our keto electrolytes guide goes deeper on exact amounts and the best sources.
How to get rid of the keto flu
You don't have to wait it out. These steps tackle the root causes directly:
- Replace your electrolytes — especially sodium. This is the single most effective fix. Salt your food generously, sip salted broth or bouillon, and consider a sugar-free electrolyte mix. Many people need 3,000–5,000 mg of sodium a day on keto, far more than a standard diet — but if you have high blood pressure, kidney issues, or heart concerns, talk to your doctor before loading up on salt.
- Hydrate. Drink to thirst throughout the day, and a bit extra during the first water-shedding week. Pair water with electrolytes rather than chugging plain water alone, which can dilute sodium further.
- Eat enough fat and calories. Keto flu is often made worse by accidental undereating. When you drop carbs, you have to replace those calories — mostly with fat and adequate protein. Don't try to start keto and slash calories hard at the same time.
- Rest and go easy on hard workouts. Your body is doing real metabolic work. Prioritize sleep, and dial back intense training for the first week. Light walks are fine and can help.
- Ease into it. If you're prone to keto flu, lower your carbs gradually over a week or two instead of going from high-carb to under 20 grams overnight. A gentler ramp gives your kidneys and electrolytes time to keep up.
A tracking app helps here: CarbMeNot makes it easy to see your carb intake and make sure you're actually eating enough fat and calories — the two things beginners most often get wrong during this phase.
How long does it last?
For most people, the keto flu lasts a few days to about a week. Symptoms tend to peak around days 2 to 4 and then ease as fat-adaptation kicks in. Staying on top of electrolytes and hydration usually shortens the whole thing — some people barely notice it.
If you find you "crash" again after reintroducing and then re-cutting carbs, that's normal too: dipping in and out of ketosis can restart the water-and-sodium shuffle. Consistency tends to smooth things out.
When to see a doctor
The keto flu is normally mild and short. But see a doctor if:
- Symptoms are severe, or last longer than about two weeks
- You have persistent vomiting, can't keep fluids down, or show signs of dehydration
- You experience a rapid or irregular heartbeat, chest pain, or fainting
- You have diabetes, kidney disease, heart disease, are pregnant or breastfeeding, or take medications that affect blood sugar, blood pressure, or fluid balance — talk to your doctor before starting keto
When in doubt, get checked. Severe or persistent symptoms aren't something to push through, and a quick conversation with a clinician can rule out anything unrelated to the diet.
Ease into keto the smart way
The smoothest path through the first week is knowing what you're actually eating — your carbs, your fat, and your calories — so you can avoid the undereating and electrolyte gaps that fuel keto flu. CarbMeNot is an AI-powered iOS app that tracks net carbs and macros for you, with fast photo logging so staying low-carb takes seconds, not spreadsheets. New to keto? Start with our keto for beginners guide and stock your kitchen using the keto food list. Then let CarbMeNot keep you on target while your body adapts.
Key takeaways
- The keto flu is a temporary, flu-like set of symptoms in the first days of keto — not an infection.
- It's mainly caused by electrolyte loss, dehydration, and carb withdrawal as your body switches to burning fat.
- The fastest fixes: replace sodium and electrolytes, hydrate, eat enough fat and calories, rest, and ease into low-carb gradually.
- It usually lasts a few days to a week and fades as you become fat-adapted.
- See a doctor if symptoms are severe, persistent, or if you have an underlying health condition.
Frequently asked questions
- What is the keto flu?
- The keto flu is a cluster of temporary, flu-like symptoms — fatigue, headache, brain fog, irritability, muscle cramps, and nausea — that some people experience in the first days of a ketogenic diet. It isn't a real infection. It happens as your body switches from burning carbs to burning fat and sheds water and electrolytes in the process.
- How long does keto flu last?
- For most people the keto flu lasts a few days to about a week, with symptoms usually peaking around days 2 to 4 and then fading as the body adapts to using fat for fuel. Replacing electrolytes and staying hydrated often shortens it. If symptoms last more than two weeks or feel severe, check in with a doctor.
- How do you get rid of keto flu?
- The fastest fixes are replacing electrolytes (sodium, potassium, magnesium), drinking enough water, eating enough fat and calories, and resting. Adding salt to food or sipping broth addresses the biggest driver — sodium loss. Easing into keto gradually instead of cutting carbs overnight can prevent it in the first place.
- Is keto flu a sign of ketosis?
- Keto flu often coincides with the transition into ketosis, so it can signal that your body is starting to shift fuel sources. But it isn't a required sign — plenty of people enter ketosis with few or no symptoms, especially when they stay on top of electrolytes and hydration. No symptoms does not mean keto isn't working.
Track it all in seconds
Snap a photo and CarbMeNot's AI logs your carbs, protein, and fat automatically.