Melatonin: does it help you sleep?
A little, and in the UK it’s prescription only. In trials of people with sleep problems, they fell asleep about 7 minutes faster on average. Supplements may not hold the dose on the label.
On this page

Does melatonin help you sleep?
A little. A review of 19 trials in adults and children with sleep problems found melatonin helped people fall asleep about 7 minutes faster than a dummy pill (placebo). They slept about 8 minutes longer.
The review called the effect modest. It didn’t seem to fade with use, but other sleep medicines showed bigger gains.
| What was measured | Melatonin against a dummy pill |
|---|---|
| Time to fall asleep | About 7 minutes faster (19 trials, adults and children) |
| Total sleep | About 8 minutes longer |
| Insomnia, 2 mg slow-release, sleep lab study | Fell asleep 9 minutes faster |
| Insomnia, clearly better sleep and morning alertness | 47% against 27% in one 3-week study; 26% against 15% in a second |
Sources: Ferracioli-Oda 2013; Circadin SmPC
Melatonin is a hormone your body makes to run your sleep and wake cycle. Think of it as a dimmer switch, not an off switch. A tablet may nudge you towards sleep. Don’t expect it to knock you out.
Aged 55 or over with poor-quality sleep? That’s who the licensed 2 mg slow-release tablet for adult insomnia is for. Whatever your age, try the habits below first, then ask your GP.
What is melatonin used for?
The NHS uses it for trouble getting to sleep or staying asleep (insomnia). It also treats sleep problems in people with learning disabilities and children with ADHD. It’s sometimes used for jet lag.
It can be prescribed if other methods have not worked. Those methods are mostly habits. The NHS says insomnia usually gets better by changing your sleeping habits.
Try these first: six NHS sleep habits
- Get up at the same time every day, even after a bad night.
- Only go to bed when you feel sleepy.
- Relax for at least 1 hour before bed, with a bath or a book.
- Have no alcohol, tea, coffee or cigarettes in the 6 hours before bed.
- Keep your bedroom dark and quiet. Curtains, an eye mask or earplugs can help.
- Don’t nap in the day, and put your phone away before bed.
Source: NHS: insomnia
Habits not working? A GP may offer a talking therapy called CBT for insomnia. More tips are in our sleep hygiene guide.
Can I buy melatonin tablets in the UK?
Not legally without a prescription. You can buy it over the counter in some countries, such as the US. In the UK it’s classed as a medicine, so it’s prescription only.
Even so, Which? found melatonin pills, gummies and patches listed on big online marketplaces from October 2025 to January 2026. Some claimed doses far above the NHS maximum.
That’s the label problem. A study of 31 Canadian supplements found they held from 83% less to 478% more melatonin than the label said. More than 7 in 10 were not within 10% of the label.
| Form | Who it’s for | How long |
|---|---|---|
| 2 mg slow-release tablet | Adults 55 or over with poor-quality sleep (insomnia) | Up to 13 weeks |
| 3 mg tablet | Adults with jet lag | Up to 5 days |
| Tablets, capsules or liquid | Children with ADHD, people with learning disabilities, other sleep problems | Your doctor decides |
Sources: Circadin SmPC; Melatonin 3 mg SmPC; NHS
Flying long-haul? Our melatonin for jet lag guide covers timing. Weighing other options? See magnesium and sleep.
How to take melatonin tablets or liquid
Looking for drops? The NHS can prescribe a liquid, an oral solution you swallow, as well as tablets and capsules. Your dose and how long you take it depend on why it’s prescribed.
How the NHS says to take melatonin
- 1
Tablets
Take before bed, as your doctor and the leaflet say. Swallow whole.
- 2
Liquid
Take 30 minutes to 1 hour before bed. Measure with the spoon in the pack.
- 3
Missed a dose
Skip it. Never take 2 doses to catch up.
- 4
After a dose
No driving, cycling or machines. Try to avoid alcohol.
Source: NHS: melatonin
The 2 mg slow-release tablet is taken 1 to 2 hours before bed, after food. Alcohol makes it work less well.
Set a reminder for the same time each night, and keep the leaflet.
Melatonin side effects and who should avoid it
Common side effects are sleepiness in the day, headaches, stiff or painful joints, and feeling or being sick.
| If you | Why |
|---|---|
| Have epilepsy, liver or kidney problems | The NHS says it may not suit you. |
| Have an autoimmune condition (where the immune system attacks your own body) such as lupus or psoriasis | The NHS says it may not suit you. |
| Have had a reaction to melatonin before | The NHS says it may not suit you. |
| Are pregnant, trying for a baby or breastfeeding | It isn’t usually used. |
| Take anti-inflammatory painkillers such as ibuprofen, medicines that make you drowsy such as zopiclone, the blood thinner warfarin, some antidepressants such as fluvoxamine, seizure medicines such as carbamazepine, the combined pill or hormone replacement therapy (HRT) | These may not mix well with it. |
| Smoke | Tell your doctor before you start. |
Source: NHS: melatonin
Tell your doctor about every medicine, vitamin and supplement you take. Never stop or change a prescribed medicine without your prescriber.
If you’ve taken melatonin, don’t share a bed with your baby. Wondering about long-term use? See melatonin and heart failure.
When to speak to a GP
Talk to a GP or pharmacist before trying melatonin if you have a health condition or take other medicines. Get help if:
- Changing your sleep habits hasn’t helped, you’ve had trouble sleeping for months, or it’s making daily life hard to cope with. See a GP.
- You get side effects that bother you or don’t go away. Speak to a pharmacist or doctor.
- You’ve taken more than prescribed and have new symptoms. Speak to a pharmacist as soon as you can, or call 111.
- You have heart palpitations (a racing or pounding heartbeat), fainting, bleeding that won’t stop, bleeding you can’t explain, blood in your pee or mood changes. Call 111.
- You have a seizure or chest pain, or a swollen throat or tongue, a raised itchy rash or trouble breathing. Call 999.