The Melatonin GuideTake it on your own clock
A nightstand with a lamp, a book and a glass of water
The guide

How to take melatonin: the hour matters more than the milligrams

By GyroscopeUpdated November 15, 202630 sources
On this page
  1. If you can, start with your own
  2. Why are you taking it?
  3. Melatonin is dusk you can schedule
  4. Your own melatonin starts on your clock
  5. The hour changes the direction
  6. Less is often enough
  7. A big dose is still there at the alarm
  8. Light does the same job, harder
  9. The label is a rough guide
  10. Where it does the most
  11. Who gets no window and no dose
  12. Test it on your own nights
  13. The rest of your evening
  14. What’s new
  15. What nobody knows yet
  16. The simple plan

With melatonin, the hour matters more than the milligrams. It's the signal your brain sends when it gets dark, so a small dose a few hours before bed does more than a 5 or 10 mg gummy at lights out, which buys a few minutes and can still be in your blood when the alarm goes off. Take it earlier, take less, keep the lights low, and keep it only if two weeks of your own nights show it working.

A ring of sky lying flat, day blue turning to dusk and night, with a lilac glow rising at dusk and one gummy set a few hours before it

Gyroscope’s old Sleep Habits guide had one line on melatonin. It said the hormone can help you fall asleep “when your sleep schedule is off”, like after a flight or during night shifts. That line had it right. Melatonin is good at moving your sleep to a new hour, and pretty weak at knocking you out tonight.

Most people use it the other way round. US adults took it five times as often around 2017 as around 1999, 2.1 percent against 0.4, and the usual habit is a big gummy at lights out. On average that gets you to sleep about 7 minutes faster, or 5.5 when machines measure it instead of the sleepers. And a 10 mg dose taken then can still be above your own night’s level when the alarm goes off.

If you can, start with your own

Your brain already makes melatonin every night, and light is the switch. If you want to and you can, try the free version first. Get daylight soon after you wake, use lamps instead of overhead lights in the evening, keep the bedroom dark and get up at the same time every day. In a study of 116 young adults, ordinary room light in the evening made melatonin start later in 99 percent of them, so the room you sit in after dinner works like part of the dose. How to increase melatonin naturally has each habit at its real size, food included.

The two jobs melatonin does best are trips across time zones and sleep after night shifts, and both plans put the light first too.

If you do take it, three moves get the most from it.

What we'd do

  1. Earlier. To fall asleep faster, take it 1 to 3 hours before bed. To move your bedtime earlier, take 0.5 mg about 5 hours before your usual bedtime.
  2. Smaller. Start at 0.5 to 1 mg. 3 mg is plenty for most people, and 5 mg is the top.
  3. Darker. Lamps only after you take it, then two weeks of your own nights to see if it works.

Why are you taking it?

People come to melatonin for very different reasons, and the right hour and dose depend on which one is yours. For a few of them the right dose is none, and a doctor comes first. Pick yours and go straight to its answer.

Melatonin is dusk you can schedule

Your brain has a clock that watches the light at your eyes. When it gets dark, the clock lets a small gland deep in the brain, the pineal gland, release melatonin into your blood. Cells all over your body take it as the sign that night has started, your temperature drops a little and you get sleepier. A tablet is the same molecule, so it sends the same message.

It works like dusk. Dusk doesn’t put you to sleep. It tells everything around you that night is coming, and the evening winds down. A tablet a few hours before bed is a dusk you can schedule. A tablet at lights out is a sunset that turns up after you’ve already gone to bed.

What is melatonin? has the gland, the signal and what a pill adds to it.

Your own melatonin starts on your clock

Your brain starts releasing melatonin about 2.5 hours before you usually go to bed. In a 2005 study of young adults sleeping on their own schedule, the best guide to when was the time they woke up on days with no alarm. Wake at 8am on a free day and yours probably starts around 9:35pm, give or take an hour.

When your own melatonin starts

  • Your own melatonin starts, give or take an hour
  • 0.5 mg here moves your bedtime earlier
From 60 young adults sleeping on their own schedule with no alarm (Burgess and Eastman, 2005). Tested on 23 more, the estimate landed within an hour for 3 in 4 of them.

