In crisis? Call or text 988 any time. Overdose or emergency: call 911.
Diagnosis & Testing

How Long Does Melatonin Stay in Your System?

Melatonin clears the blood quickly, but its effects can outlast the numbers. Here is what research says about its half-life, why product labels matter and how to use it safely.

Soft morning sunlight falling across a neatly made bed beside a window with sheer curtains

Key takeaways

  • In small studies, melatonin taken by mouth peaks in under an hour and has an elimination half-life of roughly 40 to 65 minutes.
  • Drowsiness can outlast blood levels. MedlinePlus advises not driving or using machinery for 4 to 5 hours after taking it.
  • Supplement labels are often inaccurate, so the amount you actually take may differ from what the bottle says.
  • Melatonin is not among the substances standard drug tests are designed to find, but tell the tester about any supplements you take.
  • Store melatonin out of children's reach. Pediatric ingestions rose sharply between 2012 and 2021.

Melatonin is one of the most popular sleep aids on store shelves, and many people take it without much thought. Then questions come up. Will it still be working when the alarm goes off? Is it safe to drive in the morning? Could it show up on a drug test? So, how long does melatonin stay in your system? In small studies, melatonin levels in the blood fell by half in under about an hour, but drowsiness can last longer than that. This guide explains what the studies show, what changes the timing and how to use melatonin more safely.

How long melatonin lasts: the short answer

Melatonin taken by mouth is absorbed fast and cleared fast. In a small study of 12 healthy men, blood levels peaked about 41 minutes after an oral dose, and the elimination half-life, the time for the level to drop by half, was about 54 minutes. The authors noted that earlier studies found oral half-lives between 46 and 65 minutes. Even so, MedlinePlus advises not driving or using machinery for 4 to 5 hours after taking melatonin, because sleepiness and dizziness can linger.

Melatonin is not a controlled drug, but questions about sleep aids often overlap with questions about substance use. Our guide to what addiction is and how it is treated covers that bigger picture.

What melatonin is and how it works

MedlinePlus describes melatonin as a hormone the body makes to regulate the sleep-wake cycle. Darkness prompts the body to make more of it, which signals that it is time to sleep. Light lowers production and signals the body to be awake. The melatonin in supplements is usually made in a lab.

Supplement, not drug

In the United States, melatonin is sold as a dietary supplement. NCCIH explains that this means the Food and Drug Administration regulates it less strictly than prescription or over-the-counter drugs. In several other countries it is available only with a prescription.

Half-life and timing in more detail

Measure What the study found
Time to peak level (oral) About 41 minutes on average
Elimination half-life (oral) About 54 minutes on average; earlier studies reported 46 to 65 minutes
Share of an oral dose reaching the blood About 3 percent, with large differences between people
Practical guidance No driving or machinery for 4 to 5 hours (MedlinePlus)

The study authors explained that only a small share of oral melatonin reaches the bloodstream because the liver breaks much of it down first. Peak levels varied widely from person to person. That helps explain why two people taking the same product can feel very different effects.

Why the effects can outlast the numbers

A short half-life does not mean you will feel fully alert an hour later. Several factors shape how long you feel melatonin’s effects.

Age

NCCIH notes that melatonin may stay active longer in older people than in younger people and can cause daytime drowsiness.

The amount actually in the product

Labels are often wrong. NCCIH reports that in a 2017 study of 31 melatonin supplements, the amount in most products did not match the label, and 26 percent contained serotonin. A 2023 study of 25 melatonin gummies found 22 were inaccurately labeled. Most contained more melatonin than listed, with one containing up to almost 3.5 times the labeled amount. If a product contains more than you think, its effects may last longer.

Other medicines and caffeine

MedlinePlus lists several interactions. Fluvoxamine (Luvox) can increase how much melatonin the body absorbs. Birth control pills seem to raise the body’s own melatonin. Caffeine can change melatonin levels. Taking melatonin with sedative medicines might cause too much sleepiness or breathing problems. NCCIH advises anyone who takes medicine to talk with a health care provider before using melatonin, and says people with epilepsy or who take blood thinners need medical supervision.

Next-day grogginess and common side effects

MedlinePlus lists headache, sleepiness, dizziness and nausea as possible side effects. NCCIH says short-term use appears safe for most people, but long-term safety information is lacking.

If you wake up groggy, give yourself extra time before driving, and talk with a pharmacist or doctor about whether melatonin is the right choice. Ongoing sleep problems deserve a real look. Our guide to insomnia in recovery covers approaches beyond pills. If you have used melatonin nightly and wonder about stopping, see melatonin withdrawal.

