Free U.S. shipping on orders $45+ · Subscribe & save

Coffee Before Bed: How Close Is Too Close, by Dose

R

Roon Team

September 4, 2026·9 min read
Coffee Before Bed: How Close Is Too Close, by Dose

Coffee Before Bed: How Close Is Too Close, by Dose

There is no single caffeine cutoff time, and drinking coffee before bed without knowing your dose is guesswork. A standard cup at roughly 100 mg should be consumed at least 8.8 hours before bedtime, according to a 2023 systematic review and meta-analysis in Sleep Medicine Reviews. A 2025 randomized trial from the same research group found that 100 mg at 4 hours before bed produced no significant sleep effect, while 400 mg disrupted sleep out to 12 hours. The dose, not the clock, is the variable that matters.

That distinction explains why "no caffeine after 2 p.m." feels wrong to so many people. One small coffee and a double-scoop pre-workout are not the same event. They should not share a cutoff.

Two Studies That Bracket the Answer

Both papers come from the same lead author and research group at Australian Catholic University (Gardiner, Weakley, Burke, Halson, et al.).

The 2023 paper is a systematic review and meta-analysis of controlled trials, published in Sleep Medicine Reviews. It pooled data to model population-level cutoffs designed to protect total sleep time. Those numbers are deliberately conservative: built to cover the population, not to describe any single person.

The 2025 paper is a placebo-controlled, double-blind, randomized crossover trial of 23 males (mean age 25.3, moderate habitual caffeine intake under 300 mg/day), published in SLEEP. It measured sleep with in-home partial polysomnography across seven conditions with 48-hour washouts. Its numbers are precise about those 23 people and uncertain about everyone else.

Neither paper is wrong. The modelled estimate is the safer planning tool. The trial is encouraging evidence that a single small dose may be less disruptive than the model implies.

What Caffeine Does to a Night's Sleep

The 2023 meta-analysis quantified caffeine's average damage across controlled trials:

Sleep MeasureEffect of Caffeine
Total sleep timeReduced by 45 minutes
Sleep efficiencyReduced by 7%
Sleep onset latency (time to fall asleep)Increased by 9 minutes
Wake after sleep onsetIncreased by 12 minutes
Light sleep (N1) duration and proportionIncreased
Deep sleep (N3/N4) duration and proportionDecreased

Caffeine does not just delay sleep. It changes what happens after you fall asleep, shifting time from deep stages toward lighter ones. For the mechanism behind this, see how adenosine pressure drives sleep architecture.

From these numbers, the authors modelled dose-specific cutoffs:

  • Coffee (107 mg per 250 mL): at least 8.8 hours before bedtime
  • Pre-workout supplement (217.5 mg): at least 13.2 hours before bedtime
  • Black tea at the doses studied: no cutoff necessary

The 2025 Trial: Dose Changed Everything

The trial's results split cleanly along the dose axis.

100 mg of caffeine produced no significant objective or subjective sleep effects versus placebo at any of the three timings, including 4 hours before bed (all p > .05).

400 mg of caffeine told a different story (all p < .05):

  • Within 12 hours of bedtime: delayed sleep initiation and altered sleep architecture
  • Within 8 hours: increased sleep fragmentation
  • At 4 hours before bed: perceived sleep quality reduced by 34.02% (p = .006), though this subjective effect was not significant at 8 or 12 hours

Caveats worth stating plainly: 23 people, all male, all young, all moderate habitual caffeine users, each condition a single isolated dose rather than a full day's accumulated intake. A well-designed trial that points in a clear direction, but small and narrow. Not a blanket licence.

Caffeine Before Bed: Dose-to-Cutoff Table

The conservative column uses the 2023 modelled cutoff. The trial-based column uses the 2025 direct measurements. When both exist, plan around the conservative number.

SourceCaffeine RangeConservative Cutoff (2023)Trial Finding (2025)
Home-brewed coffee (8 oz)80 to 120 mg~8.8 hoursNo significant effect at 4 hrs (100 mg)
Large coffee-shop coffee150 to 300+ mg9 to 13+ hoursDisruption within 12 hrs (400 mg)
Energy drink (one can)80 to 200 mg~9 to 13 hoursVaries by dose
Pre-workout (one scoop)150 to 300+ mg~13.2 hoursDisruption within 12 hrs (400 mg)
Caffeine pouch50 to 100 mg~8.8 hoursNo significant effect at 4 hrs (100 mg)
Black tea (one cup)25 to 50 mgNo cutoff necessaryNot tested
Decaf coffee (8 oz)2 to 15 mgNo cutoff necessaryNot tested

Ranges are approximate and vary by brand, brew method, and serving size. For what "one cup" actually means, see how caffeine varies across coffee types.

Bedtime-to-Last-Dose Table

Work backwards from your bedtime using the conservative 8.8-hour cutoff for a standard cup (~100 mg) and the 12-hour minimum for a high dose (~400 mg).

Your BedtimeLast ~100 mg Dose (conservative)Last ~400 mg Dose
10:00 p.m.1:12 p.m.10:00 a.m.
11:00 p.m.2:12 p.m.11:00 a.m.
Midnight3:12 p.m.Noon

The arithmetic: subtract 8.8 hours (8 hours 48 minutes) for a ~100 mg dose, or 12 hours for ~400 mg. Adjust for your own dose.

Why "No Caffeine After 2 p.m." Is the Wrong Shape of Rule

The 2 p.m. rule is sticky because it is simple. It is also wrong in structure, not just in number. A fixed clock applied to a variable dose and a variable bedtime guarantees misfit. For more on why the afternoon coffee question needs a dose-first answer, that piece walks through the full logic.

