May 9, 2026 · 4 min read

Caffeine outlasts the buzz.

Your 4pm coffee is still in your bloodstream at bedtime. A short look at the math, what it does to sleep, and the cleanest cutoff rule.

There is a small fact about caffeine that almost nobody mentions, even though it explains a surprising amount about why a lot of people sleep badly.

Caffeine has a half life of roughly five hours.

That single number is doing more work in your day than you probably realize. It means the cup of coffee you drink at four in the afternoon is not done with you at six, when the buzz has worn off. It is still pacing around your bloodstream at bedtime. About a quarter of the dose. And the reason your brain has stopped feeling jittery is not that the caffeine has left. It is that you stopped noticing it.

The buzz is a perception. The molecule is a fact.

The math of a half life

Half life is one of those phrases that gets used loosely, so it is worth being clean about it. A half life is the time it takes for a substance in your body to drop to half of its starting concentration. Caffeine sits between four and six hours for most healthy adults, with five being a reasonable working average. Genetics, liver enzymes, hormonal birth control, and pregnancy can move that number around quite a lot. Five is a fine starting estimate.

If you take 200 mg of caffeine at noon, you have roughly 100 mg in you at five, 50 mg at ten, and 25 mg still circulating at three in the morning. The dose tails off slowly. It does not fall off a cliff.

What that does to sleep, even when you feel fine

A 2013 randomized controlled trial published in the Journal of Clinical Sleep Medicine gave healthy adults 400 mg of caffeine at three different times before bed. Zero hours. Three hours. Six hours. Then they measured what their sleep actually looked like, with a placebo arm to compare against.

All three doses produced significant disruption to sleep architecture. The six hour dose reduced total sleep time by more than an hour on average. Most participants did not notice any subjective difference. Their sleep felt fine to them. The instruments told a different story.

That last part is the one that catches people off guard. The body is not telling you when caffeine is interfering. You can fall asleep with caffeine in your system. You can sleep through the night with it. What you cannot do is get the same depth and continuity you would have gotten without it.

What caffeine is actually doing in your brain

Adenosine is a small molecule that builds up in your brain across the day. The longer you are awake, the more of it accumulates. When it binds to its receptors, it produces the feeling we call sleep pressure. By the evening, the receptors are crowded.

Caffeine works by sitting on those same receptors and blocking adenosine from binding. It does not destroy adenosine. It does not push it out of your brain. The adenosine is still there. You just cannot feel it.

When the caffeine eventually clears, all of that built up adenosine reaches its receptors at once, which is why a long caffeinated stretch is often followed by a crash. And while caffeine is on those receptors, even at low concentrations, it is interfering with the normal hand off into sleep.

Five hours after a cup of coffee, you are still running an attenuated version of that same blockade.

A practical cutoff

You do not need to give up caffeine. The literature is not anti coffee. What the literature is fairly clear on is timing.

The cleanest rule of thumb is to stop somewhere around eight to ten hours before you intend to be asleep. If you go to bed at eleven, that puts a hard cutoff between one and three in the afternoon. For most people that single change is the highest leverage sleep intervention available, and it costs nothing.

If that feels aggressive, start smaller. Move the last cup back two hours. Notice for a week whether mornings feel different. The thing about sleep quality is that you do not really know what you have been missing until you give it back to yourself.

The two numbers do not line up

Caffeine is one of the best studied compounds on the planet, and it is genuinely useful in the morning. Alertness, mood, reaction time, even endurance performance. None of that is in dispute. It is also a quiet thief if you let it sit too late in your day.

The buzz tells you when the stimulant is on. The half life tells you when it is off. The two numbers are nowhere near each other, and most of us have been planning our afternoons around the wrong one.

If you can feel the coffee, the coffee can still feel you back six hours later.

If you are working on building a more reliable sleep window, our app Wake Up or Lose puts a small daily stake on getting yourself out of bed on time, which has a way of pulling the rest of the schedule into line.

← More from the blog