LearnCaffeine and sleep

Caffeine and sleep

The half-life is about five hours. What that means for an afternoon coffee, in a table.

The short answer

Caffeine has a half-life of roughly five hours in most adults, so half of a 3 pm coffee is still working at 8 pm. It affects how deeply you sleep before it affects whether you can.

The half-life, in a table

Caffeine has a half-life of roughly five hours in a healthy adult, meaning that five hours after a coffee, half of the caffeine is still in your bloodstream. It is a long tail, and it is the single most useful fact about coffee and sleep.

A 150 mg coffee, hour by hour
TimeStill activeComparable to
At 8 am, drunk150 mgA large filter coffee
1 pm75 mgA single espresso
6 pm38 mgA cup of black tea
11 pm19 mgA cup of green tea
4 am9 mgA small square of dark chocolate

Read it the other way and it becomes advice. An afternoon coffee at 3 pm still has roughly half its caffeine working at 8 pm and a quarter at 1 am. For most people the practical cut-off is eight to ten hours before bed, which for an 11 pm bedtime means early afternoon.

What it does to sleep

Caffeine works by blocking adenosine receptors. Adenosine accumulates through the day and is part of what produces the feeling of sleepiness, and caffeine occupies the receptors without activating them. It does not remove the adenosine, which is why the tiredness arrives all at once when the caffeine clears.

Research consistently finds that caffeine late in the day reduces total sleep time and, more interestingly, reduces deep slow-wave sleep even when people report falling asleep normally. That is the part worth knowing: the common experience of “caffeine doesn’t affect my sleep” is usually about sleep onset, which is the measure caffeine affects least.

  • Half-lifeabout 5 hours, typically 3 to 7
  • Peaks in blood30 to 60 minutes after drinking
  • Practical cut-off8 to 10 hours before bed
  • Affectssleep depth more reliably than sleep onset
  • Commonly cited upper limit400 mg a day for most adults

Why people differ so much

Clearance rate varies several-fold between individuals, mostly through the liver enzyme CYP1A2. Some people metabolise caffeine quickly and genuinely can drink an espresso after dinner; others clear it slowly and are still affected the next morning. Smoking roughly halves the half-life, and pregnancy and some medications, including certain oral contraceptives, lengthen it considerably.

Tolerance is real for the alerting effect and weaker for the sleep effect. Regular drinkers notice the stimulation less while the disruption to sleep architecture continues, which is a frustrating combination and the reason a lot of people conclude caffeine has stopped working on them.

If you want to keep the ritual and drop the caffeine, modern decaf is good and retains only 1 to 3 per cent of the caffeine. The caffeine by drink page has the figures for working out what you are actually drinking.

Questions

When should I stop drinking coffee for the day?

Eight to ten hours before bed is the common recommendation, so roughly early afternoon for most sleep schedules. If you clear caffeine slowly, earlier. The way to find out is to move your last coffee back by two hours for a week and see what changes.

I fall asleep fine after coffee. Is it still affecting me?

Probably, in a way you cannot feel. Studies measuring sleep stages find reduced deep sleep from evening caffeine even in people who fall asleep normally and report no problem. Sleep onset is the measure it affects least.

Does a coffee nap work?

There is reasonable evidence for it. Caffeine takes 20 to 30 minutes to take effect, so drinking a coffee and immediately napping for 20 minutes means you wake as it arrives, and the nap has cleared some adenosine in the meantime.

Why does coffee sometimes make me sleepy?

Usually the adenosine catching up when the caffeine clears, which feels like a crash. Dehydration and a sugary drink alongside it both contribute. If a single coffee reliably makes you drowsy immediately, that is worth mentioning to a doctor.

How long does it take to come off caffeine?

Withdrawal headaches and fatigue typically start 12 to 24 hours after the last dose, peak around day two, and resolve within a week or so. Tapering over a week rather than stopping abruptly avoids most of it.

Now go and drink some

Kopetta lists independent cafés and roasteries across the Northeast — hours, what they pour, and whether the door is open right now.

Read next