Quick Answer: Melatonin is legal to take in the UK when prescribed, but it cannot be sold over the counter as a food supplement. Many people look to sleep-routine changes and CBT-I (14).
Executive Summary: Why is melatonin banned in the UK?
Melatonin is not banned in the UK. It is classed as a prescription-only medicine (POM), which means it can be lawfully supplied only against a prescription, through a registered pharmacy or by a prescriber (1, 2). The reason is regulatory rather than dramatic: in the UK, a substance that is a hormone and is being sold to change a body function is treated as a medicine, and medicines need a licence, a defined indication and a clinician in the loop (2, 6). In the United States the same molecule is sold as a dietary supplement under a very different legal framework (7).
Critical Safety Note: Persistent sleep problems deserve a conversation with your GP. Check with a pharmacist or doctor before using any supplement if you are pregnant, breastfeeding, taking medication (especially sedatives, blood thinners or blood-pressure medicines) or have a medical condition.
Main Article
Why this question gets asked so often
"Why is melatonin banned in the UK?" is searched thousands of times a month, and I understand why. Visit an American pharmacy and you will see shelves of melatonin gummies. Return to Britain and you will find none. It feels like a ban. As a formulator who spends my working life inside UK supplement regulation, I would gently reframe it: nothing has been banned, it has been classified. That distinction matters, because it explains what you can legally do, what you cannot, and why the answer is not simply "get it online".
Is melatonin illegal in the UK?
No. Taking melatonin is not a criminal offence, and nobody is prosecuted for using it. What the law controls is supply: who may sell it and in what circumstances. Under the Human Medicines Regulations 2012, a medicinal product on the prescription-only list may be sold or supplied by retail only from a registered pharmacy and only in accordance with a prescription (2). Melatonin falls into that group (1).
So the practical position is:
- With a prescription, melatonin is legal to obtain, and the NHS prescribes it in specific circumstances 1, 13).
- Without a prescription, a UK shop or website cannot lawfully sell it as an ordinary supplement, and the regulator has acted against sellers who do 5, 13).
- Using it is not an offence, which is why the more accurate question is often "is melatonin legal in the UK to buy?" a topic I cover in detail in our companion pieces on the rules (16) and on where people can and cannot buy it (15).
Why is melatonin a prescription-only medicine?
There are three overlapping reasons, and I think it is fairer to explain them than to dismiss the system.
-
It is a hormone. Melatonin is produced by the pineal gland and signals biological night to the body. A product that deliberately adds this hormone to change sleep timing is, in regulatory language, being used "to restore, correct or modify physiological functions by exerting a pharmacological action". That is the UK definition of a medicinal product (6). Once a product meets that definition, it cannot be sold as a food supplement.
-
It has a licensed pathway. A prolonged-release 2mg melatonin product has a UK licence for short-term use in adults aged 55 and over with insomnia (1). Because a licensed medicine exists, the regulator has long expected melatonin to be supplied through that route, with prescriber oversight, rather than as an unlicensed alternative (13).
-
Dose and quality control. Supplement-grade melatonin is notoriously inconsistent. A well-publicised 2023 analysis of 25 US gummy products found that the amounts varied widely from the label, with the large majority containing more than declared and one containing more than four times the amount stated (8). Under UK medicines law, a licensed product must meet manufacturing standards that make this kind of variation far less likely.
In fairness, melatonin is also a relatively safe medicine when used appropriately. NHS guidance describes common side effects such as headache, dizziness, nausea and drowsiness, and advises care with driving (1). Its prescription status is about classification and supervision rather than a view that it is dangerous.
A short history of how the UK arrived here
Melatonin was identified in the 1950s and, through the following decades, researchers explored its role in the body clock. By the time interest in "natural" sleep aids grew in the 1990s, the US had just passed DSHEA, and melatonin slipped into the supplement aisle (7). UK and European regulators looked at the same molecule and asked a different question: not "is it a food-derived substance?" but "what is it for, and what does it do in the body?" (6). A licensed prolonged-release product followed for older adults with insomnia, and from that point the regulator's expectation has been that the licensed route is the proper one (1, 13). I would avoid any article that gives you a precise date and a dramatic story for "the ban"; the reality is a gradual regulatory classification, not a single event.
Why can Americans buy melatonin over the counter?
The difference is the legal framework, not the science. In the US, the Dietary Supplement Health and Education Act of 1994 (DSHEA) created a category of "dietary supplements" that sit outside the drug approval process. Manufacturers may sell melatonin as a supplement without pre-market approval, provided they follow labelling and manufacturing rules, and the FDA acts after a problem arises (7). Melatonin was sold in that way, and the habit stuck.
Europe took a different route. The UK and EU regulate by function: if a product claims, or is intended, to modify a physiological function pharmacologically, it is a medicine (6). The EU's food-safety authority also reviewed the evidence for melatonin and concluded it supported a limited claim about reducing the time taken to fall asleep at a 1mg dose taken close to bedtime (10), but even then, the rules for what can legally be sold as a food supplement differ by country. Within the EU, some member states allow low-dose melatonin supplements. The UK does not.
The result is a patchwork. Same molecule, three regulatory answers: supplement in the US, supplement at low doses in some EU states, prescription medicine in the UK.
How well does melatonin actually work?
It is worth being honest here, because "prescription-only" can lead people to assume it is a powerful sleep aid. It is not. A widely cited meta-analysis of 19 studies reported that melatonin reduced the time to fall asleep by roughly 7 minutes on average and increased total sleep time by around 8 minutes; the effect was statistically significant but modest (9). The US National Center for Complementary and Integrative Health likewise notes that evidence for short-term use is mixed to modest and that long-term safety data are limited (11).
Melatonin tends to be most relevant for timing problems – jet lag, shift work, delayed sleep phase – rather than for general stress-related wakefulness. For many people reading this, the cause of poor sleep is not a hormone deficiency at all.
What does the NHS recommend first?
For long-term insomnia, NICE guidance points firstly to cognitive behavioural therapy for insomnia (CBT-I) rather than medication (3). The NHS suggests a regular sleep schedule, a cool dark bedroom, limiting caffeine and screens in the evening, and not lying awake for long periods in bed (4, 20). Melatonin, when it is used at all, is typically short term: NHS information describes courses of up to 13 weeks, reviewed by the prescriber (1).
That is the same order of priorities I recommend in my formulation work: routine first, then nutrients that support the systems involved in sleep, with medication reserved for when a clinician judges it appropriate.
What do people in the UK take instead?
If a prescription is not on the table, people usually build a "wind-down stack" from legal food-supplement ingredients. As a formulator, I would divide these into those with reasonable support and those with more limited evidence.
Magnesium (glycinate). Magnesium contributes to normal functioning of the nervous system and to normal psychological function; those are the approved wording for authorised nutrition claims, and they are as far as I can go on the label (12). Glycinate is a gentle, well-tolerated form. If you want to compare forms, our buyer's guide (17) and our explainer on which magnesium suits evenings (18) go deeper, and (19) explains why glycinate is often described as "sleepy".
L-theanine. An amino acid from tea leaves associated in small human studies with relaxed alertness. Evidence is preliminary and the studies are small, so I describe it as promising rather than proven.
Chamomile. Traditionally used as an evening herbal; trial evidence is mixed and generally small.
Phosphatidylserine, reishi and lion's mane. Ingredients we include for their roles in how the brain handles stress and evening wind-down. The mechanisms are plausible and some human data exist, but this is the area where I am most careful to avoid 'over claiming'. This is mechanism-led and early-stage, not a guarantee.
B vitamins, zinc and vitamin D. These support normal nervous system function, normal psychological function and, in the case of vitamin D and zinc, normal immune function – nutrition claims rather than sleep claims, and I keep them in that lane.
Where RAIN's Sleep State fits
When we formulated Sleep State, we were deliberate about building something that is melatonin-free and designed to sit within food-supplement law (14). The formula brings together magnesium glycinate, L-theanine, chamomile extract, phosphatidylserine, reishi, lion's mane, NAC, zinc, vitamin B6 and B12 in their active forms, vitamin D3 from a vegan source, and blue spirulina. It is vegan and gluten-free.
A few honest points about what it is and is not:
- It is not a drop-in replacement for melatonin. It works differently and I do not claim it behaves like a sleeping aid.
- It is a multi-ingredient evening formula, so the magnesium amount is a contribution, not a standalone therapeutic dose. If your priority is a dedicated magnesium supplement, read our buyers' guide (17) first.
- The usual suggestion is one to two capsules thirty to sixty minutes before bed, as part of a consistent wind-down.
If you are taking medication or have a condition, check with your GP or pharmacist before adding any supplement.
A practical wind-down framework
Whatever you choose to take, the habits do more of the heavy lifting than any capsule:
- Keep wake time consistent, including weekends.
- Dim lights for the final hour and move screens away from the bed.
- Keep caffeine to the morning where you can.
- Treat the evening as a short ritual rather than an emergency fix.
- If sleep trouble lasts beyond a few weeks, speak to your GP and ask about CBT-I (3, 4).
When to see your GP
Seek advice if you snore heavily or stop breathing at night, have restless legs, feel low or anxious most days, or if poor sleep is affecting your safety or work. Those are medical questions, not supplement questions.
Common myths, answered
"Melatonin is banned because it is dangerous." Not so. The NHS describes it as generally well tolerated, with common but usually mild side effects (1). The classification is about regulation, supervision and quality.
"If it is natural, it should be freely available." Many natural substances are medicines. Natural origin does not determine legal status; function does (6).
"Ordering from abroad is always fine." Legally uncertain and often poor value: you cannot be sure what is in the product (8). See our piece on the practical buying routes (15).
"A UK supplement that says 'melatonin' must be legal." Be cautious. Marketplace investigations have found listings that should not have been there (5).
"Prescription-only means it is strong." The evidence suggests the average effect is small (9, 11). It can matter for specific timing problems, but it is not a sedative.
Melatonin and children, older adults and special groups
In the UK, melatonin is more often discussed for particular populations. NHS information describes prescribing for older adults with insomnia and, under specialist supervision, for some children and adults with conditions such as ADHD or autism where sleep is persistently disrupted (1). This is a good example of why prescriber oversight exists: dose, timing and monitoring matter, and the right approach for a child is quite different from a 60-year-old. If you are considering melatonin for a child, speak to a GP or paediatrician; please do not look to supplements for children without professional advice.
How a formulator thinks about "natural" sleep support
When I design a sleep product, I start with three questions. What is the realistic job of the ingredient? What does the human evidence actually show? And what can I say about it legally and honestly? That discipline is why Sleep State's label sticks to authorised nutrition claims, why I describe L-theanine and chamomile as preliminary, and why I avoid language that would imply the formula behaves like a medicine (12, 14). I would rather a customer feel pleasantly surprised than misled.
The Big Picture
Melatonin is not banned in the UK. It is a prescription-only medicine, and that status reflects how British law treats hormones, licensed alternatives and product quality, not a belief that the molecule is uniquely hazardous. If you are looking for a sensible plan, start with routine and CBT-I-style habits, speak to a clinician if the problem persists, and consider melatonin-free nutritional support alongside that. We built Sleep State for people who want a considered, ritual-style evening product that operates entirely within food-supplement rules.
From all of us at RAIN, wishing you restful nights and bright mornings.
Quick FAQ
Can I buy melatonin in a UK pharmacy?
Only with a prescription (1, 2).
Will a UK pharmacist recommend something instead?
Often, yes: sleep-hygiene advice, and possibly a licensed over-the-counter sleep remedy. Ask in person.
Is it legal to take melatonin I brought back from the US?
The law targets sale and supply; personal-import guidance is nuanced, so read our rules explainer (16) first.
Does melatonin-free mean less effective?
Not necessarily; they work through different routes, and neither should be framed as a guaranteed fix.
References
1. NHS. Melatonin: uses, side effects and how to take it. nhs.uk/medicines/melatonin
2. UK Government. The Human Medicines Regulations 2012 (SI 2012/1916). legislation.gov.uk
3. NICE Clinical Knowledge Summaries. Insomnia. cks.nice.org.uk/topics/insomnia
4. NHS. Insomnia. nhs.uk/conditions/insomnia
5. Which?. Sleep drug melatonin illegally listed for sale on online marketplaces. which.co.uk
6. MHRA / GOV.UK. Borderline products: how to tell if your product is a medicine. gov.uk/guidance/borderline-products
7. US Food and Drug Administration. Dietary supplements. fda.gov
8. NutraIngredients. Wake up call or false alarm? New JAMA paper reports problems with melatonin gummies. nutraingredients.com
9. Ferracioli-Oda E, et al. Meta-analysis: melatonin for the treatment of primary sleep disorders. PLoS One. 2013. pubmed.ncbi.nlm.nih.gov/23691095
10. EFSA. Scientific opinion on the substantiation of a health claim related to melatonin and reduction of sleep onset latency. EFSA Journal 2011;9(6):2241. efsa.europa.eu
11. NCCIH. Melatonin: what you need to know. nccih.nih.gov
12. NHS. Vitamins and minerals: magnesium. nhs.uk
13. Scrip / Informa. UK MHRA asks physicians to prescribe licensed melatonin products. scrip.pharmaintelligence.informa.com
14. RAIN Wellbeing. Sleep State. rainwellbeing.com/products/sleep-state
15. RAIN Wellbeing. Can You Buy Melatonin in the UK?. rainwellbeing.com/blogs/news/can-you-buy-melatonin-uk
16. RAIN Wellbeing. Is Melatonin Legal in the UK? The Rules. rainwellbeing.com/blogs/news/is-melatonin-legal-uk
17. RAIN Wellbeing. Best Magnesium Glycinate UK: How to Choose. rainwellbeing.com/blogs/news/best-magnesium-glycinate-uk
18. RAIN Wellbeing. Which Magnesium Helps You Sleep?. rainwellbeing.com/blogs/news/which-magnesium-helps-sleep
19. RAIN Wellbeing. Why Does Magnesium Glycinate Make You Sleepy?. rainwellbeing.com/blogs/news/why-magnesium-glycinate-sleepy
20. NHS Every Mind Matters. Sleep. nhs.uk/every-mind-matters