The short answer
Melatonin is the hormone that tells your body it is night. As a tablet, it helps a little: a review of 19 studies found people fell asleep about 7 minutes faster and slept 8 minutes longer. Trials suggest it helps more with jet lag. In the UK it is prescription only, mainly for short-term use in people aged 55 and over.
Moderate evidence
Trials point the same way but are small or few, or large long-term studies agree but cannot prove cause and effect. How we grade
On this page
What is melatonin?
Melatonin is a hormone made by the pineal gland in the brain. Levels rise in the evening as light fades and stay high through the night, which tells the rest of the body that it’s night-time. Bright light, especially in the evening, holds it back. It’s part of the body clock, not a sedative: it signals when to sleep rather than knocking you out.
How much does it help insomnia?
Not much. A 2013 review pooled 19 trials with 1,683 people who had sleep problems with no other medical cause. Compared with placebo, melatonin:
- cut the time to fall asleep by about 7 minutes,
- added about 8 minutes of total sleep,
- slightly improved how well people rated their sleep.
The effects were statistically real but small. US sleep medicine guidelines advise against melatonin as a treatment for chronic insomnia in adults, because the benefit is so modest. It may help more when the problem is timing, for example a body clock that runs late.
Does it help with jet lag?
Probably, and this is where the evidence is best. The NHS doesn’t recommend it for jet lag, saying there isn’t enough evidence, but a 2002 Cochrane review found that in 9 of 10 trials, melatonin taken close to the target bedtime at the destination reduced jet lag after flights across five or more time zones. Doses from 0.5 to 5 mg worked similarly, though 5 mg helped people fall asleep faster. See our guide to jet lag.
Who can get it in the UK?
Melatonin is prescription only. According to the NHS, it is mainly prescribed for short-term sleep problems in people aged 55 and over, usually for up to 13 weeks. Specialists also prescribe it for some children. UK brands include Circadin, Adaflex, Ceyesto, Slenyto and Syncrodin.
What are the side effects?
The most common are headache, tiredness the next day, feeling sick and irritability. The NHS advises:
- Don’t drive or use tools if you feel sleepy after taking it.
- Avoid alcohol, which reduces how well it works. Smoking does too.
- Don’t take it with herbal sleep remedies.
- Tell your doctor about other medicines, as some interact with it, including fluvoxamine and some blood thinners.
Why not buy it online?
Melatonin sold as a supplement abroad isn’t held to medicine standards. When researchers tested 31 products in Canada, the melatonin content ranged from 83% below to 478% above the label, and more than 7 in 10 products were off by more than 10%. Eight contained serotonin, which wasn’t listed. Doses also vary wildly, from 0.5 mg to 10 mg or more, and more is not better.
Keep reading
- Magnesium for sleep: does it help?
What the trials show about magnesium supplements and sleep, which people might benefit, safe doses in the UK, and who should avoid it.
Weak - Valerian for sleep: what the trials show
Does valerian root help you sleep? What reviews of the trials found, how it compares with Nytol, UK herbal products, side effects and who should avoid it.
Weak - Chamomile tea for sleep: does it help?
Does chamomile help you sleep? What trials of chamomile tea and extract show for sleep quality and insomnia, and who should be careful with it.
Weak
Common questions
Can you buy melatonin over the counter in the UK?
No. Melatonin is a prescription-only medicine in the UK. You can get it on prescription from a GP or specialist, and some online pharmacies supply it after an online consultation. Shops cannot sell it legally as a supplement, unlike in the US.
Is melatonin bought online safe?
It is unregulated, so you can't be sure what's in it. When Canadian researchers tested 31 melatonin supplements, the actual dose ranged from 83% less to 478% more than the label, and some also contained serotonin. If you take melatonin, get it from a pharmacy on prescription.
How long does melatonin take to work?
The NHS says it takes 1 to 2 hours. It is usually taken 1 to 2 hours before bed, after food.
Can children take melatonin?
Only when prescribed by a specialist. In the UK melatonin is sometimes prescribed for children with sleep problems linked to conditions such as autism or ADHD, usually after changes to routine have been tried.
References
- NHS. Melatonin.nhs.uk
- Ferracioli-Oda E, Qawasmi A, Bloch MH. Meta-analysis: melatonin for the treatment of primary sleep disorders. PLoS One, 2013.pubmed.ncbi.nlm.nih.gov
- Herxheimer A, Petrie KJ. Melatonin for the prevention and treatment of jet lag. Cochrane Database of Systematic Reviews, 2002.pubmed.ncbi.nlm.nih.gov
- Erland LA, Saxena PK. Melatonin natural health products and supplements: presence of serotonin and significant variability of melatonin content. Journal of Clinical Sleep Medicine, 2017.pubmed.ncbi.nlm.nih.gov
- Sateia MJ et al. Clinical practice guideline for the pharmacologic treatment of chronic insomnia in adults. Journal of Clinical Sleep Medicine, 2017.pubmed.ncbi.nlm.nih.gov
First published 4 November 2026. Spotted an error? Tell us and we'll correct it. Read our editorial policy.
