Home / Blog

How to Stay Awake on Night Shift: Naps, Light, Caffeine Timing and the 4 AM Dip

Nap before the shift, keep caffeine to the first half of the night, work in bright light and plan for the early-morning low. Computed cutoffs for an 11 PM start.

To stay awake on night shift, take a nap shortly before you leave for work, front-load caffeine into the first half of the shift, keep your work area brightly lit, and plan active tasks for the early-morning low, often somewhere around 3 to 5 AM. Then protect the drive home, which is when night-shift sleepiness is most dangerous.

The examples below use an 11 PM to 7 AM shift with a 30-minute commute: up by 9:45 PM, lights out at 8:00 AM. The shift work sleep calculator gives the same numbers for your own shift.

Free toolShift Work Sleep CalculatorWhen to sleep and stop caffeine around any shift, including nights.

Take a nap before your night shift

A nap before work is one of the best-tested ways to stay awake on night shift, and it works even better with caffeine. In a study of night workers in the lab and on the job, an evening nap before the first nights and caffeine each improved alertness and performance, and the nap-plus-caffeine combination did best.

Two nap lengths work well, timed to end when you need to start getting ready:

Nap Lie down Alarm Good for
Power nap, 20 min 9:15 PM 9:45 PM Any work night, especially after a split day sleep
Full cycle, 90 min 8:05 PM 9:45 PM The first night of a run, when you've been up since morning

Both assume 10 minutes to fall asleep, the default in the nap calculator. Give yourself a few minutes to shake off grogginess before driving.

The first night of a run is the hardest, because you've often been awake since morning. A longer late-afternoon or evening nap that day can take the edge off.

Caffeine on night shift: early, not late

Have caffeine in the first half of your shift and stop several hours before you head home. Caffeine has an average half-life of about 5 hours, so a cup at 4 AM is still mostly in your system at an 8 AM bedtime.

Latest time for each drink to fall below about 25 mg by lights out:

Drink Lights out 7:30 AM Lights out 8:00 AM Lights out 8:30 AM
Brewed coffee, 8 oz (~95 mg) 9:50 PM 10:20 PM 10:50 PM
Espresso, 1 shot (~63 mg) 12:45 AM 1:15 AM 1:45 AM
Black tea, 8 oz (~47 mg) 2:55 AM 3:25 AM 3:55 AM
Cola, 12 oz (~34 mg) 5:15 AM 5:45 AM 6:15 AM
Energy drink, 160 mg 6:05 PM 6:35 PM 7:05 PM

The pattern is clear: one regular coffee as you leave home or right at clock-in, then smaller doses like a single espresso or a tea up to the middle of the night. A big energy drink at any point on shift will still be above 25 mg at bedtime. The caffeine calculator works out any other drink.

Use bright light during the shift, and dim it on the way home

Bright light while you work tends to help you feel more alert, while dim light and sunglasses on the way home help you fall asleep afterward.

  • Work under the brightest light your job allows, especially in the first half of the shift.
  • Take breaks in a well-lit room, not a dark break room or your car.
  • Wear sunglasses on the drive home if you can do so safely, so the morning sun doesn't wake you up just before bed.

Get through the 3 to 5 AM low point

Sleepiness on night shift tends to peak toward the end of the night, and many workers feel it most somewhere around 3 to 5 AM, though the exact timing varies from person to person. It's the time to plan around, not to push through on willpower.

  • Schedule active work for the low point: rounds, restocking, walking checks, anything on your feet.
  • Save monotonous tasks like charting or monitoring screens for earlier in the night if you can.
  • Move for 5 to 10 minutes: stairs, a lap of the building, a few stretches.
  • Eat light. A big meal in the middle of the night can make the slump feel worse; smaller snacks tend to sit better.
  • Talk to someone. A coworker check-in is hard to doze through, and in safety-critical jobs a buddy system helps.
  • Skip the 4 AM coffee. The table above shows why: it'll still be working at bedtime.

If your employer allows it, a short nap on a break, 10 to 20 minutes, can help. The guide to napping at work covers how to do it safely. For daytime sleepiness on a regular schedule, see how to stay awake at work.

Staying awake on the drive home

The drive home after a night shift is when night-shift sleepiness is most dangerous. In a study led by Harvard researchers on a closed test track, 16 night-shift workers drove for two hours after a night shift and again after a normal night's sleep. After night shift, 6 of the 16 drives included near-crashes and 7 were stopped early for safety. After sleep, there were none.

  • If you're yawning, drifting or missing turns, pull over somewhere safe and nap for 20 minutes.
  • Arrange a ride or carpool after long runs of nights.
  • Opening the window or turning up the radio doesn't fix drowsiness.
  • Don't run errands on the way home. Every extra stop is more time behind the wheel and in bright light.

Sleep is the real fix

None of these tricks replace a solid day sleep. If you're fighting to stay awake every shift, start with your sleep window: the third shift sleep schedule has computed times for common night shifts, and how to sleep during the day after a night shift covers the bedroom setup.

See a doctor if you're getting 7 or more hours of day sleep and still struggle to stay awake on shift, if you've nodded off while driving, or if you snore loudly or gasp in your sleep. Ongoing sleepiness or insomnia tied to your work hours can be shift work disorder, which is treatable.

Frequently asked questions

How do I stay awake on night shift?

Nap before your shift, have caffeine early in the night, work in bright light, move at the early-morning low point and nap on a break if allowed.

When should I stop drinking caffeine on night shift?

For an 8:00 AM bedtime, stop regular coffee by about 10:20 PM, a single espresso by about 1:15 AM and black tea by about 3:25 AM.

Why am I so tired at 4 AM on night shift?

Sleepiness on night shift tends to peak toward the end of the night, when your body clock is pushing hardest for sleep. For many people it hits somewhere around 3 to 5 AM.

How long should I nap before a night shift?

About 20 minutes before a regular work night, or a full 90-minute cycle before your first night, ending in time to wake up properly before you drive.

This article is general information, not medical advice. If you're often exhausted despite enough time in bed, snore loudly, or have been told you stop breathing in your sleep, see a doctor.