Melatonin is a natural hormone made by the brain that helps people fall asleep at night. It is also available as a dietary supplement that may help people with sleep disorders such as jet lag and insomnia. Melatonin supplements may work best when taken a few hours before an individual wishes to fall asleep.

People who struggle to doze off are often curious about options to help them sleep. In fact, nearly one in ten U.S. adults take medicine to help them sleep at least four days a week. The number of people in the U.S. that use melatonin supplements has markedly risen over the last 20 years.

Several factors can affect how melatonin supplements work and the best time to take them, including an individual’s health, lifestyle, and other medications they are taking. People considering taking melatonin supplements should be aware of these factors, the various forms of melatonin available, and potential safety concerns related to using this common supplement.

How Melatonin Affects Sleep

Melatonin makes a person feel sleepy through its effect on circadian rhythms, which are the near 24-hour cycles that affect every cell in the human body. One important circadian rhythm is the sleep-wake cycle, which affects when people fall asleep and when they wake up.

While the human brain naturally makes melatonin, supplements are also available in the U.S. over-the-counter. In some countries, melatonin supplements are only available with a prescription.

Melatonin supplements have a variety of potential uses. Melatonin supplements may help some people whose sleep schedules differ from their circadian rhythms. People who take melatonin for jet lag after air travel also adjust to new time zones more quickly than people who do not take melatonin.

Melatonin may also help people who constantly fall asleep and wake up later than they want or need to sleep. While some people may stay up late for work, school, or social reasons, some people have a sleep disorder involving markedly delayed circadian rhythms even when they could go to sleep on time. Studies have found that melatonin helped people with this condition fall asleep faster and sleep longer.

Melatonin may also help people who work night shifts to sleep longer and better during the daytime. However, more research is needed to better understand how melatonin works, when night workers should take it, and what dosage works best for this purpose.

Experts have mixed opinions on whether melatonin helps people with insomnia to sleep. Melatonin may help people with insomnia to fall asleep faster, but only by a few minutes. Supplemental melatonin does not appear to keep people from waking up during the night. 

How Fast Does Supplemental Melatonin Work?

Most people will feel the effects of supplemental melatonin about two hours after taking it. Ordinarily, the brain makes more melatonin about one to two hours before bedtime and most people start to feel sleepy about two hours after melatonin levels rise.

Infographic explaining melatonins duration of effects, often peaking 1 hour after intake. .

Supplemental melatonin comes in many different forms and how it is made affects how quickly it works . Depending on the type of supplement, the effects may kick in as quickly as 20 minutes. People considering taking melatonin supplements should talk to their doctors about what form of melatonin may work best for them.

Extended-Release Melatonin

Some pills have a special coating or additive to slow the release of the active ingredient. These kinds of medications and supplements are sometimes called extended-release, controlled-release, sustained-release or modified-release. Extended-release pills take effect more slowly and work longer than regular pills. Extended-release pills should never be crushed, cut, or chewed as doing so could be dangerous.

Some melatonin supplements are extended-release pills. While data is limited on how quickly extended release melatonin takes effect, extended release melatonin pills may reach peak levels in the bloodstream later than fast-release melatonin. Experts believe that extended-release melatonin may be better at reducing the number of times people wake up after falling asleep.

Melatonin Patches

The effect of a supplement or medication can also be slowed by releasing it through a patch on the skin. Melatonin patches release melatonin into the bloodstream more slowly than melatonin pills. Studies have also found that melatonin patches reduce time awake after falling asleep and increase time spent sleeping.

Melatonin Melts

Drug makers may also adjust a supplement or medication to make it act more quickly. Some melatonin supplements are available as fast-acting melts that dissolve under the tongue or between the gums and the cheek. Medications and supplements taken in this way are absorbed more quickly than gummy vitamins were.

People should take supplements and medications only as instructed by their doctor or as indicated on the label. Pills that are designed to be swallowed whole may not work well if taken differently than directed.

Melatonin Gummies

Melatonin supplements are widely available as gummies. Researchers have not yet discovered how quickly melatonin gummies take effect. However, studies of gummy vitamins may shed some light on how melatonin gummies compare to melatonin pills.

To date, research findings on how gummy vitamins compare to vitamin pills have been conflicting. While some studies have found that gummy vitamins are better absorbed than pills, others found that gummy vitamins were similar to vitamin pills .

Parents and guardians should take care to keep melatonin gummies out of children’s reach. Children may confuse gummy supplements with candy which can increase the risk of accidental overdose. Gummies may also be a choking hazard for young children.

How to Take Melatonin

Melatonin is usually taken one to two hours before bedtime. Travelers taking melatonin to prevent jet lag can time their dosage on their day of arrival based on the desired bedtime at their destination. To reduce the symptoms of jet lag, melatonin can continue to be taken for up to five days after arrival.

Sleep experts have not agreed upon a standard dosage of melatonin . The adult dosage of melatonin is usually between 1 to 5 milligrams. For children, experts recommend lower doses of melatonin than for adults. Parents and guardians should speak with their child’s doctor before giving melatonin to children, and should follow their doctor’s advice on the dosage.

