Sleep · Updated December 2026

Melatonin for Shift Work: Evidence, Limits and Safety Notes

What does the research say about melatonin for shift work? Evidence points to a real but modest effect. A Cochrane review found melatonin taken before daytime sleep after a night shift may add about 24 minutes of sleep, with low-quality evidence and no clear effect on how fast people fell asleep. A 2026 sleep medicine guideline gives it a conditional, low-certainty recommendation. It's an option to discuss, not a fix.

Here's what that means in practice: who might try it, what the research does and doesn't show, and the safety rules that matter most when you sleep during the day and drive home in the morning.

Why melatonin seems like a natural fit

Melatonin is a hormone your brain releases in the evening, in darkness, as part of the signal that it's night. When you work nights, you're trying to sleep while your body's melatonin is low and daylight is telling your clock to wake up. Taking melatonin before daytime sleep is meant to make that sleep easier and possibly help your clock shift.

The theory is neat. The real-world results are smaller than many people expect.

What the research says

The Cochrane review

The most-cited summary is a Cochrane review of medicines for shift-work sleep problems. It included 15 randomized trials; nine tested melatonin. The key findings:

OutcomeMelatonin vs placeboQuality of evidence
Daytime sleep length after a night shiftAbout 24 minutes longer on averageLow
Night-time sleep length (e.g., on return to days)About 17 minutes longer on averageLow
Time to fall asleepNo meaningful differenceLow
Dose (1-10 mg)No clear dose-response effectLow

The authors concluded there is low-quality evidence that melatonin improves sleep length after a night shift, but not other measures of sleep quality. Notably, higher doses didn't clearly work better.

The 2026 AASM guideline

The American Academy of Sleep Medicine published a clinical practice guideline for shift work disorder in 2026. For people diagnosed with shift work disorder, it suggests melatonin:

  • For daytime sleep problems after a night shift (very low certainty of evidence)
  • For night sleep when transitioning back from daytime sleep to nighttime sleep (low certainty)
  • Before a nap prior to the first night shift, for people who want to nap (very low certainty)

All of these are "conditional" recommendations, meaning the balance of benefit and harm depends on the individual. The guideline also adds a safety remark: melatonin can temporarily increase sleepiness and reduce performance, so leave enough time for that to wear off before driving or doing safety-sensitive work.

NCCIH's take

The NIH's National Center for Complementary and Integrative Health summarizes that studies on whether melatonin helps shift workers have generally been small or inconclusive, which fits the picture above.

What melatonin probably won't do

  • It won't make up for a bright, noisy bedroom. Light exposure on the way home and in your room can easily outweigh a small dose.
  • It's not a sedative like a sleeping pill. Most people feel a mild effect, if any.
  • It isn't a cure for shift work disorder. If you have severe insomnia or sleepiness, you need a proper assessment.
  • It won't help much if your main problem is a short sleep window. If you only have five hours between shifts, no supplement adds hours.

If you and your clinician decide to try it

Melatonin is sold as a dietary supplement in the United States, which means it's regulated less strictly than medicines, and studies have found that some products don't contain the amount listed on the label. Talk to a doctor or pharmacist before starting, especially if you take other medicines. Then keep it simple:

  1. Ask about timing and dose. Studies used roughly 1-10 mg before daytime sleep, with no clear advantage to higher doses. A clinician or pharmacist can suggest a sensible starting point for you.
  2. Take it shortly before your planned sleep, not at the start of the drive home.
  3. Never drive after taking it. If you take it at work or in the car park, you're adding sleepiness to an already risky commute.
  4. Pair it with darkness. Blackout curtains, an eye mask and avoiding bright light on the way home matter more than the tablet.
  5. Give it a fair test. Use the simple tracking method below before deciding whether to keep going.

Safety notes worth knowing