Night owls start later and early birds earlier, and the hours for a tablet move with them. When your own melatonin starts explains the estimate, and the melatonin window works out yours.

The hour changes the direction

The same pill moves your body clock in opposite directions depending on when you take it. Taken 2 to 4 hours before your own melatonin starts, half a milligram moved people’s clocks earlier, by up to 1.5 hours over three days in a dim lab. Taken just after waking, it moved them later. Around bedtime it does little to the clock at all.

Why the hour changes the direction

A tablet now moves your clock earlierAround sleep, little effect on the clockJust after waking, a tablet moves it laterLight now pushes your clock laterLight now pulls your clock earlier
Your melatonin starts9:35pmwaking at 8am on a free day
  • A tablet here moves you earlier
  • A tablet here moves you later
  • Light here pushes later
  • Light here pulls earlier
The outer ring is the sky on your clock. Drawn to show which way each hour moves you, not how far.

There are two windows, one for each job. To fall asleep faster, take it 1 to 3 hours before the time you want to be asleep. A 2024 analysis of 26 trials found that the more time people left between the dose and bed, the more it helped, and its authors suggested about 3 hours. To move your bedtime earlier, take 0.5 mg about 3 hours before your own melatonin starts. For the 8am riser above, that’s between 8 and 10pm to be asleep by 11pm, or between 5:35 and 7:35pm to move the whole night earlier.

Melatonin timing has the experiments, should you take melatonin right at bedtime? takes on the habit, and can you take melatonin during the day? covers the morning and the afternoon.

Less is often enough

0.3 mg brings your blood to about the peak of a normal night. When researchers gave 0.1, 0.3 and 3 mg to 30 adults over 50, 0.3 mg restored sleep in the ones who slept badly. 3 mg helped too, but it was still in their blood after the sun came up.

Bigger doses don’t buy much more. Half a milligram moved the clock as far as 3 mg when each was taken at its best hour. The effect on falling asleep grew up to about 4 mg in the 2024 analysis, and jet lag trials found nothing extra above 5 mg. That’s why we start at 0.5 to 1 mg, call 3 mg plenty for most people, and put the top at 5 mg.

How high each dose goes

  1. 0.3 mg 1x level with it
  2. 0.5 mg 1.7x back under it by 11:50pm to 12:15am
  3. 1 mg 3x back under it by 12:45 to 1:45am
  4. 3 mg 10x back under it by 2:10 to 4:10am
  5. 5 mg 17x back under it by 2:50 to 5:15am
  6. 10 mg 33x back under it by 3:45 to 6:45am
0.3 mg brings your blood to about a normal night's peak, so each bar is the dose divided by 0.3 mg. A tablet then halves about every 54 minutes, or every 1.5 hours on the slower band, which is ours.

A 10 mg gummy starts about 33 times higher than your own night. To get that much melatonin from food, you’d have to eat about 1,640 pounds of tart cherries. Why less is often enough, is 10 mg too much? and does a bigger dose work better? go through each dose.

A big dose is still there at the alarm

A tablet peaks in your blood about 40 minutes after you swallow it, then half of it is gone about every 54 minutes. That sounds fast, but a big dose starts so high that it takes a lot of halvings to come down. Taken at 10:30pm, 0.5 mg is back under your own night’s peak by 11:50pm to 12:15am. 10 mg isn’t back until 3:45 to 6:45am.

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.

That leftover melatonin is the usual reason for a groggy morning, and taking less, earlier, is the usual fix. The night curve and why am I groggy after melatonin? have the detail, and your dose across the night draws yours.

Light does the same job, harder

In 1980, a team led by A.J. Lewy had a puzzle. Ordinary room light stopped melatonin in other mammals, but tests in people had found nothing, so humans looked immune. They tried a much brighter lamp on six people, and their night melatonin dropped.

Thirty years later, a team at Brigham and Women’s Hospital in Boston checked what an ordinary evening does. In 116 adults aged 18 to 30, room light in the 8 hours before bed made their melatonin start later in 99 percent of them, and cut its night short by about 90 minutes.

