When you buy through our links, we may earn a commission. Products or services may be offered by an affiliated entity. Learn more.

Key Takeaways
  • Melatonin is a hormone that regulates the sleep-wake cycle.
  • Supplemental melatonin may be beneficial for those who struggle with falling asleep or staying asleep.
  • Precautions to consider before taking melatonin include drowsiness, daytime grogginess, and potential drug interactions.
  • Dosage can affect your sleep patterns, but depends on factors like age and existing sleep disorders.

Melatonin, the sleep hormone, is key to the body’s sleep-wake cycle. Its production increases in the evening with darkness, promoting sleep and orienting the body’s circadian rhythm.

The body naturally produces melatonin, but researchers and the public have increasingly taken an interest in external sources, like as liquids or capsules, as a way to address sleep difficulties. While studies have found that melatonin supplements can improve sleep in certain cases, they are not for everyone. It is important to carefully consider melatonin’s potential benefits and drawbacks and issues related to dosage and quality.

What Is Melatonin?

Melatonin is a hormone created by the pineal gland in the brain that’s released into the bloodstream. Darkness prompts the pineal gland to start producing melatonin , while light causes it to stop. As a result, melatonin helps regulate the circadian rhythm and synchronize the sleep-wake cycle with night and day, facilitating a transition to sleep and promoting consistent, quality rest.

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

Melatonin Benefits and Considerations

Melatonin produced by the body plays a fundamental role in getting quality sleep. While research has shown that melatonin supplements may be useful in certain situations related to sleeping difficulties, certain risks should be evaluated with a health care professional. The safety of melatonin supplements for children in particular has not yet been fully determined.

Melatonin in Adults

In adults, studies have found the clearest potential benefits 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 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 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 benefits.

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. Some experts have found evidence in favor of melatonin while others 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 clear, people with sleeping problems may be inclined to try it. Consult a doctor about benefits and risks before taking melatonin.

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.

Melatonin in Children

Experts generally agree that more research is needed to understand the overall safety and efficacy of melatonin in young people.

Several studies have indicated that melatonin may help children with sleep-onset insomnia fall asleep more quickly and may also improve their total sleep time . Evidence from small studies has indicated that melatonin may be useful in children with certain conditions including epilepsy and some neurodevelopmental disorders such as autism spectrum disorder (ASD) .

While melatonin may be beneficial as a short-term tool to help children with a diagnosed medical need, it should not be used in place of establishing good sleep habits and setting a consistent sleep schedule.

Additional research around optimal dosage and duration of use, as well the risks of short- and long-term side effects, is needed.

Because of these uncertainties regarding melatonin’s use by children, parents and caregivers should work closely with their child’s doctor before administering melatonin supplements.

Melatonin’s Role as Part of a Sleep Routine

Even if melatonin offers relief, taking steps to develop healthy sleep habits, including establishing a sleep routines and environment, can promote better sleep quality.

  • Optimize your sleep hygiene: Sleep hygiene refers to behaviors that affect sleep quality, including 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. It may also help to invest in a better mattress and new bedding.
  • Limit your screen time in the evening: Smartphones, tablets, televisions, and computers all have 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 brief 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 typically 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 your doctor about your sleep issues can help them determine if you may have an underlying sleep disorder. For example, discussing poor sleep issues or excessive sleepiness may uncover a problem like sleep apnea. Working with a doctor can lead to more appropriate and effective treatments.

Side Effects

Short-term use of melatonin has relatively few side effects for adults and is well tolerated by many 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. Some children may experience agitation or an increased risk of bedwetting when using melatonin. Parents and caregivers should take additional precautions when storing melatonin to prevent accidental ingestion or overdose. 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.

Melatonin is not recommended for use in people with dementia, and there is little research about its safety in people 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 .

The Matt Walker Podcast SleepFoundation.org’s Scientific Advisor

Appropriate Dosages

There is no consensus about the optimal dosage of melatonin for adults, although most experts advise to avoid extremely high dosages. A typical dose in supplements for adults is between 1 and 5 milligrams , but depends on factors like age and sleep problems.

Read: How Much Melatonin Should I Take?

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 and work your way up gradually under the supervision of your doctor.

Infographic explaining melatonins half-life and dosage guidelines.

Typical doses for children with sleep-onset insomnia start at 1 to 2 milligrams . Depending on the diagnosed sleep issue, young people may respond to smaller doses. Proper sleep hygiene and a consistent bedtime routine may be recommended prior to trying melatonin supplements.

Oral supplements can bring the levels of melatonin in the blood to levels much higher than is normally produced by the body. 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, not as a medication. Thismeans that melatonin products are not closely regulated by the U.S. Food and Drug Administration (FDA).

A wide range of brands with varying formulations and dosages are available over-the-counter, but there are important 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 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.

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

Learn more about our Editorial Team

17 Sources

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

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

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

  4. Esparham, A. (2022, September 26). American Academy of Pediatrics: Melatonin and children’s sleep., Retrieved April 6, 2023, from

  5. Matheson, E., & Hainer, B. L. (2017). Insomnia: Pharmacologic Therapy. American family physician, 96(1), 29–35.

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

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

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

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

  10. National Institutes of Health (NIH) Office of Dietary Supplements (ODS). (2013, July 1). Frequently Asked Questions (FAQ)., Retrieved April 6, 2023, from

  11. National Center for Complementary and Integrative Health. (2018, December). Using dietary supplements wisely., Retrieved April 6, 2023, from

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

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

  14. Neubauer, D. N. (2022, December 19). Pharmacotherapy for insomnia in adults. In R. Benca & J. G. Elmore (Eds.). UpToDate., Retrieved April 6, 2023, from

  15. Owens, J. A. (2023, January 3). Pharmacotherapy for insomnia in children and adolescents: A rational approach. In R. D. Chervin (Ed.). UpToDate., Retrieved April 6, 2023, from

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

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


Read About Melatonin's Role in Sleep

Best Melatonin Supplements

By Daniel Noyed February 21, 2024

Best Melatonin Gummies

By Lauren Fountain February 15, 2024

Melatonin Dosage for Kids

By Jay Summer January 8, 2024

Can You Take Melatonin While Pregnant?

By Jay Summer January 8, 2024

Can You Overdose on Melatonin?

By Danielle Pacheco December 20, 2023

Melatonin Side Effects

By Jay Summer December 20, 2023

close quiz
We Are Here To Help You Sleep.
Tell us about your sleep by taking this brief quiz.

Based on your answers, we will calculate your free Sleep Foundation Score and create a personalized sleep profile that includes sleep-improving products and education curated just for you.

Saas Quiz Saas Quiz