Why Is Melatonin Prescription-Only in the UK? What It Does

A grey-haired woman in navy pyjamas reads a paperback in bed by a softly lit bedside lamp, a mustard knitted throw across the foot of the duvet
In this article
  1. What is melatonin and what does it do to your body?
  2. Why is melatonin prescription-only in the UK?
  3. What does the NHS prescribe melatonin for?
  4. Can you buy melatonin in the UK, and is it legal to bring it in from abroad?
  5. Why don't GPs recommend melatonin more often?
  6. Which foods are high in melatonin, and can you raise it naturally?
  7. What does the evidence say for other sleep ingredients?
  8. What we don't know
  9. Frequently asked questions

Melatonin is prescription-only in the UK because it is classed as a medicine, not a food: it is licensed like any other medicine, the NHS says it is "only available with a prescription" and is "used to treat sleep problems, such as difficulty getting to sleep or staying asleep (insomnia)", and NICE's guidance for GPs says prolonged-release melatonin may be considered for adults aged 55 and over for up to 13 weeks.1, 13 It is not banned: the law restricts its supply to prescription, and when the MHRA found melatonin in a product sold online as a food supplement in 2025, it said the product, "marketed as a food supplement, must be regulated as a medicine".3, 14 Its effect is also smaller than the shopping suggests: across 19 placebo-controlled trials in 1,683 people, melatonin brought sleep about 7 minutes sooner and made it about 8 minutes longer.2 Part of the Wellgard sleep guide and the Wellgard ashwagandha guide.

Sources checked on 30 October 2026.

What is melatonin and what does it do to your body?

Melatonin is a hormone made by the pineal gland. Its level rises after dark, peaks in the early hours and falls in daylight, telling the body's clock that it is night. A tablet adds to that supply; the NHS describes melatonin as "a hormone made by your body which regulates your sleep and wake cycle".1 The 2013 meta-analysis of 19 trials in 1,683 adults and children with primary sleep disorders found sleep onset 7.06 minutes sooner, total sleep 8.25 minutes longer and a small gain in sleep quality (standardised mean difference 0.22); the effect was larger at higher doses and in longer trials, and did not fade with continued use.2 "Stops working after four weeks" is not what the trials found.

Why is melatonin prescription-only in the UK?

Because of how UK law classifies it. Under the Human Medicines Regulations, a substance used to restore, correct or modify a physiological function is a medicinal product, and melatonin, a hormone taken to alter sleep timing, meets that test; it can be sold only as a licensed medicine, and its UK licences are prescription-only.3 Some countries sell it in health food shops; the UK took the medicine route, and a product that counts as a medicine must hold a marketing authorisation, a licence, to be sold here.3, 14 It is a classification decision, not a safety verdict: the NHS says that "like all medicines, melatonin can cause side effects, although not everyone gets them", and lists daytime sleepiness, headaches, stiff or painful joints, and feeling or being sick.1 The medicine route brings the medicine safeguards: a prescriber looks for the cause first, since the NHS says melatonin "can be prescribed if other methods have not worked", and a pharmacist checks it against your other medicines, because the NHS lists "some medicines, remedies and supplements that may not mix well with melatonin" (can you take sleep supplements with antidepressants?).1

What does the NHS prescribe melatonin for?

The NHS says melatonin is a medicine "used to treat sleep problems, such as difficulty getting to sleep or staying asleep (insomnia)", that it is "also used to treat sleep problems in people with learning disabilities and children who have ADHD", that it "can be prescribed if other methods have not worked", and that it is "sometimes used to help with symptoms of jet lag" (NHS, reviewed 6 November 2026).1 The age and duration that shape a GP's prescription come from NICE's guidance for primary care rather than from the NHS page: for insomnia, prolonged-release melatonin may be considered for adults aged 55 and over, for up to 13 weeks (NICE CKS, June 2026).13 The MHRA states the licence in regulatory terms: melatonin is authorised as a prescription-only medicine "for the short-term treatment of insomnia and jet lag in adults, insomnia in children and adolescents aged 6-17 years old with attention deficit hyperactivity disorder (ADHD) or delayed sleep wake phase disorder (DSWPD), in cases where other sleep management measures have been insufficient".14 This page gives no doses: the NHS says "how much you take and how long for will depend on why you're taking it and your symptoms", and a child's prescription is a matter for the prescriber and the leaflet that comes with the medicine.1 The NHS says melatonin may not be suitable if you have epilepsy, liver or kidney problems, or an autoimmune condition such as lupus or psoriasis, and asks you to tell your doctor about any medical conditions before taking it; it also says "melatonin is not usually used during pregnancy" and is "not usually used while breastfeeding because there's a risk it could cause your baby to have side effects", so anyone pregnant, trying to conceive or breastfeeding tells their doctor or midwife.1

