Sleep

Melatonin for Sleep: Doses, Timing and Country Rules

October 23, 2026·8 min read·Alan Chen, MD

Melatonin for sleep behaves more like a timing signal than a sleeping pill. Its best evidence is for jet lag and a body clock that runs late, while the American Academy of Sleep Medicine suggests clinicians not use it for ordinary chronic insomnia. It is sold as a supplement in the US, prescription-only in the UK, and pharmacist-only or prescription-only in Australia.

That is why the same gummy can be a shelf item in one country and a controlled medicine in another.

What is melatonin and how does it affect sleep?

Melatonin is a hormone made by the pineal gland in the brain. The Therapeutic Goods Administration's scheduling consultation summarizes its key behavior: secretion falls with exposure to light and rises in darkness.

That makes melatonin a darkness signal to the body clock, which is why the research keeps returning to timing.

Is melatonin over the counter in the US, UK and Australia?

Of the three countries, only the US sells melatonin freely as a supplement. The UK requires a prescription, and Australia allows pharmacist supply without a prescription for two narrow uses.

CountryLegal statusHow adults get it
USDietary supplementSold without a prescription; regulated less strictly than drugs
UKPrescription-only medicinePrescribed for short-term insomnia and jet lag in adults
AustraliaPharmacist-only for set products, otherwise prescription-onlyPharmacist supply for insomnia at 55 or over, or jet lag at 18 or over

US. The NIH's National Center for Complementary and Integrative Health (NCCIH) explains that melatonin is considered a dietary supplement in the US, so the FDA regulates it less strictly than prescription or over-the-counter drugs.

UK. The NHS says melatonin is available on prescription only and is mainly used for short-term sleep problems in people aged 55 and over. In an August 2025 safety notice, the MHRA listed its authorized adult uses as short-term insomnia and jet lag, and said a product containing melatonin must be regulated as a medicine even when marketed as a food supplement. That is why melatonin is prescription-only in the UK: it is regulated as a medicine, not a food.

Australia. Under the current Poisons Standard entries quoted by the TGA, pharmacist-only (Schedule 3) supply covers two products: modified-release tablets of 2 mg or less for short-term primary insomnia in adults aged 55 or over, in packs of up to 30 tablets; and immediate-release preparations of 5 mg or less for jet lag in adults aged 18 and over, in packs of up to 10 dosage units. Every other melatonin product for human use is prescription-only (Schedule 4). An application for broader pharmacy access for adults went to the TGA's March 2026 advisory meeting, so ask your pharmacist whether the rules have changed.

Does melatonin work for insomnia?

Melatonin is a weak treatment for ordinary chronic insomnia, meaning regular difficulty getting to sleep or staying asleep. In its 2017 guideline on insomnia medicines, the American Academy of Sleep Medicine (AASM) suggests that clinicians not use melatonin for sleep onset or sleep maintenance insomnia in adults, a recommendation graded weak.

In the sleep-laboratory trial the panel analyzed, prolonged-release melatonin 2 mg shortened the time to fall asleep by 8.9 minutes, below the panel's threshold for a clinically meaningful change. Reported sleep quality improved only slightly, and no included study reported clinically significant differences in side effects compared with placebo.

NCCIH adds that the American College of Physicians strongly recommends cognitive behavioral therapy for insomnia (CBT-I) as the initial treatment. CBT-I is a structured treatment that retrains sleep habits and the worried thinking that keeps insomnia going.

When does melatonin for sleep have better evidence?

Melatonin for sleep has its strongest support when the problem is clock timing rather than insomnia itself.

Jet lag. A Cochrane review found 10 eligible trials. Eight found that melatonin taken close to the target bedtime at the destination reduced jet lag on flights crossing five or more time zones, with likely greater benefit the more zones are crossed and less for westward flights. The review dates from 2002.

Delayed sleep timing. Delayed sleep-wake phase disorder means your natural sleep window sits much later than the schedule you need to keep. NCCIH says melatonin appears to help sleep in this disorder, although whether benefits outweigh harms is uncertain.

Shift work. NCCIH describes studies in shift workers as generally small or inconclusive.

Melatonin dosage for adults: what labels and trials show

No source sets one melatonin dosage for adults that suits everyone, and this article does not either.

Australia's pharmacist-only products are capped at 2 mg for modified-release insomnia tablets and 5 mg for immediate-release jet lag products. Modified release means the tablet releases melatonin gradually rather than all at once. The AASM's pooled insomnia trials used 2 mg prolonged-release melatonin. For jet lag, the Cochrane review found daily doses between 0.5 and 5 mg similarly effective, and doses above 5 mg appeared no more effective.

US labels are a separate problem. NCCIH summarizes a 2023 study of melatonin gummies in which 22 of 25 products were inaccurately labeled. One contained no detectable melatonin; in the rest, melatonin ranged from 74 to 347 percent of the labeled amount. A label states the manufacturer's claim, not an independently checked dose; the supplement label guide explains what else to check.

