Melatonin for Sleep: What Research Shows and Safety
Melatonin for sleep: what research shows for insomnia, jet lag, shift work and delayed sleep phase, side effects, interactions, label accuracy and child safety.
Content last updated . This page has not been medically reviewed.
What melatonin is
Melatonin is a hormone your brain makes in response to darkness. It helps time your circadian rhythm (24-hour internal clock) and sleep, and light at night can block its production. [1] Melatonin supplements are most often made synthetically. [1] This page covers melatonin as a supplement or medicine used for sleep; evidence labels are explained in How to fall asleep faster.What the research shows
| Use | What the sources found | Evidence label |
|---|---|---|
| Chronic insomnia | The American Academy of Sleep Medicine (2017) and the VA/DoD (2019) guidelines recommended against it, saying evidence was not enough. [2] The American College of Physicians (2016) also found insufficient evidence on effectiveness and safety. [1] | Insufficient evidence |
| Insomnia, sleep onset | A 2013 meta-analysis of 19 studies (1,683 people) found it shortened the time to fall asleep by about 7 minutes and increased total sleep time by about 8 minutes, effects described as modest. [3] A 2022 review of 12 studies found it helped sleep-onset time and daytime sleepiness but not sleep quality or time awake in the night. [2] | Mixed |
| Jet lag | Reviews suggest it may help, for example a 2021 review of 10 studies (994 travelers). [2] The NHS does not recommend melatonin tablets for jet lag on the NHS because there is not enough evidence they work. [4] | Mixed |
| Shift work | Studies were generally small or inconclusive. [1] A 2022 review of 10 studies suggested it may help sleep problems related to shift work. [2] | Mixed |
| Delayed sleep-wake phase disorder | A 4-week randomized trial of 307 people found melatonin 1 hour before desired bedtime plus a set bedtime led to falling asleep about 34 minutes earlier. The 2015 AASM recommendation was weak. [1] | Promising but limited |
| Children with some conditions | A 2019 review of 18 studies (1,021 children) found melatonin better than placebo for time to fall asleep and total sleep, with small, brief studies. [1] | Promising but limited |
Side effects and safety
- Short-term use appears safe for most people; long-term safety is not established. [1]
- Common effects include daytime sleepiness or tiredness, headache, stomach ache, nausea, dizziness, irritability or restlessness, strange dreams and night sweats. [5] The NHS says not to drive, cycle or use machinery if you feel sleepy or dizzy. [5]
- Older adults: melatonin may stay active longer in older people and cause daytime drowsiness; the AASM (2015) recommends against it for people with dementia. [1]
- The NHS says to tell a doctor or pharmacist before taking melatonin if you have liver or kidney problems or an autoimmune condition. [6]
- Pregnancy and breastfeeding: there has been a lack of research on safety. [1] See Pregnancy and breastfeeding.
- People with epilepsy and those on blood thinners need medical supervision when taking melatonin. [1]
- Possible serious allergic reactions are rare; the NHS lists swelling of lips, mouth or throat, trouble breathing or fainting as reasons to call emergency services. [5]
Medicines and other sleepy products
The NHS lists many medicines that can interact, including antidepressants such as fluvoxamine, benzodiazepines, blood pressure medicines, NSAIDs, estrogens, opiates, warfarin and sleeping tablets such as zolpidem and zopiclone. [7] Do not combine melatonin with herbal remedies that make you sleepy, since that can increase drowsiness. [7] See How interactions work.Product quality and children
In the US, melatonin is a dietary supplement regulated less strictly than drugs. Some products do not contain what the label says: a 2017 study of 31 products found most did not match the label, and 26 percent contained serotonin. A 2023 study found 22 of 25 gummy products inaccurately labeled, with melatonin from 74 to 347 percent of the labeled amount. [1] See Product quality and contamination and How supplements are regulated.A CDC report estimated 11,000 emergency department visits from 2019 to 2022 for unsupervised melatonin ingestion by children 5 and younger, often involving flavored products such as gummies; store them out of reach. [1] Talk to a health care provider before giving melatonin to a child. [1] If a child swallows melatonin, see Poisoning: what to do first; in the US, Poison Help is 1-800-222-1222.
US and UK differences
In the UK, the NHS says melatonin is prescription-only, mainly for short-term sleep problems in people 55 and older, and supplements are not authorized for sale there. [8][9] In many other countries it is a drug available only by prescription. [1]Melatonin versus magnesium
These are different. Melatonin has stronger guideline attention but is not recommended for chronic insomnia; magnesium has little and low-quality research. [2] See Magnesium for sleep and Natural sleep aids compared.When to get help
If insomnia lasts, see a doctor: CBT-I is the recommended first treatment (CBT-I). [10] Stop and call a doctor if you feel faint, confused, have vision changes or unexplained bleeding. [5]Frequently asked questions
Does melatonin work for insomnia?
Evidence shows modest effects on time to fall asleep, but major guidelines do not recommend it for chronic insomnia. [3][2]
Is it safe to take every night?
Short-term use appears safe for most people, but long-term safety is not established. [1]
Can children take melatonin?
Ask a health care provider first; children need safe storage because of accidental ingestion. [1]
References
- NCCIH. Melatonin: What You Need To Know. Read 2026-10-22.
- NCCIH. Sleep Disorders and Complementary Health Approaches. Read 2026-10-22.
- PubMed. Meta-analysis: melatonin for the treatment of primary sleep disorders (PLoS One, 2013). Read 2026-10-22.
- NHS. Jet lag. Read 2026-10-22.
- NHS. Side effects of melatonin. Read 2026-10-22.
- NHS. Who can and cannot take melatonin. Read 2026-10-22.
- NHS. Taking melatonin with other medicines and herbal supplements. Read 2026-10-22.
- NHS. About melatonin. Read 2026-10-22.
- NHS. Common questions about melatonin. Read 2026-10-22.
- PubMed. Management of chronic insomnia disorder in adults: a clinical practice guideline from the American College of Physicians (Ann Intern Med, 2016). Read 2026-10-22.