Melatonin and alcohol

NIAAA warns that alcohol can make you sleepy, drowsy or lightheaded, and that drinking while taking medicines can intensify those effects. It also notes that even some herbal remedies can be harmful when combined with alcohol. MedlinePlus lists sleepiness and dizziness among melatonin’s own side effects. Before combining them, ask a pharmacist. Our full guide to melatonin and alcohol goes further, and alcohol and sleep explains why a nightcap tends to backfire.

Does melatonin show up on a drug test?

Standard drug tests are built to find specific substances. MedlinePlus describes them as looking for illegal drugs, such as cocaine, cannabis, amphetamines and PCP, and for prescription or over-the-counter medicines that can be misused, such as opioids, benzodiazepines and dextromethorphan. Melatonin is not on that list.

Still, MedlinePlus advises telling the testing professional about any prescription drugs, over-the-counter medicines or supplements you take, because these may affect results. That is the simple, honest step. For how routine screens work, see our guide to the urine drug test.

Children and melatonin: a storage warning

A CDC report found that pediatric melatonin ingestions reported to poison control centers rose 530 percent from 2012 to 2021, with 260,435 reported over that period. Most were unintentional, involved children 5 and younger and happened at home. Hospitalizations and more serious outcomes also increased. The report urged safe storage. NCCIH adds that a later CDC report estimated about 11,000 emergency department visits from 2019 to 2022 for unsupervised melatonin ingestion by children 5 and younger, many involving flavored products like gummies.

Keep melatonin up high, out of sight, with the cap locked, the same as any medicine. Talk with a pediatrician before giving it to a child. If a child swallows melatonin, or anyone takes more than intended, call Poison Help at 1-800-222-1222 for advice, or 911 in an emergency. Our guide can you overdose on melatonin? covers warning signs.

When to talk to a doctor

Talk with a doctor or pharmacist before using melatonin if you are pregnant or trying to conceive, have a seizure disorder, depression or a bleeding disorder, take blood pressure or diabetes medicine, or have had a transplant. MedlinePlus lists each of these as a reason for caution. Also check in if you need melatonin most nights, feel groggy every morning or still can’t sleep. Ongoing sleep trouble is worth a real conversation with a professional.

Frequently asked questions

How long does melatonin take to wear off?

Blood levels drop quickly. In a small study, the half-life of oral melatonin was about 54 minutes. Effects like drowsiness can last longer, which is why MedlinePlus advises waiting 4 to 5 hours before driving or using machinery.

Can melatonin make you groggy the next morning?

Yes, for some people. Sleepiness and dizziness are listed side effects, and NCCIH notes melatonin may stay active longer in older adults and cause daytime drowsiness. Product labels can also understate how much melatonin is inside.

Will melatonin show up on a drug test?

Standard drug tests look for specific illegal drugs and misused medicines, and melatonin is not on the list MedlinePlus describes. Tell the tester about any supplements you take, as MedlinePlus recommends.

Is it safe to take melatonin every night?

NCCIH says short-term use appears safe for most people, but long-term safety information is limited. If you need it most nights, talk with a doctor about what is behind the sleep problem.

What should you do if a child eats melatonin gummies?

Call Poison Help at 1-800-222-1222 for advice, or 911 in an emergency. A CDC report found most pediatric melatonin ingestions were accidental and happened at home, so store it like any medicine, up high and out of sight.

Sources

  1. Melatonin: What You Need To Know (NIH National Center for Complementary and Integrative Health)
  2. Melatonin (MedlinePlus Herbs and Supplements)
  3. Pharmacokinetics of oral and intravenous melatonin in healthy volunteers (Andersen et al., 2016, BMC Pharmacology and Toxicology, PMC)
  4. Pediatric Melatonin Ingestions, United States, 2012–2021 (Lelak et al., CDC MMWR, 2022)
  5. Drug Testing (MedlinePlus Medical Tests)
  6. Harmful Interactions: Mixing Alcohol With Medicines (NIAAA)

This article is for general information and is not medical advice. If you are worried about your health or someone else’s, talk to a doctor or call one of the free helplines below.

Written by

Web Admin

Every guide is researched, cited and reviewed under our editorial policy.

Related guides

More in Diagnosis & Testing

Ready to talk to someone?

Free and confidential. Calling is not a commitment to anything.

Call now 1-800-662-4357

This number is SAMHSA’s National Helpline, a free, confidential, 24/7 service of the U.S. government. Gratitude House is not affiliated with SAMHSA.

Call now 1-800-662-4357