A lit bedside lamp on a nightstand beside a bed with white bedding

Does Melatonin Work for Sleep? What the Evidence Shows

10 min read

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.

7 min
faster to fall asleep, on average, versus placebo (Ferracioli-Oda 2013, 19 trials, 1,683 people)
about 4 mg
dose where the sleep-onset effect peaked, so higher doses add little (Cruz-Sanabria 2024)
about 3 hrs
before bed is when it worked best, not 30 minutes before (Cruz-Sanabria 2024)
-83% to +478%
how far actual content strayed from the label across 31 tested products, and 26% also held serotonin (Erland & Saxena 2017)

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.

Average effect of melatonin versus placebo
Fall asleep 7 min sooner Total sleep 8 min more
Pooled mean difference, minutes versus placebo. Source: Ferracioli-Oda, Qawasmi and Bloch, PLoS ONE 2013. Sleep onset 7.06 min (95% CI 4.37 to 9.75), total sleep 8.25 min (95% CI 1.74 to 14.75).

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

Step 1. Talk to a GP or pharmacist first. In the UK melatonin is prescription only, so a clinician can confirm it fits your situation and rule out other causes.
Step 2. Let the prescriber set the dose, and keep it low. The evidence shows little extra gain from very high amounts.
Step 3. Take it early and at the same time. The evidence favours about 3 hours before your target bedtime rather than as your head hits the pillow, so agree the timing with your prescriber.
Step 4. Set the room to match. A dark, cool room and no bright screens in the last hour let your own melatonin work with the dose.
Step 5. Use it for a reason. Jet lag and a night-owl clock are its strongest cases, rather than a nightly habit for its own sake.
Step 6. Reassess after a week or two. If nothing has shifted, the cause is probably elsewhere, and it is worth revisiting the plan.

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?

Short-term use is generally well tolerated, with mild effects such as headache or next-morning grogginess in some people. Long-term safety data are more limited, it can interact with other medicines, and it is not advised in pregnancy without medical advice. In the UK it is a prescription medicine, so a clinician should guide ongoing use rather than treating it as a nightly default.

How much should I take?

More is not better. The 2024 dose-response review found the effect on falling asleep peaked at about 4 mg, and a lower dose is often enough. A licensed UK product uses a defined low dose, which is a safer starting point than a large amount from an unregulated tub.

When should I take it?

Earlier than most people think. The evidence points to taking it about 3 hours before your target bedtime, at the same time each night, so it can shift your clock rather than acting as a last-minute pill.

Does it help with jet lag?

This is one of its better supported uses. The NHS notes melatonin may ease jet lag symptoms, and it tends to help most when you are crossing several time zones and your body clock is out of step with local time.

Will it knock me out like a sleeping pill?

No. Melatonin is a timing signal, not a sedative. In the pooled trials the average benefit was measured in minutes, so it makes sleep a little easier to fall into rather than forcing it.

Can I buy it over the counter in the UK?

No. The NHS states melatonin is available on prescription only in the UK, mainly for short-term sleep problems in people aged 55 and over. Products sold freely online may be aimed at other countries and carry uncertain doses.

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.

Build your sleep and training around your real week.
DT Fitness London builds evidence-led coaching that fits how you actually live, from recovery and sleep to strength and nutrition. See how it works at www.dtfitnesslondon.com.

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
Back to blog