Does Intermittent Fasting Affect Sleep? What the Evidence Actually Says (2026)

Rest Science may earn a commission on purchases made through some links on this page. It never changes our verdicts. Read our affiliate & advertising disclosure.

One podcast tells you intermittent fasting will fix your sleep. Another warns it'll destroy it. Your coworker swears by 16:8 and sleeps like a rock; your brother tried it and lay awake hungry for a week. You're 45, you're already not sleeping through the night, and the last thing you need is another experiment that makes it worse. So let's skip the hype and look at what the trials actually measured — because the answer is more boring than either camp admits, and more useful for it.

The short answer

For most healthy adults, short-term intermittent fasting barely changes sleep at all. The trials that measured sleep objectively — with wearables and sleep lab recordings, not just questionnaires — mostly found no significant change in how long people slept, how fast they fell asleep, or how often they woke up. That cuts both ways: fasting is unlikely to fix your sleep, and it's unlikely to wreck it either — provided your eating window doesn't end right before bed.

The important qualifier is "short-term" and "healthy adults." Almost all of these studies lasted a week or two and enrolled young, healthy volunteers — not 45-year-olds who already sleep badly. If that's you, the trials are a starting point, not a guarantee. And there's one version of fasting that clearly does hurt sleep: eating late at night, which is what happens during Ramadan-style fasting — but that's a timing problem, not a fasting problem, as we'll see below.

What the trials actually found

Three studies tell most of the story, and they're worth knowing individually because they disagree in instructive ways:

  • The 16:8 smartwatch study (2025). Thirty-five healthy adults, average age 30, followed a 16:8 schedule — eating during an 8-hour window, fasting for 16 — for seven days, tracked with a Withings ScanWatch. Result: no significant changes in total sleep duration, light or deep sleep, time to fall asleep, or nighttime awakenings. There was a slight, non-significant trend toward less deep sleep. Most participants said their sleep felt unchanged. Seven days is short, and 35 people is small — but the measurements were objective, which counts for a lot.
  • The alternate-day fasting trial (2024). Forty-two adults who reported poor sleep did 12 days of alternate-day modified fasting — about a quarter of their normal calories on fast days. Sleep duration, efficiency, time to fall asleep, and time awake after falling asleep did not differ between fasting and non-fasting days. On fast days, though, people moved less — about 1,100 fewer steps and roughly 27 fewer minutes of moderate-to-vigorous activity. Less movement isn't a sleep effect, but it matters if your days already feel sluggish.
  • Time-restricted eating in obese volunteers. An 8-hour eating window (lunch at noon, dinner 6–7 p.m.) produced no significant change in sleep structure or efficiency on lab sleep recordings, though some participants said they felt they fell asleep faster. Weight loss during the program improved sleep apnea symptoms — a real benefit, but it came from the weight loss, not the fasting schedule itself.

Now the exception. Studies conducted during Ramadan — a stricter fast, with eating only after sunset — consistently found worse sleep: longer time to fall asleep and less deep sleep and REM sleep. That's the key contrast. In Ramadan, the eating window ends late at night, right before bed. In the 16:8 studies, people typically finished eating in the early evening. Same idea — compressing meals — opposite sleep outcomes, because of timing. Which brings us to the mechanism.

Why fasting can still wreck your night

If the trials mostly show "no effect," why do so many people report that fasting ruined their sleep? Four reasons, and all of them are fixable:

  • Your eating window ends at bedtime. This is the big one. If you eat from noon to 8 p.m. and sleep at 10:30, your last meal lands two and a half hours before bed — fine. If you eat from 2 p.m. to 10 p.m. and sleep at 11, you've just had a full dinner an hour before bed, and everything in our guide to how late you can eat before bed applies. The fasting didn't hurt your sleep; the late dinner did.
  • Hunger. Going to bed genuinely hungry can wake you up — blood-sugar dips during the night can trigger a cortisol spike that jolts you awake, often around 3 a.m. If your eating window is too short or your last meal is too small, you'll feel it at midnight. A small snack before bed can help — see our guide to the best bedtime snack for sleep — but a snack technically breaks the fast, which is a trade-off only you can make.
  • The first one to two weeks are the worst. In the obese-volunteers study, participants said the first week was hard to endure and the second week was fine. Your body adapts to a new meal schedule, but adaptation takes time — and judging fasting by the first week is like judging a new mattress after one night.
  • Caffeine on an empty stomach. Fasting often means more coffee, earlier, with nothing to buffer it — and caffeine's half-life is around five to six hours. If you're fasting and your sleep got worse, check the coffee before blaming the fast.

