Caffeine guide
Caffeine and Sleep: When to Stop Drinking Caffeine
Caffeine blocks the signals that make you feel sleepy, which can delay falling asleep and make sleep lighter. A cut-off time helps most people. This guide explains how caffeine affects sleep and how to find the time that works for you.
How caffeine affects sleep
Caffeine blocks adenosine, a chemical that builds up during the day and makes you sleepy. It can delay sleep onset, shorten total sleep and reduce deep sleep. A well-known laboratory study found that caffeine taken even six hours before bedtime reduced sleep time, so afternoon caffeine can matter.
A sensible cut-off
- Many sleep experts suggest stopping caffeine at least six to eight hours before bed.
- If you go to bed at 23:00, that means no caffeine after about 15:00 to 17:00.
- If you are sensitive, or have trouble sleeping, an earlier cut-off may help.
Test your own cut-off
- For a week, note when your last caffeinated drink was and how you slept.
- Move the cut-off two hours earlier for another week.
- Compare how long it took to fall asleep and how rested you felt.
- Keep the time that gives you better sleep.
Hidden evening caffeine
- Tea, including green tea, and cola.
- Chocolate and cocoa drinks.
- Pre-workout supplements and some pain relievers.
Good evening alternatives
- Decaf coffee or tea, remembering that decaf still has a little caffeine.
- Herbal infusions such as chamomile or mint.
- Warm milk or water.
Other sleep habits
- Keep a regular bedtime and wake time.
- Dim lights and screens before bed.
- Avoid heavy meals and alcohol late in the evening.
- Get daylight in the morning.
If you often struggle to sleep, talk to a doctor. Smart Caffeine Tracker can show you the timing of your drinks over days, and with optional Apple Health access can compare entries with sleep data; see how Smart Caffeine Tracker works.
Frequently asked questions
What time should I stop drinking caffeine?
Many experts suggest at least six to eight hours before bed. Sensitive people may need longer.
Can caffeine affect sleep even if I fall asleep easily?
Yes. Caffeine can reduce sleep quality and deep sleep even if you fall asleep without trouble.
Is decaf safe in the evening?
It has much less caffeine but not none, so very sensitive people may still notice an effect.
See your caffeine through the day
Log drinks, follow your own goal and look back at timing, with optional Apple Health and Apple Watch. For iPhone.
