Melatonin: What It Actually Does and How to Use It Right
Walk into any pharmacy and you'll find melatonin gummies stacked in 5 mg, 10 mg, even 20 mg doses -- as if more is better. That approach misses the point entirely. Melatonin isn't a sedative. It doesn't knock you out. It's a timing signal, and treating it like a sleeping pill is the single most common reason people think it "doesn't work."
Your pineal gland already produces melatonin every evening in response to dimming light. Levels climb about two hours before your natural bedtime, peak in the middle of the night, and drop off toward morning. Supplemental melatonin doesn't add sleepiness on top of this process -- it shifts when the process starts. That's a critical distinction, and it changes how you should think about dosing, timing, and expectations.
When Melatonin Actually Helps
Melatonin shines in specific situations, and falls short in others. Understanding the difference saves you from months of taking something that was never going to fix your particular problem.
Jet lag is melatonin's strongest use case. A Cochrane review of ten trials found that melatonin taken close to the target bedtime at the destination dramatically reduced jet lag severity, particularly for eastward travel crossing five or more time zones (Herxheimer & Petrie, 2002). The effect is reliable and well-replicated. If you travel across time zones regularly, this alone justifies keeping melatonin on hand.
Delayed sleep phase -- where your natural sleep window is shifted later than you want -- also responds well. If you're someone whose body doesn't feel ready for sleep until 1 or 2 AM but you need to be up at 7, small doses of melatonin taken 3-5 hours before your desired bedtime can gradually pull your circadian clock earlier. This is a timing intervention, not a dose-dependent sedation.
General insomnia is where expectations need tempering. A meta-analysis of 19 studies found melatonin reduced sleep onset latency by about 7 minutes and increased total sleep time by roughly 8 minutes compared to placebo (Ferracioli-Oda et al., 2013). Statistically significant, but not dramatic. If you're lying awake for two hours every night, melatonin alone probably won't solve it. The underlying issue is more likely behavioral, environmental, or stress-related -- and a comprehensive sleep optimization approach will do more.
Shift work presents a mixed picture. Melatonin can help night-shift workers sleep during the day, but the evidence is less consistent than for jet lag. Timing becomes tricky when your light exposure patterns are inverted, and the benefit seems to depend heavily on individual circadian flexibility (Costello et al., 2014).
The Dosing Problem
Most over-the-counter melatonin is massively overdosed. This matters because melatonin has a physiological dose range -- the amount that mimics natural production -- and a pharmacological range that overshoots it. They produce different effects.
Physiological doses fall between 0.3 and 1 mg. At these levels, blood melatonin reaches concentrations similar to what your pineal gland produces naturally. The circadian signal is clean. You get the timing shift without the grogginess.
At 3 to 5 mg and above, blood levels spike far beyond anything your body would produce on its own. Receptors can become desensitized. Morning grogginess increases. And paradoxically, some people find higher doses less effective for sleep than lower ones (Auld et al., 2017). The "more is better" instinct actively works against you here.
| Dose | Blood Level | Best For |
|---|---|---|
| 0.3-0.5 mg | Physiological | Circadian shifting, mild sleep onset |
| 1-3 mg | Moderate | Jet lag, delayed sleep phase |
| 5+ mg | Supraphysiological | Rarely necessary; increases side effects |
Start at 0.5 mg. If that doesn't produce any noticeable effect after a week, move to 1 mg. Resist the urge to jump straight to 5 or 10. The research consistently shows that lower doses work as well or better than high ones for most people.
Timing Is Everything
When you take melatonin matters at least as much as how much you take. The optimal window depends on what you're trying to accomplish.
For sleep onset: 30-60 minutes before your target bedtime. This aligns the exogenous signal with your natural melatonin rise and reinforces the "time for sleep" cue.
For circadian shifting (delayed sleep phase or eastward jet lag): 3-5 hours before your desired bedtime. Taking it earlier in the evening advances the circadian clock, which is the whole point. Taking it at bedtime when your body is already producing melatonin adds little.
For westward jet lag: Morning melatonin at the destination can delay your clock, though strategic light exposure is usually more effective in this direction.
Using the sleep calculator to map out your target sleep windows and wake times makes it easier to nail the timing. Pairing this with data from a wearable tracker gives you objective feedback on whether the intervention is working.
What Melatonin Won't Fix
Melatonin is not a substitute for sleep hygiene. If your bedroom is too bright, too warm, or you're scrolling your phone until midnight, melatonin is a band-aid over a structural problem. It also won't override high evening cortisol from chronic stress, compensate for caffeine consumed too late in the day, or fix sleep apnea.
It's a useful tool in a specific toolbox. For circadian misalignment, it's genuinely effective. For general "I can't sleep" complaints, it's one piece of a larger puzzle that includes light management, temperature, consistent timing, stress reduction, and sometimes supplemental magnesium -- which works through entirely different mechanisms (GABA modulation rather than circadian signaling) and pairs well with melatonin when both issues are present.
Long-term safety data is reassuring. Melatonin doesn't suppress your body's natural production and is not habit-forming in the way sleep medications are (Auld et al., 2017). That said, quality control in the supplement industry is poor -- one analysis found that the actual melatonin content of commercial products varied from 83% less to 478% more than what was listed on the label (Erland & Saxena, 2017). Choosing a third-party tested brand matters more here than with most supplements.
If you're thinking about melatonin as part of a broader strategy for healthy aging, the phenotypic age calculator can help you track how sleep quality and other lifestyle factors are influencing your biological age over time.
References
- Ferracioli-Oda, E., Qawasmi, A., & Bloch, M. H. (2013). "Meta-analysis: melatonin for the treatment of primary sleep disorders." PLoS ONE, 8(5), e63773.
- Herxheimer, A., & Petrie, K. J. (2002). "Melatonin for the prevention and treatment of jet lag." Cochrane Database of Systematic Reviews, (2), CD001520.
- Auld, F., Maschauer, E. L., Morrison, I., et al. (2017). "Evidence for the efficacy of melatonin in the treatment of primary adult sleep disorders." Sleep Medicine Reviews, 34, 10-22.
- Costello, R. B., Lentino, C. V., Boyd, C. C., et al. (2014). "The effectiveness of melatonin for promoting healthy sleep: a rapid evidence assessment of the literature." Nutrition Journal, 13, 106.
- Erland, L. A. E., & Saxena, P. K. (2017). "Melatonin natural health products and supplements: presence of serotonin and significant variability of melatonin content." Journal of Clinical Sleep Medicine, 13(2), 275-281.
- Zhdanova, I. V., Wurtman, R. J., Regan, M. M., et al. (2001). "Melatonin treatment for age-related insomnia." Journal of Clinical Endocrinology & Metabolism, 86(10), 4727-4730.