Your Night Shift Caffeine Cutoff, Calculated
You already know caffeine can wreck your daytime sleep. The part most night workers miss is the math: caffeine has a half-life of roughly 6 hours, and its noticeable effects linger for about 8. A coffee at 6am is still doing work in your body at noon, which is exactly when you are trying to sleep.
The rule is simple: your last caffeine is 8 hours before your planned sleep time. Work backward from your pillow, not forward from your shift.
The 8-hour rule, in one line
Caffeine cutoff = the time you plan to be asleep, minus 8 hours. Sleep at 8:30am? Last coffee by 12:30am. Sleep at 7am? Last coffee by 11pm. This is the cutoff that lets the bulk of the caffeine clear before your head hits the pillow, so you fall asleep on schedule instead of lying there wired and furious.
Want your exact time without doing the arithmetic? Our caffeine cutoff timer does this math for any bedtime.
Hour-by-hour cutoff tables by shift
These tables assume you get home 30-45 minutes after clocking out and are in bed about an hour after that. Adjust the sleep time to match your real routine, then take 8 hours off it.
12-hour shift: 7pm to 7am
| Shift | In bed around | Last caffeine by |
|---|---|---|
| 7pm - 7am | 8:30am | 12:30am |
This is the brutal one. Your shift is 12 hours, but your caffeine window is only about 5.5 hours long. That is why the strategy on 12s is to front-load: your biggest cup at 7pm, a smaller one around 10pm, and nothing after about 12:30am. The back half of the shift runs on light, movement, and naps. See our caffeine playbook for the full timing strategy.
8-hour shift: 10pm to 6am
| Shift | In bed around | Last caffeine by |
|---|---|---|
| 10pm - 6am | 7:00am | 11:00pm |
This surprises almost everyone. If you are home and asleep by 7am, your cutoff is 11pm, only one hour into your shift. On this schedule, caffeine is a shift-starter, not a night-long drip. One cup on arrival carries your first half; the second half is naps, bright light, and water.
8-hour shift: 11pm to 7am
| Shift | In bed around | Last caffeine by |
|---|---|---|
| 11pm - 7am | 8:00am | 12:00am |
Same pattern: your cutoff lands just after midnight, in the first hour of the shift. Drink your coffee while it still helps you and cannot hurt your sleep. Anything after midnight is borrowed alertness that you repay at 8am, with interest.
Common ways cutoffs get blown
- "One for the road." The drive-home coffee is the worst coffee of your week. It is still peaking when you are trying to fall asleep.
- The commute eats your window. If your drive home is an hour and you wind down for another hour, your real sleep time is two hours later than your end-of-shift time. Calculate the cutoff from actual sleep time, not from the clock-out time.
- Hidden sources. Pre-workout powders, some headache pills, and energy drinks you stopped counting count toward the cutoff too.
- Days off drift. On days off you probably sleep at night, so the cutoff moves with the bedtime. Re-run the timer instead of using your workday number.
What to drink after the cutoff
The mug habit is real, and it is mostly ritual. Keep the ritual, change the contents: water, herbal tea, decaf (it has a trace of caffeine, but not enough to matter for this purpose). A big water bottle parked at your station replaces the coffee run without replacing the break.
Next: read the full night shift caffeine playbook for how to time what you drink before the cutoff.
General wellness information only. Talk to a clinician about caffeine if you have a heart condition, anxiety, or take medications that interact with stimulants.