TL;DR
- In a controlled trial, a large dose of caffeine taken 6 hours before bed still cut sleep by more than an hour
- A 2023 meta-analysis of 24 studies suggested an ordinary cup of coffee should be finished at least 8.8 hours before bed
- People often don't notice the damage: in the trial, sleep diaries missed the 6-hour effect that monitors caught
- Estrogen therapy slowed caffeine clearance by about 29% in one small study, so the same cup may last longer for some women
- A practical rule: last caffeine by noon if you go to bed around 10pm
The Short Answer
For most people, caffeine should stop about 8–9 hours before bed, which means lunchtime for a 10pm bedtime. The common "nothing after 3pm" rule is probably too late, especially if you're sensitive.
"But Coffee Doesn't Affect Me"
Plenty of women say they can drink an espresso after dinner and fall right asleep. Some can. But falling asleep isn't the only thing caffeine affects.
Caffeine blocks adenosine, the chemical that builds sleep pressure through the day. Even when you can still nod off, caffeine in your system can make sleep lighter and more broken. In perimenopause, when the second half of the night is already fragile, that can be the difference between sleeping through and waking at 3am.
What the Research Found
Drake et al., 2013 (Journal of Clinical Sleep Medicine). Twelve healthy normal sleepers took 400 mg of caffeine, about the amount in two to three large coffees, or a placebo at bedtime, 3 hours before, and 6 hours before, on different nights. Sleep was measured at home with a monitor and a diary. Caffeine disrupted sleep at all three times. Even at 6 hours, it cut total sleep by more than an hour. People's diaries picked up the effect at 0 and 3 hours, but only the monitor caught it at 6 hours. PubMed 24235903
That last detail is why "it doesn't affect me" can be misleading. You may not feel the difference, even when it's there.
Gardiner et al., 2023 (Sleep Medicine Reviews). This meta-analysis of 24 studies found caffeine reduced total sleep by about 45 minutes and sleep efficiency by 7%. It added about 9 minutes to falling asleep and 12 minutes of waking during the night. Deep sleep decreased, and light sleep increased. The authors estimated that a standard coffee (107 mg) should be finished at least 8.8 hours before bed to avoid losing sleep. PubMed 36870101
Why It May Hit Harder Now
Pollock et al., 1999 (Journal of Clinical Pharmacology). In 12 postmenopausal women, eight weeks of estrogen therapy slowed caffeine metabolism by about 29% on average. The enzyme that clears caffeine works more slowly with estrogen on board. If you use hormone therapy or birth control with estrogen, your caffeine may stay in your system longer than it used to. PubMed 10471985
Faubion et al., 2015 (Menopause). In a survey of 1,806 women at a Mayo Clinic menopause clinic, caffeine users reported more bother from hot flashes than non-users, especially after menopause. This was a cross-sectional survey, so it can't show cause and effect. PubMed 25051286
Find Your Cutoff
| Bedtime | Last caffeine (8–9 hour rule) | Common source to watch |
|---|---|---|
| 9:30pm | By 12:30–1:30pm | Lunchtime latte |
| 10:00pm | By 1–2pm | Afternoon iced tea |
| 10:30pm | By 1:30–2:30pm | Office coffee refill |
| 11:00pm | By 2–3pm | Pre-workout drink |
If you're sensitive, or you're still waking at night, move your cutoff earlier, toward noon or even mid-morning.
Hidden Caffeine
- Black and green tea. Less than coffee, but not zero.
- Dark chocolate. A small amount per square that adds up in an evening dessert.
- Pre-workout drinks and energy drinks. Often 150–300 mg per serving. The 2023 review estimated more than 13 hours of clearance for a typical pre-workout serving.
- Some pain relievers. Certain headache pills contain caffeine. Check the label.
- Decaf. Lower, but still a few milligrams per cup.
How to Cut Back Without the Headache
- Shift, don't stop. Move your last cup an hour earlier each week rather than going cold turkey.
- Swap the afternoon cup. Half-caf, then decaf, then an herbal tea.
- Get daylight instead. A 10-minute walk outside after lunch helps with the afternoon slump. See morning sunlight and evening melatonin.
The FDA notes that about 400 mg a day is generally not linked to negative effects in most adults, but sensitivity varies a lot from person to person. FDA Total amount matters, and so does timing.
A Two-Week Caffeine Experiment
Set a cutoff 9 hours before your usual bedtime and stick to it for 14 days, weekends included. Keep the total amount the same so you're only changing the timing. Each morning, note how long it took to fall asleep, how many times you woke, and how rested you feel.
Expect a few days of afternoon tiredness at first. That usually settles. If your nights improve, try keeping the cutoff. If nothing changes after two weeks, caffeine timing may not be your main issue, and you can move on to the next thing on the list.
Frequently Asked Questions
What time should I stop drinking coffee? About 8–9 hours before bed. For a 10pm bedtime, that means early afternoon at the latest, and noon if you're sensitive.
Can caffeine affect my sleep even if I fall asleep fine? Yes. In the 2013 trial, caffeine 6 hours before bed cut sleep by more than an hour, but people's diaries didn't notice it.
Does caffeine make hot flashes worse? A survey of 1,806 women linked caffeine with more hot flash bother. It's an association, so track your own pattern.
Does hormone therapy change how I process caffeine? One small study found estrogen therapy slowed caffeine clearance by about 29%. If you've started estrogen and notice coffee hitting harder, that may be why.
Is decaf okay in the evening? Decaf has a small amount of caffeine. Most people do fine with it, but very sensitive people may notice even that.
Related
- The Complete Guide to Perimenopause Sleep — start here
- Alcohol and Sleep in Perimenopause
- Morning Sunlight and Evening Melatonin
- The 3am Wake-Up: What's Happening in Your Body
Get the free guide
The free perimenopause sleep guide covers the order of operations — what to fix before you buy anything.
† These statements have not been evaluated by the Food and Drug Administration. This product is not intended to diagnose, treat, cure, or prevent any disease.