The Melatonin GuideTake it on your own clock
An hourglass running lilac sand
The guide

How long melatonin stays in your system

By GyroscopeUpdated November 14, 202610 sources
On this page
  1. Why do some people wake up groggy?
  2. A simple way to picture it
  3. What happens after you swallow it?
  4. How do you work out the curve?
  5. Why is there a slow band?
  6. What’s left at 3am and at 7am?
  7. Can you take it at 3am?
  8. What about slow-release tablets?
  9. Does a leftover morning dose matter if I don’t feel groggy?

A melatonin tablet reaches its peak in your blood about 40 minutes after you swallow it. Then about half of it is gone every 54 minutes. A small dose drops back to a normal night’s level within an hour or two, but a big one needs many halvings, so 10 mg at 10:30pm can stay above your own melatonin until somewhere between 3:45 and 6:45am.

How long it lasts is mostly a question of how much you took. That’s the part people don’t expect.

What we’d do

Pick a dose that’s gone before you need to be awake. For most people that’s 3 mg or less, taken well before bed. If you wake up groggy, or you’re 60 or over, go smaller and earlier. If you wake at 3am, look for the cause before reaching for a second dose.

If you remember three things

  1. It peaks at about 40 minutes. That’s why the window opens well before lights out.
  2. Half is gone about every 54 minutes. 0.5 mg needs less than one halving to get back to normal. 10 mg needs about five.
  3. People vary a lot. The same tablet peaked more than three times higher in some people than others, and it clears slower in many older adults.

Why do some people wake up groggy?

Most people picture melatonin like a sleeping pill that wears off after a set number of hours, whatever the dose. When they feel foggy at 7am, they blame a bad night.

Often it’s the dose. In a 2001 MIT study of adults over 50, 3 mg taken 30 minutes before bed kept their blood melatonin up into the daylight hours, while 0.3 mg brought it to a normal night’s level and helped them sleep. Daytime sleepiness was the most common side effect across 37 trials. A dose that’s still above your own night level at breakfast is telling your body it’s still night.

A simple way to picture it

Picture folding a sheet of paper in half, once every 54 minutes, until it’s small enough to fit in your pocket. A napkin needs one fold. A tablecloth needs five or six.

A 0.5 mg tablet is the napkin. A 10 mg gummy is the tablecloth, and you’re still folding it at 4am.

What happens after you swallow it?

The best numbers come from a 2016 study in Copenhagen. 12 healthy men took 10 mg by mouth on one day and 10 mg straight into a vein on another, and gave blood samples over the hours after.

  • It’s absorbed fast. Half the swallowed dose was absorbed in about 6 minutes on average.
  • It peaks at about 40 minutes. The average was 40.8 minutes, though it varied by about 18 minutes either way.
  • Half is gone about every 54 minutes. The average half-life was 53.7 minutes by mouth, and 39.4 minutes when it went into a vein.
  • Very little gets through. Only about 3 percent of the swallowed dose reached the blood.
  • People differ a lot. The middle half of the men peaked anywhere from about 2,500 to 8,000 picograms per milliliter on the same tablet.

How do you work out the curve?

A 1994 MIT study found that 0.3 mg gives a peak inside the normal range for a night, and that the amount in the blood rises in step with the dose. With 0.3 mg as about one normal night, the rest is arithmetic.

  1. Find the peak. Divide the dose by 0.3. 10 mg peaks at about 33 times a normal night.
  2. Count the halvings. From 33 down to 1 takes about five halvings, since 2 x 2 x 2 x 2 x 2 is 32.
  3. Turn halvings into hours. Five halvings at 54 minutes each is about 4.5 hours, plus the 40 minutes it took to peak.
  4. Add it to the time you took it. 10 mg at 10:30pm is back to a normal night’s level at about 3:45am.

The model is simple on purpose and leaves things out. It ignores how differently people absorb a tablet, and it assumes the halving rate stays the same all night. Your dose across the night runs it for your own dose and alarm.

One night, three curves

0102030406pm8pm10pmmidnight2am4am6am8amyour own night's peakalarm 7:00am
  • Your own night, from 9:35pm
  • 0.5 mg at 10:30pm, back by 11:50pm to 12:15am
  • 10 mg at 10:30pm, back by 3:45 to 6:45am
Height in times a normal night's peak: 0.3 mg brings blood levels to about one. A tablet peaks about 40 minutes after you swallow it, then halves every 54 minutes, or every 1.5 hours on the slower band, which is ours. Your own night is drawn as a simple hill.

Why is there a slow band?

Because some people clear melatonin much more slowly. In a 2016 study of surgery patients given 10 mg, the half-life was about an hour before surgery and about 1 hour 45 minutes the evening after, and for a quarter of the patients it was about 4 hours or more. The US National Center for Complementary and Integrative Health says melatonin may stay active longer in older people. And in the MIT study, 3 mg was still up in the daylight hours for adults over 50.

Each back-under time comes as a range for this reason. The early end uses the 54 minutes. The late end uses a halving of 1.5 hours, which we assume for people whose melatonin lingers, and the tools use it for anyone 60 or over.

