Keep this habit for later
Sign in to save

Sleep & Energy · No. 24 of 51 by votes

Stop caffeine by early afternoon.

Caffeine lasts for hours, so an afternoon coffee can still cut into your sleep that night.

  • 1,026 votes
  • Good evidence evidence
  • During the day
See all 51

The clock

Count back from bedtime

Set when you go to bed. The bars show the hours before it when caffeine should stop.

Last coffee by
–
Last strong pre-workout by
–

  • Coffee: nine hours clear before bed
  • Strong pre-workout drinks: thirteen hours

The dose

Work back from the time you want to sleep

Caffeine lasts for hours, so the afternoon cup is the one that counts.

  1. Step 1

    Set the cut-off

    Have your last coffee about 9 hours before bed; for strong pre-workout drinks, about 13 hours.

  2. Step 2

    Make the swap today

    Switch your afternoon coffee to decaf or herbal tea.

  3. Step 3

    Tie it to a moment

    When the clock passes 2 pm, I will make decaf instead of coffee.

Add it to your three, the habits you start with.

The research

What the research says

Good evidence

Consistent trials on nearer outcomes, or large long-running cohort studies.

In a home sleep study, a 400 mg dose of caffeine taken 6 hours before bed still reduced measured sleep by more than an hour. A meta-analysis of 24 studies found caffeine cut total sleep by about 45 minutes and reduced deep sleep. It estimated that a cup of coffee (about 107 mg) should be drunk at least 8.8 hours before bed to avoid losing sleep.

Watch outPeople vary a lot in how fast they clear caffeine. Tea, cola, energy drinks and some painkillers contain it too.

Sources

  1. Caffeine effects on sleep taken 0, 3, or 6 hours before going to bed
    Drake C et al., Journal of Clinical Sleep Medicine, 2013
  2. The effect of caffeine on subsequent sleep: A systematic review and meta-analysis
    Gardiner C et al., Sleep Medicine Reviews, 2023

General information, not medical or financial advice. If a habit touches a health condition, a medicine or debt, talk it over with someone who knows your situation.

Stop caffeine by early afternoon, a little every day.

HourLife keeps your habits beside your day, with the streak and the gentle nudge, so the two-minute version gets done.