Caffeine and Sleep: How Late Is Too Late for Coffee?

Bedroom with warm cozy lighting
Quick Take
  • Best Overall: Saatva Classic ★★★★★ — Luxury hybrid with three firmness options.
  • Best for Side Sleepers: Helix Midnight ★★★★½ — Hybrid construction with targeted pressure relief at shoulders and hips.
  • Best Value: Nectar ★★★★½ — Memory foam with a 365-night trial and lifetime warranty.
Catch Z’s is reader-supported. When you buy through links on our site, we may earn a commission at no extra cost to you. Our picks are based on independent research — verified owner feedback, published specifications, and sleep-expert data — not paid placements.

Affiliate Disclosure: Catch Z's may earn a commission when you click links on this page, at no extra cost to you.

Caffeine has a half-life of 5-6 hours in most adults. That means half the caffeine from your 3pm coffee is still in your system at 9pm and a quarter at 3am. For most sleepers, cutting caffeine 8-10 hours before bed dramatically improves sleep quality. Here is what the science shows and how to apply it.

How caffeine disrupts sleep

Caffeine blocks adenosine receptors in the brain. Adenosine is the chemical that builds up during the day and creates sleep pressure. When caffeine blocks it, your brain does not get the sleepy signal even when you should be tired. The result: harder to fall asleep, lighter sleep, less deep sleep.

The 5-6 hour half-life

The average adult metabolizes caffeine at this rate. Slow metabolizers (about 10 percent of people) take 8-10 hours. Pregnant women, smokers, and people on certain medications may metabolize even slower.

Time consumedActive caffeine at 11pm
12 noon (350mg)about 90 mg
2pm (350mg)about 110 mg
4pm (200mg)about 90 mg
6pm (200mg)about 130 mg
8pm (100mg)about 90 mg

How to time caffeine for good sleep

Rule of thumb: No caffeine after 2pm for most sleepers. If you go to bed at 11pm, that gives you 9 hours.

If you sleep poorly: Try a complete morning-only schedule (cut off at 10am). See if sleep quality improves over 2 weeks.

If you tolerate caffeine well: 3-4pm cutoff may work, but pay attention to whether your sleep is fragmented.

What counts as caffeine

Beyond coffee: tea (50-100mg), energy drinks (80-300mg), pre-workout (150-400mg), chocolate (10-50mg), some sodas (30-60mg), and many medications (Excedrin has 65mg).

Caffeine withdrawal is real

If you currently drink coffee all afternoon and try cutting to morning-only, expect 3-5 days of headaches and fatigue. The withdrawal passes. Sleep quality improvements show up within 1-2 weeks.

Our Top 3 Mattresses

Independently researched, ranked by who they’re actually best for.

Saatva Classic
Best Overall

Saatva Classic

★★★★½4.8/5

Luxury hybrid with three firmness options. The most consistently recommended premium pick.

Check Current Price
Helix Midnight
Best for Side Sleepers

Helix Midnight

★★★★½4.6/5

Hybrid construction with targeted pressure relief at shoulders and hips.

Check Current Price
Nectar
Best Value

Nectar

★★★★½4.5/5

Memory foam with a 365-night trial and lifetime warranty.

Check Current Price
Scroll to Top