Flight

Caffeine half-life: when to have your last coffee

Caffeine's half-life is about five hours, so afternoon coffee is still working at bedtime. What's left of a cup over time, what changes it, and when to stop.

By Surya Narayanan · · 3 min read · Sleep and jet lag

Caffeine's half-life is about five hours in a typical healthy adult: five hours after a coffee, half its caffeine is still in your body, and a quarter after ten. That's why an afternoon coffee can still be working at bedtime. For most people, the last cup should come at least six to eight hours before bed.

What's left of one coffee

A typical 95 mg cup of brewed coffee, with a five-hour half-life:

AfterCaffeine left
Drinking it95 mg
2 hours72 mg
5 hours48 mg
8 hours31 mg
10 hours24 mg
15 hours12 mg

A coffee at 4:00 PM leaves about 36 mg in you at 11:00 PM, roughly a cup of green tea's worth, just as you try to sleep.

Your half-life may be different

Five hours is an average. In healthy adults it ranges from around two hours to eight or more, depending on genes, age and more:

  • Faster: smoking roughly halves it.
  • Slower: pregnancy (much slower, especially late on), oral contraceptives, liver disease, and some medications, including certain antidepressants and antibiotics.
  • Genes: variations in the liver enzyme that breaks caffeine down (CYP1A2) make some people fast metabolisers and others slow.

How caffeine affects sleep

Caffeine works by blocking adenosine, the chemical that builds up while you're awake and makes you feel sleepy. Block it at bedtime and you fall asleep later and sleep more lightly. In a 2013 study by Christopher Drake and colleagues, 400 mg of caffeine taken six hours before bed still cut sleep by more than an hour, and the participants mostly didn't notice. Caffeine can steal sleep without you feeling it.

When to have your last coffee

  • Going to bed at 11 PM? Last coffee by about 3 PM; earlier if you're sensitive or it's a strong one.
  • Big cups count double. A large coffee-shop coffee can hold two or three times a home cup.
  • Don't forget the hidden ones: tea, cola, energy drinks, pre-workout, dark chocolate, and some painkillers.

The caffeine calculator adds up your actual day, drink by drink, and shows what's left at your bedtime.

Caffeine for focus, timed well

  • Have it with your hardest work, usually the morning. A moderate dose improves alertness and reaction time.
  • Try a coffee nap after lunch: coffee, then a 15 to 20-minute nap, waking just as it kicks in. See how long a power nap should be.
  • Don't use it to cover a short night every day. Caffeine hides sleepiness; it doesn't repay the debt, and late doses make the next night shorter too.

Health authorities such as the US FDA say up to 400 mg a day is not generally associated with negative effects in healthy adults; pregnant people are usually advised to stay under 200 mg. Ask your doctor if you're unsure.

Tolerance and withdrawal

If you drink caffeine every day, your body adapts within days: you feel less of a boost, and part of the morning coffee's effect is simply undoing the overnight dip of a mild withdrawal. Stop suddenly and withdrawal symptoms, such as headache, tiredness, low mood and poor concentration, typically start 12 to 24 hours after the last dose, peak after a day or two, and can last up to about nine days, according to a review by Laura Juliano and Roland Griffiths. Cutting down gradually, by a quarter every few days, avoids most of it.

One practical upshot: if you want caffeine to work for a big day, such as an exam, a long drive or the day after a red-eye, a lower daily habit makes the occasional extra cup far more effective.

Coffee, then focus

The hour after your morning coffee is prime focus time. In Flight, book it as a real flight and work until you land.

Questions

How long does caffeine stay in your system?

Its half-life is about five hours in a typical healthy adult, so half of a dose remains after five hours and a quarter after ten. Traces can linger for a day, and the half-life ranges from about two to more than eight hours between people.

Can caffeine affect sleep even if I fall asleep fine?

Yes. In a 2013 study, caffeine taken six hours before bed reduced total sleep by over an hour, measured objectively, even though participants didn't notice much difference. Caffeine can also make sleep lighter.

How much caffeine is in a cup of coffee?

About 95 mg in an 8-ounce (240 ml) cup of brewed coffee, and about 63 mg in a single espresso shot, by USDA figures. Coffee-shop drinks are often much larger and stronger.

Does caffeine affect everyone the same way?

No. Genes, age, pregnancy, smoking, medications and habitual use all change how fast you clear caffeine and how strongly it affects you.

Try it with a free tool

Keep reading

  1. How to get over jet lag: a day-by-day planHow long jet lag lasts, and a day-by-day plan to beat it: shift before you go, switch to local time on board, and use light, sleep and meals when you land.
  2. Melatonin for jet lag: what the evidence saysWhat research says about melatonin for jet lag: how it works, the Cochrane review's findings on timing and dose, where it's sold, and when to ask a doctor.
  3. Red-eye flights: how to arrive restedHow to get the most sleep on an overnight flight and get through the day you land: when to book, what to skip on board, and how to handle arrival day.
  4. Sleep cycles explained: why 90 minutes mattersSleep runs in cycles of about 90 minutes through light, deep and REM sleep. What happens in each stage, why waking at a cycle's end helps, and how many you need.