blimbi
Mixed evidence

Does Intermittent Fasting Affect Sleep?

Studies of intermittent fasting and sleep find small or no effects in controlled trials. How meal timing, caffeine and habits still shape your night.

Written by
Blimbi Editorial
Editorial review
Reading time
5 min

Editorial review against cited sources, not medical review. Educational, not medical advice.

In 30 seconds

Time-restricted eating does not reliably improve or worsen sleep: pooled before-and-after data suggest small gains, but controlled comparisons show no difference in sleep duration or quality. Habits around the fast are what NHS sleep advice addresses: no tea, coffee or alcohol in the 6 hours before bed, no big meal late at night, and a GP visit if insomnia persists.

  • Controlled trials show no clear difference in sleep duration or quality with time-restricted eating.
  • Some individual trials reported shorter sleep or lower sleep efficiency, so notice how you sleep after you start.
  • NHS advice: no tea, coffee or alcohol for at least 6 hours before bed, and no big meal late at night.
  • If you have diabetes and get low blood sugar at night, the NHS advises seeing a GP or your diabetes team.

Does fasting affect your sleep?

Sleep and meal timing are both tied to the body clock, which is why people expect fasting to change sleep. The studies so far point to small or no average effects, with individual trials pulling in both directions.

A meta-analysis of 13 studies with 638 participants found small increases in sleep duration and sleep quality when before-and-after data from time-restricted eating groups were pooled, but controlled trials showed no differences, and there was no effect on the time people fell asleep or woke up.Source 1

A systematic review of six randomized trials lasting at least eight weeks concluded that time-restricted eating does not typically worsen sleep, although one trial reported shorter sleep, two reported lower sleep efficiency and one a longer time to fall asleep.Source 2

How should you time your window around sleep?

The sleep studies above did not test when the last meal should be. General NHS sleep advice still applies to a fasting schedule, and caffeine timing matters if coffee helps you through the fasting hours. Whether going to bed hungry affects sleep was not measured in the sources cited here. Eating earlier in the day is covered in early vs late eating windows.

NHS guidance says most adults need 7 to 9 hours of sleep and advises waking at the same time every day, not drinking alcohol, tea or coffee for at least 6 hours before bed, not eating a big meal late at night and not exercising in the 4 hours before bed.Source 3

A meta-analysis of 24 studies found that caffeine reduced total sleep time by about 45 minutes on average and estimated that a coffee with about 107 mg of caffeine should be consumed at least 8.8 hours before bedtime to avoid that reduction.Source 4

Practical habits that combine a fasting window with NHS sleep advice and caffeine research; adjust them to your routine.
HabitWhy it helps
Avoid ending your window with a big meal late at nightThe NHS advises against a big meal late at night
Have your last tea or coffee at least 6 hours before bedNHS advice; one meta-analysis estimated about 9 hours for a typical coffee
Wake and get up at the same time every dayA regular schedule is core NHS sleep advice
Keep workouts out of the 4 hours before bedThe NHS advises against exercising close to bedtime
Notice how you sleep in the first weeksSome trials found shorter sleep or lower sleep efficiency

What does the evidence show?

Mixed evidence

Small, inconsistent effects on sleep

In controlled comparisons, one meta-analysis found no difference in sleep duration or quality, and a review of randomized trials concluded that time-restricted eating does not typically worsen sleep; only one of its six trials reported better subjective sleep quality. Studies were small, most measured sleep by questionnaire, and few lasted long.Source 1Source 2

Who should ask a doctor first?

Talk to a qualified health professional before fasting if you are pregnant or breastfeeding, under 18, living with or recovering from an eating disorder, have diabetes, take insulin or a medicine affected by meal timing, are an older adult, or are acutely ill. Do not change the dose or timing of any medicine without your clinician. See Blimbi’s safety guide.

Frequently asked questions

Can intermittent fasting cause insomnia?

A review of randomized trials concluded that time-restricted eating does not typically worsen sleep, but some trials reported shorter sleep or lower sleep efficiency. If your sleep gets worse after you start, the NHS advises seeing a GP if insomnia persists despite changing your habits.Source 2Source 1Source 3

How long before bed should my eating window end?

The sources here set no fixed number. NHS sleep advice is to avoid a big meal late at night and to stop tea, coffee and alcohol at least 6 hours before bed, so a moderate last meal some hours before sleep fits that advice.Source 3

Does fasting improve sleep quality?

Not reliably. Small improvements appeared when before-and-after results from time-restricted eating groups were pooled, but controlled trials showed no difference in sleep duration or quality.Source 1

Sources

  1. The Effect of Time-Restricted Eating on Sleep: A Systematic Review and Meta-analysisXin Jin et al. Oxford University Press (OUP), March 1, 2026.DOI: 10.1093/nutrit/nuaf051 · PMID: 40498475Systematic review and meta-analysis

  2. The effects of time-restricted eating on sleep in adults: a systematic review of randomized controlled trialsCarly Bohlman et al. Frontiers Media SA, July 29, 2024.DOI: 10.3389/fnut.2024.1419811 · PMID: 39144285Systematic review and meta-analysis

  3. InsomniaNHS. NHS, March 19, 2024.Official guidance

  4. The effect of caffeine on subsequent sleep: A systematic review and meta-analysisCarissa Gardiner et al. Elsevier BV, June 1, 2023.DOI: 10.1016/j.smrv.2023.101764 · PMID: 36870101Systematic review and meta-analysis

  5. Low blood sugar (hypoglycaemia)NHS. NHS, August 3, 2023.Official guidance

See it in the source list