Consider two people who both follow the rule. Person A goes to bed at midnight and had one small coffee (80 mg) at 1:55 p.m. They stopped 10 hours out; the model says 8.8 was enough. The rule cost them an afternoon they did not need to give up. Person B goes to bed at 10 p.m. and had a 400 mg pre-workout at 1:55 p.m. They stopped 8 hours out; the trial says 400 mg disrupts sleep within 12 hours. They needed to stop before 10 a.m. Same rule. One over-restricted, the other under-protected.

Half-Life and Individual Variation

Caffeine's half-life varies substantially between people, shaped by genetics, liver enzyme activity, oral contraceptive use, smoking status, and more. Two people can drink the same cup at the same time and carry very different amounts into the night. For the factors that shift your personal clearance rate, see what makes caffeine half-life vary, or run your own numbers with this caffeine half-life calculator.

One finding from the 2023 meta-analysis worth sitting with: objective sleep can be degraded in people who report sleeping fine. The meta-analysis measured sleep with controlled instruments, not self-reports. "I can drink coffee at 9 p.m. and sleep fine" may mean you fall asleep. It does not mean your sleep architecture is intact.

What to Do If You Already Drank It

The caffeine is in your system. Do not stack another stimulant on top of it. Go to bed at your normal time; staying up "to let it wear off" shifts your schedule and usually makes the next night worse too. Keep the room dark and cool. Expect a lighter night, not a catastrophe: the 2023 data says about 45 minutes of lost sleep on average.

Decaf, Tea, and Hidden Caffeine

The 2023 meta-analysis found no cutoff was necessary for black tea at the doses studied. That tracks with tea's lower caffeine content, typically 25 to 50 mg per cup.

Decaf is not zero. A standard cup of decaf contains roughly 2 to 15 mg of caffeine, depending on the bean and the decaffeination method. At those levels, sleep impact is negligible for most people, but five cups of decaf in the evening starts to add up.

The real tracking problem is hidden caffeine: chocolate, some sodas, and pre-workout supplements. The people who lose count are not the ones drinking a labelled cup of coffee. They are the ones who had an energy drink, a square of dark chocolate after dinner, and a cola with dessert, then forgot to sum them.

Sizing Your Caffeine Cutoff

The answer to "how late can I drink coffee?" is a dose question, not a clock question. For ~100 mg, the conservative guidance is roughly 9 hours before bed. For 400 mg, plan on 12 hours minimum. Size the gap to the dose, account for your personal clearance rate, and treat the conservative number as the default.

Frequently Asked Questions

What time should I stop drinking coffee if I go to bed at 11?

For a standard cup (~100 mg), subtract 8.8 hours: your last cup lands at about 2:12 p.m. For ~400 mg, subtract 12 hours: stop by 11:00 a.m. The 2025 trial suggests the 100 mg cutoff may be more forgiving, but the conservative number is the safer planning tool.

How many hours before bed should you stop caffeine?

It depends on the dose. A 2023 meta-analysis modelled 8.8 hours for 107 mg and 13.2 hours for 217.5 mg. A 2025 trial found 100 mg produced no significant effect at 4 hours, while 400 mg disrupted sleep within 12 hours. Plan around the conservative number for your dose.

Is it really true that caffeine affects your sleep even if you fall asleep fine?

Yes. The 2023 meta-analysis measured objective sleep and found caffeine reduced total sleep time by 45 minutes, sleep efficiency by 7%, and decreased deep sleep duration. Falling asleep is not the only measure of sleep quality. Subjective reports often miss what instruments catch.

Does a small coffee 4 hours before bed matter?

The 2025 trial gave 23 young men 100 mg at 4 hours before bed and found no significant effects versus placebo. Encouraging, but the sample was small, all male, and all moderate habitual users. The conservative modelled estimate remains 8.8 hours for ~100 mg.

Is the "no caffeine after 2 p.m." rule real?

It is a rough heuristic, not a research finding. It assumes a specific dose, a specific bedtime, and a specific clearance rate. For someone with a midnight bedtime and one small coffee, 2 p.m. is stricter than needed. For someone with a 400 mg pre-workout and a 10 p.m. bedtime, 2 p.m. is not strict enough.

Does decaf coffee before bed affect sleep?

Decaf contains roughly 2 to 15 mg of caffeine per cup. The 2023 meta-analysis found no cutoff necessary for black tea at similar levels. One cup of decaf before bed is unlikely to matter, but multiple cups in the evening can accumulate.

Where 80 mg Sits on This Table

Roon delivers 80 mg of caffeine per pouch, which places it squarely inside the coffee band that Gardiner's 2023 model pegged at an 8.8-hour cutoff. The same rule applies: plan roughly 9 hours between your last pouch and bedtime. If your bedtime is 11 p.m., your last pouch should land no later than early afternoon. Roon is a zero-nicotine, zero-sugar oral pouch combining caffeine, L-theanine, methylliberine, and theacrine, available from $9.16 per tin. It is not a sleep-friendly exception to the cutoff. It is another reason to respect it.

Written by Roon Team

Share

The Roon Journal

Sharper days, in your inbox.

Subscribe for exclusive discounts, early drops, and quiet notes on focus, sleep, and cognitive performance, straight from the Roon team.

  • Early access
  • Save up to 54%
  • New posts & tips

The Roon Community

Join the conversation on Reddit and Discord.

We started a community for the questions a product page can’t hold: what actually sharpens focus, what’s just hype, and how people really stack energy, focus, and sleep. Compare notes on the nootropics and pouches worth your time, Roon or not, or just ask. Get in early and help shape it.

You might ask

r/NootropicsScience

Does L-theanine actually smooth out caffeine?

Discord

What's the real fix for a 2 p.m. crash?

r/NootropicsScience

Rhodiola or ashwagandha for daily focus?