Some medications, herbs, and beverages can increase natural melatonin levels and may magnify the supplement’s effect. People who take melatonin along with any of the following should talk to their doctors about the appropriate dosage:

Higher doses of melatonin do not appear to be more effective than lower doses, but may have higher risks of side effects. For that reason, people taking melatonin supplements should start at a lower dose. If they decide to try a higher dose, then they should increase the dose slowly until they find a dose that works for them. People should talk to their doctor if sleeping problems do not improve after taking melatonin.

Are There Side Effects to Melatonin?

The side effects of melatonin have not been studied in-depth. However, health experts believe that melatonin is probably safe for most healthy adults. The most common side effects reported by people taking melatonin are:

  • Feeling sleepy during the day
  • Headache
  • Dizziness
  • Upset stomach
  • Irritability
  • Strong nightmares
  • Temporary depression

People should not drive or operate heavy machinery within four to five hours after taking melatonin. Melatonin supplements should never be taken with alcohol or other sleeping pills as the combined effects may cause breathing problems or make people too sleepy.

Melatonin supplements may be unsafe for people who are trying to get pregnant. Health experts do not yet know whether melatonin is safe to take during pregnancy or while breastfeeding. People who are pregnant, trying to get pregnant or breastfeeding should speak to their doctors before starting melatonin supplements.

Melatonin supplements interact with many medications, including birth control pills, blood pressure medicine, antiseizure medicine, medicine to weaken the immune system, and blood thinners. People who take any of these medicines should speak to their doctor before trying melatonin supplements.

Melatonin is not regulated by the U.S. Food and Drug Administration (FDA). Research has found that the levels of melatonin in over-the-counter supplements may be different from the dosage listed on the labels. People who use melatonin can find reputable sleep supplements by talking to a doctor, pharmacist, or selecting products that undergo third-party testing.

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

10 Sources

  1. Centers for Disease Control and Prevention. (2019). QuickStats: Percentage of adults aged ≥18 years who took medication to help fall or stay asleep four or more times in the past week, by sex and age group – National health interview survey, United States, 2017-2018. MMWR Morb Mortal Wkly Rep. 2019;68(49):1150.
  2. Morgenthaler, T. I., Lee-Chiong, T., Alessi, C., Friedman, L., Aurora, R. N., Boehlecke, B., Brown, T., Chesson, A. L., Jr, Kapur, V., Maganti, R., Owens, J., Pancer, J., Swick, T. J., Zak, R., & Standards of Practice Committee of the American Academy of Sleep Medicine (2007). Practice parameters for the clinical evaluation and treatment of circadian rhythm sleep disorders. An American Academy of Sleep Medicine report. Sleep, 30(11), 1445–1459.
  3. Zisapel N. (2018). New perspectives on the role of melatonin in human sleep, circadian rhythms and their regulation. British Journal of Pharmacology, 175(16):3190-3199.
  4. Le, J. (2022, June). Drug absorption. Merck Manual Consumer Version., Retrieved October 3, 2022, from
  5. Moroni, I., Garcia-Bennett, A., Chapman, J., Grunstein, R. R., Gordon, C. J., & Comas, M. (2021). Pharmacokinetics of exogenous melatonin in relation to formulation, and effects on sleep: A systematic review. Sleep Medicine Reviews, 57, 101431.
  6. Wagner, C. L., Shary, J. R., Nietert, P. J., Wahlquist, A. E., Ebeling, M. D., & Hollis, B. W. (2019). Bioequivalence studies of vitamin D gummies and tablets in healthy adults: Results of a cross-over study. Nutrients, 11(5), 1023.
  7. Evans, M., Guthrie, N., Zhang, H. K., Hooper, W., Wong, A., & Ghassemi, A. (2020). Vitamin C bioequivalence from gummy and caplet Sources in healthy adults: A randomized-controlled trial. Journal of the American College of Nutrition, 39(5), 422–431.
  8. Division of Healthcare Quality Promotion. (2022, March 23). Medication safety for parents & caregivers. Centers for Disease Control and Prevention., Retrieved October 3, 2022, from
  9. Shane-McWorter, L. (2020, July). Melatonin. Merck Manual Professional Version., Retrieved October 6, 2022, from
  10. Owens, J. A. (2022, June 6). Pharmacotherapy for insomnia in children and adolescents: A rational approach. In R. D. Chervin (Ed.). UpToDate., Retrieved October 4, 2022, from

Learn More About Melatonin

Does Melatonin Affect Birth Control?

By Jay Summer September 8, 2023

Melatonin Side Effects

By Jay Summer September 8, 2023

Does Melatonin Expire?

By Jay Summer September 8, 2023

Can You Overdose on Melatonin?

By Danielle Pacheco September 8, 2023

Can Melatonin Cause Nightmares?

By Jay Summer September 8, 2023

Melatonin and Sleep

By Eric Suni September 8, 2023

Can You Take Melatonin While Pregnant?

By Jay Summer September 8, 2023

How Long Does Melatonin Last?

By Danielle Pacheco September 8, 2023