KetoWizard

Does Keto Improve Sleep Quality? Here Is What the Research Shows

Evening living room table with tea, a sleep tracker and a keto snack plate with cheese, walnuts and celery
Sleep responses to keto can improve for some people, while adaptation and meal timing still matter.

Several research lines have emerged linking the ketogenic diet to measurable improvements in sleep quality. A study published in the Journal of Translational Medicine found that participants following a very low-calorie ketogenic diet reported significant improvements across all measured sleep quality indicators after 31 days, including subjective sleep quality, latency, duration, and daytime dysfunction. Separate research in patients with multiple sclerosis found reduced daytime sleepiness and lower prevalence of poor sleep after switching to a ketogenic dietary approach. The leading biological hypothesis links beta-hydroxybutyrate to increased GABA activity, the brain's primary inhibitory neurotransmitter for sleep initiation and maintenance. Not all findings are positive: the first one to two weeks of adaptation often disrupt sleep until electrolyte balance and fat metabolism stabilize.

Very low-calorie keto and sleep: the Journal of Translational Medicine study

Researchers studying a very low-calorie ketogenic diet (VLCKD) protocol found that participants reported significantly better sleep quality after one month. Improvements were measured across multiple dimensions of sleep including subjective sleep quality, sleep latency, duration, and daytime dysfunction. Researchers linked these improvements primarily to weight loss and related reductions in sleep-disrupting factors such as sleep apnoea and musculoskeletal discomfort. This suggests that the sleep benefit in this study was partly indirect, mediated through metabolic and weight-related changes rather than a direct effect of ketosis itself.

Keto and sleep in multiple sclerosis

Two studies published in Sleep Medicine examined ketogenic diet effects on sleep in patients with relapsing multiple sclerosis. The first found reduced prevalence of poor sleep quality and improvements in daytime sleepiness. The second study demonstrated for the first time that a ketogenic diet may directly improve sleep complaints in MS patients, independent of sleep duration. Researchers noted that the improvements in daytime somnolence appeared to be independent of common comorbid sleep disorders, suggesting a mechanism beyond weight or sleep apnoea reduction alone.

The GABA hypothesis: why ketosis may promote deeper sleep

One of the most investigated biological mechanisms linking keto to sleep is the effect on the neurotransmitter GABA. Ketone bodies, particularly beta-hydroxybutyrate, appear to increase GABA activity in the brain. GABA is the primary inhibitory neurotransmitter and is central to both sleep initiation and maintenance. Research also shows that higher carbohydrate intake correlates with lower subjective sleep quality and less slow-wave sleep, suggesting that reducing carbohydrates creates a more favourable neurochemical environment for deep, restorative sleep.

Why the evidence is not all positive

Not all research supports the sleep-improving narrative. Some studies on high-fat diets find increased sleep disruption and difficulty falling asleep, particularly in the short term. The initial transition to ketosis, often called keto flu, frequently includes insomnia-like symptoms in the first one to two weeks as the body adapts to using ketones rather than glucose as its primary fuel. Electrolyte imbalances, particularly low magnesium and potassium, are common during this transition and can directly impair sleep quality. Most sleep improvements in research appear only after the initial adaptation period.

Practical tips for better sleep on keto

For people experiencing poor sleep after starting keto, the most evidence-based interventions are maintaining adequate electrolyte intake, particularly sodium, magnesium, and potassium, and allowing sufficient time for the adaptation period to complete. Eating the day's fat closer to the evening meal rather than fasting late has been anecdotally associated with improved sleep onset. Exogenous ketones are being studied in a clinical trial for their impact on sleep disruption, although results are not yet available. People with chronic sleep disorders should not use dietary change as a sole treatment and should consult a sleep specialist.

FAQ

Why do some people sleep worse when they start keto?

The initial keto adaptation phase, often 1–2 weeks, can disturb sleep due to electrolyte losses, increased cortisol from metabolic stress, and the brain's adjustment to ketone-based fuel. These symptoms are usually temporary and resolve as the body adapts to ketosis.

Does the keto diet help with sleep apnoea?

Weight loss achieved on keto can reduce obstructive sleep apnoea severity, since excess body weight and fat around the neck are major contributing factors. However, keto is not a direct treatment for sleep apnoea. People with sleep apnoea should continue prescribed treatments such as CPAP while pursuing weight loss.

How does carbohydrate intake affect sleep architecture?

Research shows that higher carbohydrate intake is associated with less slow-wave sleep, which is the most physically restorative sleep stage, and more REM sleep. Lower carbohydrate intake appears to shift the balance toward more slow-wave sleep. However, the relationship is complex and depends on overall dietary composition and individual factors.

Author at KetoWizard

About the author

Sebastian is a husband, father of two teenage boys, football coach, and writes at KetoWizard combining profound personal experience with continuous research of scientific literature.

Read author profile