In the UK you obtain it on prescription, NHS or private: the NHS says it is "only available with a prescription".1 Possessing melatonin is not an offence, but a medicine sold or supplied in the UK needs a UK licence and a prescription-only medicine is supplied only against a prescription, so a company shipping melatonin to a UK address is supplying a prescription medicine without one, and no UK pharmacist has checked it against your medicines.3, 14 The MHRA applied the same rule to a product sold as a food supplement: "the detection of melatonin means this product, marketed as a food supplement, must be regulated as a medicine", and a product that meets the definition of a medicine "must hold a Marketing Authorisation" to be legally sold and supplied in the UK "unless covered by a special exemption".14 In a 2023 analysis of 25 melatonin gummy products sold in the United States, the measured melatonin ranged from about three-quarters of the labelled amount to around three and a half times it, and one product contained none.4 In August 2025 the MHRA told parents to stop using a children's magnesium glycinate gummy sold online as a food supplement after its tests found between 1.5 and 1.7 mg of undeclared melatonin in each gummy; melatonin was not listed on the packaging.14 A "sleep gummy" lawfully on a UK shelf contains something else, and its label says what (how to choose a melatonin-free sleep supplement).

Why don't GPs recommend melatonin more often?

Three reasons, none of them dislike. The indication is narrow: NICE's primary-care guidance puts prolonged-release melatonin at adults aged 55 and over for up to 13 weeks, and the NHS says it "can be prescribed if other methods have not worked".1, 13 The first-line treatment for insomnia is not a tablet: the NHS offers cognitive behavioural therapy for insomnia, says GPs now rarely prescribe sleeping pills because of side effects and dependence, and limits pharmacy sleep aids containing an antihistamine, valerian or lavender to one or two weeks.5 And the effect is 7 and 8 minutes.2 So "is there a sleeping pill I can take every night, long term?" has an NHS answer: not as a plan. Melatonin is the exception the NHS describes for particular groups, among them people with learning disabilities and children who have ADHD, when other methods have not worked.1, 5

Which foods are high in melatonin, and can you raise it naturally?

Foods carry it in nanograms. Montmorency (sour) cherries, the fruit most often sold on this idea, were assayed at 13.46 nanograms of melatonin per gram, so 100 g supplies about 1.3 micrograms, roughly a thousandth of a prescribed tablet, whose strength is measured in milligrams; Balaton cherries carried about a sixth as much.6, 14 No food is "high in melatonin" in a sense that matters to sleep, and the cherry trials that measured a benefit are three small crossover studies, set out on do sour cherries help you sleep. What moves your own melatonin is the light-dark cycle: the body makes it after dark, and the NHS advises a dark bedroom and no screens right before bed "because the blue light makes you more awake".5 The same light rules re-set it when the clocks go back on 25 October. As for "what is 10 times stronger than melatonin": nothing in a supplement has that figure behind it. The phrase is marketing; the fair comparison is below.

What does the evidence say for other sleep ingredients?

Nothing on a UK shelf replaces a prescription medicine, and no supplement may be sold as a melatonin alternative. What exists is ingredients with their own small trials. Ashwagandha: in 60 people with insomnia, 600 mg of root extract a day for 10 weeks left sleep onset about 5 minutes shorter and sleep efficiency about 4 points higher than on placebo.7 Magnesium: about 17 minutes faster to fall asleep in three trials of 151 older adults, low to very low quality; does magnesium help you sleep has the detail.8 Glycine at 3 g: less next-day fatigue after three nights of restricted sleep.9 L-theanine at 200 mg: better sleep-questionnaire scores in 30 adults over four weeks, and a pooled subjective sleep-quality effect of 0.43 across 12 trials.10 Valerian: in a 2010 meta-analysis, more people reporting improved sleep (relative risk 1.37) with no measurable change in time to fall asleep.11 Oral lavender oil: an anxiety score 3.83 points lower than placebo over 10 weeks in three pooled trials of 697 adults with subthreshold anxiety; in the UK a registered traditional herbal medicine, not a supplement ingredient.12 None carries an authorised sleep claim in Great Britain; the comparison, dose by dose, is on which sleep supplements have evidence behind them, and anyone on thyroid medicine reads can I take ashwagandha with levothyroxine first. Any sleep powder lawfully sold in the UK is melatonin-free; its wording belongs to nutrients such as magnesium, which contributes to normal psychological function.

What we don't know

