Symptoms & Science

Melatonin for Shift Workers: Timing, Dosage & What the Research Says

7 min read · Updated regularly

Melatonin is one of the most-recommended supplements for shift work, and one of the most misused — mostly because people treat it like a sleeping pill (take it right before bed, more is better) when it actually works more like a timing signal to your body clock.

This article is educational, not medical advice. Melatonin is regulated differently across countries and interacts with some medications. Check with a doctor or pharmacist before starting, especially if you take other medications.

What melatonin actually does

Your body naturally produces melatonin in response to darkness, and it's one of the main signals that tells your circadian system "it's time to wind down." Taking melatonin as a supplement doesn't sedate you the way a sleep medication does — it nudges your body clock's timing. That's why when you take it matters more than how much.

Timing for common shift patterns

Fixed night shift

Take melatonin roughly 30-60 minutes before your intended daytime sleep period, after you've gotten home and dimmed lights. Taking it too early (e.g. right as your shift ends, before your commute) can leave you sleepy before you're actually able to sleep.

Rotating shifts

More nuanced — melatonin can help "pre-adapt" your body clock 1-2 days before a shift change by taking it slightly earlier each day, nudging your rhythm in the direction of your new schedule. This pairs well with the anchor-sleep approach in our rotating shift schedule guide.

Early morning shifts

Less commonly needed, since the challenge is usually falling asleep early enough the night before rather than falling asleep at an unusual time — light management (see below) tends to matter more here.

Dosage: less is often more

Research on melatonin for circadian adjustment generally points to low doses (0.5mg-3mg) being as effective as higher doses (5mg-10mg) for timing purposes, with lower doses causing fewer next-day grogginess complaints. Many over-the-counter products are dosed much higher than the amounts studied for this use — check labels and consider whether a lower-dose product suits your use case better than what's most prominently marketed.

Melatonin isn't a fix for a bad sleep environment

It's a timing tool, not a substitute for a dark, quiet, cool room. If your bedroom is bright or noisy during your sleep window, fixing that (see our blackout bedroom guide) will do more for sleep quality than any supplement.

When to talk to a doctor instead

If you've tried consistent timing, light management, and melatonin and you're still dealing with significant sleep disruption or daytime impairment, that's worth a conversation with a doctor — shift work disorder has other treatment options beyond supplements, including timed light therapy and, in some cases, prescription options. See our shift work disorder overview for the full picture.