What Melatonin Actually Is — Not What the Supplement Industry Tells You

Melatonin is a hormone produced by the pineal gland, a tiny structure deep in the center of your brain. Its primary function is signaling darkness to your body — telling your organs, tissues, and cells that nighttime has arrived and it is time to transition toward sleep. It is a timing signal, not a sedative. This distinction is the single most important thing to understand about melatonin.

In a natural cycle, melatonin production begins rising in the evening as light dims, typically 2 to 3 hours before your usual bedtime. This is called dim light melatonin onset (DLMO) and it marks the opening of your biological sleep window. Levels peak between 2 and 4 AM, then decline toward morning as light exposure suppresses production. Your body naturally produces roughly 0.1 to 0.3 milligrams per night — remember this number when we discuss supplement doses.

Light is the master switch. When your eyes detect bright light, particularly blue wavelengths from screens, LED bulbs, and overhead lighting, the signal to the pineal gland says "daytime" and melatonin production is suppressed. A study in the Journal of Clinical Endocrinology and Metabolism found that ordinary room lighting (less than 200 lux) before bedtime suppressed melatonin by more than 50 percent and shortened its duration by 90 minutes. Bright screens at arm's length deliver 30 to 50 lux — enough to meaningfully suppress melatonin.

This is why the first and most effective step for improving melatonin function is not a supplement — it is managing your light exposure. Bright light in the morning, dim light in the evening. This costs nothing and works better than pills for most people.

When Melatonin Supplements Actually Help — The Evidence

Jet lag: This is where the evidence is strongest. A Cochrane review of 10 trials found that melatonin significantly reduced jet lag symptoms when traveling east across 5 or more time zones. Optimal dose: 0.5 to 5 milligrams taken at the destination's bedtime for 2 to 5 nights. The timing matters more than the dose.

Delayed sleep-wake phase disorder: Common in teenagers and young adults whose biological clock is shifted later — they naturally cannot fall asleep until 2 or 3 AM and cannot wake until late morning. A study in the Journal of Biological Rhythms found that 0.5 milligrams of melatonin taken 5 hours before DLMO (roughly 3 to 5 hours before desired bedtime) advanced the circadian clock by 1.5 hours over a week. This is melatonin working as intended — as a timing signal to shift the clock earlier.

Shift workers: People who need to sleep during daylight hours when their body is not producing melatonin can benefit from supplementation before their daytime sleep period. A study in Sleep Medicine Reviews found modest improvements in daytime sleep duration and quality.

General insomnia — the honest truth: This is where most people use melatonin, and the evidence is underwhelming. A meta-analysis of 19 studies in PLoS One found that melatonin reduced the time to fall asleep by an average of 7.06 minutes and increased total sleep time by 8.25 minutes compared to placebo. Seven minutes. That is the scientific reality behind a supplement that millions of people believe is helping them sleep. If your insomnia is caused by anxiety, depression, pain, sleep apnea, poor sleep hygiene, or medication side effects, melatonin will not solve the problem because the problem is not melatonin timing.

The Dosing Problem — Why Less Is Genuinely More

Your body produces 0.1 to 0.3 milligrams of melatonin per night. Walk into any pharmacy and the most common doses available are 3, 5, and 10 milligrams — 10 to 100 times the physiological amount. This is the equivalent of taking 100 times the normal dose of any other hormone and expecting it to work better.

A study at MIT by Dr. Richard Wurtman, one of the original researchers on melatonin, found that 0.3 milligrams was the optimal dose for improving sleep — it raised blood melatonin to normal nighttime levels. Doses of 1 milligram or higher raised melatonin to supraphysiological levels (3 to 10 times normal), which can desensitize melatonin receptors over time, paradoxically reducing effectiveness.

Higher doses can cause side effects: next-morning grogginess and drowsiness (because melatonin is still in your system), vivid or disturbing dreams (from increased REM sleep intensity), headaches, dizziness, and paradoxically worsened sleep quality. A study in the Journal of Pineal Research found that doses above 1 milligram caused more next-day sleepiness without additional sleep benefit.

