If you work nights, you probably know the wall: somewhere between 3 AM and 5 AM, your eyes get heavy and simple tasks feel hard. This is not a lack of willpower. It is your body clock reaching its lowest point of the day. You cannot remove it, but you can plan around it with light, caffeine, naps, food and a sensible sleep plan after your shift.
This guide is based on published research on shift work and the advice of sleep specialists. It is general information, not medical advice.
In this article
- Why the early morning hours are the hardest
- Use light to stay alert
- Time your caffeine
- Plan a nap
- Eat light at night
- Move during the slump
- Plan your work around the low point
- Sleeping after a night shift
- Driving home safely
- Your schedule and your long-term health
- Frequently Asked Questions
- The bottom line
- Sources
The short answer
- Bright light early in your shift, and dark glasses on the way home.
- Caffeine early in the shift, none in the last few hours.
- A short planned nap before or during the shift, if allowed.
- Light meals at night, not one heavy meal.
- A dark, quiet bedroom and a fixed sleep time after nights.
- Do not drive drowsy after a night shift.
Why the early morning hours are the hardest
Your body clock, run by a small area of the brain called the suprachiasmatic nucleus, keeps you alert in the day and sleepy at night. In the early morning, usually around 3 to 6 AM for someone who normally sleeps at night, your core body temperature is near its lowest point, melatonin is high, and alertness is at its lowest. On top of that, you have often been awake for many hours.
That combination is why mistakes and drowsy driving are more common at this time. Most night workers never fully shift their body clock, because they see daylight on the way home and live on a day schedule on their days off.
Use light to stay alert
Light is the strongest signal your body clock receives. Bright light during a night shift increases alertness, and studies on night workers have used it to help shift the body clock later.

- Work under bright light in the first half of your shift where you can, or use a light therapy box during breaks.
- Dim the light toward the end of the shift.
- Wear dark or amber sunglasses on your way home. Morning daylight tells your body clock it is daytime, which makes it harder to sleep.
Time your caffeine
Caffeine helps alertness on a night shift, but it stays in your body for a long time: its half-life is about five hours on average, and longer for some people. Caffeine late in the shift can keep you awake when you need to sleep afterward.
- Have your caffeine in the first half of the shift, in small amounts, rather than one large dose.
- Stop several hours before the end of your shift.
- Most healthy adults should stay under about 400 mg a day, according to the US Food and Drug Administration. That is roughly four cups of brewed coffee.
Plan a nap
A short planned nap is one of the best-studied ways to stay alert at night. In a well-known NASA study of long-haul airline pilots (Rosekind and colleagues, 1994), pilots who were given a 40-minute rest opportunity slept for about 26 minutes on average. Compared with pilots who had no rest, their performance improved by 34% and their physiological alertness by 54%.
- A nap of 1 to 2 hours in the afternoon or evening before your first night shift helps.
- During a shift, if your workplace allows it, a nap of 20 to 30 minutes limits grogginess afterward.
- Allow 10 to 15 minutes after waking before you do anything safety-critical. Bright light and a short walk help.
Try this tonight
Take your last caffeine at least six hours before you plan to sleep, keep the lights bright in the first half of the shift, and pack sunglasses for the drive home.
Eat light at night
Your body handles food less well at night, and a large meal can make you sleepy and uncomfortable. Research also links long-term night work with a higher risk of weight gain and type 2 diabetes.
- Have your main meal before the shift.
- During the shift, choose small snacks such as yogurt, nuts, fruit, eggs or vegetables with hummus.
- Limit sugary snacks and energy drinks.
- Have only a light snack before you sleep, so hunger or heartburn does not wake you.
Move during the slump
Getting up and moving for a few minutes, cool air, and talking with a colleague can all give a short boost in alertness. The effect wears off, so repeat it, but these breaks are not a substitute for sleep.
Plan your work around the low point
If you can choose, do complex or safety-critical tasks earlier in the shift, and use double-checks and teamwork for important tasks done between 3 and 6 AM.
Sleeping after a night shift
- Make your bedroom as dark as night: blackout curtains, plus an eye mask.
- Block noise with earplugs or a fan or white noise machine, and silence your phone.
- Keep the room cool.
- Ask the people you live with to protect your sleep time.
- Try to sleep at the same time after each night shift.
For day sleepers
Sleeping while the sun is up?
A contoured silk eye mask blocks daylight without pressing on your eyes, and earplugs come with it.
On your days off, many specialists suggest a compromise: go to bed later and get up later than a day worker would, so the switch back to nights is smaller. Talk to your doctor before you use melatonin to help with the switch.
Driving home safely
Driving after a night shift is risky. In a 2016 study in PNAS (Lee and colleagues), 16 night-shift workers drove on a closed test track twice: once after a night’s sleep and once after a night shift. After the night shift, 6 of the 16 drives had near-crashes and 7 were stopped early for safety. After sleep, there were none.

Warning: do not drive drowsy
If you are yawning, drifting out of your lane or struggling to keep your eyes open, pull over and rest. Consider a short nap before you leave work, public transport, or a lift home.
Your schedule and your long-term health
Long-term shift work is linked with health risks. A 2012 review in the BMJ (Vyas and colleagues), covering 34 studies and about two million people, found that shift workers had a higher risk of heart attack. The International Agency for Research on Cancer classifies night shift work as “probably carcinogenic to humans”. These are links found across many studies; they do not mean every night worker will become ill.
- If you have a say in your rota, forward rotation (days, then evenings, then nights) is usually easier than backward.
- Have regular check-ups: blood pressure, blood sugar and cholesterol.
- Exercise regularly, but not right before you try to sleep.
- Keep time for family and friends; night work can be isolating.
When to see a doctor
If you cannot sleep after shifts, feel very sleepy at work, or have nodded off while driving, see a doctor. Shift work disorder is a recognized condition, and loud snoring or pauses in breathing may point to sleep apnea, which makes shift work much harder.
Frequently Asked Questions
Will my body ever fully adapt to night shifts?
Rarely. Most night workers only partly adapt, because daylight and days off pull the body clock back. Light control and a regular sleep time after shifts help.
How much caffeine is too much on a night shift?
For most healthy adults, about 400 mg a day is the upper limit the FDA gives. Timing matters too: avoid caffeine in the last several hours before you plan to sleep.
Do blue-light-blocking glasses help?
Dark or amber glasses on the way home reduce the morning light that resets your body clock to daytime, which can make daytime sleep easier. Do not wear tinted glasses at night while driving.
Are 12-hour night shifts worse than 8-hour shifts?
Tiredness and mistakes tend to increase toward the end of long shifts, especially at night. If you work 12-hour shifts, breaks, a planned nap and a safe way home matter even more.
The bottom line
The 3 to 5 AM slump is predictable, so plan for it: bright light and caffeine early, a short nap if you can, light food, and a dark, quiet bedroom after your shift. And never drive drowsy.
Some links in this article are affiliate links. If you buy through them, we may earn a commission at no extra cost to you. Learn more.
Sources
- Rosekind MR, et al. Crew factors in flight operations IX: effects of planned cockpit rest on crew performance and alertness in long-haul operations. NASA, 1994.
- Lee ML, et al. High risk of near-crash driving events following night-shift work. PNAS, 2016.
- Vyas MV, et al. Shift work and vascular events: systematic review and meta-analysis. BMJ, 2012.
- IARC Monographs volume 124: Night Shift Work, 2020.
- NIOSH. Training for nurses on shift work and long work hours.
This article is general information, not medical advice. See our medical disclaimer.




[…] Shift workers who need a planned nap before a night shift. See our night shift guide. […]