How long does melatonin last?

last updated: Nov 04, 2021

4 min read

We all have a restless night occasionally. Melatonin is a common sleep aid to help you stop tossing and turning and get a good night’s sleep. But what is this supplement, and how long does melatonin last in your body?

Melatonin is a hormone that your body naturally makes at night to promote sleep quality. If you’re having sleep problems, melatonin supplements are available over the counter in the U.S. to help you get some better sleep.

Before you take melatonin, you should know the potential impacts it can have on your health. Keep reading to learn everything you need to know about how your body uses melatonin to help you sleep.

Daily multivitamin

Get $15 off your first multivitamin order

What is melatonin used for?

Your circadian rhythm regulates many of the processes in your body necessary for good overall health, including when you feel sleepy. This is a natural cycle that averages around 24 hours. One of the main ways this sleep-wake cycle is regulated is through the presence of light and dark, which stimulate the release of the hormone melatonin (Basit, 2021).

Here’s how this works: Your body converts the amino acid tryptophan into the neurotransmitter serotonin. Some of that serotonin makes its way to the pineal gland in the brain. When your brain senses it's getting dark, the serotonin in the pineal gland is converted into melatonin, and you begin to feel sleepy (Savage, 2021).

OC How long does melatonin last? image 78d493a4-5e16-497a-a7e8-86162115ad06

Your body usually makes all of the melatonin that it needs. However, some conditions can cause less melatonin production in your brain, leading to sleep issues. Fortunately, melatonin pills are also available as a dietary supplement.

Melatonin has been most frequently studied and recommended by healthcare providers for treating the following conditions (Savage, 2021):

Although there are no formal treatment recommendations yet, researchers are currently looking at the way melatonin works in treating other conditions such as (Savage, 2021):

  • Cancer

  • Metabolic disorders

  • Cardiovascular disorders

  • Gastrointestinal (GI) conditions

  • Mental disorders

  • Pain syndromes

  • Reproductive problems

How long does it take for melatonin to work? 

The amount of time that it takes melatonin to work depends on the form you take it in. Melatonin is available as (Savage, 2021):

  • Immediate-release oral form

  • Extended-release oral form

  • Combination of immediate and extended slow-release oral form

  • Intravenous form (used in research studies)

After intravenous (IV) administration, melatonin is rapidly (within minutes) distributed throughout the body and then eliminated. If you take it orally, melatonin levels will peak in your bloodstream after about an hour (Tordjman, 2017).

Whether you take it by IV or by mouth, your body quickly processes the melatonin you’ve taken. It does this mainly through your liver but also through your kidneys (Tordjman, 2017).

How long does melatonin last?

The amount of time it takes melatonin to leave your system depends on the type of formulation you take (for example, immediate release or controlled release). A typical dose of oral, immediate-release melatonin will clear from your body faster than a controlled or extended-release formulation.

A usual dose of immediate-release melatonin (1–5 mg) will cause your blood concentrations of melatonin to peak within an hour after taking it. Your body will return to baseline levels within four to eight hours (Tordjman, 2017).

When to take melatonin

Natural melatonin release is enhanced by darkness and inhibited by light. The retinas in your eyes tell a particular gland in your brain—called the pineal gland—about the brightness of your surroundings. The pineal gland will release melatonin shortly after sundown and continue until the middle of the night (between 2 am and 4 am). It then begins to decrease during the second half of the night (Tordjman, 2017).

Nearly 80% of your body’s melatonin is made at night. The concentration in your blood is very low during the day (Tordjman, 2017).

There are no official dosing guidelines for melatonin. However, the doses used in most research studies varied from 0.1 mg to 10 mg, taken up to two hours before bedtime (Savage, 2021).

Your body’s response to melatonin supplements is complex, but the simple version is that it helps to regulate your circadian rhythm and sleep schedule. Melatonin has been shown to provide a modest improvement in sleeplessness (Momin, 2021).

How long is it safe to take melatonin for sleep?

