Caffeine Timing: Your Coffee Cut-Off for Focus and Sleep
When to drink coffee at a desk job so it sharpens focus but spares sleep: half-life, a simple cut-off rule, hidden caffeine, safe limits and late-day swaps.

On this page
It's 16:00 and your hand is reaching for a third flat white. Caffeine sharpens attention, but half a dose stays in your blood for 3 to 7 hours 3. A simple rule: a regular cup (about 100 mg) at least 9 hours before bed, a strong 200 mg dose about 13 hours before, and no more than 400 mg a day 17.
Why the afternoon latte keeps you up
Half-life is the time to clear half a dose: in adults usually 3 to 7 hours 3, and a systematic analysis of 141 studies found five- to six-fold differences between people 4. Smokers clear it faster, the pill slows it down 4, and late in pregnancy the half-life reaches 18 hours 3.
For a slow clearer, a 200 mg coffee at 15:00 still leaves about 100 mg at 22:00. EFSA says 100 mg close to bedtime can already disturb sleep 7.
What you get for focus
In a meta-analysis of 45 publications, caffeine improved attention and reaction time in people short on sleep 5. EFSA found that reaction time mostly improves from 75 mg, not below 6.
One cup does the job. Too much brings jitters and a racing heart instead 8.
What a late cup costs
In a 2023 meta-analysis of 24 studies, caffeine cut sleep by about 45 minutes 1. The authors' safe gaps are 8.8 hours for a 107 mg coffee and 13.2 hours for a 217.5 mg pre-workout serving 1.
One small trial gave 12 people 400 mg at bedtime, 3 or 6 hours before it 2. Even at 6 hours, a sleep monitor showed over an hour of lost sleep, while their sleep diaries barely noticed 2.
Your cut-off
Count back from your usual bedtime:
- Regular cup: minus 9 hours. Bed at 23:00, last cup around 14:00 1.
- Pre-workout, large energy drink or big café coffee (about 200 mg): minus 13 hours, so mornings only 1.
- Still wired at night: move it an hour earlier each week. The NHS minimum is 6 hours without tea or coffee before bed 10.
We tried "nothing after 14:00": the first week dragged, then we started falling asleep faster.
As for "wait 90 minutes after waking", we found no controlled trials behind it. Have your morning cup when it suits you.
Hidden caffeine
For the post-lunch dip itself, see our afternoon slump guide. Typical doses 789:
- Instant coffee about 100 mg a cup; café coffee often more.
- Tea about 75 mg, cola about 40 mg a can.
- Energy drinks about 80 mg per 250 ml; some large cans pass 300 mg.
EFSA's limits for healthy adults: 400 mg a day, 200 mg at once; 200 mg a day in pregnancy and breastfeeding, the same figure the NHS uses for pregnancy 79. Around 1,200 mg taken quickly can cause seizures 8.
The weekend headache
Regular drinkers partly get used to caffeine 3. Stop suddenly, and a review of 66 studies says about half of people get a headache 12 to 24 hours later, lasting 2 to 9 days, even after dropping only 100 mg a day 11. Hello, Saturday lie-in. Cut down gradually 8, half a cup less every few days.
Instead of the 16:00 coffee
Movement won't replace caffeine, but in one trial a 5-minute walk every hour gave office workers more energy and less fatigue than nonstop sitting 12, and micro-breaks give a small lift in vigour 13. More in How often to take breaks.
March in place
- Starting position: stand tall, feet hip-width apart, elbows bent.
- Action: march briskly, knees to mid-thigh, arms swinging.
- Result: your pulse picks up and your head clears.
- Safety: 30 seconds, up to 60 over two weeks. Skip it with a fresh knee or ankle injury.
Calf raises
- Starting position: stand tall, one hand lightly on the desk.
- Action: rise onto your toes in 1–2 seconds, hold a second, lower in 2–3 seconds.
- Result: your legs wake up.
- Safety: start with 10 reps, add 2 a week, up to 20. Skip it with an Achilles or ankle injury.
Shoulder rolls
- Starting position: sit or stand tall, arms loose.
- Action: slow, wide shoulder circles, 10 back and 10 forward.
- Result: typing tension eases.
- Safety: make the circles smaller if it hurts; stop if pain gets sharper.
Stop at once with chest pain, dizziness or unusual breathlessness.
When to see a doctor
- Palpitations that keep returning or last more than a few minutes; with chest pain, breathlessness or fainting, call emergency services 14.
- Sleep trouble for months, or anxiety that doesn't settle after cutting down 810.
- High blood pressure, a heart condition or regular medicines (some raise caffeine sensitivity) 8.
- Pregnancy, trying to conceive or breastfeeding 89.
- Several energy drinks a day, caffeine tablets or powder 8.
Last cup
Set your cut-off tonight: bedtime minus 9 hours. Tomorrow at 16:00, let WeaveMove get you moving first.
FAQ
How long does caffeine stay in your body?
Half a dose usually clears in 3 to 7 hours, far longer in pregnancy 3.
What time should I stop drinking coffee?
About 9 hours before bed for a regular cup, 13 for a strong one 1.
Sources
- Gardiner C, Weakley J, Burke LM, et al. The effect of caffeine on subsequent sleep: a systematic review and meta-analysis. Sleep Med Rev. 2023;69:101764. https://doi.org/10.1016/j.smrv.2023.101764
- Drake C, Roehrs T, Shambroom J, Roth T. Caffeine effects on sleep taken 0, 3, or 6 hours before going to bed. J Clin Sleep Med. 2013;9(11):1195–1200. https://pmc.ncbi.nlm.nih.gov/articles/PMC3805807/
- Food Standards Australia New Zealand. P1056 Caffeine review. Supporting document 1: Safety assessment of caffeine. 2025. https://www.foodstandards.gov.au/sites/default/files/2025-03/P1056%20SD1%202nd%20CFS%20Safety%20Assessment.pdf
- Grzegorzewski J, Bartsch F, Köller A, König M. Pharmacokinetics of caffeine: a systematic analysis of reported data for application in metabolic phenotyping and liver function testing. Front Pharmacol. 2022;12:752826. https://doi.org/10.3389/fphar.2021.752826
- Irwin C, Khalesi S, Desbrow B, McCartney D. Effects of acute caffeine consumption following sleep loss on cognitive, physical, occupational and driving performance: a systematic review and meta-analysis. Neurosci Biobehav Rev. 2019. https://research-repository.griffith.edu.au/items/2a8009a3-009d-4d46-b792-bb4c9d34c45d
- EFSA NDA Panel. Scientific Opinion on the substantiation of a health claim related to caffeine and increased alertness pursuant to Article 13(5) of Regulation (EC) No 1924/2006. EFSA Journal. https://www.efsa.europa.eu/en/efsajournal/pub/3574
- EFSA. Caffeine (topic page summarising the Scientific Opinion on the safety of caffeine, EFSA Journal 2015;13(5):4102, https://doi.org/10.2903/j.efsa.2015.4102). https://www.efsa.europa.eu/en/topics/topic/caffeine
- U.S. Food and Drug Administration. Spilling the beans: how much caffeine is too much? https://www.fda.gov/consumers/consumer-updates/spilling-beans-how-much-caffeine-too-much
- NHS. Foods to avoid in pregnancy (caffeine). https://www.nhs.uk/pregnancy/keeping-well/foods-to-avoid/
- NHS. Insomnia. https://www.nhs.uk/conditions/insomnia/
- Juliano LM, Griffiths RR. A critical review of caffeine withdrawal: empirical validation of symptoms and signs, incidence, severity, and associated features. Psychopharmacology. 2004;176(1):1–29. https://doi.org/10.1007/s00213-004-2000-x
- Bergouignan A, Legget KT, De Jong N, et al. Effect of frequent interruptions of prolonged sitting on self-perceived levels of energy, mood, food cravings and cognitive function. Int J Behav Nutr Phys Act. 2016;13:113. https://doi.org/10.1186/s12966-016-0437-z
- Albulescu P, Macsinga I, Rusu A, Sulea C, Bodnaru A, Tulbure BT. "Give me a break!" A systematic review and meta-analysis on the efficacy of micro-breaks for increasing well-being and performance. PLoS ONE. 2022;17(8):e0272460. https://doi.org/10.1371/journal.pone.0272460
- NHS. Heart palpitations. https://www.nhs.uk/conditions/heart-palpitations/


Comments
No comments yet. Be the first to share your experience.