Start with the clock-in time, not an ideal bedtime
Most bedtime advice assumes that you can choose when to sleep and when to wake. A night shift gives you a fixed finish line. The useful starting point is the time you must be ready for work, followed by the time you need for food, changing, handover and travel.
Use this order:
- Write down the shift start and the time you must arrive.
- Subtract preparation and travel to find your latest safe wake-up time.
- Decide how much sleep you are realistically trying to protect.
- Add the time you usually need to fall asleep.
- Subtract that total from the wake-up time to find the sleep start.
This is a planning calculation, not a guarantee. A window that looks neat on paper is only useful if the household, noise level and your own body allow you to use it.
Three worked examples
The table below assumes 45 minutes for preparation and travel, a 7.5-hour sleep target and 15 minutes to fall asleep. It is a starting point, not a rule for every job or commute.
| Shift starts | Latest wake-up | Sleep start | Sleep opportunity |
|---|---|---|---|
| 19:00 | 18:15 | 10:30 | 7 h 45 min |
| 21:00 | 20:15 | 12:30 | 7 h 45 min |
| 23:00 | 22:15 | 14:30 | 7 h 45 min |
Now use a real commute. Suppose a shift starts at 20:00, travel takes 40 minutes and preparation takes 35 minutes. The latest wake-up is 18:45. With the same sleep target, sleep needs to begin around 11:00. If a medical appointment or school pickup overlaps that block, the plan needs to change before the day begins, not after you have already lost the window.
Choose one main sleep window
A common mistake is to add a full before-shift block and a full after-shift block and assume both will happen. They are alternatives for most people. A short nap may supplement the main window, but it does not automatically replace it.
Before-shift sleep can work well when your home is quiet in the late morning or afternoon and you want to be more alert for the first part of the shift. After-shift sleep may fit better when you feel most sleepy after work or when family and noise make daytime sleep after the shift the only protected block.
Choose the option you can repeat for several shifts. A slightly shorter window that happens consistently is usually more useful than a perfect plan you abandon after one difficult day.
Build a wind-down that fits the time you actually have
If the sleep window begins at 10:30, the ten minutes before it should not be spent finishing chores, answering messages and moving through bright rooms. Allow a buffer for food, hygiene and quiet. The buffer does not need to be elaborate.
A repeatable sequence might be: close the curtains, put the phone out of reach, set the alarm, use the bathroom and lie down. The same sequence every time gives your brain a clear cue that the sleep window has started.
If you share a home, make the boundary visible. A closed door, a sign, headphones or a agreed quiet period can work better than repeatedly explaining that you are trying to sleep.
Control the conditions you can control
- Reduce light in the room before the sleep window, especially if the morning sun is bright.
- Use consistent temperature and bedding where possible.
- Address noise with earplugs, a fan or household planning, while keeping safety in mind.
- Keep the phone and work messages outside the sleep space.
- Plan caregiving, appointments and deliveries before committing to a sleep block.
None of these steps can override a schedule that leaves too little time for sleep. They protect a realistic window; they do not manufacture one.
Caffeine, food and alcohol
Late caffeine can make it harder to fall asleep in a before-shift window. Use the caffeine cutoff calculator to compare estimates, but remember that half-life varies between people and products. Coffee is not the only source: tea, cola, energy drinks, pre-workout products and chocolate can also contribute.
A very large meal close to sleep may be uncomfortable. A smaller meal or snack, adequate water and a predictable routine are easier to evaluate than a complicated plan. Alcohol is not a reliable sleep aid and can worsen sleep quality, so it should not be used to force a daytime sleep window.
When you cannot fall asleep
If you have been awake for what feels like a long time, do not spend the whole window watching the clock. Use a quiet, low-light activity and return to bed when you feel sleepy, provided it is safe to do so. Avoid starting stimulating work or a long phone scroll if your aim is to preserve the remaining window.
One poor sleep period is not a reason to abandon the schedule. A repeated pattern is different. If you cannot sleep before night shifts for several weeks, or if you become unsafe at work or on the road, move from planning to professional support.
Test the plan instead of arguing with it
For the next three shifts, record four things: the planned sleep window, the approximate time you actually slept, how sleepy you felt during the commute, and how sleepy you felt during the shift. Do not judge the plan from one unusually noisy day.
If the before-shift window fails repeatedly and the after-shift option leaves more recovery time, switch to the option that works for the whole run. Use the Shift Work Planner to compare the two windows, then use the three-night plan to test a repeatable schedule.
Frequently asked questions
What time should I go to bed before a night shift?
Work backwards from the time you must wake, not from a generic bedtime. Subtract preparation and travel from the shift start, then subtract your sleep opportunity plus the time you usually need to fall asleep. If the resulting window is unrealistic, compare an after-shift sleep plan.
Is it better to sleep before or after a night shift?
Neither option is universally better. Before-shift sleep can protect the hours immediately before work, while after-shift sleep may fit better when the body is already tired. The useful choice is the one you can repeat consistently without creating dangerous sleepiness.
How long should I allow to fall asleep?
Use your own recent experience rather than a perfect number. Fifteen minutes is a common planning assumption, but some people need longer and others fall asleep quickly. If you regularly lie awake for much longer, the schedule or sleep environment may need attention.
Should I use blackout curtains and an eye mask?
They can reduce light and make daytime sleep easier for some people. Use them safely and remember that light control is only one part of the plan. Noise, temperature, caregiving responsibilities and the timing of caffeine can matter just as much.
What if I cannot fall asleep before a night shift?
Do not turn one difficult sleep attempt into hours of clock-watching. Use a quiet, low-light activity and return to bed when sleepy, provided it is safe to do so. If this happens repeatedly or you become unsafe at work or while driving, seek professional advice.
What this plan cannot do
It cannot measure your sleep stages or diagnose a sleep disorder. If you are consistently unable to sleep, feel dangerously sleepy on the road or during work, or have breathing pauses during sleep, seek professional advice.