All guides

Guides › How long before bed should you stop caffeine?

How long before bed should you stop caffeine?

Short answer: At least 6 hours. In a sleep-lab study, caffeine taken 6 hours before bed still cut sleep by about an hour (graded moderate). For training, it works best 30-60 minutes before exercise.

TakeItWhen grade: moderate

Build my free schedule

Takes 30 seconds. Your choices stay on your device.

Common questions

Is 4 hours enough?

The study found a sleep hit even at 6 hours, so 4 hours is likely too close for many people.

Does pre-workout count?

Yes, if it contains caffeine. Late workouts plus pre-workout can push caffeine into the 6-hour window.

Sources

How we grade: strong consistent human trials, moderate some human trials, weak limited or indirect evidence, myth evidence says no. This is general information, not medical advice. If you take a prescription medicine, ask your doctor or pharmacist.

Get 3 evidence-graded timing tips a week, free

The TakeItWhen newsletter, Monday, Wednesday and Friday. About 2 minutes each. Unsubscribe any time.

More timing guides