Skip to content
Nightwell

Nightwell

Better Sleep & More Energy

  • Sleep
  • Nutrition
  • Energy & Focus
  • Movement
  • Toggle search form
  • Walking: The Most Underrated Exercise There Is Movement
  • What Sleep Hygiene Really Means (And What It Can’t Fix) Sleep
  • Morning Sunlight: The Free Energy Booster You’re Ignoring Energy & Focus
  • Magnesium for Sleep: What the Evidence Shows Sleep
  • Sugar and Your Energy: Cutting Back Without the Misery Nutrition
  • Does Exercise Actually Give You Energy? Movement
  • How to Rest Properly: Why Your Days Off Don’t Recharge You Energy & Focus
  • Deep Focus: How to Concentrate in a World of Distractions Energy & Focus

What time should you stop drinking coffee?

Posted on September 3, 2026September 24, 2026 By Nightwell 6 Comments on What time should you stop drinking coffee?

Six hours. That’s how far before bedtime researchers gave people a strong dose of caffeine in one of the best-known sleep studies on the subject — and it still cut into how much they slept. The participants didn’t feel it. Most of them thought six hours was plenty of margin. The sleep recordings said otherwise.

So here’s the straight answer, and then the reasons: if you go to bed around 11 p.m., your last regular coffee should be at about 2 to 3 p.m. If you’re sensitive to caffeine, make it lunchtime. That’s earlier than most people want to hear. It’s also where the evidence points.

Find your cutoff

The simplest rule that holds up: count back about eight hours from when you usually go to sleep. If you’re a light sleeper or caffeine tends to hit you hard, count back ten.

You usually fall asleep at…Last regular coffeeIf you’re caffeine-sensitive
9 p.m.1 p.m.11 a.m.
10 p.m.2 p.m.Noon
11 p.m.3 p.m.1 p.m.
Midnight4 p.m.2 p.m.

Two adjustments. A big drink — a large cold brew, a double shot, an energy drink, a pre-workout — needs an earlier cutoff than a normal cup; a 2025 review in the journal SLEEP found that the higher the dose, the further back the safe window moves. And a small cup (a single espresso, a weak filter coffee) gives you a little more slack. Dose matters as much as the clock.

Why it lasts so long

Caffeine has a half-life of roughly five hours in an average healthy adult. That means five hours after your coffee, half of it is still in your system. Five hours after that, a quarter. It doesn’t switch off — it fades, slowly, with a long tail.

Put numbers on it. A medium coffee has around 200 mg of caffeine. Drink it at 3 p.m. and you’ve still got roughly 100 mg on board at 8 p.m., and something like 65 mg at 11 p.m. That’s about a third of the cup, still working, right as you’re trying to fall asleep.

What it’s doing is blocking adenosine — the chemical that builds up in your brain the longer you’re awake and makes you feel sleepy by evening. Caffeine sits in adenosine’s receptors so the “time to sleep” message doesn’t land. Useful at 8 a.m. Not so useful at 10 p.m.

“But I can drink espresso after dinner and sleep fine”

Maybe you can fall asleep. That’s not the same as sleeping well.

Caffeine in the evening tends to reduce deep, slow-wave sleep and trim total sleep time, even in people who drop off without any trouble. You don’t notice, because you were asleep for it. What you notice is waking up a bit flat, reaching for coffee earlier, and feeling like you need more of it to get going. That’s a loop, and late caffeine quietly keeps it running — especially if you’re already short of the hours your age actually calls for.

Regular coffee drinkers do build tolerance to the buzz. The effect on sleep structure is much more stubborn. So “it doesn’t affect me” usually means “I’ve stopped feeling it,” not “it’s stopped happening.”

Are you a slow metabolizer?

That five-hour average hides a huge range — roughly two hours for some people, ten or more for others. Genetics is a big part of it (an enzyme called CYP1A2 does most of the work of breaking caffeine down), but you don’t need a gene test to get a rough idea. You’re probably on the slow side if:

  • One cup can make you jittery or give you a racing heart.
  • You can still feel the effect of a morning coffee in the mid-afternoon.
  • Your sleep is clearly worse on days you had coffee after lunch.
  • You’re pregnant, or take medication that slows caffeine clearance — some oral contraceptives do. Pregnancy alone can roughly double how long caffeine sticks around. If this is you, ask your doctor or pharmacist what’s sensible.

If two or more of those fit, don’t bother with the 8-hour rule. Go straight to the sensitive column in the table above.

The caffeine you’re not counting

People move their coffee cutoff, keep sleeping badly, and conclude caffeine was never the problem. Quite often it’s still coming in from somewhere else. Rough figures per serving:

  • Black tea: about 40–50 mg. Green tea a bit less.
  • Cola: around 30–40 mg a can.
  • Energy drinks: commonly 80 mg and up — some far more.
  • Dark chocolate: a small amount, but it adds up as an evening snack.
  • Some painkillers and pre-workouts: check the label.
  • Decaf: not zero, just low — usually a few milligrams a cup.

For the day overall, health authorities consider up to about 400 mg safe for most healthy adults — around four ordinary cups. If you’re well above that, the timing question is only half the story.

So what do you do at 4 p.m. instead?

The real reason people drink late coffee isn’t taste. It’s the afternoon slump — that heavy, foggy stretch after lunch. Your body clock genuinely dips in the early-to-mid afternoon, so the tiredness is real. You just don’t have to answer it with caffeine.

A ten-minute walk outside, ideally in daylight, is the closest thing to a coffee replacement that doesn’t touch your sleep. A big glass of water helps more than you’d think, because mild dehydration feels a lot like fatigue. And if you can manage it, a short nap of 10 to 20 minutes before about 3 p.m. takes the edge off without leaving you groggy or wrecking your night. None of these hit as fast as an espresso. All of them are gone by bedtime.

