An afternoon coffee and an evening glass of wine both change your night, but they change different parts of it. Caffeine shortens and lightens the whole night,1 while alcohol mostly takes away dreaming sleep in the second half.2 Each section below opens with its answer, so you can stop reading at any break.
Caffeine costs you sleep for longer than you think
An afternoon dose of caffeine can still cut your sleep at night. The cutoff for a cup of coffee is about 9 hours before bed, which is earlier than most people guess.1
A 2023 review pooled 24 studies of caffeine and sleep.1 On average, caffeine cut total sleep by 45 minutes. It added 9 minutes to the time it took to fall asleep and 12 minutes of lying awake during the night.
Timing mattered more than most people expect. In a 2013 study, people took 400 mg of caffeine at bedtime, 3 hours before bed, or 6 hours before bed.3 They slept at home wearing a portable sleep monitor. All three times disturbed sleep compared with a placebo, including the dose taken 6 hours early.
The 2023 review worked out how long to wait. A standard cup of coffee, which it counted as 107 mg, should come at least 8.8 hours before bed. A typical serving of pre-workout powder, about 217 mg, needs at least 13.2 hours.1
Bottom lineIf you go to bed at 10:30 p.m., your last coffee belongs before about 1:45 p.m. A pre-workout drink belongs before about 9:15 a.m.
Caffeine swaps some deep sleep for light sleep
Late caffeine doesn't only shorten the night. It also changes its makeup, so the sleep you do get is a little lighter.
In the same review, caffeine added about 6 minutes of the lightest stage of sleep.1 It removed about 11 minutes of deep sleep, the slowest and heaviest stage.
Eleven minutes sounds small, and on one night it is. Over a week of late lattes, though, that would add up to more than an hour of deep sleep you didn't get.
Bottom lineLate caffeine costs you minutes of deep sleep and gives you lighter sleep in their place.
Alcohol helps you drop off and hurts the second half
Drinking before bed can help you fall asleep. It also disturbs the second half of the night and cuts the dreaming stage of sleep, called REM.
A 2013 review of every known study in healthy volunteers found the same pattern at all doses.4 People fell asleep faster and slept more soundly in the first half of the night, then woke more often in the second half. Deep sleep rose early in the night, and REM sleep was delayed and, at moderate and high doses, reduced.
The larger 2025 review, of 27 studies, looked closely at dose.2 REM sleep dropped after a low dose, about two standard drinks, and the loss grew with every extra drink.
On one point the two reviews disagree. The 2025 review found faster sleep onset only at high doses, about five drinks,2 while the 2013 review saw it at all doses.4 Either way, the quick drop-off comes with a worse second half.
A standard drink in the US holds about 14 grams of alcohol.5 That's a 12-ounce beer at 5 percent alcohol, a 5-ounce glass of wine at 12 percent, or a 1.5-ounce shot of spirits at 40 percent.
Bottom lineAlcohol trades a faster start for a rougher finish, and even two drinks reduce your dreaming sleep.
What your tracker will and won't show
Most sleep trackers read your heart rate and your movement. The clearest sign of an evening drink is a higher heart rate and a lower recovery score.
A 2018 study followed 4,098 Finnish employees who wore heart rate monitors through ordinary days, some with alcohol and some without.6 Recovery scores for the first 3 hours of sleep fell by about 9 points after a low dose. They fell by 24 points after a moderate dose and 39 points after a high one.
The low dose was 0.25 grams per kilogram of body weight or less.6 For a 70 kg (154 lb) person, that's a little more than one standard drink.5 The drop held for active people as well as inactive ones,6 so fitness didn't protect anybody.
Treat the deep sleep and REM minutes on your tracker with more caution. A 2021 lab study tested seven consumer sleep devices on 34 adults against full sleep lab recordings.7 Most devices detected sleep well, but their sleep stage estimates were inconsistent, and they did worse on disrupted nights.
Bottom lineTrust your tracker's total sleep and heart rate more than its stage minutes, especially after a drink.
Set a coffee cutoff and drink less in the evening
The fix for caffeine is a cutoff time. The fix for alcohol is a smaller amount, because every review above found that more alcohol did more damage.
Set your caffeine cutoff about 9 hours before your usual bedtime, and move any pre-workout drink to the morning.1 If you train in the evening and want a boost, a caffeine-free warm-up is kinder to your night.
For alcohol, the evidence doesn't offer a safe amount for REM sleep, since even a low dose reduced it.2 One drink costs less than two, and two cost less than four.
Bottom lineCaffeine needs a cutoff time. Alcohol needs a smaller pour.
The short version
- 01
Caffeine cut sleep by about 45 minutes on average and swapped some deep sleep for light sleep.
- 02
Your last coffee should come about 9 hours before bed, and pre-workout powder about 13 hours before.
- 03
Alcohol helps you fall asleep, then disturbs the second half of the night and cuts REM sleep.
- 04
Even about two drinks reduced REM sleep, and the damage grew with each drink.
- 05
Trackers show a drink clearly in heart rate and recovery, and less reliably in sleep stages.
Set a coffee cutoff 9 hours before your usual bedtime and keep it for seven days. Write down your sleep time and morning resting heart rate each day, and compare them with the week before.
Recommended reading
More from the Cinch Library on the same ground.
- 1The effect of caffeine on subsequent sleep: A systematic review and meta-analysis. Gardiner C, Weakley J, Burke LM, et al. Sleep Medicine Reviews. 2023. Volume 69, article 101764.
- 2The effect of alcohol on subsequent sleep in healthy adults: A systematic review and meta-analysis. Gardiner C, Weakley J, Burke LM, et al. Sleep Medicine Reviews. 2025. Volume 80, article 102030.
- 3Caffeine Effects on Sleep Taken 0, 3, or 6 Hours before Going to Bed. Drake C, Roehrs T, Shambroom J, et al. Journal of Clinical Sleep Medicine. 2013. Volume 9, pages 1195 to 1200.
- 4Alcohol and Sleep I: Effects on Normal Sleep. Ebrahim IO, Shapiro CM, Williams AJ, et al. Alcoholism: Clinical and Experimental Research. 2013. Volume 37, pages 539 to 549.
- 5What Is A Standard Drink? National Institute on Alcohol Abuse and Alcoholism. US National Institutes of Health. 2025.
- 6Acute Effect of Alcohol Intake on Cardiovascular Autonomic Regulation During the First Hours of Sleep in a Large Real-World Sample of Finnish Employees: Observational Study. Pietilä J, Helander E, Korhonen I, et al. JMIR Mental Health. 2018. Volume 5, article e23.
- 7Performance of seven consumer sleep-tracking devices compared with polysomnography. Chinoy ED, Cuellar JA, Huwa KE, et al. Sleep. 2021. Volume 44, article zsaa291.
