Melatonin

Quick answer

Melatonin is a hormone that helps set your body’s sleep-wake timing. Supplements have better support for jet lag and delayed sleep timing than for adult chronic insomnia. Timing matters, and a larger dose is not automatically better. Next-day drowsiness can occur, and long-term safety remains uncertain.

Ask a clinician before use if you take blood thinners, have epilepsy, are pregnant or breastfeeding, or are considering melatonin for a child.

Compare melatonin products We may earn a commission from purchases through our links.

What melatonin does

Melatonin is a hormone your brain produces in response to darkness. According to the National Center for Complementary and Integrative Health (NCCIH), it helps with the timing of circadian rhythms, your body’s roughly 24-hour cycles that include sleeping and waking. That means it is closely linked to your internal clock.

As a supplement, melatonin is usually marketed for sleep. But its role is more specific than many ads suggest. It is often better understood as a signal related to sleep timing than as a guaranteed way to make anyone sleepy on demand.

Where melatonin may help

Jet lag: Melatonin may help with jet lag after travel across time zones. This is a body-clock adjustment problem, so evidence for jet lag should not be treated as evidence that melatonin solves every type of sleep difficulty.

Delayed sleep-wake timing: In delayed sleep-wake phase disorder, the sleep period is shifted later than desired or needed. Melatonin may help with this timing problem, but the schedule for taking it matters. Simply having trouble falling asleep does not establish that a delayed body clock is the cause.

Repeated nighttime waking or chronic insomnia: These are not necessarily body-clock problems. The American Academy of Sleep Medicine’s 2017 pharmacologic guideline made a weak recommendation against melatonin for adults with chronic sleep-onset or sleep-maintenance insomnia. This was a limited-evidence recommendation, not proof that melatonin can never help an individual. It also does not apply to every circadian-rhythm use.

The academy’s 2021 behavioral-treatment guideline strongly recommended clinician-delivered, multicomponent cognitive behavioral therapy for insomnia (CBT-I) for adults with chronic insomnia. CBT-I is a structured treatment, not just general sleep-hygiene advice. Our broader sleep guide covers why a supplement may not address the underlying problem.

Shift work: NCCIH describes the melatonin studies as small, low-quality and inconclusive. Its usefulness for jet lag does not establish that it works equally well for night shifts or rotating schedules.

Is more melatonin always better for sleep?

No. A higher number on the label does not establish better results for your sleep problem. The goal, timing and formulation matter. Check the serving size and the melatonin amount per serving so you know what the label actually declares.

If melatonin is not helping, reassess the sleep problem rather than assume that the dose needs to increase.

Forms, labels and product quality

Tablets, capsules, liquids and gummies are different formats, not proof that one product will work better. Immediate-release products are intended to release melatonin promptly; prolonged- or extended-release products are designed to release it over a longer period. A release claim alone does not establish that a product will prevent nighttime waking or avoid next-day grogginess.

What to compare on a melatonin label
Label checkWhat to look for
Serving and amountMelatonin in milligrams (mg) per serving, plus the number of tablets, gummies or milliliters (mL) in that serving.
Release typeImmediate-, prolonged- or extended-release wording and the product’s directions.
Added active ingredientsMelatonin alone versus a blend, with the declared amount of each ingredient.
Other ingredientsSweeteners, gelatin and ingredients relevant to your allergies or dietary needs.
Independent certificationThe exact product listing and which quality checks the certification covers.

Hypothetical label example: If a serving is two gummies and lists 3 mg of melatonin per serving, the declared amount is 1.5 mg per gummy, not 3 mg per gummy. This is label arithmetic, not a recommended dose or confirmation of measured content.

A blend needs an ingredient-by-ingredient safety check. Research on melatonin alone does not establish that adding L-theanine, herbs or other ingredients makes the finished product more effective.

Do not assume that a prolonged-release tablet can be crushed or split. Check the product instructions with a pharmacist before changing how you take it.

Label accuracy is another limitation. In a 2023 analysis of 25 US melatonin gummy products, 22 were outside the study’s criterion of within 10% of the labeled melatonin amount. Among products with detectable melatonin, measured content ranged from 74% to 347% of the label claim; one product had no detectable melatonin. These findings describe that historical sample, not every current gummy or a current market-wide failure rate.

The FDA regulates dietary supplements but generally does not approve them for safety or effectiveness before marketing. A Supplement Facts panel is not FDA validation of an effective or personally safe dose.

For a quality seal, check which standards it covers and whether the certifier lists the exact product and variant. Certification is not proof that the product treats your sleep problem or is safe for you.

Safe storage matters, especially for gummies. A 2024 CDC report estimated 10,930 US emergency department visits for unsupervised melatonin ingestion among children age 5 or younger during 2019-2022. Most did not result in hospitalization. This is not a side-effect rate for supervised use. Store all melatonin out of children’s sight and reach.

Amounts and timing

Match timing to the sleep problem

Melatonin is especially sensitive to timing because it is tied to circadian rhythms. The appropriate schedule depends on the sleep goal and formulation; a bedtime instruction cannot cover every use.

The serving size, melatonin amount per serving and other ingredients describe the product. They do not establish the right dose or timing for you. A regimen studied in a particular group is not a personal dosing recommendation.

For melatonin for night-shift workers, work pattern, daytime sleep and the drive home need to be considered together, not reduced to a bedtime rule.

How long before bed should you take melatonin?

There is no single interval before bed that fits every use. A schedule intended to shift a delayed body clock may differ from one used for jet lag, and release type matters. For the detailed timing question, see best time to take melatonin.

If next-day grogginess keeps occurring, ask a clinician or pharmacist to review the amount, timing, formulation and other medicines or supplements you take. The melatonin timing and grogginess guide separates these questions without assuming that a stronger product is the answer.

Side effects, interactions and longer-term use

Side effects and what is still unclear

According to NCCIH, short-term melatonin use appears safe for most adults. Mild side effects reported in short-term studies include headache, dizziness, nausea, and sleepiness.

Sleepiness can carry into the next day and interfere with driving or other tasks that require alertness. Do not drive or operate machinery while drowsy.

If your concern is dreaming, see can melatonin cause vivid dreams?

Who should use caution

  • People taking blood thinners or living with epilepsy: NCCIH advises medical supervision when using melatonin.
  • People who are pregnant or breastfeeding: Safety research is inadequate. Ask a clinician before use.
  • Children: Use requires clinician guidance. Long-term effects on development, including puberty, are not well understood. This uncertainty is not proof that melatonin delays puberty.
  • Older adults: Melatonin may remain active longer and cause daytime drowsiness.

Ask a clinician or pharmacist to check your other medicines and supplements, too. These cautions are not a complete interaction list.

When to talk to a clinician

Consider getting clinical guidance if your sleep problem is persistent, worsening, or causing daytime trouble, or if you are not sure whether your problem is really about sleep timing. Seek help as well if melatonin causes bothersome side effects. Persistent nighttime waking deserves an assessment rather than an assumption that a different release type will solve it.

You can also read our guide on when to talk to a clinician.

Is melatonin safe for nightly use?

Long-term safety is not well established. Short-term tolerability does not prove that years of nightly use are equally well understood. If sleep problems persist or you find yourself taking progressively more, reassess the underlying problem and treatment plan with a clinician instead of escalating on your own.

Feeling that you need melatonin to sleep is worth discussing, but that feeling alone does not demonstrate physical addiction.

More specific guides

Editorial information

About this guide

Find our guides again on GoogleAdd as a preferred source