Try it for two weeks

You don’t have to trust any of this. Test it. Pick a cutoff from the table, stick to it for fourteen days, and keep your bedtime and wake time roughly the same so you’re only changing one thing. If you like the afternoon coffee ritual, keep the ritual and swap the drink — decaf, herbal tea, sparkling water.

Then compare. Do you fall asleep faster? Wake less in the night? If you’ve been one of the people who keeps waking at 3 a.m., does that settle down? Most people who try this notice something within the first week. Some notice nothing, and that’s useful to know too — you can stop worrying about the 4 p.m. latte.

Our honest take: of all the sleep advice out there, moving your last coffee earlier is one of the few changes that costs nothing, takes no willpower beyond the first few days, and has solid research behind it. It’s worth two weeks of your time.


For general information only — not medical advice. If you have ongoing sleep problems, are pregnant, or have a health condition or medication that affects caffeine, check with a healthcare professional.

What this article draws on: Sleep Foundation on caffeine and sleep, the Drake et al. study (2013), the 2025 dose-and-timing review in SLEEP, and Houston Methodist on how long caffeine keeps you awake.

Sleep

Post navigation

Previous Post: Why You Wake Up at 3 a.m. Every Night (and How to Stop)
Next Post: How Much Sleep Do You Really Need by Age?

Related Posts

  • The Best Temperature for Sleep Sleep
  • Napping: How Long and When (Without Wrecking Your Night) Sleep
  • How Blue Light Really Affects Your Sleep Sleep
  • Illustration of a bed, a clock showing 3 o'clock and a crescent moon, with the title "Can't Fall Back Asleep? What to do when you wake up in the night"
    What to Do When You Can’t Fall Back Asleep Sleep
  • Person in bed with a clock in a thought bubble, illustration for an article on sleep anxiety
    Sleep Anxiety: When Worrying About Sleep Keeps You Awake Sleep
  • How to Fall Asleep Faster Sleep

Comments (6) on “What time should you stop drinking coffee?”

  1. Pingback: How to Fall Asleep Faster – Nightwell
  2. Pingback: Napping: How Long and When (Without Wrecking Your Night) – Nightwell
  3. Pingback: What to Eat for Steady, All-Day Energy – Nightwell
  4. Pingback: The Afternoon Slump: Why It Happens and How to Beat It – Nightwell
  5. Pingback: Why You’re Tired Even After 8 Hours of Sleep – Nightwell
  6. Pingback: Iron and Energy: Could Low Iron Be Behind Your Tiredness? – Nightwell

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Affiliate · Our sleep picks

Sleep better, starting with your bed

Luxe hybrid mattress with pocket springs and comfort layers

✓ Handmade in Britain
✓ 60-night refund window
✓ Free UK delivery
✓ Up to 10-year guarantee

LuxeTherm Hybrid – for hot sleepers who want firmer support

Luxe Nova Hybrid – plush feel for side sleepers

Neck-support pillow – for back and side sleepers

Memory foam topper – a cheaper comfort upgrade

We may earn a commission if you buy through these links. UK brand – check delivery to your country.

Woman over 40 doing a short home strength workout

For women 40+

7-Minute Home Workouts

✓ Follow-along video sessions

✓ Beginner-friendly, no gym needed

✓ $27 one-time, money-back guarantee

See the program →

Affiliate link: we may earn a commission at no extra cost to you.

Hyperbolic Stretching flexibility program

For men & women

Full-Body Flexibility

✓ 24 guided stretching videos

✓ Hips, hamstrings & full-body mobility

✓ For beginners and advanced, any age

See the program →

Affiliate link: we may earn a commission at no extra cost to you.

The Mediterranean Diet 30-Day Challenge program

Personal meal plan

Mediterranean 30-Day Challenge

✓ Free 60-second quiz to start

✓ Meal plan, recipe book & guides

✓ Simple recipes with real food

Take the quiz →

Affiliate link: we may earn a commission at no extra cost to you.

Headphones with sound waves for focus, relax and sleep music

FOCUS · RELAX · SLEEP

Brain.fm Focus Music

✓ Music designed to help you focus, relax & sleep

✓ Built on published brain research

✓ 30-day free trial, cancel anytime

Try it free for 30 days →

Affiliate link: we may earn a commission at no extra cost to you.

  • Music and Focus: Does It Actually Help You Concentrate? Energy & Focus
  • Habits and Routines: Why They Quietly Save Your Energy Energy & Focus
  • Cardio vs Strength: Which Should You Do (and How to Balance Both)? Movement
  • Low sun setting on the horizon at 4:30 pm, illustration for feeling tired when the days get shorter
    Why You Feel Tired When the Days Get Shorter (and What Actually Helps) Energy & Focus
  • Rest Days and Recovery: Why More Isn’t Always Better Movement
  • Vitamin D and Fatigue: Does It Really Cause Tiredness? Nutrition
  • Deep Focus: How to Concentrate in a World of Distractions Energy & Focus
  • Protein 101: How Much You Really Need and Why It Matters for Energy Nutrition

Legal

  • Privacy Policy
  • About Nightwell
  • Legal Notice

Some articles on Nightwell contain affiliate links. If you buy through them, we may earn a small commission at no extra cost to you.

Explore

  • Sleep
  • Nutrition
  • Energy & Focus
  • Movement

Follow

Follow onPinterest

@nightwellhealth

Sleep, focus and energy tips, pinned weekly.

Copyright © 2026 Nightwell.

Powered by PressBook News WordPress theme