Home / Melatonin and Sleep

Melatonin and Sleep

Written by

Eric Suni


Medically Reviewed by

Alex Dimitriu

Fact Checked
Our medical review team has recently evaluated this page to ensure accuracy. We will continue to monitor and revise this article as new literature is published on melatonin.

Melatonin, often referred to as the sleep hormone, is a central part of the body’s sleep-wake cycle. Its production increases with evening darkness, promoting healthy sleep and helping to orient our circadian rhythm.

The body naturally produces melatonin, but researchers and the public have increasingly taken an interest in external sources of it, such as liquids or capsules, as a way to address sleep difficulties. In the United States, melatonin is sold as a dietary supplement, and a 2012 survey by the National Institutes of Health found it to be one of the most commonly used supplements among both adults and children.

Studies have found that melatonin can improve sleep in certain cases, but it isn’t for everyone. It is important to be aware of and carefully consider melatonin’s potential benefits and downsides. People who want to use melatonin supplement should also be aware of issues related to dosage and the quality of supplements.

What Is Melatonin?

Melatonin is a natural hormone that is produced by the pineal gland in the brain and then released into the bloodstream. Darkness prompts the pineal gland to start producing melatonin while light causes that production to stop. As a result, melatonin helps regulate circadian rhythm and synchronize our sleep-wake cycle with night and day. In doing so, it facilitates a transition to sleep and promotes consistent, quality rest.

Melatonin created within the body is known as endogenous melatonin, but the hormone can also be produced externally. Exogenous melatonin is normally made synthetically in a laboratory and, as a dietary supplement, is most often sold as a pill, capsule, chewable, or liquid.

Can Melatonin Supplements Improve Sleep?

It is well-established that melatonin produced by the body plays a fundamental role in getting quality sleep, so it’s natural to consider whether melatonin supplements can be used to address sleeping difficulties.

Research to date has shown that melatonin supplements may be useful in certain situations for both adults and children.

Melatonin in Adults

In adults, research studies have found the clearest potential benefits from melatonin are for people who have sleeping problems related to Delayed Sleep-Wake Phase Disorder (DSWPD) and jet lag.

DSWPD is a circadian rhythm disorder in which a person’s sleep schedule is shifted later, often by a matter of hours. For people with this “night owl” schedule, it can be hard to get enough sleep if they have obligations, such as work or school, that force them to wake up early in the morning. Studies have indicated that low doses of melatonin taken before the desired bedtime can help people with DSWPD adjust their sleep cycle forward.

Jet lag can occur when a person travels rapidly across multiple time zones, such as on an intercontinental flight, because their body’s internal clock becomes misaligned with the local day-night cycle. Evidence from small research studies points to melatonin supplements as potentially helping to reset the sleep-wake cycle and improve sleep in people with jet lag.

Shift workers — people who work during the night — often struggle with sleep difficulties related to a misaligned circadian rhythm. Studies of melatonin in shift workers have had inconclusive results, although some people report a benefit.

There is debate about whether melatonin is beneficial in otherwise healthy adults who have insomnia, a persistent condition marked by trouble falling asleep or staying asleep. The existing research is not conclusive. Some experts reviewing it find some evidence in favor of melatonin while organizations like the American Academy of Sleep Medicine (AASM) have concluded that there is not sufficient scientific support for melatonin in reducing insomnia.