There are a large number of both animal and human studies that document that the short-term use of melatonin is safe for adults, even in large doses. No studies have shown that melatonin poses any serious risk of side effects. However, minor side effects, such as headache, rash, stomach upset, and nightmares, have been reported (Savage, 2021). Even with long-term administration, only mild adverse effects were reported (Andersen, 2016). 

Be aware that there is a lack of safety information for using melatonin in pregnant or breastfeeding people, so its use is not recommended in these populations. Also, the long-term safety of using melatonin in children and adolescents still needs more investigation (Andersen, 2016).

Multiple studies have shown evidence to suggest that people can develop a tolerance to melatonin over time. However, it is considered non-habit forming, meaning that taking it shouldn’t lead to a melatonin addiction (Savage, 2021).

One possible adverse effect to taking melatonin long-term is that some preliminary observations have suggested that taking melatonin for an extended period might lower the quality of semen in healthy males. More study is needed before this can be confirmed, though (Savage, 2021).

What else should you know about melatonin?

The U.S. Food and Drug Administration (FDA) doesn’t regulate supplements. This is the reason that there are no formal dosing guidelines for melatonin (Savage, 2021).

However, this can also pose a problem because the actual concentration of melatonin in the supplement can vary. This further makes accurate dosing a challenge and might be responsible for some variations in clinical trial results (Savage, 2021).

Studies have found significant variations in the amount of melatonin present in the tablets. An analysis of 31 melatonin supplements found that the melatonin content was more than 10% above or below the labeled amount in more than 71% of the products tested. You can help protect yourself from getting more or less melatonin than you need by buying from a reputable brand (Erland, 2017).

To ensure the brand you’re buying is high quality, look for supplements with approval from the United States Pharmacopeia, an independent non-profit organization. Searching for supplements marked “USP verified” can help ensure the quality and dosing of supplements (Savage, 2021).

Side effects of melatonin

Melatonin is considered a relatively safe supplement to help you sleep better, although there are some possible side effects, particularly with higher doses. Common side effects of melatonin include (Savage, 2021):

  • Drowsiness the next day

  • Changes in blood pressure causing dizziness

  • Headaches

  • Nausea


If you have any medical questions or concerns, please talk to your healthcare provider. The articles on Health Guide are underpinned by peer-reviewed research and information drawn from medical societies and governmental agencies. However, they are not a substitute for professional medical advice, diagnosis, or treatment.

  • Andersen, L. P., Gögenur, I., Rosenberg, J., & Reiter, R. J. (2016). The safety of melatonin in humans. Clinical Drug Investigation, 36 (3), 169–175. doi: 10.1007/s40261-015-0368-5. Retrieved from

  • Basit, H., Damhoff, T. C., Huecker, M. R. (2021). Sleeplessness and circadian disorder. [Updated 2021 Apr 19]. In: StatPearls [Internet]. Retrieved on Oct. 18, 2021 from

  • 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. doi: 10.5664/jcsm.6462. Retrieved from

  • Momin, R. R. & Ketvertis, K. (2021). Short term insomnia. [Updated 2021 Jul 25]. In: StatPearls [Internet]. Retrieved on Oct. 18, 2021 from

  • Savage, R. A., Zafar, N., Yohannan, S., et al. (2021). Melatonin. [Updated 2021 Aug 15]. In: StatPearls [Internet]. Retrieved on Oct. 18, 2021 from

  • Tordjman, S., Chokron, S., Delorme, R., Charrier, A., Bellissant, E., Jaafari, N., et al. (2017). Melatonin: pharmacology, functions and therapeutic benefits. Current Neuropharmacology, 15 (3), 434–443. doi: 10.2174/1570159X14666161228122115. Retrieved from

How we reviewed this article

Every article on Health Guide goes through rigorous fact-checking by our team of medical reviewers. Our reviewers are trained medical professionals who ensure each article contains the most up-to-date information, and that medical details have been correctly interpreted by the writer.

Current version

November 04, 2021

Written by

Ellyn Vohnoutka, BSN, RN

Fact checked by

Steve Silvestro, MD

About the medical reviewer

Dr. Steve Silvestro is a board-certified pediatrician and Associate Director, Clinical Content & Education at Ro.