NCCIH's summary of melatonin safety is reassuring for the short term but honest about the gaps:

  • Short-term use appears safe for most people, but there isn't enough information on long-term use, especially at doses higher than the body normally produces.
  • Medicines matter. Anyone taking medicine should check with a health care provider first, and people with epilepsy or those taking blood thinners need medical supervision.
  • Allergic reactions are possible, though uncommon.
  • Pregnancy and breastfeeding call for a conversation with your provider before taking any supplement.
  • Labels aren't always accurate. Testing has found products with more or less melatonin than stated, so a pharmacist can help you choose a reputable product.

For shift workers specifically, the biggest practical risk is sleepiness at the wrong time. Melatonin plus alcohol, or melatonin plus a long drive, is a combination to avoid. Keep melatonin, especially gummies, out of children's reach: a CDC report cited by NCCIH estimated about 11,000 emergency department visits from 2019 to 2022 for unsupervised melatonin ingestion by children aged 5 and under.

How to judge whether it's working

Give any trial a fair, structured test rather than relying on a vague feeling. Keep a simple log for two to three weeks that notes the time you got into bed, roughly how long it took to fall asleep, how many times you woke, total sleep, and how alert you felt on your next shift. Compare it with a similar stretch without melatonin. If the difference is a few minutes or nothing at all, the money and the risk of morning grogginess may not be worth it.

What works better than melatonin alone

Melatonin is, at best, one small piece. The bigger levers for shift-work sleep are:

  • Light control: dark glasses as a passenger on the way home (only if safe), a blacked-out bedroom, bright light early in the shift.
  • A consistent daytime sleep window, plus a pre-shift nap.
  • Caffeine timing: stop well before your sleep; see the best time to stop caffeine.
  • A wind-down routine: our sleep hygiene checklist and stop overthinking before bed guides help.
  • CBT-I: cognitive behavioral therapy for insomnia, which the AASM guideline also suggests for shift workers with insomnia.

When to see a doctor instead

If you sleep poorly most days despite good habits, feel dangerously sleepy at work or while driving, snore loudly, or feel low or anxious, talk to a clinician. Shift work disorder and other sleep conditions have effective treatments, and some prescription options carry stronger evidence than melatonin.

Explore more shift-work guides on the Humantra Sleep hub.

Frequently asked questions

Does melatonin work for night shift workers?

Modestly. Research suggests it may add around 20-25 minutes of daytime sleep after a night shift, but it doesn't clearly help people fall asleep faster, and the evidence quality is low.

When should a shift worker take melatonin?

Studies have used it shortly before daytime sleep after a night shift. Ask a doctor or pharmacist about timing for your schedule, and never take it before driving.

How much melatonin should I take for shift work?

Trials used about 1-10 mg with no clear benefit from higher doses. Talk to a clinician or pharmacist about a suitable dose, especially if you take other medicines.

Is it safe to take melatonin every day for shift work?

Short-term use appears safe for most healthy adults, but long-term safety data are limited and it can interact with medicines. Review regular use with your doctor.

Can melatonin help me switch back to sleeping at night?

Possibly. The 2026 AASM guideline suggests melatonin for night sleep when transitioning back from daytime sleep in people with shift work disorder, with low certainty of evidence.

What's better than melatonin for shift work sleep?

A dark, quiet bedroom, a consistent sleep window, smart light and caffeine timing, and CBT-I for insomnia usually matter more. See a doctor if problems persist.

Medical disclaimer: This article is for general educational purposes only and is not medical advice, diagnosis, or treatment. Persistent trouble sleeping, loud snoring, gasping at night, or heavy daytime sleepiness can signal a sleep disorder; talk with a qualified healthcare professional, especially if you have a health condition, take medication, or are pregnant. Never drive or operate machinery while drowsy.

Sources

  1. Liira J, et al. Pharmacological interventions for sleepiness and sleep disturbances caused by shift work. Cochrane Database Syst Rev, 2014 (PubMed)
  2. Wright KP Jr, et al. Management of shift work disorder: an American Academy of Sleep Medicine clinical practice guideline. J Clin Sleep Med, 2026 (PubMed)
  3. NCCIH (NIH) – Melatonin: What You Need To Know
  4. NHLBI (NIH) – Circadian Rhythm Disorders