Guide caffeine-cutoff

What time should you stop drinking caffeine?

A simple way to set a caffeine cutoff from your bedtime, what the research says about timing, and how to test it without measuring your night.

The CDC and the American Academy of Sleep Medicine both advise you to avoid caffeine in the afternoon or evening. That advice is hard to act on, because the afternoon of someone who wakes at 6:00 AM is not the afternoon of someone who wakes at 9:00 AM. A cutoff is easier to follow when you set it from your own bedtime.

Start from your bedtime, then count back

The Sleep Foundation gives a general cutoff of at least 8 hours before bedtime. The National Heart, Lung, and Blood Institute gives a similar reason. It notes that the effects of caffeine can last up to 8 hours. So a cup of coffee in the late afternoon can make it hard to fall asleep at night.

Your bedtime depends on when you need to get up. So the order is:

  1. Write down the time you need to wake up tomorrow.
  2. Count back by the hours you want to spend in bed to get a bedtime.
  3. Count back 8 more hours from that bedtime. That is your caffeine cutoff.

Here is what that looks like with 8 hours in bed:

Wake-up time Bedtime Cutoff at 8 hours Cutoff at 10 hours
6:00 AM 10:00 PM 2:00 PM 12:00 PM
7:00 AM 11:00 PM 3:00 PM 1:00 PM
8:00 AM 12:00 AM 4:00 PM 2:00 PM

To skip the arithmetic, use the bedtime calculator. It works back from your wake-up time and shows a caffeine marker 8 hours before the suggested bedtime.

Why 8 hours is a starting point, not a rule

The 8-hour figure is a practical default. Research shows why some people need more.

In a 2013 study in the Journal of Clinical Sleep Medicine, people took 400 mg of caffeine at bedtime, 3 hours before bed, or 6 hours before bed. All three timings disturbed sleep compared with a placebo. The authors concluded that people should avoid substantial caffeine for at least 6 hours before bed.

A 2023 systematic review and meta-analysis included 24 studies. Caffeine reduced total sleep time by 45 minutes on average. To avoid that loss, the authors estimated that you should drink a cup of coffee (107 mg per 250 mL) at least 8.8 hours before bed. For a standard serve of pre-workout supplement (217.5 mg), the gap was at least 13.2 hours.

The Sleep Foundation adds that caffeine has a half-life of anywhere between 2 and 12 hours. Dose, how often you drink it, and genetics all change how long it lasts. If you still struggle with sleep at 8 hours, it suggests that a longer gap, such as 10 hours or more, may help.

These are averages and starting points. They do not tell you the exact time that is right for your body.

Check where caffeine hides in your afternoon

A cutoff works only if you count every source. The NHLBI lists caffeinated soda, coffee, tea, and chocolate. The Sleep Foundation gives these rough amounts:

  • Coffee (8 ounces): 100 to 200 mg
  • Tea (8 ounces): 40 to 120 mg
  • Energy drink (8 to 16 ounces): 50 to 300 mg
  • Soda (12 ounces): 0 to 70 mg

An afternoon iced tea, a cola with dinner, or a pre-workout drink before an evening gym session can all land after your cutoff. If your last coffee is early but sleep still feels off, look at these first.

Watch the other drinks in your evening

Caffeine is one part of what you drink after lunch. Two other evening drinks come up in public-health advice.

Alcohol is the first. The CDC and the American Academy of Sleep Medicine both advise against alcohol before bedtime.

A lot of water late at night is the second. The AASM suggests that you reduce fluid intake before bedtime. The Sleep Foundation page on drinking water before bed explains that a large amount late in the evening can wake you up to use the bathroom. It suggests that you stay hydrated through the day, so you do not need a large drink at bedtime. If you feel very thirsty, a small glass of water may help you get through the night.

Test the cutoff by how you feel

You do not need to measure your night to find out if a cutoff helps. If you already wake up tired, you know the night was poor. The useful step is to change the habit and see what happens.

Move your last caffeinated drink to your cutoff time. Keep it there for a week or two, because one night tells you very little. Then ask yourself each morning if you feel more rested than before. If the answer is yes, keep the cutoff. If not, try a longer gap before you add more rules.

For more on why a morning score is optional, see why you may not need a sleep tracker.

The caffeine cutoff is one marker in a longer evening. A wind-down routine covers the last 30 to 60 minutes before bed. How to plan a calmer evening around your wake-up time puts the pieces in order. Screens are another marker on the same timeline, and screen time before bed shows how to set a screens-off time from your bedtime.

Where Nocala fits

Nocala is an iPhone app. It turns your wake-up time into a step-by-step evening plan called Sleep Runway. The plan places a caffeine cutoff on the same timeline as your bedtime and wind-down, with 8 hours before bed as the starting point.

Nocala is not a sleep tracker, and it does not score your night. It helps you remove the evening habits that get in the way of rest, such as a late coffee. It is private and local, needs no account, and the basic plan works offline.

Keep it simple

Key takeaways

  • Set your caffeine cutoff from your bedtime, and set your bedtime from your wake-up time.
  • At least 8 hours before bed is a common starting point. Some people need 10 hours or more.
  • Count tea, soda, chocolate, energy drinks, and pre-workout products, not only coffee.
  • Go easy on alcohol and large drinks of water late in the evening.
  • Judge the change by how rested you feel, not by a score.

Sources

Questions, answered

Frequently asked questions

What time should I stop drinking caffeine?

Count back at least 8 hours from the time you plan to go to bed. The Sleep Foundation gives that as the general cutoff. If you go to bed at 10:00 PM, that means no caffeine after 2:00 PM. Some people do better with 10 hours or more.

Is 8 hours before bed enough for everyone?

No. The Sleep Foundation says caffeine has a half-life of anywhere between 2 and 12 hours, and that the range is wide because people process it at different speeds. A 2023 meta-analysis also found that a larger dose, such as a pre-workout supplement, needed a longer gap than a cup of coffee.

Do tea, soda, and chocolate count?

Yes, if they contain caffeine. The National Heart, Lung, and Blood Institute lists caffeinated soda, coffee, tea, and chocolate. Energy drinks and some pre-workout products can also contain a lot of caffeine.

I fall asleep fine after an evening coffee. Does the cutoff still matter?

It can. A sleep physician quoted by the Sleep Foundation notes that you may not sleep as deeply after recent caffeine, even if you fall asleep. How rested you feel the next morning is a better check than how fast you fell asleep.

Do I need a sleep tracker to see if caffeine affects my sleep?

No. Move your last caffeinated drink earlier, keep the new time for a week or two, and notice how you feel when you wake up. If you already wake up rested, you have your answer without a score.

How does Nocala handle a caffeine cutoff?

Nocala is an iPhone app that turns your wake-up time into a step-by-step evening plan called Sleep Runway. The plan places a caffeine cutoff on the same timeline as your bedtime and wind-down, with 8 hours before bed as the starting point. Nocala is not a sleep tracker and does not score your night.

Keep exploring