Take melatonin 2–4 hours before desired bedtime
Unlike sedatives (e.g., antihistamines or benzodiazepines) that acutely depress the central nervous system, melatonin provides a temporal cue. To phase-advance the clock, melatonin should be present when the endogenous melatonin onset (dim light melatonin onset) hasn’t occurred yet, which is typically 2–3 hours before habitual bedtime. Taking it later provides a weaker phase shift and may even delay sleep if taken after the onset. Proper timing is especially critical for people with circadian rhythm disorders or mild insomnia. The speaker stresses this distinction because the lay public often misuses melatonin as a knock-out pill, which reduces its effectiveness and increases the risk of next-day sedation.
Melatonin binds to MT1/MT2 receptors in the suprachiasmatic nucleus, the brain’s master clock, altering the circadian phase. The external timing relative to the current clock phase determines whether it advances or delays sleep.
Melatonin works as a chronobiotic agent that can try and shift our sleep-wake cycle. So, ideally, we want to be taking melatonin around 2 to 4 hours before we want to fall asleep.