Take Dan, 62, who takes 10 mg at 10:30pm and wakes at 6:30am. On the slow band his dose is still a little above his own night’s peak when his alarm goes off. He’d do better on 0.3 to 0.5 mg between 7:30 and 9:30pm.

What’s left at 3am and at 7am?

Taken at 10:30pm, in times a normal night’s peak. The first number uses the 54 minute halving and the second the slow band.

DoseAt 3amAt 7am
0.5 mg0.09 to 0.29under 0.05
1 mg0.18 to 0.57under 0.1
3 mg0.53 to 1.70.02 to 0.27
5 mg0.88 to 2.90.04 to 0.45
10 mg1.8 to 5.70.08 to 0.9

A small dose is mostly gone by 3am, so it isn’t what’s waking you then, and it won’t hold you asleep either. A big dose taken at bedtime can still be above a normal night at 3am on the slow band, and near a normal night’s level at 7am.

Can you take it at 3am?

Only a small dose, and only with five or more hours left before you have to be up. On this model, 3 mg at 3am stays above your own night’s peak until somewhere between 6:40 and 8:40am. 0.5 mg at 3am clears by about 4:20 to 4:45am.

For regular 3am waking, check the usual causes first. A moderate evening drink cut people’s own melatonin by about a fifth in a study of 29 young adults. A bright bathroom light at 3am is light at your eyes in the middle of the night. And loud snoring or stopped breathing can be a sign of sleep apnea, which melatonin doesn’t treat, so see a doctor about it first.

A stopwatch

What about slow-release tablets?

They spread the dose over more hours, so they don’t follow this curve, and the label sets their timing. In a 1995 study of older insomniacs, tablets taken 2 hours before bed for a week did different jobs. 2 mg slow-release helped them stay asleep, and 2 mg fast-release helped them fall asleep. Two months of 1 mg slow-release kept working, with no sign that they’d built up a tolerance.

For jet lag it was the other way round. The 2002 Cochrane review found 2 mg slow-release did relatively poorly, and the reviewers concluded that a short, higher peak works better for jet lag.

Does a leftover morning dose matter if I don’t feel groggy?

The sceptic says

I take 10 mg and feel fine. If I’m not groggy, who cares what’s still in my blood at 7am?

The reply

Maybe nobody, but nobody has checked. People vary more than threefold, so you may clear it fast. But melatonin just after you wake sits in the hours when a pill moved the clock later in the lab. Nobody has tested whether a leftover dose does the same. A smaller dose taken earlier gives you the same night signal and leaves your morning alone, and the two-week test will tell you if you lose anything.

Don’t drive after a dose, or the morning after one if you feel foggy.

10 sources
  1. Andersen LP and others, Pharmacokinetics of oral and intravenous melatonin in healthy volunteers, BMC Pharmacology and Toxicology, 2016pubmed.ncbi.nlm.nih.gov
  2. Dollins AB and others, Effect of inducing nocturnal serum melatonin concentrations in daytime on sleep, mood, body temperature, and performance, PNAS, 1994pubmed.ncbi.nlm.nih.gov
  3. Zhdanova IV and others, Melatonin treatment for age-related insomnia, Journal of Clinical Endocrinology and Metabolism, 2001pubmed.ncbi.nlm.nih.gov
  4. Harpsøe NG and others, Pharmacokinetics of repeated melatonin drug administrations prior to and after surgery, Clinical Drug Investigation, 2016pubmed.ncbi.nlm.nih.gov
  5. National Center for Complementary and Integrative Health, Melatonin: What You Need To Know, last updated May 2024nccih.nih.gov
  6. Haimov I and others, Melatonin replacement therapy of elderly insomniacs, Sleep, 1995pubmed.ncbi.nlm.nih.gov
  7. Herxheimer A, Petrie KJ, Melatonin for the prevention and treatment of jet lag, Cochrane Database of Systematic Reviews, 2002pubmed.ncbi.nlm.nih.gov
  8. Burgess HJ, Revell VL, Molina TA, Eastman CI, Human phase response curves to three days of daily melatonin: 0.5 mg versus 3.0 mg, Journal of Clinical Endocrinology and Metabolism, 2010pubmed.ncbi.nlm.nih.gov
  9. Besag FMC and others, Adverse events associated with melatonin for the treatment of primary or secondary sleep disorders: a systematic review, CNS Drugs, 2019pubmed.ncbi.nlm.nih.gov
  10. Rupp TL, Acebo C, Carskadon MA, Evening alcohol suppresses salivary melatonin in young adults, Chronobiology International, 2007pubmed.ncbi.nlm.nih.gov
With Gyroscope One, snap the bottle when you take it and see your melatonin nights against your usual sleep, from your Apple Watch, Oura, WHOOP or Garmin. Open Gyroscope

Your personalized guide

When should I take melatonin, and how much?

Eight taps. You get when your own melatonin probably starts, the hour and the dose for what you want it to do, and a way to tell in two weeks if it's working.

  • Your window, on your own clock
  • Your dose against the trials
  • Free, under a minute
Start