Caffeine is a loan
Coffee doesn't give you energy. It hides the bill. Here's the math on when the bill comes due.
From the moment you wake up, a molecule called adenosine builds up in your brain. It's a byproduct of being awake and burning energy, and the more of it there is, the heavier your eyelids get. That rising pressure is a big part of why you can fall asleep at night.
Caffeine works by sitting in adenosine's receptors and blocking them. The adenosine is still there, still piling up. You just can't feel it. That's why I think of coffee as a loan, not energy: you're borrowing alertness from later, and the bill shows up when the caffeine clears.
The half-life problem
For most adults, caffeine has a half-life of around five hours, with a wide range from person to person. So half the caffeine from a 3pm coffee is still in your system at 8pm, and a quarter of it at 1am. You might still fall asleep fine, but your sleep will be shallower than it should be.
This isn't just theory. In one sleep study, a large dose of caffeine taken six hours before bed still cut total sleep by more than an hour. And you often don't notice, which is the sneaky part.
You're borrowing alertness from later, and the bill always comes due.
My rules
- I cut off caffeine around 2pm. Any later, and the slider above starts to look ugly.
- I often wait 60 to 90 minutes after waking before the first cup. Huberman popularized this to avoid an afternoon crash. The evidence is thin, but it's a habit I like, and it pairs well with getting light first.
- On days I'm dragging, I go outside or move before reaching for a second cup.
Caffeine is one of the best tools there is. I just try to pay the loan back on my schedule, not in the middle of my sleep.
- 1Drake et al., Caffeine effects on sleep taken 0, 3, or 6 hours before going to bed, J Clin Sleep Med (2013)
- 2Huberman Lab: Using Caffeine to Optimize Mental & Physical Performance
- 3Matthew Walker, Why We Sleep (2017)
These are my notes from what I read and try. I'm not a doctor, and none of this is medical advice.
Motivation isn't about how high the peaks go. It's about where the floor sits between them.