Light also moves your clock, in the opposite way to a tablet. Morning light pulls it earlier and evening light pushes it later. A tablet sends the night signal, and an overhead light at 10pm sends the day signal right back. Every window the tools give you comes with a light plan for that reason, lamps only from the dose to bed, and daylight in the morning if you’re moving earlier.

Your phone is a smaller part of it than the room. Is your phone what stops your melatonin? has the studies, and light does the same job, harder has the rest.

The label is a rough guide

In the US melatonin is sold as a dietary supplement, and the FDA doesn’t approve supplements before they reach the shelf. In 2023, researchers measured what was inside 25 US melatonin gummy products. 22 didn’t match their label. One had no melatonin at all, and the rest held 74 to 347 percent of what the label said.

What a 5 mg gummy might hold

  • Anywhere from 3.7 to 17.4 mg
  • Most often 6 to 8.5 mg
In a 2023 lab test of 25 US melatonin gummies, products held 74 to 347 percent of their label, most often 1.2 to 1.7 times it, and one held none (Cohen and others, JAMA).

Count a gummy’s dose as a range, or buy tablets from a brand that has each batch tested by an outside lab. What’s really in a US bottle and are melatonin gummies accurate? show how to check.

Where it does the most

Melatonin does best where the problem is the clock. It does least for long-running insomnia, where the American Academy of Sleep Medicine suggested in 2017 that doctors not use it, and rated that advice weak.

The jobWhat the trials found
Fall asleep fasterAbout 7 minutes faster on average, 5.5 when machines measured it (19 trials, 1,683 people)
Move a late body clock earlierAsleep 34 minutes earlier than on placebo after 4 weeks of 0.5 mg (116 people with late body clocks)
Jet lag, 5 or more time zonesLess jet lag in 9 of 10 trials, at 0.5 to 5 mg taken at bedtime in the new time zone
Sleep after a night shiftAbout 24 minutes more day sleep, on low-quality evidence, and no faster falling asleep
Poor sleep after 500.3 mg restored sleep in poor sleepers over 50, and 3 mg lingered into the morning

Trips are where melatonin does its best work. On its own, your clock moves about 57 minutes a day after flying east and about 92 after flying west, so a dose and daylight at the right hours help you get there sooner. Jet lag and night shifts has both plans, and the jet lag planner makes yours.

Who gets no window and no dose

Three groups get no window and no dose on this site, only the line for their case and the light plan.

  • Children and teens. Talk to your child's doctor before giving melatonin. A regular bedtime routine and morning light come first, and there are no set dosing guidelines for children.
  • Pregnant or breastfeeding. There isn't enough research on melatonin's safety in pregnancy or while breastfeeding, so ask your doctor or midwife before you take it.
  • A prescription medicine every day. Melatonin interacts with some medicines, including fluvoxamine, blood thinners and nifedipine, so ask your prescriber before you start.

For everyone else, the side effects in short trials were mild. Across 37 trials, the most common were daytime sleepiness, headache and dizziness, each in under 2 percent of people. Most of those trials ran a month or less, so nobody knows much about years of nightly use.

The heart headline belongs here too. In November 2025, a conference abstract linked a year or more of melatonin in people’s health records to more heart failure. It hadn’t been peer reviewed, and people buying melatonin over the counter could have ended up in its “no melatonin” group. A 2026 look at US national survey data found no link, and its authors said that doesn’t prove melatonin is safe either. When we checked on November 15, 2026, the abstract still hadn’t come out as a peer-reviewed paper. Is melatonin bad for your heart? has both studies.

Small children swallowing gummies is the risk that keeps growing. The yearly number of reports to US poison centers about children and melatonin rose 530 percent from 2012 to 2021. If a child swallowed melatonin, call Poison Control at 1-800-222-1222, and 911 if they can't be woken or have trouble breathing. Side effects, medicines, pregnancy, children and the heart study covers all of it, and should my teenager take melatonin? covers the teen years.

Test it on your own nights

An average of 7 minutes can’t tell you what melatonin does for you. Your own nights can. Take it on some nights and not on others for two weeks, pick one thing to watch before you start, and leave out the nights you had a drink, since a moderate evening drink cut people’s own melatonin by about a fifth.