For most adults, melatonin has few notable side effects, so even when its benefits may not be clearly established, some people with sleeping problems may be inclined to try it. The best practice is to consult a doctor and have an in-depth conversation about the benefits and risks before taking melatonin.

    Melatonin in Children

    Melatonin may be helpful in children with sleeping problems, but experts generally agree that more research is needed to understand its optimal use in young people.

    Several research studies have indicated that melatonin may help children with sleeping difficulties fall asleep more quickly. It may also improve their total sleep time. The American Academy of Pediatrics (AAP) states that melatonin may be beneficial as a short-term tool to help children adjust to a healthier sleep schedule and establish good sleep habits.

    Evidence from small studies has indicated that melatonin may be especially useful in children with certain conditions including epilepsy and some neurodevelopmental disorders such as Autism Spectrum Disorder (ASD).

    Almost all reviews of the existing science acknowledge that additional research will be needed to clarify key issues about the use of melatonin in children including the optimal dosage and duration of use as well the risks of long-term side effects.

    Because of the uncertainties the remain regarding melatonin’s use by children, the AAP recommends that parents work closely with their child’s doctor before administering melatonin supplements.

    Additional Steps to Improve Sleep

    People with sleeping problems can benefit from taking steps to develop healthy sleep habits. Even if melatonin offers relief, improving their sleep routines and environment (mattress and bedding) — known collectively as sleep hygiene — can promote durable sleep quality improvement.

    Talking with a doctor about melatonin and sleeping problems can also help reveal whether a person has an underlying sleep disorder. For example, raising poor sleep issues or excessive sleepiness may uncover a problem like sleep apnea. Melatonin isn’t a therapy for sleep apnea, but in this scenario, working with the doctor can lead to more appropriate and effective treatments.

    What Are the Side Effects of Melatonin?

    Short-term use of melatonin has relatively few side effects and is well-tolerated by the majority of people who take it. The most commonly reported side effects  are daytime drowsiness, headaches, and dizziness, but these are experienced by only a small percentage of people who take melatonin.

    In children, the reported side effects of short-term use are similar as in adults. Some children may experience agitation or an increased risk of bedwetting when using melatonin.

    For both children and adults, talking with a doctor before taking melatonin can help prevent possible allergic reactions or harmful interactions with other medications. People taking anti-epilepsy and blood thinning medications, in particular, should ask their physician about potential drug interactions.

    The American Academy of Sleep Medicine recommends against melatonin use in people with dementia, and there is little research about its safety in women who are pregnant or breastfeeding.

    There is also very little data about the long-term effects of melatonin supplements in children or adults. There is some concern that sustained use of melatonin could affect the onset of puberty in children, but research so far is inconclusive. Because the long-term effects are unknown, people should maintain an ongoing conversation with their doctor about using melatonin and the quality of their sleep and overall health.

    What is the Appropriate Dosage of Melatonin?

    There is no consensus about the optimal dosage of melatonin although most experts advise to avoid extremely high dosages. In studies, dosages range from .1 to 12 milligrams (mg). A typical dose in supplements is between one and three milligrams, but whether this is appropriate for any specific person depends on factors like their age and sleeping problems. You may find melatonin in dosages of micrograms (mcg), 1000 mcg is equivalent to 1 mg.

    Some people experience daytime sleepiness when using melatonin as a sleep aid. If you experience this, it could be that your dosage is too high. It’s advisable to start with the lowest dosage possible and work your way up gradually under the supervision of your doctor.

    The AAP advises against dosages above 3-6 mg for children and states that many young people respond to small doses of .5 to 1 mg. Some studies have found benefits to lower doses in adults as well.

    Oral supplements can bring the levels of melatonin in the blood to levels much higher than is normally produced by the body. For example, dosages between 1-10 mg can raise melatonin concentrations to anywhere from 3 to 60 times typical levels. For this reason, people taking melatonin should use caution before ingesting high doses.

    How to Choose Melatonin Supplements

    Melatonin is sold in the U.S. as a dietary supplement and not as a medication. This is a vital distinction because it means that melatonin products are not closely regulated by the Food and Drug Administration (FDA).

    A wide range of brands with varying formulations and dosages are available over-the-counter in groceries and drugs stores, but there are important quality differences to look out for. A study that reviewed 31 melatonin supplements found major inaccuracies in dosage information; 71% of the tested products were not within 10% of their listed dosage. An incorrect dose of melatonin can have meaningful consequences including a higher risk of side effects and reduced supplement effectiveness.

    Some products labeled as only containing melatonin contained impurities or other compounds, such as serotonin, that can pose health risks. Melatonin is often combined with magnesium, valerian root, or other natural sleep aids in supplements, which may further affect the accuracy of dosages and labeling.

    Buyers of supplements should take care when shopping and remember that labels like “natural,” “certified,” and “verified” are not standardized or regulated. Although not a guarantee of safety, certification from organizations like US Pharmacopeia (USP), ConsumerLab.com, or the NSF International Dietary Supplement program can offer confirmation that products have been tested for contaminants or mislabeling.

    • Was this article helpful?
    • YesNo

    About Our Editorial Team

    Eric Suni

    Staff Writer

    Eric Suni has over a decade of experience as a science writer and was previously an information specialist for the National Cancer Institute.

    Alex Dimitriu



    Dr. Dimitriu is the founder of Menlo Park Psychiatry and Sleep Medicine. He is board-certified in psychiatry as well as sleep medicine.

    About Our Editorial Team

    Eric Suni

    Staff Writer

    Eric Suni has over a decade of experience as a science writer and was previously an information specialist for the National Cancer Institute.

    Alex Dimitriu



    Dr. Dimitriu is the founder of Menlo Park Psychiatry and Sleep Medicine. He is board-certified in psychiatry as well as sleep medicine.


      +19  Sources
    • 1.
      Besag, F., Vasey, M. J., Lao, K., & Wong, I. (2019). Adverse Events Associated with Melatonin for the Treatment of Primary or Secondary Sleep Disorders: A Systematic Review. CNS drugs, 33(12), 1167–1186.https://doi.org/10.1007/s40263-019-00680-w
    • 2.
      Black, L. I., Clarke, T. C., Barnes, P. M., Stussman, B. J., & Nahin, R. L. (2015). Use of complementary health approaches among children aged 4-17 years in the United States: National Health Interview Survey, 2007-2012. National health statistics reports, (78), 1–19.https://pubmed.ncbi.nlm.nih.gov/25671583/
    • 3.
      Boafo, A., Greenham, S., Alenezi, S., Robillard, R., Pajer, K., Tavakoli, P., & De Koninck, J. (2019). Could long-term administration of melatonin to prepubertal children affect timing of puberty? A clinician's perspective. Nature and science of sleep, 11, 1–10. https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4334454/
    • 4.
      Costello, R. B., Lentino, C. V., Boyd, C. C., O'Connell, M. L., Crawford, C. C., Sprengel, M. L., & Deuster, P. A. (2014). The effectiveness of melatonin for promoting healthy sleep: a rapid evidence assessment of the literature. Nutrition journal, 13, 106. https://doi.org/10.1186/1475-2891-13-106
    • 5.
      Erland, L. A., & Saxena, P. K. (2017). Melatonin Natural Health Products and Supplements: Presence of Serotonin and Significant Variability of Melatonin Content. Journal of clinical sleep medicine : JCSM : official publication of the American Academy of Sleep Medicine, 13(2), 275–281.https://doi.org/10.5664/jcsm.6462
    • 6.
      Esparham, A. (2020, January 2). American Academy of Pediatrics: Melatonin and Children’s Sleep. Retrieved June 25, 2020. https://www.healthychildren.org/English/healthy-living/sleep/Pages/Melatonin-and-Childrens-Sleep.aspx
    • 7.
      Grigg-Damberger, M. M., & Ianakieva, D. (2017). Poor Quality Control of Over-the-Counter Melatonin: What They Say Is Often Not What You Get. Journal of clinical sleep medicine : JCSM : official publication of the American Academy of Sleep Medicine, 13(2), 163–165.https://doi.org/10.5664/jcsm.6434
    • 8.
      Jain, S. V., Horn, P. S., Simakajornboon, N., Beebe, D. W., Holland, K., Byars, A. W., & Glauser, T. A. (2015). Melatonin improves sleep in children with epilepsy: a randomized, double-blind, crossover study. Sleep medicine, 16(5), 637–644. https://doi.org/10.1016/j.sleep.2015.01.005
    • 9.
      Masters, A., Pandi-Perumal, S. R., Seixas, A., Girardin, J. L., & McFarlane, S. I. (2014). Melatonin, the Hormone of Darkness: From Sleep Promotion to Ebola Treatment. Brain disorders & therapy, 4(1), 1000151.https://doi.org/10.4172/2168-975X.1000151
    • 10.
      Matheson, E., & Hainer, B. L. (2017). Insomnia: Pharmacologic Therapy. American family physician, 96(1), 29–35.https://pubmed.ncbi.nlm.nih.gov/31982807/
    • 11.
      McDonagh, M. S., Holmes, R., & Hsu, F. (2019). Pharmacologic Treatments for Sleep Disorders in Children: A Systematic Review. Journal of child neurology, 34(5), 237–247. https://doi.org/10.1177/0883073818821030
    • 12.
      National Center for Complementary and Integrative Health (NCCIH). (2019, January). Using Dietary Supplements Wisely. Retrieved June 25, 2020. https://www.nccih.nih.gov/health/using-dietary-supplements-wisely
    • 13.
      National Center for Complementary and Integrative Health (NCCIH). (2019, October). Melatonin: What You Need To Know. Retrieved June 25, 2020. https://www.nccih.nih.gov/health/melatonin-what-you-need-to-know
    • 14.
      National Institutes of Health (NIH) Office of Dietary Supplements (ODS). (2013, July 1). Frequently Asked Questions (FAQ). Retrieved June 25, 2020. https://ods.od.nih.gov/Health_Information/ODS_Frequently_Asked_Questions.aspx
    • 15.
      Rajaratnam, S. M., Middleton, B., Stone, B. M., Arendt, J., & Dijk, D. J. (2004). Melatonin advances the circadian timing of EEG sleep and directly facilitates sleep without altering its duration in extended sleep opportunities in humans. The Journal of physiology, 561(Pt 1), 339–351.https://doi.org/10.1113/jphysiol.2004.073742
    • 16.
      Rossignol, D. A., & Frye, R. E. (2014). Melatonin in autism spectrum disorders. Current clinical pharmacology, 9(4), 326–334.https://doi.org/10.2174/15748847113086660072
    • 17.
      Sateia, M. J., Buysse, D. J., Krystal, A. D., Neubauer, D. N., & Heald, J. L. (2017). Clinical Practice Guideline for the Pharmacologic Treatment of Chronic Insomnia in Adults: An American Academy of Sleep Medicine Clinical Practice Guideline. Journal of clinical sleep medicine : JCSM : official publication of the American Academy of Sleep Medicine, 13(2), 307–349. https://doi.org/10.5664/jcsm.6470
    • 18.
      Sletten, T. L., Magee, M., Murray, J. M., Gordon, C. J., Lovato, N., Kennaway, D. J., Gwini, S. M., Bartlett, D. J., Lockley, S. W., Lack, L. C., Grunstein, R. R., Rajaratnam, S., & Delayed Sleep on Melatonin (DelSoM) Study Group (2018). Efficacy of melatonin with behavioural sleep-wake scheduling for delayed sleep-wake phase disorder: A double-blind, randomised clinical trial. PLoS medicine, 15(6), e1002587. https://doi.org/10.1371/journal.pmed.1002587
    • 19.
      Wei, S., Smits, M. G., Tang, X., Kuang, L., Meng, H., Ni, S., Xiao, M., & Zhou, X. (2020). Efficacy and safety of melatonin for sleep onset insomnia in children and adolescents: a meta-analysis of randomized controlled trials. Sleep medicine, 68, 1–8. https://ods.od.nih.gov/Health_Information/ODS_Frequently_Asked_Questions.aspx#Ingredients