Melatonin's sleepiness may peak about an hour after a 21:00 dose
In one small study of sleep-deprived young adults, the peak came 1 hour after a 21:00 dose but 3 h 40 min after a noon dose. The later in the day, the sooner it worked.
What the study found
Sleepiness peaked 1 hour after a 21:00 dose, 3 h 40 min after noon
In 18 sleep-deprived young adults, 5 mg of melatonin raised sleepiness whether taken at noon, 17:00, 19:00 or 21:00, and the wait for its peak shrank from 3 h 40 min to 1 hour the later it was taken. How soon it works depends on the hour, not only on the pill.
The caveat · Sleep-deprived volunteers
Volunteers had been kept awake overnight and tried to sleep for 7 minutes in every 20, so they were primed to drop off in a way an ordinary evening is not. The dose was 5 mg. The study timed the peak after the pill, not how that peak lines up with a bedtime.