Skip to main content
FlowSnips

☕ Caffeine Guide 5 min read

When Should I Stop Drinking Caffeine Before Sleep?

Caffeine doesn't disappear the moment you finish your coffee. With a half-life of roughly 5–6 hours, a mid-afternoon espresso can still leave a meaningful amount of caffeine circulating in your bloodstream at bedtime. This guide explains exactly how it works — and when to stop.

Find your personal caffeine cutoff

Enter your bedtime and caffeine sensitivity and the calculator returns your recommended last-coffee time.

Caffeine Cutoff Calculator →

How caffeine affects the brain

Caffeine works by blocking adenosine receptors in the brain. Adenosine is a chemical that builds up throughout the day and creates the sensation of increasing sleepiness. By blocking its receptors, caffeine temporarily masks that sleep drive — but the adenosine itself continues accumulating. When caffeine wears off, the adenosine flood returns, often causing a sudden "crash."

5–6 h
Caffeine half-life in healthy adults
~30 min
Time to peak blood concentration
6 h
Cutoff before bedtime (general rule)
~1 h
Avg. sleep lost from late caffeine (research)

Worked example: the afternoon coffee

You drink a large filter coffee (200 mg caffeine) at 2:00 PM. Here is how much caffeine remains in your bloodstream through the evening:

TimeHours after drinkCaffeine remaining (approx.)Status
2:00 PM0 h200 mgPeak
5:00 PM3 h (half-life)~100 mgHalf remains
8:00 PM6 h~50 mgStill active
11:00 PM9 h~25 mgLow
2:00 AM12 h~12 mgMinimal
Key insight: If you go to bed at 10 PM after that 2 PM coffee, you still have roughly 50 mg of caffeine active — equivalent to about half an espresso. Research by Drs. Drake and Roehrs found this level meaningfully disrupts deep sleep even when people believe they slept normally.

Recommended cutoff by bedtime

The table below applies the standard 6-hour rule for average sensitivity. Sensitive individuals should use the earlier column.

BedtimeAverage sensitivity (6 h cutoff)High sensitivity (8 h cutoff)
9:00 PM3:00 PM1:00 PM
9:30 PM3:30 PM1:30 PM
10:00 PM4:00 PM2:00 PM
10:30 PM4:30 PM2:30 PM
11:00 PM5:00 PM3:00 PM
11:30 PM5:30 PM3:30 PM
Midnight6:00 PM4:00 PM

Caffeine content by common drink

Knowing how much caffeine is in each drink helps you judge your total daily intake, not just your last cup. The FDA suggests a limit of 400 mg per day for healthy adults.

DrinkServing sizeCaffeine (approx.)Daily limit equivalent
Espresso (single shot)30 ml63 mgUp to 6 shots
Filter / drip coffee240 ml95 mgUp to 4 cups
Instant coffee240 ml65 mgUp to 6 cups
Black tea240 ml47 mgUp to 8 cups
Green tea240 ml28 mgUp to 14 cups
Energy drink (standard)250 ml80 mgUp to 5 cans
Cola (regular)355 ml34 mgUp to 11 cans
Dark chocolate (50 g)50 g~25 mgHidden source to note
Decaf coffee240 ml2–7 mgVery low; safe for most
Hidden sources: Pre-workout supplements (150–300 mg), some pain relievers (65 mg), certain headache tablets, and mate tea are easy to overlook when tracking daily caffeine.

Signs your caffeine intake may be too late or too high

  • Taking more than 20–30 minutes to fall asleep most nights
  • Waking between 2–4 AM without an obvious reason
  • Feeling that your sleep is light or unrefreshing
  • Needing caffeine to feel functional in the morning (a cycle of dependency)
  • Heart palpitations or anxiety in the evening

If you rely on caffeine heavily, try reducing intake gradually (by one drink every few days) rather than stopping abruptly, which commonly triggers withdrawal headaches.

Common questions

How many hours before bed should I stop drinking coffee?

Most people should stop caffeine 6–8 hours before bed. For a 10 PM bedtime, that means cutting off around 2–4 PM. Sensitive individuals may need to stop as early as noon.

What is the half-life of caffeine?

Caffeine has a half-life of approximately 5–6 hours in healthy adults, meaning half of the dose is still active after that time. The range varies from about 3 hours in fast metabolisers to 9 hours in slow metabolisers, pregnant women, or people taking certain medications.

Is decaf coffee completely caffeine-free?

No. Decaf typically contains 2–7 mg of caffeine per 240 ml cup, compared to 70–140 mg in regular coffee. This is generally too low to affect sleep for most people, but highly sensitive individuals may still notice an effect from multiple cups.

Can caffeine affect my sleep even if I fall asleep normally?

Yes. Research has shown that caffeine consumed 6 hours before bedtime reduces total sleep time by approximately 1 hour on average, even when people report falling asleep without difficulty. The primary impact is on deep NREM sleep quality, which is less subjectively noticeable but critical for physical recovery.

Does tolerance reduce caffeine's impact on sleep?

Partially. Regular caffeine users develop tolerance to its stimulant effects — meaning they need more to feel alert. However, tolerance to its sleep-disrupting effects is incomplete; the interference with deep sleep persists even in habitual drinkers.

Find your caffeine cutoff now

Enter your bedtime and sensitivity level to get your personalised last-coffee time.

Open Caffeine Cutoff Calculator →