If your melatonin nights beat your normal night-to-night swing, keep it. In the worked example on the test page, the difference was 5.5 minutes, inside a normal swing of about 8, which is about the size the trials found. The two-week test does the math.

The rest of your evening

Coffee and drinks work on the same night as melatonin. caffeine.guide works out when your last cup should be, and alcohol.guide has what each drink does to your sleep. On hrv.guide you can see how an evening drink turns up in your overnight heart rate variability, and breathwork.guide has slow breathing for winding down without a pill.

What’s new

  • November 2026. The November 2025 heart failure abstract still hasn’t come out as a peer-reviewed paper.
  • 2026. A study of US national survey data found no link between recent melatonin use and heart disease or heart failure.
  • January 2026. The American Academy of Pediatrics updated its page for parents. Use melatonin only after talking to your pediatrician, and good sleep habits come first.
  • 2024. The US supplement trade group CRN asked its members to put child-deterrent caps on flavored chewable melatonin and to label it for occasional use, weeks after a CDC report on emergency visits for small children.

Melatonin news: what’s changed since 2024 has each one with its date and what it means for you.

What nobody knows yet

  • Whether years of nightly use are fine. Side effects in trials were mild, but most trials ran a month or less, and the US National Center for Complementary and Integrative Health says information on long-term safety is lacking.
  • Whether the heart headline holds. Nobody can say until the full data are published and other researchers have checked them.
  • How much is in your bottle. Until someone outside the company tests every batch, a gummy’s label is a rough guide.

Outside the US, melatonin is often prescription only, so check your own country’s rules.

The simple plan

If you want to sleep better and you’re thinking about melatonin, this is how we’d do it.

  1. Help your own melatonin first, if you want to and can. Give it two weeks of daylight soon after waking, lamps in the evening, a dark bedroom and one wake time. How to increase melatonin naturally has each habit. Flying soon or starting nights? Go straight to the jet lag planner or the night shift planner.
  2. Start with your reason. Find it in the list at the top. If you’re under 18, pregnant or breastfeeding, or take a prescription medicine every day, stop here and ask your doctor first.
  3. Find your hour. Put the time you wake on a day off into the melatonin window. To fall asleep faster, it’s 1 to 3 hours before bed. To move your bedtime earlier, it’s 0.5 mg about 3 hours before your own melatonin starts.
  4. Take a small dose. Start at 0.5 to 1 mg. 3 mg is plenty for most people, and 5 mg is the top. A tablet from a brand that tests each batch is more predictable than a gummy.
  5. Keep the lights low after it. Lamps only until bed, and daylight within an hour of waking if you’re moving your bedtime earlier.
  6. Track two weeks. Take it on some nights and not on others, and note one thing each morning, like how long it took to fall asleep, or let a watch or ring count it for you.
  1. Decide with your own numbers. If your melatonin nights beat your normal swing, keep the smallest dose that did it, at the same hour. If they didn’t, check the hour once, and if it was already right, stop. The two-week test gives you the verdict.
  2. Check again every few months. Run the two weeks again to see if you still need it, since your own melatonin keeps working whether you take a tablet or not.

The quiz puts steps 2 to 5 together for you in eight taps, and every study and tip on this site is in one list, each a line long, to pass on.

