The Caffeine GuideEnjoy it and sleep well
Someone asleep in bed, an empty espresso cup on the nightstand
Myth or fact

If you fall asleep fine, is your coffee fine?

Short answerNot the way you think

By GyroscopeUpdated November 14, 20264 sources
On this page
  1. Why people believe it
  2. What the studies found
  3. The best case for it

Not the way you think. Caffeine barely changes how fast you fall asleep, about 9 minutes across 24 studies. What it takes comes after you’re already asleep, about 45 minutes of total sleep, 11 minutes of deep sleep and more time awake. People can’t feel that part, so dropping off fast tells you very little about your coffee.

What we’d do

If you wake up tired, move your last cup earlier or make it smaller for two weeks before you blame anything else. Judge your coffee by your mornings and by your tracker’s deep sleep and time awake, never by how quickly you fall asleep.

If you remember three things

  1. Falling asleep is the part caffeine changes least. It took about 9 minutes longer, against 45 minutes off the whole night.
  2. The cost is deep sleep and waking in the night. 400 mg 8 hours before bed added 29 minutes awake in a 2025 trial.
  3. You can’t feel it. Only 22% of the men in that trial could say both what dose they’d had and when.

Why people believe it

It’s the test everyone uses. You have a coffee at 4pm, you’re asleep by 11, and the coffee seems to have done nothing. If caffeine kept you up, surely you’d be lying there awake.

Caffeine does make it a little harder to drop off, but only a little. Most of what it does happens after you’re asleep, where you can’t watch.

It’s like a phone that charged all night but only got to 80%. It turns on fine in the morning, and you don’t find out until the afternoon.

A made bed

What the studies found

Twenty-four studies pooled

Gardiner and colleagues, Sleep Medicine Reviews, 2023

Caffeine added 9 minutes to falling asleep. It took 45 minutes off total sleep and 11 off deep sleep, and added 12 minutes awake after people had fallen asleep.

The studies used different doses and timings.

Monitor against diary

12 good sleepers, 400 mg at 0, 3 or 6 hours before bed. Drake and colleagues, Henry Ford Hospital, 2013

The monitor measured more than an hour less sleep at every timing. At 6 hours, the diaries put the loss at 41 minutes, too small to be sure of.

Small, and funded by the maker of the headband monitor.

Who could tell?

23 young men, 100 or 400 mg at 12, 8 or 4 hours before bed. Gardiner and colleagues, 2025

They only rated their sleep worse after 400 mg 4 hours out, though deep sleep fell at every timing of the big dose. 22% guessed both their dose and its timing.

Young men only, measured at home.

In the 2013 study, the diaries caught the sleep people lost to caffeine at bedtime and 3 hours before, and missed what they lost at 6 hours. The researchers suggested that gap is why people don’t follow advice to avoid caffeine before bed.

The best case for it

Some people really are barely touched by their coffee. In a 2021 study in Basel, 20 young men who drink caffeine every day took 150 mg three times a day for 10 days, the last dose 8 hours before bed. Their sleep, measured all night, looked the same as on placebo.

If your caffeine is a few moderate cups that end by mid-afternoon, you may be one of those people. But the men in the 2025 trial were daily drinkers too, and one big dose cost them deep sleep from 12 hours away. You can’t feel which group you’re in, so the only way to know is to test it.

More detail: how to test it on yourself

Spend one week as you are, then one week with your last cup at least 7 hours before bed or swapped for something smaller. With a ring or watch, compare the weekly averages of deep sleep and time awake, not single nights. Without one, write down each morning how rested you feel on a scale of 1 to 5. If nothing changes, your coffee probably isn’t the problem, and you can stop worrying about it.

4 sources
  1. Gardiner C and others, The effect of caffeine on subsequent sleep: a systematic review and meta-analysis, Sleep Medicine Reviews, 2023doi.org
  2. Drake C, Roehrs T, Shambroom J, Roth T, Caffeine effects on sleep taken 0, 3, or 6 hours before going to bed, Journal of Clinical Sleep Medicine, 2013pmc.ncbi.nlm.nih.gov
  3. Gardiner C and others, Dose and timing effects of caffeine on subsequent sleep: a randomized clinical crossover trial, Sleep, 2025doi.org
  4. Weibel J and others, The impact of daily caffeine intake on nighttime sleep in young adult men, Scientific Reports, 2021doi.org
With Gyroscope One, you see the milligrams and the time of your last cup, found in your drinks, next to your sleep. Open Gyroscope

Your personalized guide

Is my coffee keeping me up?

Eight taps. You get how much caffeine is still in you when you fall asleep, the latest time for the drink you actually have, and the one change for tonight.

  • What you fall asleep with, in milligrams
  • Your cutoff for your own drink
  • Free, under a minute
Start