And then there is the quality problem. A 2017 study in the Journal of Clinical Sleep Medicine analyzed 31 commercial melatonin supplements: 71 percent did not contain within 10 percent of the labeled dose. The actual melatonin content ranged from minus 83 to plus 478 percent. Even more concerning, 26 percent of supplements contained serotonin — a controlled substance that was not listed on the label and can have significant side effects at high doses. In the United States, melatonin is classified as a dietary supplement, not a drug, meaning the FDA does not verify content, purity, or accuracy of labeling before products reach store shelves.

If you use melatonin: 0.5 to 1 milligram. Not 3. Not 5. Not 10. Take it 2 to 3 hours before your desired bedtime — not right before bed. Choose products from manufacturers that perform third-party testing (look for USP, NSF, or ConsumerLab verification on the label).

What Works Better Than Melatonin for Most Sleep Problems

Light management: Get bright natural light within 30 to 60 minutes of waking (10,000+ lux outdoors, even on cloudy days). This sets your circadian clock and ensures robust melatonin production 14 to 16 hours later. In the evening, dim lights 2 to 3 hours before bed. Use warm-toned bulbs. Put screens away 30 to 60 minutes before sleep. This addresses the actual mechanism of melatonin production rather than bypassing it with a supplement.

Sleep hygiene fundamentals: Consistent wake time every day including weekends (the single most important habit). Cool bedroom (60 to 67°F). Dark room — even small amounts of light suppress melatonin. Caffeine cutoff before noon (half-life of 5 to 6 hours means half of your 2 PM coffee is still in your system at 8 PM). No alcohol — it induces sleep initially but fragments it during the second half of the night.

Cognitive behavioral therapy for insomnia (CBT-I): The gold standard treatment for chronic insomnia, recommended as first-line therapy over all medications by the American College of Physicians. A meta-analysis in the Annals of Internal Medicine found that CBT-I was more effective than sleeping pills for chronic insomnia, with benefits lasting years after treatment ends versus medications whose effects disappear when you stop taking them. CBT-I has response rates of 70 to 80 percent. It is available through therapists, digital apps, and online programs.

A 44-year-old woman had been taking 10mg melatonin nightly for 3 years. She reported it "stopped working" after the first few months but continued taking it anyway. After switching to a sleep hygiene protocol (consistent wake time, morning light, evening screen cutoff) and completing a 6-week digital CBT-I program, her sleep improved more in 6 weeks than it had in 3 years of melatonin. She stopped the supplement entirely. "I was treating the wrong problem," she said. "My body knew how to sleep. I was just doing everything to prevent it."

Safety — What You Need to Know

Short-term melatonin use at appropriate doses (0.5 to 1mg) appears safe in adults. Long-term safety data beyond a few months is limited, and this is worth acknowledging honestly rather than assuming indefinite use is harmless.

Drug interactions: Melatonin can enhance the effects of blood pressure medications (causing excessive lowering), increase the sedative effects of other sleep aids and antihistamines, affect blood sugar levels in people with diabetes, and interact with anticoagulants, immunosuppressants, and seizure medications. Always inform your doctor and pharmacist if you take melatonin.

Children: Pediatric melatonin use has increased by over 530 percent since 2012 according to a study in JAMA Pediatrics, and so have calls to poison control centers for melatonin ingestion — a 530 percent increase between 2012 and 2021. While short-term use appears safe for children with specific circadian rhythm disorders or ADHD-related sleep issues under medical guidance, melatonin should not be the default solution for pediatric sleep problems. Sleep hygiene improvements — consistent bedtime, screen-free wind-down, dark room — should always be tried first. Long-term effects on pubertal development and hormonal systems in children are unknown.

Pregnancy and breastfeeding: Insufficient safety data. Avoid unless specifically directed by your healthcare provider.