Keto Flu: Symptoms, How Long It Lasts and Remedies That Work
Keto flu is headaches, fatigue and cramps in the first week of keto, caused mainly by sodium and water loss. Tick your symptoms and get a personal fix plan in 30 seconds.
🧂 Get my keto flu fix planKeto Flu: Quick Answer
Keto flu is a set of temporary symptoms (headache, fatigue, brain fog, dizziness, muscle cramps, nausea) that can start 1–3 days after you cut carbs. It is caused mainly by the loss of water, sodium, potassium and magnesium as insulin drops, not by ketones. It usually peaks in the first week and is gone within about 2 weeks. The fastest fix is replacing sodium and fluids, plus magnesium and potassium-rich foods.
| Symptom | Likely cause | Fastest fix |
|---|---|---|
| Headache | Sodium and water loss | Salted water or 1 cup of broth; drink to thirst |
| Fatigue, low energy | Energy gap before ketones kick in, low sodium | Salt, enough fat, lighter workouts for 1–2 weeks |
| Brain fog | Brain adjusting to ketones, low sodium | Salt and fluids, sleep; it usually lifts in days |
| Dizziness when standing | Low blood volume from fluid loss | Salt plus fluids; stand up slowly |
| Muscle cramps | Low magnesium or potassium | Magnesium glycinate at night; avocado, spinach, salmon |
| Insomnia, irritability | Low magnesium, the adjustment itself | Evening magnesium; cut caffeine after noon |
| Nausea | Sudden jump in fat intake | Add fat gradually; smaller meals |
| Constipation | Fluid loss, less fiber | Water with salt, low-carb vegetables, magnesium citrate |
| Carb cravings | Habit plus lower glucose and glycogen | Protein at every meal; planned keto snacks |
| Heart palpitations | Low potassium or magnesium, dehydration, or other causes | Talk to a doctor; do not self-treat with potassium pills |
Medical disclaimer: this article is educational and does not replace medical advice. If you have diabetes, are pregnant or breastfeeding, have kidney disease, high blood pressure or heart disease, or take prescription medications (especially diuretics, ACE inhibitors, ARBs, SGLT2 inhibitors or insulin), talk to your healthcare provider before starting keto or changing your salt or potassium intake. If you have heart palpitations, fainting, severe dizziness or worsening symptoms, stop and seek medical attention.
🧂 Keto Flu Relief Planner
Tell us how far in you are and what you feel. You will get the likely cause and a simple plan for today.
Educational tool only, not a diagnosis. General guidance for healthy adults.
Start Keto Without the Keto Flu
Get the free 3-Day Keto Reset Plan: simple meals, an electrolyte schedule and a shopping list for your first days on keto.
- ✅ 3 days of meals
- ✅ Electrolyte schedule
- ✅ Shopping list
Free PDF sent to your inbox. No spam. See our Privacy Policy.
How Long Does Keto Flu Last?
Short answer: keto flu usually starts within 1–3 days of cutting carbs, peaks in the first week and is gone within about 2 weeks for most people. An analysis of 101 people’s reports found symptoms peaked in the first 7 days and faded by week 4.
| When | What usually happens | What to do |
|---|---|---|
| Days 1–2 | Glycogen and water drop fast; first headache, hunger and carb cravings | Start salt and fluids now, before symptoms build |
| Days 3–5 | Peak: fatigue, brain fog, dizziness, cramps | Salted water or broth 2–3 times a day, magnesium in the evening, light exercise only |
| Days 6–14 | Symptoms fade as ketone use improves | Keep electrolytes steady; do not drop them as soon as you feel better |
| Weeks 2–4 | Most people feel normal; energy often steadier | If still unwell, check sodium, calories and fat intake |
| After 4 weeks | Ongoing symptoms are not typical keto flu | Talk to a doctor, or ease carbs up slightly |
Proactive electrolytes can shorten keto flu a lot, and many people who salt their food from day one barely notice it. People coming from a very high-carb diet usually feel it more.
Keto Flu Symptoms: What to Expect
The most common keto flu symptoms — headache, fatigue, muscle cramps, and brain fog — are primarily caused by sodium and water loss in the first days of carbohydrate restriction. Symptoms typically appear within 24–72 hours and resolve within 1–2 weeks for most people.
Keto flu symptoms typically appear within the first 24 to 72 hours of carbohydrate restriction and can persist for a week or more depending on the individual’s metabolic flexibility. The severity of symptoms often correlates with the speed of the transition; a sudden drop from a high-carbohydrate diet to a strict ketogenic ratio often produces a more noticeable response.