How much of the pooled 7-minute effect applies to adults over 55 in particular, since the 19 trials mixed adults and children.2 How accurate the products UK buyers order online are, since the gummy analysis tested products sold in the United States.4 And whether eating cherries changes a person's own melatonin enough to matter: the assay measured the fruit, not the people eating it.6

Frequently asked questions

Is it harmful to take melatonin every night?

For a prescribed course the NHS says that "like all medicines, melatonin can cause side effects, although not everyone gets them", and the trials found no fading with nightly use; NICE's primary-care guidance gives up to 13 weeks for adults aged 55 and over, and anything longer is a question for the prescriber.1, 2, 13

Is melatonin or ashwagandha better for sleep?

Not comparable: one is a licensed medicine with 1,683 people in its pooled trials (7 and 8 minutes), the other a food supplement with 60 people in its best trial (5 minutes and 4 points) and no authorised claim.2, 7

What is a safe sleep aid to take every night?

The NHS's long-term answer is cognitive behavioural therapy for insomnia, not a product; pharmacy sleep aids are for one to two weeks, and a supplement stays within its label dose.5

What will a doctor prescribe if I can't sleep?

Often nothing at first: a check for causes (pain, thyroid, mood, menopause, medicines), sleep-habit changes and CBT for insomnia; prolonged-release melatonin may be considered if you are 55 or over, for up to 13 weeks; sleeping tablets rarely and briefly.5, 13 When to see a GP about sleep sets out the red flags and what 111 and 999 are for.

Is melatonin now legal in the UK?

It is legal in the UK as a prescription-only medicine: the NHS says it is "only available with a prescription", and the MHRA treats a product containing it, even one "marketed as a food supplement", as a medicine that must be licensed to be sold here.1, 14

Sources

  1. NHS. Melatonin (reviewed 6 November 2026). nhs.uk/medicines/melatonin.
  2. Ferracioli-Oda E, et al. Melatonin for primary sleep disorders. PLoS One, 2013. Meta-analysis, 19 randomised trials, 1,683 adults and children; partly NIH-funded. PubMed 23691095.
  3. The Human Medicines Regulations 2012, SI 2012/1916. legislation.gov.uk.
  4. Cohen PA, et al. Melatonin and CBD in melatonin gummies sold in the US. JAMA, 2023. Laboratory analysis of 25 products; no industry funding declared. PubMed 37097362.
  5. NHS. Insomnia (reviewed 19 March 2024). nhs.uk/conditions/insomnia.
  6. Burkhardt S, et al. Melatonin in Montmorency and Balaton tart cherries. J Agric Food Chem, 2001. Laboratory assay; funding not stated on PubMed. PubMed 11600041.
  7. Langade D, et al. Ashwagandha root extract in insomnia and anxiety. Cureus, 2019. Randomised placebo-controlled trial, 60 adults with insomnia, 10 weeks; no competing interests declared. PubMed 31728244.
  8. Mah J, Pitre T. Oral magnesium for insomnia in older adults. BMC Complement Med Ther, 2021. Meta-analysis, 3 randomised trials, 151 older adults; no specific grant declared. PubMed 33865376.
  9. Bannai M, et al. Glycine and daytime performance in sleep-restricted volunteers. Front Neurol, 2012. Randomised single-blind crossover trial, 10 men, 3 nights; run by the glycine maker. PubMed 22529837.
  10. Hidese S, et al. L-theanine, stress-related symptoms and cognition in healthy adults. Nutrients, 2019. Randomised double-blind crossover trial, 30 adults, 4 weeks; funded by the theanine supplier. PubMed 31623400; Bulman A, et al. L-theanine and sleep outcomes. Sleep Med Rev, 2025. Meta-analysis, 19 trials, 897 people; university grant. PubMed 40056718.
  11. Fernández-San-Martín MI, et al. Valerian for insomnia. Sleep Medicine, 2010. Meta-analysis of 18 randomised trials; funding not stated on PubMed. PubMed 20347389.
  12. Möller HJ, et al. Eur Arch Psychiatry Clin Neurosci, 2019. Meta-analysis, 3 randomised trials, 697 adults with subthreshold anxiety, 10 weeks; funded by the oil's maker. PubMed 29150713.
  13. NICE Clinical Knowledge Summaries. Insomnia: managing insomnia (June 2026). cks.nice.org.uk.
  14. Medicines and Healthcare products Regulatory Agency. Parents and caregivers advised to stop all use of specific brand of kids' magnesium gummies due to the presence of an undeclared prescription-only medicine. Press release, 18 August 2025. gov.uk.

Spotted something out of date? Email support@wellgard.co.uk with the page address and the sentence.