Caffeine Timing Calculator

Find your ideal coffee window based on your wake time and sleep schedule.

The Science of Caffeine and Sleep

Caffeine is the world's most widely consumed psychoactive substance — and also one of the most reliably studied in terms of its effect on sleep. It works by blocking adenosine receptors in the brain. Adenosine is the chemical that accumulates throughout the day to create "sleep pressure." When caffeine occupies these receptors, it prevents adenosine from binding — effectively masking fatigue without eliminating it.

The hidden cost of late caffeine

When caffeine wears off, the adenosine that was blocked is still present and floods your receptors all at once — creating the classic afternoon "crash." This is not withdrawal; it is the return of the sleep pressure that was masked, plus some.

Caffeine Half-Life by Sensitivity Profile

Sensitivity Half-life Last safe coffee (10pm bedtime) Genetic factor
Fast metaboliser (low sensitivity) 3.5 hours ~3:00 PM CYP1A2 fast variant
Average metaboliser 5 hours ~12:30 PM Mixed CYP1A2 expression
Slow metaboliser (high sensitivity) 7 hours ~10:00 AM CYP1A2 slow variant
Pregnancy / oral contraceptives Up to 18 hours Morning only Hormonal CYP1A2 inhibition

Caffeine Blood Level Over Time After a 200mg Dose (1 cup coffee)

The Optimal Caffeine Window: The "90-Minute Delay" Rule

Dr. Andrew Huberman and sleep researcher Matt Walker both recommend delaying caffeine consumption for 90–120 minutes after waking. This is because cortisol — your body's natural wake signal — peaks 30–45 minutes after waking. Introducing caffeine during this natural cortisol surge blunts both its effect and your cortisol response, leading to tolerance build-up and a more pronounced afternoon crash.

1

Wait 90 minutes after waking

Allow your natural cortisol awakening response to complete first. This preserves caffeine sensitivity and reduces tolerance.

2

Cut off caffeine 8–10 half-lives before bed

For average metabolisers: no caffeine after 1–2pm for a 10pm bedtime. Adjust based on your sensitivity profile.

3

Limit to 400mg/day (healthy adults)

The FDA considers 400mg (roughly 4 cups of filter coffee) safe for healthy adults. Beyond this, anxiety and cardiovascular effects increase.

4

L-theanine for edge reduction

200mg L-theanine (found in green tea) combined with caffeine reduces jitters and overstimulation while preserving the cognitive benefits.

5

Napping for better caffeine use

A 20-minute nap before consuming caffeine allows adenosine to clear naturally. The caffeine then amplifies the alertness of the nap.

Caffeine Content in Common Drinks

Drink Serving Size Caffeine (approx.)
Espresso 30ml (1 shot) 60–80 mg
Filter / drip coffee 240ml 95–165 mg
Americano 240ml 60–120 mg
Cappuccino / Latte 240ml 60–80 mg
Green tea 240ml 20–45 mg
Black tea 240ml 40–70 mg
Energy drink (standard) 250ml 80–160 mg
Pre-workout supplement 1 scoop 150–300 mg
Decaf coffee 240ml 2–12 mg