Dose and product are decisions for a prescriber or pharmacist who knows your medicines.

How long before bed should you take melatonin?

Timing matters as much as amount. The NHS says melatonin takes around 1 to 2 hours to work, and prescribed melatonin is planned around that window.

For jet lag, the Cochrane authors found benefit when melatonin was taken close to the target bedtime at the destination, and warned that taken at the wrong time, early in the day, it is liable to cause sleepiness. For a body clock that runs late, a clinician sets the timing against your current sleep pattern.

Start with a consistent sleep schedule, and review late coffee with the caffeine and sleep guide.

Is melatonin safe long term?

Short-term use of melatonin appears safe for most people, according to NCCIH, but the possible long-term side effects are unclear. Reported side effects include headache, dizziness, nausea and sleepiness. People with epilepsy and people taking blood thinners need medical supervision, and melatonin may cause daytime drowsiness in older adults.

The NHS common questions page says short-term insomnia is usually treated for 1 to 4 weeks, and in some cases up to 13 weeks. It advises trying not to drink any alcohol while taking melatonin, because the combination can make you sleep very deeply, so you do not breathe properly. The NHS also notes that alcohol or smoking can reduce how well melatonin works.

Long-term heart safety is an open question. A preliminary conference abstract, not yet peer reviewed, analyzed health records from 130,828 adults with insomnia and found more heart failure among people with recorded melatonin use of at least a year. Unrecorded supplement use and differences in insomnia severity could affect that result, and the American College of Cardiology summary notes it cannot prove cause and effect. Treat it as a reason to review long-term use, not as proof of harm.

Checks before you buy or take melatonin

1. Name the sleep problem first.

Trouble falling asleep, waking in the small hours, jet lag and a late-running body clock are different problems with different evidence. If you wake at the same time most nights, read waking up at 3 a.m. before adding a product.

2. Check the legal route where you live.

The NHS says ordering melatonin online is not recommended. In Australia, anything outside the two pharmacist-only uses needs a prescription.

3. Read the label as a claim, not a measurement.

Note the stated amount per serving, the form and every other active ingredient. If a combination product includes magnesium, see magnesium for sleep for that part of the decision.

4. Set a review date before you start.

Agree how long the trial runs and what change would justify continuing, because long-term effects are the least understood part of melatonin's safety.

What to ask your doctor or pharmacist

In the US, start with a primary care physician or pharmacist; in the UK, a GP; in Australia, a pharmacist for the two approved uses or a GP for anything else.

Ask whether your problem is insomnia, a body-clock problem or something that needs assessment; whether CBT-I would suit you better; how melatonin fits with your medicines, including blood thinners and epilepsy treatment; and when the plan will be reviewed. Loud snoring, gasping or breathing pauses need medical assessment rather than a supplement.

Frequently asked questions

Does melatonin work for insomnia?

The evidence is weak. The American Academy of Sleep Medicine suggests clinicians not use melatonin for difficulty falling or staying asleep in adults, because trials showed only small changes below its threshold for clinical importance. Cognitive behavioral therapy for insomnia is the recommended first treatment. Melatonin's better evidence is for jet lag and delayed sleep timing.

How long before bed should I take melatonin?

The NHS says melatonin takes around 1 to 2 hours to work, and prescribed melatonin is timed around that window. For jet lag, trials found benefit when it was taken close to the target bedtime at the destination. Taken early in the day, it can cause sleepiness. Your prescriber or pharmacist should set your timing.

Is melatonin safe to take every night?

Short-term use appears safe for most people, according to the NIH's complementary health center, but long-term effects are unclear. The NHS says short-term insomnia is usually treated for 1 to 4 weeks, sometimes up to 13 weeks. Nightly use beyond that deserves a review with a clinician, especially if you take other medicines.

Can I buy melatonin over the counter in the UK or Australia?

Not in the UK, where melatonin is a prescription-only medicine. In Australia, pharmacists can supply modified-release tablets of 2 mg or less for primary insomnia in adults aged 55 or over, and immediate-release products of 5 mg or less for jet lag in adults. Other melatonin products need a prescription.

Should I take melatonin after drinking alcohol?

No. The NHS advises trying not to drink any alcohol while taking melatonin, warning that the combination can make you sleep very deeply so you do not breathe properly. Alcohol can also reduce how well melatonin works, so mention evening drinking to whoever recommends it.


The short version

Melatonin is a darkness signal for the body clock, with its best evidence in jet lag and delayed sleep timing rather than everyday insomnia. It is a US supplement, a UK prescription-only medicine and, in Australia, pharmacist-only for two uses. US gummy labels are often inaccurate. Timing, duration and dose belong with a prescriber or pharmacist.

This article is general education, not medical advice. It does not replace your own physician.


Alan Chen, MD
Alan Chen, MD Root cause medicine. Albany Medical College, residency at the University of South Florida.

Want your own numbers read?

Private consulting is application only, and every application is read personally.

Dr. Alan ChenCommon questions, answered
Apply Email him