SLEEP GUIDES / HABITS & TIMING

Caffeine and sleep: how late is too late?

THE SHORT ANSWER

There is no cutoff that suits everyone. If a late drink seems to affect your sleep, try an earlier time or a smaller amount; caffeine can linger after the boost fades.

What time should I stop drinking caffeine?

Work backward from when you intend to sleep, rather than treating noon as a rule for everyone. NHLBI notes that caffeine’s effects can last up to eight hours. A late-afternoon drink can therefore matter at bedtime. That is broad guidance, not a guarantee that an eight-hour gap is enough for every person or dose. NHLBI healthy sleep habits.

For a practical starting point, move the latest caffeinated drink earlier while keeping the rest of your routine fairly similar. Note the drink, its amount and time, then how the night felt. Several observations are more useful than one good or bad night.

Does the amount matter as much as the time?

Yes. Check the label when you can: a small coffee and a large cold brew are not equivalent doses. Tea, energy drinks, some medicines and pre-workout products can contribute too.

A small 2025 trial compared 100 mg and 400 mg taken 4, 8 or 12 hours before bed in 23 men. The higher dose affected sleep, including at longer gaps. The lower dose showed no statistically significant effect in this sample. This does not establish a safe cutoff for everyone. Randomized caffeine trial.

Can I trust how alert I feel?

Feeling that the boost has worn off does not mean all the caffeine has gone. In that trial, participants’ perceived sleep quality did not always reflect the measured changes. Treat “I can fall asleep after coffee” as one observation, rather than proof that caffeine has no effect on the night.

What does the caffeine explorer show?

Our caffeine explorer estimates the amount left from one drink, using a chosen half-life: the time for an amount to fall by half. With a five-hour assumption, 100 mg becomes about 50 mg after five hours and 25 mg after ten. Individual clearance varies. Pharmacology background.

It does not include earlier drinks, fully model absorption or predict your sleep. The number remaining is not a safe/unsafe threshold.

What is a manageable change to try?

Choose one: move the late drink earlier, reduce its size, or replace it with a lower-caffeine option. If you regularly consume substantial amounts, reducing gradually may make withdrawal easier. Ask for individual advice when pregnancy, medicines or a health condition complicate the decision.

Use the seven-night notebook if a short record would help. If sleep problems persist, look beyond caffeine rather than repeatedly tightening your routine.

PUT IT INTO PRACTICE

One change. A few observations.

Use a simple notebook to notice what helps, without grading your nights.

Open your seven-night notebook →

Sources are linked beside the relevant claims. This guide is educational and has not been individually reviewed by a clinician. Our editorial approach.