Keto flu typically clears up on its own within a week, but you can speed relief by replacing the fluids and minerals your body is rapidly losing during the transition into ketosis. Symptoms like fatigue, headaches, nausea, and brain fog usually appear two to seven days after starting a ketogenic diet, and they’re driven by a predictable shift in how your kidneys handle water and salt.
Why Keto Flu Happens
When you sharply cut carbohydrates, your insulin levels drop. That drop signals your kidneys to flush out more sodium and water than usual, creating a diuretic effect similar to what happens during fasting. This is the main reason people see rapid weight loss in the first few days of keto: much of it is water.
As sodium leaves, it pulls potassium and magnesium along with it. The resulting electrolyte imbalance is what produces the cluster of symptoms people call keto flu: headaches, muscle cramps, irritability, dizziness, nausea, and difficulty concentrating. Your body isn’t sick. It’s adapting to a new fuel source while running low on key minerals.
Increase Your Water and Salt Intake
A common guideline is to drink half your body weight in ounces of water each day. If you weigh 160 pounds, that’s 80 ounces. During the transition into ketosis, you likely need more than that baseline because your kidneys are dumping extra fluid. Sipping steadily throughout the day works better than gulping large amounts at once.
Because sodium loss is the primary trigger, adding salt to your food or drinking broth can make a noticeable difference within hours. A cup or two of salted bone broth each day is one of the simplest remedies. You can also dissolve a quarter teaspoon of salt in water and drink it, though the taste takes some getting used to. The goal is to replace what your kidneys are now excreting at an accelerated rate.
Replenish Potassium Through Food
Potassium is harder to supplement safely in large doses, so food sources are the better route. Several potassium-rich options fit comfortably within a low-carb framework:
- Baby spinach (1 cup, raw): 454 mg potassium
- Cooked salmon (100 g): 380 mg
- Pork loin cutlet (65 g): 353 mg
- Roasted chicken breast (80 g): 256 mg
- Canned tuna (100 g): 250 mg
- Zucchini (½ cup): 201 mg
Building meals around these foods during your first week or two on keto gives your body a steady potassium supply without adding significant carbs. A large spinach salad topped with salmon, for example, delivers a meaningful dose in a single meal.
Add Magnesium for Cramps and Sleep
Magnesium depletion shows up as muscle cramps, restless sleep, and a general sense of tension. Most recommendations for people on a ketogenic diet fall in the range of 200 to 400 mg of supplemental magnesium per day. Magnesium glycinate is often preferred because it absorbs well and is gentle on the stomach, and it has a calming effect that can help with the sleep disruption many people experience during the transition.
You can also get magnesium from foods like pumpkin seeds, almonds (in moderate portions to stay within carb limits), and dark leafy greens. But supplementing is reasonable during the first week or two when losses are highest.
Ease Into Carb Restriction Gradually
If your symptoms are severe, consider tapering carbohydrates over a week or two rather than dropping to under 20 grams overnight. A gradual reduction gives your kidneys time to adjust their sodium handling and lets your cells slowly shift toward burning fat for fuel. This approach often produces milder symptoms, though it delays the point at which you reach full ketosis.
Light exercise like walking can also help your body burn through its remaining glycogen stores faster, which shortens the adaptation window. Intense exercise, on the other hand, tends to make keto flu worse in the first few days because your muscles haven’t yet become efficient at using ketones.
What the Timeline Looks Like
Most people feel the worst between days three and five. By the end of the first week, energy levels typically return to normal, and many people report feeling better than they did before starting the diet. If symptoms persist beyond 10 to 14 days, the issue is almost certainly ongoing electrolyte imbalance rather than the adaptation process itself. Reassessing your sodium, potassium, and magnesium intake usually resolves lingering symptoms at that point.
The keto flu is uncomfortable but temporary. Staying ahead of fluid and mineral losses, rather than waiting for symptoms to appear, is the most effective way to move through it quickly.

