Shift-Work Sleep Planner
Shift work asks your body clock to do something it was never designed for: sleep while the sun is up, stay alert while it is down. The three levers that actually move the needle are when you sleep, when you get bright light, and when you stop caffeine. Tell this planner your shift pattern and times, and it will give you a recommended sleep window, light-exposure timing, and a caffeine cutoff for each shift you work.
Your shift plan
General sleep-hygiene information only — not medical advice. If your schedule involves safety-critical work, or you have a suspected sleep disorder, talk to a sleep physician before changing your routine. Caffeine cutoffs here use the standard rule of no caffeine within 8 hours of your sleep window.
How the plan is worked out
Every plan starts from your sleep need and a one-hour buffer around your shift: on nights, sleep starts about an hour after your shift ends (time to get home, decompress, and wind down) and runs for your full sleep need; on early mornings, you wake an hour before your shift starts, and bedtime is your sleep need counted back from that wake time. Bright light goes in the first 2 hours of a night shift — or the first 2 hours after waking on an early shift — because that is when light most strongly anchors your clock to the schedule you are on. Dim light covers the last 2 hours before your sleep window, and on night shifts that means keeping light low on the commute home too: sunglasses outdoors, even on a cloudy morning.
The caffeine cutoff is your sleep-window start minus 8 hours. Caffeine's half-life is roughly 5–6 hours, so 8 hours leaves about a quarter of a dose still circulating at lights-out — a conservative line that keeps the last coffee early enough to matter. On a rotating schedule the planner builds both blocks and works out the adjustment time between them: your sleep window can realistically move about 2 hours per day, so a 9-hour shift between day-sleep and night-sleep takes about 5 days to fully adjust to. The anchor-sleep block — the 4 hours before your earliest wake time, kept the same on every day including days off — is what stops the rotation from resetting your clock every week.
The honest caveats
A plan is not a cure: even a perfectly timed night-shift schedule leaves most people sleeping about an hour less, and more lightly, than they would at night — daytime sleep fights your circadian drive to be awake. The numbers above are starting points, not prescriptions: if you wake up groggy every day, shift the window 30 minutes earlier or later and give it three days before judging it. Short naps help — a 20-minute nap about 2 hours before a night shift is the sweet spot, long enough to take the edge off, short enough to dodge sleep inertia — but a nap is a bridge, not a replacement for the main sleep block. And if your shifts rotate faster than every few days, no light schedule fully compensates; in that case the anchor block and the caffeine cutoff do most of the work, so protect those two first.
More tools: Caffeine Cutoff Calculator · Blue Light Exposure Planner · Nap Optimizer
Keep reading
- The Shift-Worker Survival Guide: Sleeping Well on Rotating SchedulesDaytime sleep against circadian biology: light as a weapon, the commute-home protocol, anchor sleep, and blackout-grade bedrooms.
- Best Blackout Curtains for Shift WorkersWhat actually blocks daylight for daytime sleep — and what just looks dark.
- Caffeine and Sleep: Exactly How Late Is Too Late?The half-life math behind the 8-hour cutoff.