Home / Melatonin and Sleep

Melatonin and Sleep

Eric Suni

Written by

Eric Suni, Staff Writer

Alex Dimitriu

Medically Reviewed by

Alex Dimitriu, Psychiatrist

Fact Checked Icon
Fact Checked

Our team of writers, editors, and medical experts rigorously evaluates each article to ensure the information is accurate and exclusively cites reputable sources. Learn More

Recency Statement Icon

We regularly assess how the content in this article aligns with current scientific literature and expert recommendations in order to provide the most up-to-date research.

Medical Disclaimer: The content on this page should not be taken as medical advice or used as a recommendation for any specific treatment. Always consult your doctor before taking any new medication or changing your current dosage.

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 the body’s 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 is not for everyone. It is important to be aware of and carefully consider melatonin’s potential benefits and downsides. People who want to use melatonin supplements 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 the circadian rhythm and synchronize the 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 often sold as a pill, capsule, chewable, liquid, or patch.



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 is 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.

Having trouble sleeping?

Call the Help Me Sleep Hotline at 1-833-I-CANT-SLEEP for a set of tips, meditations, and bedtime stories to help you get a good night’s rest.

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 and jet lag.

Delayed sleep-wake phase disorder 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 delayed sleep-wake phase disorder adjust their sleep cycle forward.

Related: The Best Melatonin Supplements

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 or early morning — 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 that remain regarding melatonin’s use by children, the AAP recommends that parents work closely with their child’s doctor before administering melatonin supplements.

Finding Reputable Sleep Supplements

The safety and efficacy of supplements is not closely monitored by the U.S. Food and Drug Administration (FDA). Shoppers should take additional measures to make sure they are purchasing reputable products.


Additional Steps to Improve Sleep

People with sleep problems can benefit from taking steps to develop healthy sleep habits. Even if melatonin offers relief, improving your sleep routines and environment can promote better sleep quality.

  • Optimize your sleep hygiene: Sleep hygiene refers to behaviors that affect sleep quality for better or worse. Guidelines for healthy sleep hygiene include going to bed and waking up at the same times each day, abstaining from caffeine and alcohol in the hours leading up to bed, and maintaining a quiet, relaxing bedroom environment that is conducive to relaxation. It may also help to invest in a better mattress and new bedding.
  • Limit your screen time in the evening: Cellphones, tablets, televisions, and computers all feature screens that emit blue light, which can interfere with the circadian rhythm that guides your sleep cycle. Studies have shown that reducing your exposure to screened devices can help you fall asleep more easily.
  • Schedule quick afternoon naps: Napping is an effective way for sleep-deprived people to catch up on their daily sleep allotment. However, long naps can make it more difficult for you to fall asleep at your normal bedtime. Naps that last between 10 to 20 minutes are considered ideal because they are long enough to help you feel refreshed afterward without allowing you to enter the deep sleep stages of your sleep cycle.
  • Talk to your doctor: Speaking with a doctor about melatonin and sleep problems can also help reveal whether a person has an underlying sleep disorder. For example, discussing poor sleep issues or excessive sleepiness may uncover a problem like sleep apnea. Melatonin is not a therapy for sleep apnea, but in this scenario, working with the doctor can lead to more appropriate and effective treatments.

The Matt Walker Podcast's Scientific Advisor

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 Melatonin Dosage?

There is no consensus about the optimal dosage of melatonin, although most experts advise to avoid extremely high dosages. A typical dose in supplements is between 1 and 5 milligrams, but whether this is appropriate for any specific person depends on factors like their age and sleep problems. When melatonin supplements list dosages in micrograms, 1,000 micrograms is equivalent to 1 milligram.

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 is advisable to start with the lowest dosage possible and work your way up gradually under the supervision of your doctor.

Read: How Much Melatonin Should I Take?


Infographic explaining melatonin dosage should not exceed 5 milligrams.


Dosages above 5 milligrams are not recommended for children. Typical doses for children start at 1 to 2 milligrams, depending on the diagnosed sleep issue. Young people may respond to smaller doses, and 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 to 10 milligrams 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 drug stores, but there are important quality differences to look out for. A study that reviewed 31 melatonin supplements found major inaccuracies in dosage information, and 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.


  • 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.


+19  Sources
  • 1.
    National Center for Complementary and Integrative Health. (2018, December). Using dietary supplements wisely. Retrieved July 8, 2022, from
  • 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.
  • 3.
    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.
  • 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.
  • 5.
    National Center for Complementary and Integrative Health. (2022, July). Melatonin: What you need to know. Retrieved July 8, 2022 from
  • 6.
    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.
  • 7.
    Matheson, E., & Hainer, B. L. (2017). Insomnia: Pharmacologic therapy. American Family Physician, 96(1), 29–35.
  • 8.
    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, 13(2), 307–349.
  • 9.
    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.
  • 10.
    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.
  • 11.
    Esparham, A. (2022, June 13). Melatonin for kids: What parents should know about this sleep aid. American Academy of Pediatrics Section on Integrative Medicine. Retrieved July 8, 2022, from
  • 12.
    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.
  • 13.
    Rossignol, D. A., & Frye, R. E. (2014). Melatonin in autism spectrum disorders. Current Clinical Pharmacology, 9(4), 326–334.
  • 14.
    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.
  • 15.
    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.
  • 16.
    Neubauer, D. N. (2022, May 18). Pharmacotherapy for insomnia in adults. In R. Benca & J. G. Elmore (Eds.). UpToDate. Retrieved July 8, 2022, from
  • 17.
    Owens, J. A. (2022, June 6). Pharmacotherapy for insomnia in children and adolescents: A rational approach. In R. D. Chervin (Ed.). UpToDate. Retrieved July 8, 2022, from
  • 18.
    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, 13(2), 275–281.
  • 19.
    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, 13(2), 163–165.