Everything in this guide
Updated November 15, 2026.
The guide
How to take melatonin: the hour matters more than the milligrams
How to take melatonin: it tells your body what time it is, so the hour matters more than the milligrams. Take it earlier, take less, keep the room dim, and test it.
How to increase melatonin naturally
If you want to and you can, help your own melatonin first. Morning daylight, dim evenings, a dark bedroom and one wake time do far more than any food.
What is melatonin?
A hormone your brain releases as it gets dark, to tell your body it's night. A tablet is the same molecule sent early, with a small push toward sleep.
When does your body start making melatonin?
About 2.5 hours before your usual bedtime. The time you wake on a day with no alarm predicts it best, within 1.5 hours for 22 of 23 people tested.
Melatonin timing: why the hour changes the direction
Taken a few hours before your own melatonin starts, it moves your clock earlier. Taken just after waking, it moves it later. 0.5 mg moved it as far as 3 mg.
Melatonin dosage: why less is often enough
0.3 mg brings blood levels to about a normal night's peak. The sleep effect grew up to about 4 mg, and jet lag trials found nothing more above 5 mg.
How long melatonin stays in your system
A tablet peaks about 40 minutes after you swallow it, then halves about every 54 minutes, so 0.5 mg at 10:30pm clears by midnight and 10 mg lasts until near morning.
Melatonin and light: what lamps, screens and daylight do
Room light before bed made melatonin start later in 99 percent of people in one study. Morning light moves your clock earlier and evening light moves it later.
What's really in a bottle of melatonin
Nobody checks a supplement before it's sold. In a 2023 test, 22 of 25 US gummies missed their label, from 74 to 347 percent, and one had no melatonin at all.
Melatonin for jet lag and night shifts
Your clock moves about 57 minutes a day after flying east and 92 after flying west. Melatonin helps after 5 or more time zones, and a little after night shifts.
Is melatonin safe? Side effects, medicines, children and the heart study
Usually mild in short trials, a few real drug interactions, no safety research in pregnancy, a growing risk for small children, and an unproven heart headline.
Melatonin news: what's changed since 2024
The heart abstract is still unreviewed, a 2026 survey study found no link, children's poisonings led to new packaging guidelines, and pediatricians updated their advice.
Questions
Are melatonin gummies accurate?
Mostly not. In a 2023 lab test of 25 US gummies, 22 missed their label, from 74 to 347 percent, and one had no melatonin at all.
Can I take melatonin in the middle of the night?
Only a small dose, with 5 or more hours left in bed. On our model a 3 mg tablet at 3am stays above your own night peak until about 6:40 to 8:40am.
Can I take melatonin while pregnant?
Ask your doctor or midwife first. There isn't enough research on melatonin's safety in pregnancy or while breastfeeding, so any dose is their call.
Can you take melatonin during the day?
Mostly no. In the day it makes you drowsy, and in the morning it can push your clock later. The exceptions are a late-afternoon dose and sleep after a night shift.
Can you take melatonin every night?
Short courses look low-risk in trials, and the effect didn't fade with use. Years of nightly use haven't been well studied, so check that you still need it.
Can you take melatonin with alcohol?
It won't undo the drink. A moderate evening drink cut people's own melatonin by about a fifth, and both make you drowsy, so skip the tablet on drinking nights.
Does melatonin cause vivid dreams?
People report it, but trials haven't pinned it down. Nightmares turned up only rarely across 37 trials. If it happens to you, try a smaller, earlier dose.
Does melatonin help with anxiety?
Before surgery, yes. In trials it eased nerves more than a placebo did, and in two it matched a standard sedative. For worry that keeps you up at night, they say little.
Does melatonin help with jet lag?
Yes, after 5 or more time zones. Take 0.5 to 5 mg at bedtime in the new time zone for the first few nights, starting low, and time your daylight too.
Does melatonin help you sleep after a night shift?
A little. In trials it added about 24 minutes of daytime sleep, on low-quality evidence, and didn't help people fall asleep faster. A dark room does more.
Does melatonin interact with medications?
With some. Fluvoxamine made melatonin levels 17 times higher, and melatonin raised blood pressure about 6.5 points in people on nifedipine. Ask your prescriber first.
How do I fix my sleep schedule with melatonin?
Take 0.5 mg about 5 hours before your usual bedtime, keep one wake time and get morning light. Then move bedtime and dose earlier a little every few days.
How long before bed should I take melatonin?
One to three hours, not at lights out. In a 2024 analysis of 26 trials, earlier doses did better, and the authors suggested about 3 hours before bed.
How long does it take for melatonin to work?
A tablet peaks in your blood about 40 minutes after you swallow it, which is why the window to take it starts 1 to 3 hours before bed.
How long does melatonin last?
Half is gone about an hour after the peak, so 0.5 mg at 10:30pm is back to a normal night level by about midnight. A 10 mg tablet can stay above it until near morning.
How much melatonin is too much?
Trials up to 12 mg found mostly mild side effects, and nothing extra above 5 mg for jet lag. If a child swallowed some, call Poison Control at 1-800-222-1222.
How much melatonin should I take?
Start at 0.5 to 1 mg. 3 mg is plenty for most people and 5 mg is the top, since jet lag trials found nothing more above it and 0.5 mg moved the clock as far as 3 mg.
How much melatonin should older adults take?
Lower is better. In adults over 50, 0.3 mg restored sleep while 3 mg lingered into daylight, and melatonin may stay active longer with age. Start at 0.3 to 0.5 mg.
Is 10 mg of melatonin too much?
For almost everyone, yes. It's about 33 times the 0.3 mg that restored sleep in adults over 50, and jet lag trials found nothing extra above 5 mg.
Is 3 mg of melatonin too much?
Not too much, but often more than you need. In adults over 50, 3 mg helped sleep but stayed in the blood into daylight, while 0.3 mg also worked.
Is 5 mg of melatonin too much?
It's the top of the useful range. Jet lag trials found nothing more above 5 mg, and a 5 mg gummy may hold anywhere from 3.7 to 17 mg.
Is melatonin addictive?
There's no sign of it. The effect didn't wear off in trials, and people's own melatonin came back at the same height after a week of taking it.
Is melatonin bad for your heart?
That hasn't been shown. The heart failure headline came from a 2025 abstract, not peer reviewed, that couldn't separate melatonin from bad insomnia. Checked 2026-11-14.
Is melatonin FDA approved?
No. In the US it's sold as a dietary supplement, and the FDA doesn't approve supplements or their labels before they go on sale.
Is melatonin safe for kids?
Talk to your child's doctor first. Pediatricians say sleep habits come first, there are no set dosing guidelines for children, and gummies vary a lot.
My child ate melatonin gummies. What should I do?
Call Poison Control now at 1-800-222-1222. Most children who swallow melatonin have no symptoms. Call 911 if they can't be woken or have trouble breathing.
Should I take extended-release or regular melatonin?
Regular helps you fall asleep, and extended-release spreads the dose to help you stay asleep. In older adults with insomnia, that's what each one did.
Should I take melatonin or magnesium for sleep?
They do different jobs. Melatonin sets your body clock's timing, and magnesium lowered an insomnia score slightly more than placebo in a 2025 trial of 155 adults.
Should my teenager take melatonin?
Ask their doctor first, since there are no set melatonin doses for teens. A teen's body clock runs late, so one wake time and morning light come first.
What are the side effects of melatonin?
Usually mild. Across 37 trials the most common were daytime sleepiness, headache and dizziness, each in under 2 percent of people.
What does melatonin do?
It tells your body clock it's night. A tablet makes you a little sleepy and moves your clock earlier or later, depending on the hour you take it.
When should I take melatonin?
It depends on the job. 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.
Why am I groggy after melatonin?
Usually the dose was too big or too late. In adults over 50, 3 mg at bedtime stayed in the blood into daylight, and daytime sleepiness is its top side effect.
Why isn't melatonin working for me?
Usually it's the hour, the light or the job. Taken at lights out in a bright room, the average effect is a few minutes, about 7 minutes faster to fall asleep.
Myths
Is melatonin a sleeping pill?
Not the way you think. It tells your body it's night. Across 19 trials it got people to sleep about 7 minutes faster, and moving your clock is the bigger job.
Does a bigger dose of melatonin work better?
Sort of. The sleep effect grew up to about 4 mg in 26 trials. Jet lag trials found nothing more above 5 mg, and 0.5 mg moved the clock as far as 3 mg.
Should you take melatonin right at bedtime?
No. Earlier did better, about 3 hours before bed to fall asleep faster and about 5 hours before your usual bedtime to move your body clock earlier.
Does a gummy's label tell you how much melatonin you're taking?
No. In a 2023 test of 25 US gummies, 22 missed their label, from 74 to 347 percent, and one had no melatonin at all. Most held more than they said.
Does taking melatonin make your body stop making its own?
No. In 21 night workers on 0.5 mg for a week, their own melatonin came back at the same height. The tablet shifted their timing and left their own output alone.
Does melatonin cause heart failure?
Not shown. The headline came from an unreviewed 2025 abstract that couldn't tell melatonin apart from bad insomnia. A 2026 look at US survey data found no link.
Is melatonin safe for kids because it's natural?
Not the way you think. Your body makes it, but a gummy can hold over three times its label, and poison center reports for children rose 530 percent in ten years.
Is your phone what stops your melatonin?
Sort of. The room does most of it. Room light before bed delayed melatonin in 99 percent of people, and after a bright day, two hours on a tablet changed nothing.
Are tart cherries a natural dose of melatonin?
No. You'd need about 49 pounds of tart cherries to match one 0.3 mg tablet. The juice did help sleep a little in a 20-person trial, and it isn't clear why.
Tools
The melatonin window
Your wake time on a free day and your job in: when your own melatonin starts, and the hour and dose to take it.
Your dose across the night
Guess first, then watch your dose against your own night: when it falls back under it, and what's left at your alarm.
The jet lag planner
Two cities and a date in: a card a day with when to take it, when to wear dark glasses and when to get outside.
The night shift planner
Your shift in: one day-sleep block, the light to dodge on the way home, and where melatonin fits.
Does it work for you?
Fourteen nights on and off it: whether your melatonin nights beat your normal night-to-night swing.
When should I take melatonin, and how much?
Eight taps: when your own melatonin starts, the hour and the dose for your job, and a two-week test.
Track it in Gyroscope
With Gyroscope One, snap the bottle when you take it and see your melatonin nights against your usual sleep.