By Dr. K. Nicole Mims, board-certified sleep physician
Melatonin is one of the most common questions we get in the sleep clinic. It's everywhere — the drugstore aisle, gummies, liquid drops, even special formulations I've seen advertised recently. It's probably the first thing people think of when they think of a sleep aid. But it's interesting, because it's not really a sedative. It isn't trying to make you go to sleep.
Here's the short version: melatonin is a timing signal, not a sleeping pill. It can genuinely help in the right situations, especially when your body clock is out of sync. For everyday insomnia, the benefit is usually modest, and more is not better.
What melatonin actually does
Melatonin tells your brain that it's time to go to sleep. It's released by darkness. We're diurnal, which means we're built to be awake during the day and asleep at night, so when the light starts to fade in the evening, the brain starts to say: this is the signal that night is coming.
That's why it's best used for circadian rhythm disorders — timing problems — rather than as a general sleeping pill.
Where it helps: jet lag and shift work
One of the most recommended uses is jet lag. A Cochrane review supports melatonin for jet lag.
Shift work is another timing problem I have used melatonin for, like second or third shift. The evidence there is a little more mixed than for jet lag, but I do think it has value in specific situations.
Why more isn't better
It works best for timing problems in part because of how it acts in the brain. Melatonin hits receptors, and those receptors saturate really quickly. It does not take a lot of melatonin to fill them and send all the signaling that's needed.
If the receptors are already full, taking extra melatonin doesn't make the signal louder. It just leaves more melatonin hanging out between the nerves.
Light, morning sun, and your body clock
Darkness induces melatonin release, but that's not the only stimulus. One of the bigger ones is actually morning sun. Morning sunlight is one of the most prominent drivers of when the evening rise of melatonin happens, which is one of the reasons sleep doctors are always encouraging patients to get outside in the morning.
We call that a zeitgeber: an external cue that synchronizes, or entrains, an organism's biological clock. Melatonin is a zeitgeber. Morning sun is a zeitgeber. Evening light — bright screens, overhead lighting — can suppress melatonin and delay the curve, even before any supplement enters the picture.
So think of melatonin less as a sedative and more as a timing signal. When the body clock is misaligned, a timing signal can help. When the body clock is already synced and you're releasing melatonin as normal, if you're still awake, more signal on receptors that are probably already saturated is probably not going to be very helpful.
Half-life: immediate vs. longer-acting
Melatonin has a really short half-life, which is both good and bad. It's metabolized pretty quickly. We metabolize it well because it's naturally occurring, so the body already knows how to clear it.
Immediate-release melatonin only lasts about 45 minutes, so it can be useful for falling asleep, but it's not useful for staying asleep. Even time-release melatonin tends to last only a couple of hours. Some products say they last all night, but the general consensus from studies is that they're usually running out after a couple of hours. The peak is also a little lower with time-release than with immediate-release. That's not a big deal if it doesn't take much to saturate the receptors anyway.
Using it as a rescue sleep aid
One advantage of that short half-life is that melatonin can sometimes be used as a rescue sleep aid. If you wake up and have trouble going back to sleep, it can help you rescue the rest of the night, and people don't tend to have the same next-day grogginess they can get with longer-acting sleep aids.
That said, I always tell people you don't want to take it chronically as a rescue. If you're using it more than about three nights a week to get back to sleep, it's worth uncovering why you're waking up and treating the underlying cause, rather than medicating yourself to sleep every night. Used regularly, melatonin can also reset your timing, because it's primarily a timing signal.
Everyday insomnia and the AASM guideline
For everyday insomnia, the research shows the effect is pretty modest. A big analysis found that people fell asleep about seven minutes faster and slept about eight minutes longer compared with placebo. A little benefit, but not overwhelming, and most people who take melatonin are looking for a bigger effect than that.
The American Academy of Sleep Medicine's 2017 clinical practice guideline on pharmacologic management of chronic insomnia does not recommend melatonin for sleep onset or sleep maintenance. That's mostly because of a lack of efficacy, based on 2-milligram doses. They're not recommending against it because of harm. The data just doesn't show a lot of effectiveness. My experience mirrors that. Rarely do I talk to patients who come in and say the melatonin works just fine.
Doses
Research shows that very small amounts — 1 to 3 milligrams — can bring blood levels up into the normal nighttime range. Most of the doses on the shelves are in the 5 to 10 milligram range, which is much higher than you need to get there. Generally you don't need a whole lot, and taking extra usually isn't helpful.
High doses and blood sugar
I do recommend against taking doses that are too high. At high doses, melatonin can affect blood sugar levels, especially if you take it close to a meal. So generally we want to stay away from taking it close to a meal and from taking too high a dose.
Labels and supplement regulation
In the United States, melatonin is sold as a dietary supplement. The FDA oversees dietary supplements, but it is not checking and making sure that what's in the bottle is what the label says it is.
That matters, because several studies have looked at this. A 2023 study in JAMA tested 25 melatonin gummies. 22 of them were mislabeled. That's almost all of them. Some had three and a half times the amount on the label, and one had no melatonin at all. An earlier Canadian study found the same kind of problem. And a 2022 study of immune supplements found that over 40% were missing ingredients listed on the label.
The implication is that dietary supplements are a little bit of the Wild West. You may or may not be getting what's on the bottle, in the dose it claims. That's unfortunately a limitation of using melatonin in the U.S., because it isn't a prescription and it isn't highly regulated.
Melatonin and kids
Pediatric melatonin use has skyrocketed in the last several years, and unfortunately, so have accidental ingestions. The CDC reported a couple of years ago that calls to poison centers about kids and melatonin rose 530% over 10 years. Most of them were little ones, five and under, getting into it at home. Part of that is that the gummies look like candy. So this is a friendly reminder to store it like medicine: up high, out of reach, not on the nightstand.
I also want to talk about whether melatonin is the right tool for kids in the first place. Occasionally I'll stumble into a conversation about moms using melatonin for their kids because raising kids is hard, and raising kids who aren't sleeping is harder. I get that. But melatonin is not usually the best solution.
Our own melatonin release peaks at a young age and gradually declines as we get older. For many typically developing kids, they're already making plenty of melatonin at the right time. Extra melatonin probably isn't adding much signal, because those receptors saturate quickly. What it can do instead is teach a kind of pill dependence — the idea that sleep comes from a bottle, rather than something they can do independently. That's not the best message, especially if their melatonin is already doing what it's supposed to do.
That doesn't mean there's no place for it. I do think there are instances where melatonin can be helpful for kids:
Sleeping on a plane, when the child's clock and the actual clock are out of sync
Easing daylight saving time transitions, which we get twice a year and can be really hard for kids, especially if they already have a good routine
Kids with a real circadian delay, or delayed sleep phase, where they naturally go to bed later and wake later, which can make it hard to get enough sleep before school. In that case, melatonin can help pull bedtime a little earlier.
Even then, all sleep aids, including melatonin, can be habit-forming and hard to stop, simply because of the habit of taking them. That's especially true in kids, who don't always have a fully developed understanding of why they're taking them. I always tell people to think of it as a Pavlovian effect. It's not addiction. It's habituation.
In my clinical experience, kids who take melatonin nightly end up being more likely to need a sleep doctor as adults. That's not a bad thing per se. But if you want to keep them healthier in the sleep department, I think it's a better solution to try to teach them how to sleep without relying on a medication, because that gives them a better opportunity to do so as adults.
The other thing I see is that when kids get used to taking something for sleep, they can ingrain the idea that they're not good sleepers. That's an extra obstacle later, because the things that keep us from sleeping as adults are often very different from what keeps us from sleeping as kids. If the story becomes "I've never been a good sleeper," it can make the hill higher to climb.
The most critical sleep pillar, for both kids and adults, is routine — especially clock time. Going to bed and waking up at the same time, even on weekends, is really crucial for a good sleep pattern. Clothes, toothbrushing, reading, singing to stuffies, whatever your child's favorite wind-down routine looks like: keep it as predictable as possible. Even if one parent is out of town, try to keep the timing and the bedtime activities the same, even if the person leading them changes. Things will happen. You'll go on trips. Kids will get sick. That will disrupt the routine. Just try to get back to it as soon as you can.
A regular schedule supports a strong, predictable nighttime melatonin rise — so much so that additional melatonin often isn't doing a whole lot beyond serving as a habit-forming signal. The more consistent the routine, the more likely kids are to release their own melatonin, and the more consistent their sleep will be.
Side effects
Side effects of melatonin are mostly mild: next-day grogginess, headache, and nausea. The most common side effect is vivid dreams. In kids, you can sometimes see bedwetting or agitation.
Because melatonin is a hormone, we honestly don't know its long-term effects. Anything that's over-the-counter and very cheap is generally hard to study long-term, because that research takes money, and there's not a lot of financial incentive to do it. So that data generally doesn't exist. Next-day fog can happen, especially in older adults, but melatonin is usually metabolized pretty quickly.
Melatonin and dementia
This comes up a lot with caregivers. There's a lot of push not to use melatonin in patients with dementia, and guidelines generally discourage it. The American Academy of Sleep Medicine's 2015 guideline on irregular sleep-wake rhythm disorder suggested against melatonin and other sleep-promoting medications in older adults with dementia, because the benefit was weak and there were concerns about daytime sleepiness and falls.
I'll be honest: I think that's being overly cautious. Sedating medications absolutely can increase the risk of morning grogginess and falls, and that's not good in patients with dementia. But melatonin isn't exactly a sedative in the same way, so I think recommending against it is more than is necessary, other than not wanting someone to get dependent on it.
In my experience, melatonin has a role for some dementia patients who don't have good melatonin release — as we get older, our melatonin release decreases — and who have timing problems, including sundowning. Sundowning is exactly the kind of problem a timing signal can help regulate. So I generally think there's some utility here. If you're a caregiver, talk with their doctor before starting it, because the general recommendation is not to use it. Getting their doctor's opinion is a really good idea.
Bottom line
I always tell patients I have a selection bias here. If melatonin helps someone sleep, they're not coming to the sleep doctor, so those aren't the patients I see. My general clinical experience is that melatonin is ineffective, but I'm sure there are people out there for whom it works pretty well. And if they're not having side effects, I think that's generally okay, even if some of it is a placebo effect. The evidence says it isn't that much better than placebo, and melatonin is pretty well tolerated. It's something the body already knows how to break down.
But if you've tried melatonin and you're still lying awake at night, or you're having trouble going back to sleep and you're taking it every night, you should go see somebody. Talk to your doctor. If you're in North Carolina or Alabama, you can come see me at Luminary Sleep & Wellness: book a visit here.
This post is educational only and not medical advice. Talk with your doctor about your own sleep.
References
Ferracioli-Oda E, Qawasmi A, Bloch MH. Meta-analysis: melatonin for the treatment of primary sleep disorders. PLoS One. 2013;8(5):e63773. https://doi.org/10.1371/journal.pone.0063773
Sateia MJ, Buysse DJ, Krystal AD, Neubauer DN, Heald JL. Clinical Practice Guideline for the Pharmacologic Treatment of Chronic Insomnia in Adults: An American Academy of Sleep Medicine Clinical Practice Guideline. Journal of Clinical Sleep Medicine. 2017;13(2):307-349. https://doi.org/10.5664/jcsm.6470
Herxheimer A, Petrie KJ. Melatonin for the prevention and treatment of jet lag. Cochrane Database of Systematic Reviews. 2002;(2):CD001520. https://doi.org/10.1002/14651858.CD001520
Harpsøe NG, Andersen LPH, Gögenur I, Rosenberg J. Clinical pharmacokinetics of melatonin: a systematic review. European Journal of Clinical Pharmacology. 2015;71(8):901-909. https://pubmed.ncbi.nlm.nih.gov/26008214/
Cohen PA, Avula B, Wang YH, Katragunta K, Khan I. Quantity of melatonin and CBD in melatonin gummies sold in the US. JAMA. 2023;329(16):1401-1402. https://jamanetwork.com/journals/jama/fullarticle/2804077
Erland LAE, Saxena PK. Melatonin natural health products and supplements: presence of serotonin and significant variability of melatonin content. Journal of Clinical Sleep Medicine. 2017;13(2):275-281. https://doi.org/10.5664/jcsm.6462
Crawford C, et al. Analysis of select dietary supplement products marketed to support or boost the immune system. JAMA Network Open. 2022;5(8):e2226040. https://doi.org/10.1001/jamanetworkopen.2022.26040
Lelak K, Vohra V, Neuman MI, Toce MS, Sethuraman U. Pediatric melatonin ingestions — United States, 2012–2021. MMWR. 2022;71(22):725-729. https://www.cdc.gov/mmwr/volumes/71/wr/mm7122a1.htm
Auger RR, Burgess HJ, Emens JS, Deriy LV, Thomas SM, Sharkey KM. Clinical Practice Guideline for the Treatment of Intrinsic Circadian Rhythm Sleep-Wake Disorders: Advanced Sleep-Wake Phase Disorder (ASWPD), Delayed Sleep-Wake Phase Disorder (DSWPD), Non-24-Hour Sleep-Wake Rhythm Disorder (N24SWD), and Irregular Sleep-Wake Rhythm Disorder (ISWRD). An Update for 2015. Journal of Clinical Sleep Medicine. 2015;11(10):1199-1236. https://doi.org/10.5664/jcsm.5100
National Center for Complementary and Integrative Health. Melatonin: What You Need To Know. https://www.nccih.nih.gov/health/melatonin-what-you-need-to-know
Video: Melatonin: What a Sleep Doctor Wants You to Know (Doses, Labels, Kids). https://youtu.be/iIa-8-SexVw