How long does caffeine stay in your system? One cup, hour by hour
The caffeine cut-off calculator adds up more than one drink and gives the latest time for the next.
One coffee, four times of day
One cup at 3:00 PM leaves about 36 to 42 mg at a 10:00 PM bedtime. The same cup at 7:00 AM leaves 12 to 17 mg. The chart and the hour-by-hour table cover the rest of the day.
The table takes one 8 fl oz cup of brewed coffee, about 95 mg of caffeine in its USDA record, and works out what is still active at 10:00 PM. Drunk at 7:00 AM, it leaves about 12 to 17 mg. At 3:00 PM that rises to 36 to 42 mg, and a 5:00 PM cup still holds 48 to 53 mg, about half of it.
One cup of brewed coffee: caffeine still active at a 10:00 PM bedtime
| Coffee at | 5-hour half-life | 6-hour half-life |
|---|---|---|
| 7:00 AM | 12 mg | 17 mg |
| 12:00 PM | 24 mg | 30 mg |
| 3:00 PM | 36 mg | 42 mg |
| 5:00 PM | 48 mg | 53 mg |
Why it fades slowly: the half-life
Caffeine leaves the body by halves: every half-life, half of what is left is gone. A NIOSH training page for nurses says caffeine “has a half-life of 5 to 6 hours but can remain in your system much longer” (source). So the cup's 95 mg falls to about 48 mg after one half-life, 24 mg after two and 12 mg after three. At 5 hours a half-life, three of them take 15 hours, which is why a breakfast coffee is mostly gone by bedtime and an afternoon one isn't.
The two columns are the two ends of the NIOSH range. People differ, as the quote above warns, so read the right-hand column as the cautious one.
Hour by hour, for a 10:00 PM or 11:00 PM bedtime
Find the time of your last coffee. At the 5-hour half-life and a 10:00 PM bedtime, a coffee at 6:00 PM or later leaves more than 50 mg. At the cautious 6-hour half-life, a 5:00 PM cup already does (53 mg). With bed an hour later, the first time over is 7:00 PM. For one cup and a 10:00 PM bedtime the cut-off calculator is stricter and says 4:00 PM, its 6-hour mark, explained further down.
Hour by hour: one coffee, and what is left at 10:00 PM or 11:00 PM (5-hour half-life)
| Coffee at | Bed at 10:00 PM | Bed at 11:00 PM |
|---|---|---|
| 6:00 AM | 10 mg | 9 mg |
| 7:00 AM | 12 mg | 10 mg |
| 8:00 AM | 14 mg | 12 mg |
| 9:00 AM | 16 mg | 14 mg |
| 10:00 AM | 18 mg | 16 mg |
| 11:00 AM | 21 mg | 18 mg |
| 12:00 PM | 24 mg | 21 mg |
| 1:00 PM | 27 mg | 24 mg |
| 2:00 PM | 31 mg | 27 mg |
| 3:00 PM | 36 mg | 31 mg |
| 4:00 PM | 41 mg | 36 mg |
| 5:00 PM | 48 mg | 41 mg |
| 6:00 PM | 55 mg (over) | 48 mg |
| 7:00 PM | 63 mg (over) | 55 mg (over) |
| 8:00 PM | 72 mg (over) | 63 mg (over) |
| 9:00 PM | 83 mg (over) | 72 mg (over) |
“Over” means more than 50 mg at bedtime, the caffeine cut-off calculator's starting figure (you can change it there). Tap a time to open the calculator with that coffee and a 10:00 PM bedtime.
Coffee, espresso, tea, energy drinks and cola
Drunk at 3:00 PM, a cup of black tea leaves about half of what a cup of coffee does by 10:00 PM, and a can of cola less again. An espresso shot starts lower than a full cup of brewed coffee, so it leaves less too.
One drink at 3:00 PM: caffeine still active at 10:00 PM
| Drink | Caffeine in it | Left at 10:00 PM |
|---|---|---|
| Brewed coffee, 1 cup (8 fl oz) | 95 mg | 36 to 42 mg |
| Espresso, 1 fl oz shot | 63 mg | 24 to 28 mg |
| Black tea, 1 cup (8 fl oz) | 47 mg | 18 to 21 mg |
| Energy drink, 8.4 fl oz can | 75 mg | 28 to 33 mg |
| Cola, 12 fl oz can | 33 mg | 13 to 15 mg |
Caffeine amounts are USDA FoodData Central records, and each range runs from the 5- to the 6-hour half-life. Brands vary, and the FDA puts energy drinks anywhere from 54 to 328 mg of caffeine per 16 fl oz, which is about 28 to 172 mg in an 8.4 fl oz can like the one in the table.
Where the cut-off calculator draws the line
No health body gives an amount of caffeine that is fine at bedtime. Our caffeine cut-off calculator starts at 50 mg, a studio rule you can change, and never shows a cut-off later than 6 hours before bed. That mark comes from a sleep lab study: Drake and colleagues found “caffeine taken 6 hours before bedtime has important disruptive effects on sleep” (source). The amount they tested was 400 mg, about 4 cups of brewed coffee at once, so it is a cautious mark for a single cup. Some advice is stricter, and NIOSH's own line is that caffeine “can remain in your system much longer” than its half-life suggests, so if you sleep lightly, lower the bedtime figure in the calculator.
In the FDA's words, “For most adults, the FDA has cited 400 milligrams a day” (source), an amount not generally associated with negative effects. It is a daily total. For sleep, what matters is how late the caffeine came, as the tables show.
What the tables leave out
The tables apply the two ends of the NIOSH half-life range to everyone and the USDA's caffeine figure to each drink. Your cup, your body and the medicines you take can change either one. They show the caffeine still in your body, which is a different thing from how it affects your sleep. Some people sleep after an evening espresso, and others feel a lunchtime one.
See a doctor if you regularly take more than 30 minutes to fall asleep or feel you need caffeine to get through every day. This guide is general information, not medical advice: read our disclaimer.
Frequently asked questions
How long does caffeine stay in your system?
Its half-life is 5 to 6 hours (NIOSH): half is gone after that time, half the rest after the same again. A cup at 5:00 PM still has 48 to 53 mg left at 10:00 PM.
Is a 3 PM coffee too late?
Not for a 10:00 PM bedtime, by our calculator's rules. A 3:00 PM cup leaves about 36 to 42 mg then, under its starting figure of 50 mg, and it comes more than 6 hours before bed. An earlier bedtime or a lower limit can change that.
Does tea keep you awake as long as coffee?
Tea caffeine fades at the same rate as coffee's, but a cup of black tea starts with less: about 47 mg against 95 mg in brewed coffee (USDA). So it leaves about half as much at bedtime.
How do I work out my own cut-off?
Enter your bedtime and each drink so far in the caffeine cut-off calculator. It shows how late your next one can be.
Sources
- CDC/NIOSH — Training for Nurses, Module 6: Sleep Aids and Stimulants, Caffeine2020 · read on
- USDA FoodData Central — Beverages, coffee, brewed, prepared with tap water (SR Legacy 171890)2019 · read on
- USDA FoodData Central — Beverages, coffee, brewed, espresso, restaurant-prepared (SR Legacy 171891)2019 · read on
- USDA FoodData Central — Beverages, tea, black, brewed, prepared with tap water (SR Legacy 173227)2019 · read on
- USDA FoodData Central — Beverages, Energy drink, RED BULL (SR Legacy 173210)2019 · read on
- USDA FoodData Central — Beverages, carbonated, cola, regular (SR Legacy 174852)2019 · read on
- US FDA — Spilling the Beans: How Much Caffeine Is Too Much?2024 · read on
- Drake et al., J Clin Sleep Med — Caffeine effects on sleep taken 0, 3, or 6 hours before going to bed (abstract, PubMed)2013 · read on
- CDC/NIOSH — Training for Nurses, Module 6: Do You Have Symptoms of a Sleep Disorder?2020 · read on