There's also a subtler mechanism worth knowing: fasting raises orexin, a brain chemical tied to alertness, during the day — which is why fasters often report sharper focus. At night, orexin should drop. In theory, a regular fasting schedule helps orexin fall at the right time. In practice, the evidence for this in humans is thin, and it's not a reason to start fasting for sleep alone.

Who should be careful

Fasting is not for everyone, and sleep is only one consideration. Be cautious — and talk to your doctor first — if any of these apply:

  • You take diabetes medication (especially insulin or sulfonylureas) — fasting can cause low blood sugar, which is dangerous, not just uncomfortable.
  • You take blood pressure medication — fasting and dehydration can amplify its effects.
  • You have a history of disordered eating — rigid eating windows can reawaken old patterns.
  • You're pregnant, breastfeeding, or underweight — fasting is generally not recommended.
  • You work night shifts — a fasting window built around a daytime schedule doesn't translate, and shift workers already have the hardest sleep math. Our shift-worker survival guide covers eating on a rotating schedule.

If you already have a diagnosed sleep disorder — sleep apnea, chronic insomnia — fasting won't treat it, and it shouldn't delay you getting treatment. Cognitive behavioral therapy for insomnia (CBT-I) is the first-line treatment for chronic insomnia, and no eating schedule competes with it.

How to try it without wrecking your sleep

If you want to try intermittent fasting anyway — for weight, for blood sugar, for curiosity — here's the sleep-safe way to do it:

  • Use an early window. Eat from roughly 8 a.m. to 4 p.m., or 10 a.m. to 6 p.m. — and finish your last meal at least two to three hours before bed. Early time-restricted eating is the version with the best evidence behind it, and it sidesteps the late-dinner problem entirely.
  • Make your last meal count. If your window ends at 6 p.m. and you sleep at 10:30, that's a long stretch with no food. Eat a proper dinner — protein, fiber, some fat — so you're not lying awake hungry at midnight.
  • Keep your sleep schedule fixed. Fasting works partly by regularizing your body's rhythms, and that only happens if your bedtime and wake time are consistent too. A shifting sleep schedule plus a shifting eating window is chaos, not a protocol. Our guide to fixing your sleep schedule has the 7-day reset.
  • Give it two full weeks before judging. The first week is adaptation; the second is data. If your sleep is worse in week two than before you started, stop — the experiment answered the question.
  • Watch the caffeine. Keep your last coffee before early afternoon, especially while fasting, and don't use coffee to power through hunger.

The experiment worth running: try a 16:8 schedule with an early window (10 a.m. to 6 p.m.) for two weeks. Track three numbers: time to fall asleep, nighttime awakenings, and how you feel at 3 p.m. the next day. If sleep holds steady and afternoons feel better, keep it. If you start waking at 3 a.m. hungry, your window is too short or your dinner is too small — fix that before blaming the fast. And if sleep gets clearly worse in week two, stop. The fasting didn't fail you; it just isn't your tool.

The bottom line for you

You're not sleeping through the night, and you're looking for the lever that actually moves. Intermittent fasting probably isn't it. The trials say it leaves sleep roughly unchanged — which means it won't fix the snoring partner, the hot bedroom, or the brain that won't shut off, and it won't fix them by accident either. What it can do is make things worse if your eating window ends at bedtime, and it can make things better if it regularizes your evenings. If you try it, use an early window, give it two weeks, and judge it on your own sleep — not on someone else's testimonial.

FAQ

Does intermittent fasting affect sleep quality?

In healthy adults, short-term studies find little to no effect: a 16:8 schedule for one week didn't significantly change sleep duration, deep sleep, or awakenings. The exception is when eating happens late at night, which reliably worsens sleep — but that's a timing problem, not a fasting problem.

Can intermittent fasting cause insomnia?

It can disrupt sleep temporarily, especially in the first week — usually through hunger, a late-ending eating window, or extra caffeine. Most people adapt within one to two weeks. If sleep is still worse after two weeks, the schedule isn't working for you.

What is the best eating window for sleep?

An early window — finishing your last meal two to three hours before bed, for example 10 a.m. to 6 p.m. — is the sleep-friendliest version. Late windows that end near bedtime combine fasting with the late-dinner problem.

Does fasting help sleep apnea?

Indirectly. If fasting leads to weight loss, sleep apnea often improves — but that's the weight loss doing the work, not the fasting schedule. Fasting alone doesn't treat apnea, and apnea needs proper diagnosis and treatment.

Keep reading