Coffee and Sleep: What You Need to Know
A 240 ml cold brew contains 200 mg of caffeine and — because the population-average half-life is ~5.7 hours — will leave about 96 mg in your body after 6 hours.
- 240 ml cold brew = 200 mg caffeine; 6 hours later ≈ 96 mg remains.
- Typical drip coffee (240 ml) = 96 mg; late-afternoon drip still leaves ≈ 46 mg after 6 hours.
- FDA guideline for healthy adults: limit ≈ 400 mg/day; pregnancy guidance ≈ 200 mg/day.
- Caffeine half-life ≈ 5.7 hours (population average): expect ~48% remaining after 6 hours.
Coffee's impact on sleep patterns
Caffeine blocks adenosine receptors, delaying sleep onset and reducing sleepiness. Even moderate doses (60–200 mg) raise alertness for hours, fragmenting slow-wave sleep and REM when taken close to bedtime. The size and brew method determine how long significant stimulant levels persist: use the tables below to compare common drinks and how much remains over time.
Caffeine content: common drinks (exact measured values)
Pick drinks by the dataset below when you plan timing. These are dataset values and match common serving sizes used in nutrition databases.
| Drink (serving) | Volume | Caffeine (mg) |
|---|---|---|
| Cold brew | 240 ml | 200 mg |
| Drip coffee | 240 ml | 96 mg |
| Pour over | 240 ml | 145 mg |
| Espresso (double) | 60 ml | 126 mg |
| Americano | 240 ml | 126 mg |
| Latte (240 ml) | 240 ml | 68 mg |
| Starbucks Pike Place Brewed (Grande) | 473 ml | 310 mg |
| Starbucks Blonde Espresso (shot) | 30 ml | 85 mg |
| Decaf coffee | 240 ml | 3 mg |
| Black tea | 240 ml | 47 mg |
| Bang energy | 473 ml | 300 mg |
Caffeine decay and practical timing
Use the population-average half-life (≈5.7 hours) as a planning tool: roughly 69% remains after 3 hours, 48% after 6 hours, 33% after 9 hours, and 23% after 12 hours. That explains why an evening coffee can still disrupt morning sleep cycles.
| Starting dose (mg) | 0 h | 3 h (~69%) | 6 h (~48%) | 9 h (~33%) | 12 h (~23%) |
|---|---|---|---|---|---|
| Cold brew — 200 mg | 200 mg | 138 mg | 96 mg | 66 mg | 46 mg |
| Drip coffee — 96 mg | 96 mg | 66 mg | 46 mg | 32 mg | 22 mg |
| Americano/double espresso — 126 mg | 126 mg | 87 mg | 60 mg | 42 mg | 29 mg |
What affects how long caffeine keeps you awake
Beyond dose and half-life, factors include genetics (CYP1A2 variants), smoking (accelerates clearance), oral contraceptives and pregnancy (slow clearance), liver function, and age. Brewing variables matter: pour over and Starbucks Pike Place deliver higher mg per 240–473 ml than instant or decaf. The USDA FoodData Central and manufacturer labels are good cross-checks.
Best times to consume coffee to protect sleep
Work backwards from bedtime using the decay table: to have <23% or less remaining at wake, avoid large doses within 12 hours of sleep. For a 10:00 pm bedtime, skip cold brew (200 mg) after 10:00 am if you want minimal carryover; smaller drinks like a 240 ml latte (68 mg) are usually safer later in the day for many people. Adjust for personal sensitivity.
Strategies for staying awake without harming sleep
Timing and microdosing
Prefer small doses (40–100 mg) earlier in the afternoon rather than single large doses. Caffeine gum or a single espresso shot (63 mg) gives fast alerting effects with a smaller total dose than a large cold brew.
Non-caffeine approaches
Bright light, brief exercise, hydration, and scheduled naps (10–20 minutes) often improve alertness without adding evening caffeine. If you track caffeine and sleep together, use an app like CoffeeLog to see patterns and adjust timing.
Health, safety and special populations
FDA guidance for healthy adults is about 400 mg/day; for pregnancy many authorities (including EFSA summaries and clinical guidance) suggest limiting to about 200 mg/day. The American Academy of Pediatrics discourages caffeine for adolescents. For anxiety, arrhythmias or liver disease, clearance and tolerance change; consult a clinician. This page is informational, not medical advice.
Quick practical checklist
- Check exact mg on the drink label or a trusted database (USDA FoodData Central) before planning sleep timing.
- Use the decay table to estimate residual caffeine at bedtime; expect ~48% remaining after 6 hours.
- If sleep quality matters, stop large doses 8–12 hours before bed and prefer low-dose options later in the day.
- Track intake and sleep (for example with CoffeeLog) to find your personal cutoff time.
Sources and further reading
Values above come from standardized beverage measures and manufacturer entries; cross-check with USDA FoodData Central for home-brew variability. For safety limits see FDA and EFSA guidance; for clinical effects and pregnancy guidance see Mayo Clinic and American Academy of Pediatrics resources.
Frequently asked questions
Is it okay to drink coffee while fasting?
Plain black coffee during a fast is usually fine for most fasting protocols and contains caffeine (e.g., drip 240 ml = 96 mg). If you add milk or sugar you break many fasts; monitor how caffeine affects hunger and sleep.
How long before bed should I stop drinking coffee?
Because caffeine halves in ≈5.7 hours, stop large doses 8–12 hours before bedtime. For a 200 mg cold brew, expect ~96 mg remaining after 6 hours and ~46 mg after 12 hours.
How much caffeine is safe per day?
The FDA cites about 400 mg/day as a common upper limit for healthy adults; pregnancy guidance is about 200 mg/day and the AAP discourages caffeine for adolescents.
Does decaf keep you awake?
Decaf (240 ml) contains about 3 mg of caffeine — far below typical stimulant doses — so it’s unlikely to disrupt sleep for most people, though sensitivity varies.
Which coffee types disrupt sleep the most?
High-dose beverages (e.g., 240 ml cold brew = 200 mg or Starbucks Pike Place 473 ml = 310 mg) carry the largest risk of nighttime sleep disruption when consumed late.
Can tracking help improve sleep while still drinking coffee?
Yes. Tracking exact mg, timing and sleep quality (for example with CoffeeLog) reveals patterns so you can move your cutoff earlier or reduce dose to protect sleep.