Does Melatonin Work for Sleep? What the Evidence Shows
Share
You are lying awake at 1am, phone glowing, and the internet keeps telling you the same thing. Take melatonin. It is natural, it is gentle, and it will fix your sleep. So you buy a tub of 10mg gummies, chew a couple an hour after you should already be asleep, and wait to feel sleepy.
For most people that night ends in disappointment. Melatonin is one of the most bought and most misunderstood sleep aids in the world. It is real, it is backed by decent research, and it does help certain problems. It is also not a sedative, the usual doses are far higher than the evidence supports, and the time you take it matters more than the number on the label. In the United Kingdom melatonin is not sold over the counter at all, so most of what you see marketed as sleep gummies is aimed at other countries. Here is what the trials actually show, and how to use it well if you use it at all.
What melatonin actually does
Melatonin is a hormone your body already makes. As the evening gets dark, a small gland in your brain releases it, and that release acts like a message to the rest of your body that says night has arrived. It does not switch off your brain. It shifts the timing of your internal clock and lowers your alertness a little, so sleep comes more easily. That distinction matters, because it is where most people go wrong.
A sleeping pill sedates you. It pushes you toward unconsciousness whether or not your body clock agrees. Melatonin works the other way round. It nudges the clock, telling your system that bedtime is near. Taken by a person whose clock is already set correctly, that nudge is small. Taken by someone whose clock is out of sync, a night-shift worker, a long-haul traveller, a teenager who cannot fall asleep before 2am, the same nudge can matter a lot more.
What the evidence shows
A large pooled analysis combined 19 randomised trials covering 1,683 people with primary sleep problems. Compared with a placebo, melatonin helped them fall asleep about 7 minutes sooner and added roughly 8 minutes to total sleep time, and overall sleep quality improved as well. The authors described the effect as modest, and the benefit did not appear to wane with continued use.
Seven or eight minutes is not the dramatic result the marketing implies. It is also not nothing. For a night owl who takes 45 minutes to drop off, a modest head start of several minutes, without a hangover the next morning, can be a fair trade. The honest reading of the data is that melatonin gives a small but genuine benefit on average for most sleepers. For people whose body clock is out of sync, the case is stronger, and the next sections cover why.
Dose and timing beat the number on the tub
Most tubs sold online carry 5mg or 10mg per serving, and most people take one or two about 20 to 30 minutes before bed. A 2024 dose-response review of randomised trials suggests both of those habits are off. The effect on falling asleep rose with dose and peaked at about 4 mg, so pushing past that adds little. More striking was the timing. The sleep-promoting effect was strongest when melatonin was taken about 3 hours before the target bedtime, rather than the common 30 minutes before.
The reason fits how the hormone works. Melatonin is a clock signal, and a clock signal needs a head start to move the clock. A large dose taken too late has less room to move the clock than a smaller dose taken earlier. Consistency is part of the mechanism, because you are training a rhythm, not chasing a single big dose.
The supplement quality problem
There is a second issue that has nothing to do with biology. When researchers analysed 31 melatonin products from 16 brands, the actual melatonin content ranged from 83% below the label to 478% above it, and more than 71% of the products missed their stated dose by more than 10%. Batch to batch, the content of a single product varied by as much as 465%. On top of that, about a quarter of the products also contained serotonin, which has no place in an undisclosed sleep supplement and can carry effects of its own.
That means a person carefully measuring out 1mg from an unregulated gummy may in reality be taking a fraction of that, or several times more, with no way to know. In the United Kingdom this matters less, because melatonin is prescription only. The NHS states it is available on prescription and is used mainly for short-term sleep problems in people aged 55 and over, and it may also ease the symptoms of jet lag. A prescribed, licensed product has a known dose. A tub bought abroad or online does not.
Who it helps most
Melatonin earns its place when the problem is timing rather than sleep pressure. The clearest cases are jet lag after crossing several time zones and delayed sleep phase in people who cannot fall asleep until the small hours. Some shift workers may benefit too, though the evidence there is weaker. Older adults are another group, because natural melatonin release tends to decline with age, which is part of why the UK licence centres on people aged 55 and over.
It is a weaker fit for the everyday complaint of wanting deeper, longer sleep with a clock that is already normal. For long-standing insomnia, the recognised first-line treatment is cognitive behavioural therapy for insomnia (CBT-I), not a supplement. Melatonin can sit alongside good habits, but it does not replace them.
Safety and who should take care
Melatonin is generally well tolerated for short-term use, but it is not for everyone. The NHS advises seeking medical advice in pregnancy and while breastfeeding, and it can interact with a long list of other medicines. The NHS notes that sedating drugs such as benzodiazepines, sleeping tablets and strong painkillers can add to its drowsy effect. It also lists blood thinners such as warfarin, the epilepsy medicine carbamazepine, blood-pressure medicines and the oestrogens used in contraception and HRT, so a prescriber needs your full list. Because it can leave some people groggy the next morning, take care with early driving or anything that needs full focus until you know how it affects you. Alcohol adds to the same drowsiness, so it is best kept apart from melatonin rather than combined. This article is about adults. In the UK melatonin is also prescribed for some children, but only under specialist supervision, so a parent should never self-source it.
What it will not do
Based on current evidence, melatonin will not knock you out the way a sedative does, and it will not add hours to your night. The measured benefit is counted in minutes, not in a transformed morning. It also will not undo the things that are actually keeping you awake, such as an afternoon coffee, a late glass of wine, a bright screen at midnight, or a racing, anxious mind. If those are the real drivers, a supplement is a patch over a leak. Fix the inputs first, and let melatonin do the smaller job it is good at.
A simple way to use it
Common mistakes
Three habits explain most of the disappointment. The first is dose, a serving several times higher than the research supports, on the assumption that more must be stronger. The second is timing, taken as the head hits the pillow instead of a couple of hours earlier. The third is expectation, waiting for a sedative hit that melatonin was never built to give. Fix those three, choose a product with a known dose, and the tool has a fair chance to do its job.
Frequently asked questions
Is melatonin safe to take every night?
How much should I take?
When should I take it?
Does it help with jet lag?
Will it knock me out like a sleeping pill?
Can I buy it over the counter in the UK?
The bottom line
Melatonin is a genuine tool with a small, honest effect. It helps the average sleeper fall asleep a few minutes sooner, and it helps more when your body clock is out of sync. The way to get the most from it is the opposite of how it is usually sold. Use a modest dose, take it a couple of hours before bed at a consistent time, choose a product with a known dose, and lean on it for timing problems rather than as a nightly crutch. Treated that way, it does its small job well. Expected to be a knockout pill, it will keep letting people down.
Sources
- Ferracioli-Oda E, Qawasmi A, Bloch MH. Meta-analysis: melatonin for the treatment of primary sleep disorders. PLoS ONE, 2013. pmc.ncbi.nlm.nih.gov/articles/PMC3656905
- Cruz-Sanabria F, Bruno S, et al. Optimizing the time and dose of melatonin as a sleep-promoting drug: a systematic review and dose-response meta-analysis. Journal of Pineal Research, 2024. pubmed.ncbi.nlm.nih.gov/38888087
- 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. pmc.ncbi.nlm.nih.gov/articles/PMC5263083
- National Health Service. Melatonin. NHS medicines guide. nhs.uk/medicines/melatonin