Neurological and Systemic Symptoms
- Headache: This is perhaps the most common symptom, often caused by low blood volume due to dehydration and issues related to sodium depletion.
- Brain Fog and Poor Concentration: As the brain transitions fuel sources, cognitive performance may temporarily decline. This is often worsened by low sodium levels.
- Fatigue and Lethargy: Many people starting keto report feeling “heavy” or exhausted during the first days. This is linked to both the temporary energy gap (low glucose, ketones not yet fully online) and the loss of electrolytes required for cellular energy production.
- Dizziness and Lightheadedness: Often occurring when standing up, this is a direct sign of low blood pressure caused by water and sodium loss.
- Insomnia: Changes in energy metabolism and low magnesium can disrupt sleep during the first week.
- Heart palpitations: Reported by some people in the first week, often alongside dehydration or low potassium and magnesium. Palpitations always deserve a check with a doctor.
Gastrointestinal and Muscular Symptoms
- Nausea: Gastric emptying can be delayed by high fat intake, and electrolyte imbalances can trigger nausea.
- Muscle Cramps: Spasms, particularly in the legs at night, are a hallmark sign of magnesium and potassium depletion.
- Constipation or Diarrhea: Constipation often results from dehydration, while diarrhea can occur due to difficulty absorbing increased dietary fats during the adaptation phase.
Why Does Keto Flu Happen? The Metabolic Mechanism
Keto flu is triggered by a rapid drop in insulin that causes the kidneys to excrete sodium and water. As glycogen stores deplete — each gram of stored glycogen releases approximately 3–4 grams of water — the body flushes out essential electrolytes, causing most of the hallmark symptoms.
To understand why keto flu occurs, it helps to first understand the metabolic change taking place. In a standard diet, the body relies on breaking down glucose from dietary carbohydrates for energy. Excess glucose is stored in the liver and muscles as glycogen.
When you restrict net carb intake (typically below 20–50 g per day), you force the body to exhaust these glycogen reserves. Once glycogen is depleted, the liver begins to oxidize fatty acids, producing ketone bodies — acetoacetate, beta-hydroxybutyrate (BHB), and acetone — as an alternative fuel source. This state is known as nutritional ketosis.

