The Melatonin GuideTake it on your own clock
A lilac gummy on a nightstand beside a clock at about 8 o'clock, dusk in the window
The guide

Melatonin timing: why the hour changes the direction

By GyroscopeUpdated November 14, 202610 sources
On this page
  1. Why does the bottle say bedtime?
  2. A simple way to picture it
  3. How can one pill move your clock both ways?
  4. Why about 5 hours before bed?
  5. Does it work outside a lab?
  6. What about falling asleep faster tonight?
  7. How fast can you move your bedtime?
  8. And moving later?
  9. Won’t a 5pm dose put me to sleep at work?

The same tablet does opposite things at different hours. Taken in the few hours before your own melatonin starts, it moves your body clock earlier. Taken just after you wake, it moves it later. Around the time you fall asleep it barely moves the clock at all, and in a lab 0.5 mg at its best hour moved the clock as far as 3 mg at its best hour.

That’s why the first question to ask is what you want melatonin to do. The answer sets the hour, and the dose comes after.

What we’d do

To fall asleep faster tonight, take 0.5 to 1 mg 1 to 3 hours before bed, then switch to lamps.

To move your bedtime earlier for good, take 0.5 mg about 5 hours before your usual bedtime, keep one wake time every day, and get outside within an hour of waking. Move bedtime and the dose 15 to 30 minutes earlier every 2 to 3 days, as your sleep follows.

To move it later, skip the pill. Get light in the evening and sleep in a little.

If you remember three things

  1. Before your own melatonin starts, it pulls you earlier. The biggest moves came 2 to 4 hours before it.
  2. Just after waking, it pushes you later. That’s also the hour it makes you drowsy, so it’s rarely the plan.
  3. At lights out, it mostly helps you drop off, and only by a few minutes.

Why does the bottle say bedtime?

Because that’s how melatonin got used. The 2024 review of 26 trials named the schedule most used in clinics as 2 mg, 30 minutes before the bedtime you want. Bottles say to take it before bed, and most advice online says 30 to 60 minutes.

The trouble is that by 30 minutes before bed, your own melatonin has usually been up for a couple of hours. A tablet then adds a little more of a signal that’s already on. The hours earlier in the evening are the ones where a tablet can still say something new.

A simple way to picture it

Think of pushing a child on a swing. Push as the swing moves away from you and it speeds up. Push against it as it comes back toward you and it slows down. Push at the very top and not much happens.

Your body clock is the swing and a tablet is the push. In the afternoon it speeds the clock up, so your night comes earlier. Just after waking it slows the clock down. Around bedtime it barely moves it.

How can one pill move your clock both ways?

Scientists map this with a phase response curve. They give the same dose at different hours and measure how far, and which way, the clock moves each time.

In 2010 Helen Burgess and her team at Rush University in Chicago did it for 0.5 mg. 34 healthy adults aged 18 to 42 came into the lab twice for 5 days. Each day they took one pill at the same clock time, melatonin in one session and a placebo in the other, without knowing which. In between, they lived in cycles of 2.5 hours awake in dim light and 1.5 hours in the dark, so daylight couldn’t move their clocks. The researchers measured when each person’s own melatonin started, before and after.

  • The biggest moves earlier came in the afternoon, 2 to 4 hours before the person’s own melatonin started. The fitted curve peaked 3.3 hours before.
  • Three days of 0.5 mg moved the clock up to 1.5 hours earlier on the fitted curve, and as much as 2.9 hours in some people.
  • The moves later were smaller and less clear. The fitted curve peaked soon after waking.
  • 0.5 mg worked best a little later in the day than 3 mg. At each dose’s own best time, the two moved the clock about the same amount.

Light has a curve too, drawn the other way round. In a 2003 study of 21 people at Brigham and Women’s Hospital and Harvard, bright light before the body’s temperature low (a few hours before you’d normally wake) moved the clock later, and light after it moved the clock earlier. The figure below puts both on one ring.

Why the hour changes the direction

A tablet now moves your clock earlierAround sleep, little effect on the clockJust after waking, a tablet moves it laterLight now pushes your clock laterLight now pulls your clock earlier
Your melatonin starts9:35pmwaking at 8am on a free day
  • A tablet here moves you earlier
  • A tablet here moves you later
  • Light here pushes later
  • Light here pulls earlier
The outer ring is the sky on your clock. Drawn to show which way each hour moves you, not how far.

Why about 5 hours before bed?

Your own melatonin starts about 2.5 hours before your usual bedtime. The best time for 0.5 mg is 2 to 4 hours before that start, which puts it roughly 4.5 to 6.5 hours before bed. Eastman and Burgess’s working estimate for 0.5 mg is 2 hours before your melatonin starts, or 4.5 hours before sleep. For 3 mg it’s 5 hours before your start, or 7.5 hours before sleep.

The window tool uses the middle of that range, 0.5 mg between 4 and 2 hours before your start, with 3 hours before as the one time to remember.

Wake on a free dayYour melatonin probably startsTake 0.5 mg betweenOne time
6am8:00pm4 and 6pm5pm
7am8:45pm4:45 and 6:45pm5:45pm
8am9:35pm5:35 and 7:35pm6:35pm
9am10:20pm6:20 and 8:20pm7:20pm
10am11:10pm7:10 and 9:10pm8:10pm
11:30am12:20am8:20 and 10:20pm9:20pm

When your own melatonin starts explains where the start times come from.

Does it work outside a lab?

Yes, more slowly. In 2018 a team at Monash University in Australia ran a trial in 116 people with delayed sleep phase, the body clock problem where you can’t fall asleep until very late. Their average age was 29. For 4 weeks they took 0.5 mg or a placebo 1 hour before the bedtime they wanted, at least 5 nights a week, and everyone was given a fixed bedtime.

