How to take melatonin: the hour matters more than the milligrams
On this page
- If you can, start with your own
- Why are you taking it?
- Melatonin is dusk you can schedule
- Your own melatonin starts on your clock
- The hour changes the direction
- Less is often enough
- A big dose is still there at the alarm
- Light does the same job, harder
- The label is a rough guide
- Where it does the most
- Who gets no window and no dose
- Test it on your own nights
- The rest of your evening
- What’s new
- What nobody knows yet
- 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.

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 want to and can Make more of your own Daylight soon after you wake, lamps in the evening, a dark bedroom and one wake time. Free, and it works at any age. How to increase melatonin naturally -
Flying 5 or more time zones Get over jet lag 0.5 to 5 mg at bedtime in the new time zone for the first 4 nights, and daylight at the right hours. Light alone does a lot of it. Plan your trip, a card a day -
Working nights Sleep after a night shift One day-sleep block at the same hours, dark glasses home and a dark room. A dose of 0.5 to 1 mg adds about 24 minutes. Plan your day sleep
If you do take it, three moves get the most from it.
What we'd do
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.
Smaller. Start at 0.5 to 1 mg. 3 mg is plenty for most people, and 5 mg is the top.
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.
-
I'd rather not take a pillHow to help your body make more of its own, if you want to and can. -
I'm choosing a bottleWhy a gummy's label is a rough guide, and what to buy instead. -
I'm worried about side effectsWhat 37 trials found, and what nobody has tested yet. -
My child won't sleepWhat pediatricians say to try first. No dose here. -
I take 5 or 10 mgHow far past your own night a big dose goes, and how long it stays. -
I can't fall asleepThe hour to take it for that job, and how many minutes it buys. -
I wake up groggyUsually too much, too late. The fix is in the curve. -
I have a drink most eveningsWhat a drink does to your own melatonin, and why to skip the tablet. -
I'm a night owlMove your bedtime earlier with a small dose late in the day and morning light. -
I'm flying across time zonesWhen to take it, and when to find or dodge daylight, day by day. -
I take it every nightWhat years of nightly use look like, and how to test if you still need it. -
I saw the heart headlineAn unreviewed 2025 abstract, and the 2026 study that found no link. -
I wake at 3amWhen a middle-of-the-night dose still clears by your alarm. -
I work nightsOne day-sleep block, dark glasses home, and where a dose fits. -
I'm over 60Why a smaller dose suits an older body better. -
My teenager is up past midnightA teen's clock runs late. What moves it back. No dose here. -
Worry keeps me awakeWhere melatonin calmed nerves in trials, and where it didn't. -
I'm pregnant or breastfeedingNot enough research on safety, so it's a question for your doctor. -
I take a daily prescriptionThe medicines it interacts with. Ask your prescriber first.
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
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 here moves you earlier
- A tablet here moves you later
- Light here pushes later
- Light here pulls earlier
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
- 0.3 mg 1x level with it
- 0.5 mg 1.7x back under it by 11:50pm to 12:15am
- 1 mg 3x back under it by 12:45 to 1:45am
- 3 mg 10x back under it by 2:10 to 4:10am
- 5 mg 17x back under it by 2:50 to 5:15am
- 10 mg 33x back under it by 3:45 to 6:45am
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
- 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
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
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 job | What the trials found |
|---|---|
| Fall asleep faster | About 7 minutes faster on average, 5.5 when machines measured it (19 trials, 1,683 people) |
| Move a late body clock earlier | Asleep 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 zones | Less 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 shift | About 24 minutes more day sleep, on low-quality evidence, and no faster falling asleep |
| Poor sleep after 50 | 0.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.
- 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.
- 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.
- 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.
- 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.
- Keep the lights low after it. Lamps only until bed, and daylight within an hour of waking if you’re moving your bedtime earlier.
- 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.
- 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.
- 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
- Gyroscope, Sleep Habits guide, the melatonin linegyrosco.pe
- Freeman DI and others, Emergency department visits for unsupervised pediatric melatonin ingestion, United States, 2019-2022, MMWR, 2024pubmed.ncbi.nlm.nih.gov
- Ferracioli-Oda E, Qawasmi A, Bloch MH, Meta-analysis: melatonin for the treatment of primary sleep disorders, PLoS One, 2013pubmed.ncbi.nlm.nih.gov
- 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
- Burgess HJ, Eastman CI, The dim light melatonin onset following fixed and free sleep schedules, Journal of Sleep Research, 2005pubmed.ncbi.nlm.nih.gov
- 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
- 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
- Zhdanova IV and others, Melatonin treatment for age-related insomnia, Journal of Clinical Endocrinology and Metabolism, 2001pubmed.ncbi.nlm.nih.gov
- Herxheimer A, Petrie KJ, Melatonin for the prevention and treatment of jet lag, Cochrane Database of Systematic Reviews, 2002pubmed.ncbi.nlm.nih.gov
- 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
- Andersen LP and others, Pharmacokinetics of oral and intravenous melatonin in healthy volunteers, BMC Pharmacology and Toxicology, 2016pubmed.ncbi.nlm.nih.gov
- Lewy AJ and others, Light suppresses melatonin secretion in humans, Science, 1980pubmed.ncbi.nlm.nih.gov
- 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
- Khalsa SBS and others, A phase response curve to single bright light pulses in human subjects, Journal of Physiology, 2003pubmed.ncbi.nlm.nih.gov
- US Food and Drug Administration, Questions and Answers on Dietary Supplementsfda.gov
- Cohen PA and others, Quantity of melatonin and CBD in melatonin gummies sold in the US, JAMA, 2023pubmed.ncbi.nlm.nih.gov
- 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
- 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
- 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
- Eastman CI, Burgess HJ, How to travel the world without jet lag, Sleep Medicine Clinics, 2009pubmed.ncbi.nlm.nih.gov
- 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
- 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
- Khan B, Lima BB, Melatonin and cardiovascular risk: an NHANES reality check after recent heart failure concerns, Open Heart, 2026pubmed.ncbi.nlm.nih.gov
- 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
- Lelak K and others, Pediatric melatonin ingestions, United States, 2012-2021, MMWR, 2022pubmed.ncbi.nlm.nih.gov
- Rupp TL, Acebo C, Carskadon MA, Evening alcohol suppresses salivary melatonin in young adults, Chronobiology International, 2007pubmed.ncbi.nlm.nih.gov
- 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
- American Academy of Pediatrics, HealthyChildren.org, Melatonin and children's sleep, last updated January 22, 2026healthychildren.org
- Nutritional Outlook, CRN adopts new voluntary guidelines on melatonin and gummy supplements, April 18, 2024nutritionaloutlook.com
- National Center for Complementary and Integrative Health, Melatonin: What You Need To Know, last updated May 2024nccih.nih.gov