However, the brain and body do not switch fuel sources instantaneously. There is a metabolic transition period — sometimes called the induction phase. During this window, the brain is adjusting from its usual steady stream of glucose to using ketones. This temporary shift in energy supply contributes to the lethargy and brain fog characteristic of keto flu symptoms.
Furthermore, the reduction in circulating glucose leads to a significant drop in insulin levels. While low insulin is the primary driver of fat loss, it also triggers a cascade of kidney functions that directly cause the keto flu.
The “Whoosh” Effect: Insulin, Kidneys, and Water Loss
The primary mechanism driving keto flu is not the presence of ketones themselves, but rather the rapid shift in fluid dynamics and electrolyte balance. When insulin levels are high, the kidneys retain sodium. Conversely, when insulin levels drop due to carbohydrate restriction, the kidneys enter a state of natriuresis — the excretion of sodium in the urine.
This process is compounded by the depletion of glycogen. Glycogen is hydrophilic; for every gram of glycogen stored in the muscle and liver, the body stores approximately three to four grams of water. As the body burns through glycogen stores during the first week of a ketogenic diet, this bound water is released and excreted.
This is why the first days of keto flu often come with rapid weight loss — often seen as encouraging early progress — but this is primarily water weight, not body fat. This diuresis (increased urination) acts as a mechanical flush, stripping the body of essential electrolytes. The keto flu is, in essence, a manifestation of mild dehydration combined with a specific mineral deficiency.
The Critical Role of Electrolytes on Keto
Keto flu is largely an electrolyte problem. Low insulin triggers rapid sodium excretion by the kidneys, and potassium and magnesium follow. Simply drinking more water without replacing electrolytes can worsen symptoms by further diluting sodium levels in the blood.
When we discuss keto flu, we are largely discussing an electrolyte imbalance. Electrolytes are minerals that carry an electric charge and are vital for nerve impulse transmission, muscle contraction, and fluid balance. The diuretic effect of ketosis disproportionately depletes three key minerals: sodium, potassium, and magnesium.
Simply drinking more water without addressing electrolytes on keto can actually worsen the situation. Consuming large volumes of plain water can further dilute electrolyte concentrations in the blood, potentially making symptoms like low sodium worse. The solution is not just hydration, but re-mineralization.

Sodium: The Primary Driver of Hydration
In the context of a standard diet, sodium is often restricted. However, in the context of a ketogenic diet, sodium is essential. Due to the natriuresis that occurs when insulin levels drop, the kidneys excrete sodium at a high rate. If this sodium is not replaced, the body cannot hold onto water properly, leading to ongoing dehydration and the circulatory effects that cause dizziness and headaches.
What low sodium causes: Low sodium is the primary driver of the headache and fatigue associated with keto flu. Without adequate sodium, the sodium-potassium pump — essential for cellular energy transport — cannot function properly.
Practical takeaway
While standard dietary guidelines often restrict sodium, people following a ketogenic diet may need more than usual — commonly cited ranges during the adaptation phase are 3,000 to 5,000 mg per day. This can be achieved by salting food generously, drinking broth, or using electrolyte supplements. Note: this range is a community guideline, not a medical prescription. People with high blood pressure, kidney disease, or heart conditions should discuss sodium intake with their healthcare provider.
Potassium and Magnesium: Regulating Function
Low potassium is commonly associated with muscle cramps and leg spasms during keto adaptation. Low magnesium causes muscle twitching, insomnia, and irritability. Both are lost through increased urination triggered by lower insulin levels at the start of a ketogenic diet.
Potassium: Regulating Cellular Function
Potassium works in tandem with sodium. When sodium levels drop, the kidneys attempt to correct the imbalance by excreting potassium to maintain a neutral charge ratio. Furthermore, because many potassium-rich foods (like bananas and potatoes) are restricted on keto, dietary intake naturally drops.
What low potassium causes: Low potassium (hypokalemia) is commonly associated with muscular weakness, severe muscle cramps, and heart palpitations during keto adaptation. The “heavy limbs” sensation is often a potassium issue. If you experience heart palpitations, consult a healthcare provider to rule out other causes.
Practical takeaway
Unlike sodium, potassium supplementation requires care — too much can be dangerous (hyperkalemia). The preferred approach is to increase potassium through low-carb food sources: avocados, spinach, salmon, and leafy greens. If using supplements labeled “No-Salt” or potassium chloride, keep doses small and consistent. People with kidney disease or those taking ACE inhibitors, ARBs, or potassium-sparing diuretics should consult their healthcare provider before adding potassium supplements.
Magnesium: The Key to Relaxation and Sleep
Magnesium is needed by more than 300 enzyme systems in the body, including protein synthesis, muscle and nerve function, and blood glucose control. Many people may already have insufficient magnesium levels before starting keto; the diuretic effect of carbohydrate restriction can push this toward symptomatic deficiency.
What low magnesium causes: Low magnesium can cause muscle twitching, nocturnal leg cramps, and insomnia. It is also linked to the irritability and anxious feeling some people experience during keto flu.
Practical takeaway
Supplementation is often helpful for magnesium, as food sources alone may be insufficient during the adaptation phase. Magnesium glycinate or citrate are preferred for absorption and are gentler on digestion. Magnesium oxide is poorly absorbed and commonly causes loose stools. Keep supplemental magnesium at or below 350 mg per day, the NIH upper limit for supplements, unless your doctor advises otherwise.
Keto Flu Remedies: How to Prevent and Treat It
The most effective prevention is replacing lost electrolytes — especially sodium — before symptoms appear. A gradual carbohydrate reduction and adequate fat intake can significantly reduce or eliminate keto flu for most people starting a ketogenic diet.
How big a change you make matters. Cutting carbs to near zero overnight, or combining keto with a very large calorie deficit, speeds up water and electrolyte loss and tends to make symptoms worse. Set realistic targets with our keto calculator before you start.
Evidence-Based Steps to Prevent and Treat Keto Flu
Keto flu is not inevitable. With proactive management, the severity of symptoms can be significantly reduced or eliminated. The following steps are based on the physiological changes occurring during the adaptation phase.

