Avocado Avocado
Log in
Ketogenic diet

"Keto flu" (or ketogenic flu) refers to the set of symptoms many people experience during the first 3–7 days of a ketogenic diet, as the body shifts from using glucose to ketone bodies as its primary energy source. It is not a true flu; rather, it is the informal name given to a temporary metabolic adaptation.

Person in the first days of a ketogenic diet with water, electrolytes, and keto foods
Keto flu is temporary: hydration and a gradual transition help.

Most common symptoms

  • Fatigue and a general sense of weakness.
  • Headaches, often resembling dehydration headaches.
  • Irritability and difficulty concentrating (so-called "brain fog").
  • Muscle cramps, particularly in the legs and calves.
  • Mild nausea and, in some cases, constipation.
  • Sleep disturbances during the first few nights.
Diagram of the first keto-flu days with symptoms easing
Symptoms usually settle as the body adapts to its new fuel.
Keto-flu symptoms and practical response
Symptom Possible contributor What may help
Fatigue Water and electrolyte loss Hydration, sodium, and rest
Headache Dehydration or low sodium Drink fluids and replace electrolytes carefully
Cramps Low sodium, potassium, or magnesium Mineral-rich foods and recovery
Nausea or constipation Rapid transition and digestive changes Slow the change and monitor symptoms

Severity varies greatly from person to person: those who previously consumed a diet high in refined sugars tend to experience more pronounced symptoms than those who were already eating a low-carbohydrate diet.

Glass of water, salt, and electrolytes beside ketogenic foods
Water loss also carries away sodium, potassium, and magnesium.

The main cause: electrolytes, not carbohydrates themselves

The most direct cause of keto flu is not the lack of carbohydrates, but the accompanying loss of water and electrolytes. Glycogen retains water in the body (approximately 3–4g of water for every gram of glycogen); as these stores are depleted during the first few days, water is rapidly lost, along with sodium, potassium, and magnesium.

It is a temporary electrolyte imbalance, not a long-term nutritional deficiency.

Diagram of sodium, potassium, magnesium, and water supporting hydration
Adequate electrolytes may ease headaches, cramps, and fatigue.

How to prevent and manage it

  • Sodium:increase intake to 3–5 g of sodium per day (approximately 1.5–2 teaspoons of salt)—for instance, by adding salt to food or drinking salty broth. This amount exceeds standard dietary recommendations but is appropriate during this phase for individuals without cardiovascular or renal contraindications.
  • Potassium:prioritize leafy greens and avocados; consider a specific supplement if necessary, after consulting a doctor or pharmacist.
  • Magnesium:consume nuts and seeds or dark leafy greens, or take a magnesium glycinate or citrate supplement; these are often helpful for relieving nighttime cramps as well.
  • Hydration:drink more water than usual, spreading intake throughout the day rather than consuming large amounts at once.
  • Gradual carbohydrate reduction:transitioning from 150 g to 30 g of carbohydrates over the course of a week, rather than in a single day, helps reduce symptom severity.
  • Sleep and physical activity:during the first few days, reducing workout intensity and prioritizing rest helps the body adapt without added stress.
Simple ketogenic breakfast and a glass of water in a bright kitchen
A simple routine makes the first days easier to manage.
Humorous illustration of a person on a sofa negotiating with an avocado coach
A little rest during the first days is a strategy, not a defeat.

When to be concerned

Most symptoms resolve within a week using the measures above. However, the following should be taken seriously: persistent dizziness, irregular heartbeat, severe or prolonged muscle cramps, or symptoms that worsen rather than improve after 7–10 days. In such cases, it is advisable to consult a doctor—especially for those taking blood pressure medication or diuretics, or those with pre-existing heart or kidney conditions—as any increase in sodium intake should be discussed with a professional rather than decided on one's own.

Person discussing persistent symptoms with a healthcare professional
When symptoms worsen or persist, seeking medical advice is the prudent choice.

What to expect next

Once the first week is over, most people report more stable energy levels, less hunger between meals, and better appetite control than before—effects that often make the diet sustainable in the long run, once the transition phase has passed.