Caffeine, Alcohol and Late Meals: Timing Them Before Bed
Search for what to eat before bed and you will find long lists of "sleep foods". The honest answer is less exciting: no food reliably puts you to sleep. What does make a clear difference is timing, of caffeine, alcohol and big meals, in the hours before bed. The CDC's own sleep tips include avoiding caffeine in the afternoon or evening, and avoiding large meals and alcohol before bedtime. This page explains why, and how to work out your own cutoffs.
Caffeine: it lasts longer than it feels
The lift from a cup of coffee fades within a few hours, but the caffeine itself does not. Caffeine leaves the body gradually, and the usual way to describe that is its half-life: the time it takes for the amount in your body to fall by half. For caffeine that is roughly 5 to 6 hours in a typical adult, and it varies a lot from person to person. Some people clear it noticeably faster or slower than average.
Taking a half-life of 5.5 hours, the middle of that range, here is what happens to a drink finished at 3:00 pm:
| Time | Share of that caffeine still in your body |
|---|---|
| 3:00 pm | All of it (once absorbed) |
| 8:30 pm | About half |
| 2:00 am | About a quarter |
So an afternoon coffee is still partly with you at bedtime, and a second cup later in the day adds to what is left of the first. You may fall asleep anyway; caffeine can still make sleep lighter or shorter without you noticing at the time.
Where caffeine hides
- Coffee, including espresso drinks and cold brew; decaf has a small amount but much less.
- Black, green and white tea, and matcha.
- Cola and some other soft drinks; energy drinks and energy shots.
- Chocolate and cocoa, dark more than milk.
- Some pre-workout products and some over-the-counter medicines: check the label.
Work out your own cutoff
The Caffeine Cutoff Calculator uses the same half-life of 5.5 hours. You enter your bedtime and the caffeine content of your drink (it is printed on many labels and listed on makers' websites), and it estimates the latest time to finish it. With its default settings, a regular cup of coffee and an 11:00 pm bedtime, it suggests stopping by 5:54 pm, about five hours before bed. Take the result as a starting point: if you are sensitive to caffeine, or sleep badly after an afternoon cup, move your cutoff earlier.
Anyone who is pregnant, takes medication or has a heart condition should ask a doctor about caffeine.
Alcohol: drowsy now, lighter sleep later
Alcohol can make you feel drowsy and fall asleep faster, which is why many people think of a nightcap as a way to get to sleep. The trouble comes later. As your body clears the alcohol through the night, sleep tends to become lighter and more broken, with more awakenings in the second half of the night. Alcohol also tends to mean more trips to the bathroom.
- Leave several hours between your last drink and bedtime; some sleep educators suggest at least three.
- Alternate alcoholic drinks with water during an evening, and switch to non-alcoholic drinks well before bed.
- If you notice you sleep worse on nights you drink, that is your answer, whatever the amount.
Late meals: about comfort, not magic
A large or heavy meal shortly before bed can make lying down uncomfortable, and lying flat on a full stomach brings on heartburn for some people. Common advice is to finish a large meal two to three hours before lying down.
- Make dinner the earlier, bigger meal where your schedule allows, and keep anything after it light.
- A small snack is fine if you are hungry. Going to bed very hungry can keep you awake too.
- Notice your own triggers. Rich, fatty or spicy food late in the evening bothers some people and not others.
- Ease off drinks in the last hour or two if a full bladder wakes you, without cutting back on fluids during the day.
What about "sleep foods"?
You will see warm milk, cherries, bananas, nuts and herbal teas recommended for sleep. Some are perfectly good light snacks or caffeine-free drinks to wind down with, and a calm, regular evening routine can help. But no food is a sleep switch, and none makes up for an evening coffee or a late heavy meal. Focus on the timing first.
A simple evening plan
- Find your caffeine cutoff with the calculator and stick to it, weekends included.
- Finish the main meal two to three hours before bed.
- Stop alcohol well before bed, or skip it on nights when sleep matters most.
- Have a light snack or a caffeine-free drink if you want one.
- Follow the rest of the sleep habits checklist.
When to see a doctor
Changing what you eat and drink is a habit change, not a fix for a sleep problem. See a doctor if you or a bed partner notice loud snoring with pauses in breathing, choking or gasping in sleep; if trouble falling or staying asleep goes on for weeks despite good habits; or if you feel sleepy while driving or nod off during the day without meaning to. If you feel drowsy at the wheel, pull over somewhere safe and do not keep driving. Frequent heartburn at night is also worth raising with a doctor. A doctor can assess what is going on.