- Strategic Hydration with Electrolytes: Do not simply drink water. Combine fluid intake with electrolytes. “Ketoade” — a homemade mixture of water, salt, potassium chloride, and a flavoring agent — is a common and effective remedy.
Practical approach: aim to consume sodium throughout the day rather than in one dose. Start your morning with 16–20 ounces of water with a pinch of salt (¼ teaspoon of salt is about 575 mg of sodium). If you add potassium chloride, keep the amount small — a pinch is usually sufficient. People with kidney disease should consult their healthcare provider before using potassium chloride supplements. - Gradual Carbohydrate Reduction: While many people prefer to cut carbs all at once, a more gradual approach can ease the transition and reduce electrolyte loss. Reducing carbohydrates slowly over 1–2 weeks allows the kidneys to adjust to lower insulin levels.
Step-down approach: week 1 at about 50 g net carbs, week 2 at 30 g, week 3 at 20 g. - Dietary Fat Intake: During the transition, the body needs energy. If glucose is unavailable and ketone production is not yet ramped up, there is a temporary energy gap. Increasing dietary fat — particularly medium chain triglycerides (MCTs) — can help bridge this gap.
Practical approach: eat enough fat to feel full. Very low carb plus very low fat leaves you short on energy and tends to make keto flu symptoms worse. - Managing Exercise Intensity: During the first week of keto, muscle glycogen is depleted. High-intensity exercise (like heavy lifting or sprinting) relies heavily on glycogen. Attempting these activities during induction can lead to severe fatigue.
Practical approach: switch to lower-intensity activity such as walking or light yoga for the first 1–2 weeks. This supports circulation without demanding glycogen the body cannot supply.
Keto Flu and Carb Cravings
Strong carb and sugar cravings are common in the first 1–2 weeks of keto, alongside keto flu. They usually fade as your body adapts, and eating enough protein, fat and salt makes them much easier to handle.
Cravings in the first days have two sources. One is habit: your brain expects the usual bread, pasta or sweets at familiar times. The other is physical: glycogen and blood glucose drop while ketones are not yet fully online, and that short energy gap feels like hunger for quick carbs. Being short on sodium can make it worse, because fatigue and headache are easy to mistake for hunger.
- Eat enough protein and fat: undereating in week one is the fastest way to trigger cravings. Build meals around eggs, meat, fish, cheese and low-carb vegetables.
- Salt first, snack second: when a craving hits, try a cup of salted broth or water with a pinch of salt and wait 15 minutes.
- Plan keto snacks: keep olives, nuts, cheese or cucumber with guacamole ready so a craving does not turn into a carb binge.
- Sleep: short sleep increases appetite for high-carb foods.
- Watch sweeteners: some people find diet sodas and sweet keto treats keep sugar cravings alive. If that is you, cut back during the first two weeks.
If you do give in, it is not a disaster. See how to get back into ketosis after a carb binge, and expect a milder version of keto flu for a day or two.
Keto Flu vs Real Flu and Other Conditions
Keto flu is temporary and caused by electrolyte shifts — not by ketones. Diabetic ketoacidosis (DKA), by contrast, is a medical emergency involving uncontrolled ketone levels above 10 mmol/L combined with high blood glucose. Nutritional ketosis (0.5–3.0 mmol/L) is safe and distinct from DKA.
It is important to understand how keto flu differs from other conditions that can produce similar symptoms.
- Real flu or COVID: Keto flu does not cause a true fever, cough, sore throat or body-wide chills. If you have a temperature of 100.4°F (38°C) or higher, you likely have an infection, not keto flu.
- Hypoglycemia: While the ketogenic diet naturally lowers blood sugar, reactive hypoglycemia can occur. Symptoms overlap (shaking, sweating), but true hypoglycemia involves dangerously low blood glucose. For people without diabetes, the body normally maintains glucose through gluconeogenesis — producing glucose from non-carbohydrate sources.
- Ketoacidosis (DKA): This is a dangerous condition, primarily affecting type 1 diabetics, where ketone levels become very high (typically above 10 mmol/L) combined with elevated blood sugar and high acidity. Keto flu is benign; DKA is a medical emergency. Nutritional ketosis (0.5–3.0 mmol/L) is a different, regulated state.
Key Takeaway
Keto flu is common, temporary and mostly preventable. It comes from water and electrolyte loss in the first days of carb restriction, not from ketones. Replace sodium early, get potassium from low-carb foods, add magnesium if you need it, keep workouts light for a week or two and eat enough. Most people feel normal within 2 weeks.
To check whether you are actually in ketosis, see our guide on how to measure ketones at home. For a deeper look at hydration, read keto electrolytes and hydration.
Keto Flu: FAQ
What is keto flu?
Keto flu is a temporary cluster of symptoms — including headache, fatigue, muscle cramps, and brain fog — that can occur in the first days to weeks of starting a ketogenic diet. It is caused by the body’s metabolic shift from burning glucose to burning fat, combined with rapid water and electrolyte loss triggered by lower insulin levels. It is not an infection and is not caused by ketones themselves.
How long does keto flu last?
For most people, keto flu symptoms peak around day 3–4 and resolve within one to two weeks. This timeline aligns with the period needed for the body to adapt to fat burning and for the kidneys to stabilize electrolyte excretion. Proactive electrolyte supplementation can shorten or prevent symptoms significantly.
What are the most common keto flu symptoms?
The most common symptoms include headache, fatigue, brain fog, dizziness, muscle cramps, nausea, irritability, and difficulty sleeping. Headache is typically caused by low sodium and dehydration. Muscle cramps are usually linked to low magnesium or potassium. Brain fog is related to the brain’s temporary adjustment to using ketones instead of glucose as its primary fuel.
What electrolytes help with keto flu?
The three key electrolytes are sodium, potassium, and magnesium. Sodium is the primary driver of fluid balance and is lost rapidly in the first days of keto. Potassium maintains cellular function and muscle contraction. Magnesium supports nerve function, muscle relaxation, and sleep quality. Replacing all three reduces or eliminates most keto flu symptoms.
Does everyone get keto flu?
No. Keto flu severity varies widely between individuals. Some people experience no symptoms, while others have significant fatigue and headaches for a week or more. Those transitioning from a very high-carbohydrate diet tend to experience more intense symptoms. Proactive electrolyte intake and a gradual carbohydrate reduction can substantially reduce or prevent symptoms.
How much sodium should I take on keto to avoid symptoms?
People following a ketogenic diet may need more sodium than standard dietary guidelines suggest — commonly cited ranges during the adaptation phase are 3,000 to 5,000 mg per day. This can be achieved through salting food generously, drinking broth, or using electrolyte supplements. People with high blood pressure, kidney disease, or heart conditions should consult their healthcare provider before increasing sodium intake.
Is keto flu dangerous?
For most healthy adults, keto flu is uncomfortable but not dangerous. It is caused by temporary dehydration and electrolyte shifts, not by ketones themselves. However, if you experience heart palpitations, severe dizziness, or symptoms that persist beyond 4 weeks despite electrolyte supplementation, consult a healthcare provider. Diabetics should monitor ketone and blood glucose levels closely during keto adaptation.
What is the fastest way to fix keto flu?
Replace lost electrolytes, especially sodium. Drink water with added salt or consume bone broth. Increase magnesium through food (dark leafy greens, pumpkin seeds) or a magnesium glycinate supplement of up to 350 mg per day. Get potassium through avocado, spinach, and salmon. Reduce exercise intensity temporarily. If you are coming from a high-carb diet, consider stepping down: about 50 g net carbs in week 1, 30 g in week 2 and 20 g in week 3.
Can you get keto flu more than once?
Keto flu typically occurs during initial keto adaptation. Once fully fat-adapted — usually within 3–6 weeks — returning to keto after a dietary lapse may produce mild symptoms, but typically less severe than the first time. The severity depends on how long you were off keto and how depleted your glycogen and electrolyte stores become during the reintroduction phase.
Why am I still getting keto flu symptoms after 2 weeks?
If symptoms persist beyond 2 weeks, the most common causes are insufficient electrolyte intake (especially sodium and magnesium), too large a caloric deficit, or insufficient dietary fat. Make sure you are meeting your fat macros — a very low fat intake can worsen and prolong symptoms. If symptoms persist beyond 4 weeks despite these adjustments, speaking with a healthcare provider is recommended.
Can keto flu cause a fever?
No. Keto flu can make you feel achy and run-down, but it does not cause a true fever. A temperature of 100.4°F (38°C) or higher, a cough or a sore throat point to an infection such as the flu or COVID, not to keto flu.
Does keto flu cause diarrhea?
It can. Some people get loose stools in the first week, usually from a sudden jump in dietary fat, MCT oil, sugar alcohols or magnesium oxide supplements. Adding fat gradually and choosing magnesium glycinate usually helps. Others get constipation instead, mostly from fluid loss and less fiber.
Does keto flu mean I am in ketosis?
Not necessarily. Keto flu shows that your body is adjusting to low carbs, but it does not prove you are in ketosis. The only way to know is to measure: a blood ketone reading of 0.5 mmol/L or more means nutritional ketosis.
How do I stop carb cravings on keto?
Eat enough protein and fat so you are not undereating, replace sodium with broth or salted water, plan a few keto snacks in advance and get enough sleep. Cravings usually fade within 1–2 weeks as your body adapts.
Data & Sources
- Keto flu symptoms and timeline (peak in the first week, fading by week 4): Bostock et al., Consumer Reports of “Keto Flu”, Frontiers in Nutrition, 2020.
- Glycogen and water loss in the first days of low-carb eating: PubMed: glycogen and body water.
- Ketogenic diet adverse effects and nutritional ketosis range: The Ketogenic Diet, StatPearls (NCBI Bookshelf).
- Magnesium roles, food sources and 350 mg supplement upper limit: NIH Office of Dietary Supplements, Magnesium.
- Potassium food sources and supplement cautions: NIH Office of Dietary Supplements, Potassium.
- Sodium in salt (the 2,300 mg daily limit is about 1 teaspoon of table salt): FDA, Sodium in Your Diet.
- The 3,000–5,000 mg sodium range is a practitioner guideline from low-carb literature, not an official recommendation. Follow your doctor’s advice if you have high blood pressure, heart or kidney disease.