Melatonin for migraines

September 11, 2020

Melatonin is a hormone produced by the pineal gland located in the brain. The release of melatonin helps us fall asleep. Melatonin supplements have been used to treat insomnia. The results of clinical trials, however, are contradictory. This may be because a wide variety of doses have been used. One study suggests that 3 mg of melatonin – a common dose sold in stores – is less effective than 0.3 mg. I usually recommend 0.3 mg (300 mcg) for both insomnia and jet lag.

Melatonin has been tested for the prevention and acute treatment of migraines.

Melatonin was not effective in a study by Norwegian doctors. They gave 2 mg of extended-release melatonin every night for 8 weeks to 46 migraine sufferers. All 46 received also received 8 weeks of placebo in a double-blind crossover trial. Migraine frequency did improve from an average of 4.2 a month to 2.8 in both the melatonin and the placebo groups.

Another blinded trial was done in Brazil by Dr. Mario Peres and his colleagues. It compared 3 mg of immediate-release melatonin with a placebo and with 25 mg of amitriptyline. The study involved 196 patients. The number of headache days dropped by 2.7 days in the melatonin group, 2.18 for amitriptyline, and 1.18 for placebo. Melatonin significantly reduced headache frequency compared to placebo. Amitriptyline did not. Not surprisingly, melatonin was much better tolerated than amitriptyline. Considering its safety and very low cost, it is worth considering a trial of 3 mg of melatonin for the prevention of migraine headaches.

It is possible that, unlike with insomnia, a higher dose is more effective for the prevention of migraines. And, the immediate-release form could be more effective than the sustained-release one.

Melatonin may be effective as an acute treatment for pediatric migraine, according to a study just published by Dr. Amy Gelfand and her colleagues at UCSF. This was an 84-patient trial, although only 46 children completed it. Both low and high doses of melatonin were associated with pain reduction. Higher dose and napping after treatment predicted greater benefit. The benefit was likely an indirect one – melatonin helped children fall asleep and sleep, often in children but also in some adults, can relieve a migraine attack.

Written by
Alexander Mauskop, MD
Continue reading
May 10, 2026
Research
Elismetrep: A Promising New Experimental Migraine Treatment
Elismetrep is a promising experimental migraine medication that targets the TRPM8 pathway rather than serotonin or CGRP. Early clinical trials suggest it may offer a new option for patients who do not respond well to current treatments.
Read article
May 6, 2026
Alternative Therapies
New Research on Brain Excitability and TMS Treatment for Migraine
New research shows how the brain dynamically regulates excitability in real time—and why this matters for transcranial magnetic stimulation (TMS) as a treatment for migraine.
Read article
April 20, 2026
Can the Air You Breathe and the Weather Outside Trigger Your Migraines?
A major new study of over 7,000 migraine patients tracked two decades of air pollution, temperature, and humidity data, and found that the environment isn't just a background player. It's an active trigger.
Read article
Insights from Dr. Alexander Mauskop on headaches and migraines
Subscribe to the Blog.
Subscribe
Subscribe