Melatonin for Sleep: The Complete Guide (Including What It Cannot Do)
Melatonin is the most widely used sleep supplement in the world and also one of the most widely misused. People take it to fall asleep faster, to sleep deeper, to recover from a poor night, and as a general sleep aid. Most of these uses are based on a misunderstanding of what melatonin actually is and how it works. The supplement does something real and useful in specific situations. It does something different from what most people expect it to do.
What Melatonin Actually Is
Melatonin is a hormone produced by the pineal gland in the brain. It does not put you to sleep. It signals to the body that night has arrived and that sleep conditions are appropriate.
The analogy that works best is a starter gun rather than a sedative. Melatonin fires the signal that sleep is coming. It does not produce sleep by itself. Sleep onset requires a combination of sufficient adenosine pressure, the right circadian phase, and a lowering of core body temperature. Melatonin contributes to the circadian signal part of this equation and influences the thermoregulatory process indirectly, but it does not generate the sleep state on its own.
The pineal gland begins releasing melatonin approximately two hours before your natural bedtime, triggered by the absence of bright light reaching the retina. This release is what produces the feeling of evening sleepiness that most people recognise as the body getting ready for bed. Melatonin levels remain elevated through the night and fall before waking.
Where Melatonin Actually Works
Jet lag. This is the application with the strongest evidence. When you cross time zones, your circadian clock is out of sync with local time. Melatonin taken at the appropriate local time helps advance or delay the clock to match the new timezone. Most studies use low doses (0.5mg to 3mg) taken at local bedtime for two to four days after crossing multiple time zones. For more on how the circadian clock responds to timing cues, see our article on circadian rhythm explained.
Delayed sleep phase. Some people have a natural circadian phase that runs significantly later than a conventional schedule requires, meaning they cannot fall asleep until 1am or 2am and struggle with early morning alarms. Low-dose melatonin (0.5mg) taken five to six hours before the desired sleep time can gradually advance the circadian phase. This requires precise timing and consistency to be effective.
Shift work. Melatonin taken before daytime sleep in night shift workers helps signal that sleep is appropriate at an unconventional time.
Older adults. Melatonin production declines significantly with age, partly due to calcification of the pineal gland. Older adults often have reduced melatonin output. Supplementation at low doses has reasonable evidence for improving sleep quality in this population.
Where the Evidence Is Weaker
For people who do not have jet lag, a phase disorder, or age-related melatonin decline, the evidence that melatonin improves sleep is limited. A 2013 meta-analysis published in PLOS ONE examined 19 studies and found that melatonin reduced sleep onset latency by an average of 7 minutes and increased total sleep time by an average of 8 minutes. These are statistically significant effects but clinically modest ones. For most people with ordinary sleep difficulty, melatonin produces a small improvement in sleep onset and essentially no improvement in sleep quality or depth.
The reason is that sleep quality, meaning the proportion of time spent in slow-wave sleep and REM, and the restoration those stages provide, is not primarily determined by the melatonin signal. It is determined by adenosine pressure, core body temperature, and the quality of the neural conditions during sleep. Melatonin does not substantially affect any of these.
Common Dosing Mistakes
Taking too much. Most over-the-counter melatonin is sold in doses of 5mg to 10mg. This is roughly five to twenty times the physiological dose that the pineal gland produces naturally. Higher doses do not produce more sleep. They produce a blunted response because melatonin receptors desensitise to excess ligand concentration. Research consistently shows that 0.5mg to 1mg is as effective as 5mg or 10mg for sleep onset, and lower doses produce fewer side effects including next-day grogginess.
Taking it at the wrong time. Melatonin taken at the wrong time relative to the circadian clock can advance or delay the clock in unintended ways. Taking it during the day, for example, can shift the circadian phase in ways that worsen sleep over subsequent nights.
Using it every night as a replacement for addressing root causes. Melatonin does not address the adenosine pressure, body temperature, or arousal factors that determine sleep quality. Using it nightly without addressing those factors keeps sleep suboptimal despite the supplement.
What Melatonin Cannot Do
Melatonin does not lower core body temperature in a way that meaningfully affects sleep quality. This is the mechanism through which glycine works: by promoting peripheral vasodilation and accelerating the natural temperature drop that sleep initiation requires. For the evidence on this, see our article on glycine for sleep.
Melatonin does not regulate cortisol or modulate the HPA axis. Night sweats, early morning waking driven by cortisol, and anxiety-driven sleep disruption all require cortisol-targeting interventions such as magnesium bisglycinate rather than melatonin. For the evidence, see our article on magnesium for sleep.
Melatonin does not support slow-wave sleep in people who have adequate melatonin production. Deep sleep quality is improved by NMDA receptor modulation (magnesium), glycine-mediated temperature reduction, and GABA pathway support (lemon balm, apigenin). These address the mechanisms that determine what happens once sleep begins, rather than the timing signal that helps initiate it.
Light Exposure Is More Effective
For most people without a specific timing disorder, the most effective way to manage melatonin is to manage light exposure rather than supplement it.
Bright morning light, ideally outdoor sunlight for 10 to 20 minutes after waking, strongly anchors the circadian clock and sets the natural timing of melatonin release in the evening. Reducing bright light and especially blue-enriched artificial light in the two hours before bed prevents the suppression of natural melatonin production. These behavioural steps produce a stronger and better-timed melatonin signal than supplementation in people without a true deficiency.
When to Consider Supplementing
Melatonin supplementation at 0.5mg to 1mg is reasonable when travelling across time zones, when trying to advance a late sleep phase under a consistent protocol, or when age-related decline in production is likely. In these contexts, it does something specific and useful. For ordinary sleep improvement in younger adults without a phase disorder, the evidence for meaningful benefit is thin relative to what interventions targeting sleep architecture and thermoregulation can achieve.
What This Means for Your Sleep
Melatonin is a circadian timing signal, not a sedative. It works well for jet lag, phase disorders, and reduced production in older adults. For general sleep quality improvement, the evidence is modest, and the mechanisms that determine sleep depth and restoration are better addressed through glycine for temperature, magnesium for NMDA regulation and cortisol, and lemon balm and apigenin for GABA pathway support.
Sources
- Ferracioli-Oda E, et al. (2013). Meta-analysis: melatonin for the treatment of primary sleep disorders. https://pubmed.ncbi.nlm.nih.gov/23691095/
- Zee PC, Goldstein CA. (2010). Treatment of shift work disorder and jet lag. https://pubmed.ncbi.nlm.nih.gov/20631353/
- Auger RR, et al. (2015). Clinical practice guideline for the treatment of intrinsic circadian rhythm sleep-wake disorders. https://pubmed.ncbi.nlm.nih.gov/26414986/
- Brzezinski A, et al. (2005). Effects of exogenous melatonin on sleep: a meta-analysis. https://pubmed.ncbi.nlm.nih.gov/15649737/
- Kawai N, et al. (2015). The sleep-promoting and hypothermic effects of glycine are mediated by NMDA receptors in the suprachiasmatic nucleus. https://pubmed.ncbi.nlm.nih.gov/25533534/
Related reading: Circadian Rhythm Explained: How Your Internal Clock Controls Sleep | Glycine for Sleep: The Amino Acid That Lowers Your Body Temperature
About the Author

Nima Koucheki
Founder, Sleep Improvers
Nima Koucheki is the founder of Sleep Improvers. He hosts a podcast and YouTube channel dedicated to sleep science, translating peer-reviewed research into protocols anyone can apply tonight.