On melatonin, sleep came 34 minutes earlier than on placebo, somewhere between 8 and 60 minutes allowing for chance. Clinicians rated 52.8 percent of the melatonin group as more than minimally improved, against 24.0 percent on placebo.

One hour before bed sounds like the old bedtime advice, but these people were picked because their own melatonin started after the bedtime they wanted, or within 30 minutes before it. For them, an hour before bed was still before their own melatonin started. The authors credited most of the gain to melatonin’s sleep-promoting effect working together with the fixed bedtime.

The lab moved clocks 1.5 hours in 3 days of dim light. The trial moved sleep 34 minutes in 4 weeks of ordinary life, with ordinary evening light. The American Academy of Sleep Medicine’s 2015 guideline came out in favor of timed melatonin for delayed sleep phase, as a weak recommendation.

What about falling asleep faster tonight?

Earlier still beats bedtime. The 2024 review of 26 trials found that the more time people left between the dose and sleep, the more it shortened the time to fall asleep. The authors suggested about 3 hours before the bedtime you want, against the usual 30 minutes.

An older MIT study pointed the same way. Volunteers took 0.3 or 1 mg at 6, 8 or 9pm, and every combination shortened the time to fall asleep, with no grogginess on morning tests.

Want to be asleep byTake 0.5 to 1 mg between
10pm7 and 9pm
11pm8 and 10pm
Midnight9 and 11pm
1am10pm and midnight
2am11pm and 1am

How fast can you move your bedtime?

No trial has tested a pace for the public. We suggest moving bedtime and the dose 15 to 30 minutes earlier every 2 to 3 days, once your sleep has followed. At that pace a 2.5 hour move takes about 10 days to a month.

Here’s how that looks for Tom, 27, who wakes at 10:30am on free days, usually falls asleep around 2am, and wants to be asleep by 11:30pm. His melatonin probably starts around 11:35pm. His window is 0.5 mg between 7:35 and 9:35pm, with 8:35pm as the one time to remember. He keeps one wake time, gets outside soon after it, and switches to lamps once he’s taken it.

And moving later?

There’s no pill window for that. Melatonin’s delay zone is just after you wake up, which is the hour it makes you drowsy. The 2002 Cochrane review of jet lag trials warned that taken early in the day, it can cause sleepiness and slow your adjustment. Light does the job better. Bright light in the evening and a later wake time move your clock later.

An afternoon dose can make you drowsy too. In the MIT noon study, every dose from 0.1 mg up made people sleepier and slower on a listening test. Don’t drive after a dose, whatever the hour.

Won’t a 5pm dose put me to sleep at work?

The sceptic says

Taking a sleep supplement at 5pm is mad. I’ll be yawning through dinner and wide awake at midnight.

The reply

You might feel it, so plan for it. Daytime doses did make people sleepier in the MIT study. That’s why the move-earlier dose is 0.5 mg, the smallest amount that did the full job in the lab. Take it once you’re done driving and somewhere you can dim the lights. If it’s too much, take it at the late end of your window. The early hour is what moves the clock, and midnight wakefulness is what it’s there to fix.

10 sources
  1. Burgess HJ, Revell VL, Molina TA, Eastman CI, Human phase response curves to three days of daily melatonin: 0.5 mg versus 3.0 mg, Journal of Clinical Endocrinology and Metabolism, 2010pubmed.ncbi.nlm.nih.gov
  2. Eastman CI, Burgess HJ, How to travel the world without jet lag, Sleep Medicine Clinics, 2009pubmed.ncbi.nlm.nih.gov
  3. Burgess HJ, Eastman CI, The dim light melatonin onset following fixed and free sleep schedules, Journal of Sleep Research, 2005pubmed.ncbi.nlm.nih.gov
  4. Sletten TL and others, Efficacy of melatonin with behavioural sleep-wake scheduling for delayed sleep-wake phase disorder, PLoS Medicine, 2018pubmed.ncbi.nlm.nih.gov
  5. Auger RR and others, Clinical practice guideline for the treatment of intrinsic circadian rhythm sleep-wake disorders, update for 2015, Journal of Clinical Sleep Medicine, 2015pubmed.ncbi.nlm.nih.gov
  6. Cruz-Sanabria F and others, Optimizing the time and dose of melatonin as a sleep-promoting drug: a systematic review of randomized controlled trials and dose-response meta-analysis, Journal of Pineal Research, 2024pubmed.ncbi.nlm.nih.gov
  7. Zhdanova IV and others, Sleep-inducing effects of low doses of melatonin ingested in the evening, Clinical Pharmacology and Therapeutics, 1995pubmed.ncbi.nlm.nih.gov
  8. Khalsa SBS and others, A phase response curve to single bright light pulses in human subjects, Journal of Physiology, 2003pubmed.ncbi.nlm.nih.gov
  9. Herxheimer A, Petrie KJ, Melatonin for the prevention and treatment of jet lag, Cochrane Database of Systematic Reviews, 2002pubmed.ncbi.nlm.nih.gov
  10. Dollins AB and others, Effect of inducing nocturnal serum melatonin concentrations in daytime on sleep, mood, body temperature, and performance, PNAS, 1994pubmed.ncbi.nlm.nih.gov
With Gyroscope One, snap the bottle when you take it and see your melatonin nights against your usual sleep, from your Apple Watch, Oura, WHOOP or Garmin. Open Gyroscope

Your personalized guide

When should I take melatonin, and how much?

Eight taps. You get when your own melatonin probably starts, the hour and the dose for what you want it to do, and a way to tell in two weeks if it's working.

  • Your window, on your own clock
  • Your dose against the trials
  • Free, under a minute
Start