Is It Safe to Drink Coffee After 5 PM? What Experts Say

Published on December 29, 2025 by Emma in

Illustration of drinking coffee after 5 pm and its impact on sleep

That late-afternoon coffee can feel like a small rebellion against the clock. A warming ritual on a grey commute home or a needed nudge before an evening gym class. Yet the question nags: will it harm tonight’s sleep, or is it harmless comfort? Experts say the answer depends on biology, timing, and what you drink. The safest approach is nuanced, not a blanket ban. Understanding how caffeine moves through your system—and how your sleep window lines up with its effects—can help you choose wisely. Here’s what the science, clinicians, and sleep researchers say about sipping after 5 pm.

How Caffeine Works on Your Body

Caffeine blocks adenosine, the neurochemical that builds “sleep pressure” across the day. By occupying adenosine receptors, it leaves you feeling sharper, masking tiredness without creating energy from nowhere. The body then clears caffeine via liver enzymes, particularly CYP1A2. Here’s the catch: the half-life of caffeine averages three to seven hours, and in some people it stretches longer. A 17:00 coffee can be biologically active well past midnight, especially in sensitive or slower-metabolising individuals. Age, smoking status, certain medications, and the menstrual cycle can all tweak that timeline.

Timing relative to your circadian rhythm matters too. Caffeine taken close to your biological night can lengthen sleep latency, reduce deep sleep percentage, and fragment REM. Some people notice nothing; others feel wired, anxious, or suffer palpitations. Genetics partly explains the split. Fast metabolisers may handle an early evening espresso with minimal disruption, while slow metabolisers report notable sleep disturbance from even a small dose. The drink itself also counts: a double shot, strong filter, or a high-caffeine energy drink is a different proposition from a light roast or a true decaf.

What Sleep Scientists Recommend

There’s no one-size rule, but sleep researchers commonly advise a caffeine cut-off of roughly six to eight hours before bedtime. If lights-out is 23:00, that nudges your last full-strength coffee to around 15:00–17:00. If your sleep is fragile or you’re recovering from a run of short nights, shift the cut-off earlier. Lab data show that evening caffeine can reduce slow-wave sleep even when total sleep time seems unchanged, which is why some people wake “unrested” despite a full night in bed. The effect is dose-dependent: bigger cups and repeated top-ups are riskier.

Context matters. Shift workers and students facing late deadlines often trade short-term alertness for next-day drift. If you must sip after 17:00, clinicians suggest moderating to 30–80 mg (half-caf or a small espresso), avoiding sugar-laden energy drinks, and stopping at least three hours before sleep. Hydration, evening light hygiene (dimmer, warmer light), and a consistent wind-down can blunt the impact. Decaf is not zero—typically 2–15 mg per serving—but it’s substantially safer for sleep. Remember, anxiety, reflux, and blood pressure can all flare with late caffeine, so the calculus isn’t only about shut-eye.

Who Can Drink Late—and Who Shouldn’t

Some people tolerate coffee after 5 pm without obvious fallout. Others don’t. If you struggle to fall asleep, wake frequently, or rely on weekend lie-ins to repay “sleep debt,” you’re likely in the sensitive camp. Teens and young adults show strong sleep-architecture responses to evening caffeine; it dents deep sleep when brains need it most. For those who are pregnant, UK guidance caps total daily caffeine at about 200 mg, making late-day cups a risky way to “spend” the allowance. People with insomnia, anxiety, reflux, or arrhythmias should be especially cautious.

Use your bedtime as an anchor. If you routinely sleep at midnight, treat 16:00–17:00 as your practical edge for full-strength coffee. Night owls with a 01:00 lights-out may push slightly later; early birds will need an earlier cut-off. Consider the strength: instant coffee varies, filter can be potent, and some café brews exceed 150 mg per serving. A quick guide helps:

Group After-5 pm Advice
Good sleepers, fast metabolisers Small cup before 18:00 may be fine; test cautiously.
Light sleepers, insomnia, anxiety Avoid caffeine after 14:00–15:00; choose decaf.
Pregnant Keep total under 200 mg/day; avoid late cups.
Teens and students Skip evening caffeine; protect deep sleep.
Shift workers Use small doses early in the shift; stop 6–8 hours before sleep.

For many readers, the safest answer is pragmatic rather than purist. If it’s after 17:00 and you prize next-morning clarity, switch to decaf or a non-caffeinated alternative. If you’re resilient, keep the portion modest and the timing early evening—not late night. Track your sleep for a week after making a change; your own data beats guesswork. Coffee should be a pleasure, not a saboteur. Where do you sit on the spectrum—and what small tweak will you try this week to balance alertness with restorative sleep?

Did you like it?4.4/5 (26)

Leave a comment