30 sources
  1. Gyroscope, Sleep Habits guide, the melatonin linegyrosco.pe
  2. Freeman DI and others, Emergency department visits for unsupervised pediatric melatonin ingestion, United States, 2019-2022, MMWR, 2024pubmed.ncbi.nlm.nih.gov
  3. Ferracioli-Oda E, Qawasmi A, Bloch MH, Meta-analysis: melatonin for the treatment of primary sleep disorders, PLoS One, 2013pubmed.ncbi.nlm.nih.gov
  4. 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
  5. Burgess HJ, Eastman CI, The dim light melatonin onset following fixed and free sleep schedules, Journal of Sleep Research, 2005pubmed.ncbi.nlm.nih.gov
  6. 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
  7. Cruz-Sanabria F and others, Optimizing the time and dose of melatonin as a sleep-promoting drug: a systematic review of randomized controlled trials and dose-response meta-analysis, Journal of Pineal Research, 2024pubmed.ncbi.nlm.nih.gov
  8. Zhdanova IV and others, Melatonin treatment for age-related insomnia, Journal of Clinical Endocrinology and Metabolism, 2001pubmed.ncbi.nlm.nih.gov
  9. Herxheimer A, Petrie KJ, Melatonin for the prevention and treatment of jet lag, Cochrane Database of Systematic Reviews, 2002pubmed.ncbi.nlm.nih.gov
  10. Burkhardt S and others, Detection and quantification of the antioxidant melatonin in Montmorency and Balaton tart cherries, Journal of Agricultural and Food Chemistry, 2001pubmed.ncbi.nlm.nih.gov
  11. Andersen LP and others, Pharmacokinetics of oral and intravenous melatonin in healthy volunteers, BMC Pharmacology and Toxicology, 2016pubmed.ncbi.nlm.nih.gov
  12. Lewy AJ and others, Light suppresses melatonin secretion in humans, Science, 1980pubmed.ncbi.nlm.nih.gov
  13. Gooley JJ and others, Exposure to room light before bedtime suppresses melatonin onset and shortens melatonin duration in humans, Journal of Clinical Endocrinology and Metabolism, 2011pubmed.ncbi.nlm.nih.gov
  14. Khalsa SBS and others, A phase response curve to single bright light pulses in human subjects, Journal of Physiology, 2003pubmed.ncbi.nlm.nih.gov
  15. US Food and Drug Administration, Questions and Answers on Dietary Supplementsfda.gov
  16. Cohen PA and others, Quantity of melatonin and CBD in melatonin gummies sold in the US, JAMA, 2023pubmed.ncbi.nlm.nih.gov
  17. Sateia MJ and others, 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, 2017pubmed.ncbi.nlm.nih.gov
  18. Sletten TL and others, Efficacy of melatonin with behavioural sleep-wake scheduling for delayed sleep-wake phase disorder, PLoS Medicine, 2018pubmed.ncbi.nlm.nih.gov
  19. Liira J and others, Pharmacological interventions for sleepiness and sleep disturbances caused by shift work, Cochrane 2014, summarized in JAMA, 2015pubmed.ncbi.nlm.nih.gov
  20. Eastman CI, Burgess HJ, How to travel the world without jet lag, Sleep Medicine Clinics, 2009pubmed.ncbi.nlm.nih.gov
  21. 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
  22. American Heart Association newsroom, Long-term use of melatonin supplements to support sleep may have negative health effects (a conference abstract, not peer reviewed), November 2025newsroom.heart.org
  23. Khan B, Lima BB, Melatonin and cardiovascular risk: an NHANES reality check after recent heart failure concerns, Open Heart, 2026pubmed.ncbi.nlm.nih.gov
  24. Savvidis C and others, Melatonin supplementation, hyperprolactinemia, and incident heart failure: a proposed prolactin-mediated pathway for cardiovascular risk, World Journal of Experimental Medicine, 2026pubmed.ncbi.nlm.nih.gov
  25. Lelak K and others, Pediatric melatonin ingestions, United States, 2012-2021, MMWR, 2022pubmed.ncbi.nlm.nih.gov
  26. Rupp TL, Acebo C, Carskadon MA, Evening alcohol suppresses salivary melatonin in young adults, Chronobiology International, 2007pubmed.ncbi.nlm.nih.gov
  27. Matsumoto M and others, The amplitude of endogenous melatonin production is not affected by melatonin treatment in humans, Journal of Pineal Research, 1997pubmed.ncbi.nlm.nih.gov
  28. American Academy of Pediatrics, HealthyChildren.org, Melatonin and children's sleep, last updated January 22, 2026healthychildren.org
  29. Nutritional Outlook, CRN adopts new voluntary guidelines on melatonin and gummy supplements, April 18, 2024nutritionaloutlook.com
  30. National Center for Complementary and Integrative Health, Melatonin: What You Need To Know, last updated May 2024nccih.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