Magnesium and melatonin do different jobs, so neither one is simply "better." Melatonin is a hormone that shifts the timing of your body clock, and its evidence is clearest for jet lag. Magnesium is an essential mineral that supports normal muscle and nerve function and restful sleep,† and research on magnesium for sleep is still small. Some people use one, some use both. Check with your provider before combining them.
They can both show up in an evening routine, but for different reasons. Here's how they differ, what the evidence actually says, and how to think about which one fits.
What is melatonin?
Melatonin is a hormone made by your pineal gland as it gets dark. It's a timing signal: it helps tell your body that night has started. That's why it's mostly discussed for situations where your body clock and your schedule are out of sync.
According to the National Center for Complementary and Integrative Health (NCCIH), melatonin may help with jet lag and with delayed sleep-wake phase, where someone naturally falls asleep and wakes up much later than usual. NCCIH also notes that clinical guidelines have recommended against melatonin for chronic insomnia in adults.
What is magnesium?
Magnesium is an essential mineral, which means your body needs it and can't make it. It's involved in more than 300 enzyme systems, including the ones behind normal muscle and nerve function.† It doesn't act as a timing signal the way melatonin does. It's a nutrient your body uses all day, every day.
The NIH Office of Dietary Supplements notes that many people in the United States take in less magnesium from food than recommended, which is one reason it's a common supplement.
How do they work differently?
- Melatonin works on when: it shifts the timing of your body clock.
- Magnesium works on what your body has to work with: it supports normal muscle and nerve function, and many people take it to support relaxation and a restful evening routine.†
Because they work so differently, "which is stronger?" is the wrong question. The better question is what you're trying to support.
| Melatonin | Magnesium | |
|---|---|---|
| What it is | A hormone your body makes as it gets dark | An essential mineral you get from food |
| What it does | Signals the timing of your body clock | Supports normal muscle and nerve function† |
| Where the evidence is clearest | Jet lag and a delayed body clock | Meeting daily needs; sleep research is still small |
| Common use | Short-term, around travel or schedule changes | Daily, as part of a routine |
| Check with a provider if | You take other medicines, or plan nightly long-term use | You have kidney problems or take antibiotics or other medicines |
What does the research say about sleep?
Here's the honest version. Melatonin's evidence is clearest for timing problems such as jet lag. A Cochrane review found that melatonin taken close to the target bedtime reduced jet lag in nine of ten trials of flights crossing five or more time zones (Herxheimer 2002*). In people with primary sleep disorders, a meta-analysis of 19 placebo-controlled trials with 1,683 participants found the effect was modest: people fell asleep about 7 minutes sooner and slept about 8 minutes longer (Ferracioli-Oda 2013*).
For magnesium, NCCIH notes that research specifically on sleep is limited, and there isn't yet enough rigorous evidence to say how well magnesium supplements help with sleep disorders.
For long-term sleep problems, the first-line approach recommended by the National Heart, Lung, and Blood Institute is cognitive behavioral therapy for insomnia (CBT-I), not a supplement. If you're struggling with sleep for weeks at a time, start with a health-care provider.
When might melatonin fit?
- Crossing several time zones
- Shifting your schedule, for example after night shifts
- A body clock that runs much later than your day allows
When might magnesium fit?
- You want a non-hormonal addition to an evening wind-down routine
- Your diet may be low in magnesium-rich foods such as leafy greens, nuts, seeds, beans and whole grains
- You want to support normal muscle and nerve function every day†
Does the form of magnesium matter?
Yes. Magnesium comes bound to different compounds, and they don't all behave the same way. Bisglycinate is magnesium bonded to the amino acid glycine. In a small crossover study comparing it with magnesium oxide, overall absorption was similar, but the bisglycinate was better tolerated by every participant and was taken up faster (Schuette 1994*).† That's why it's known as a form that's gentle on the stomach and less likely than magnesium oxide to loosen stools.†
NUTRAFORM uses Albion® TRAACS® magnesium bisglycinate chelate, as capsules (72 mg elemental magnesium each) or an unflavored powder (200 mg per scoop).
Can you take magnesium and melatonin together?
They work in different ways, and some people use both. Because melatonin is a hormone, and because both can interact with some medications, ask your health-care provider before combining them.
Who should talk to a health-care provider first?
Check with your health-care provider before starting either one if you're pregnant or nursing, have kidney problems, have a medical condition, or take medication. That includes some antibiotics and other medicines that can interact with magnesium.
Frequently asked questions
Is magnesium a sleeping pill?
No. It's an essential mineral, not a sedative or a hormone. Many people simply take it as part of their evening routine.
When should I take magnesium?
Follow the label. NUTRAFORM capsules: take 1 capsule, 1–2 times daily, or as directed by your health-care practitioner. Powder: mix one scoop (3 g) into 8 fl oz of water and stir until fully dissolved. Many people choose the evening.
Why does the label list 720 mg and 72 mg?
720 mg is the weight of the magnesium bisglycinate compound in each capsule. 72 mg is the elemental magnesium it provides, the number that counts toward your daily intake.
Is melatonin safe to take every night?
That's a question for your health-care provider. NCCIH notes that guidelines don't recommend melatonin for chronic insomnia in adults.
References
- National Center for Complementary and Integrative Health (NCCIH). Melatonin: What You Need To Know. nccih.nih.gov
- NCCIH. Sleep Disorders: In Depth. nccih.nih.gov
- NIH Office of Dietary Supplements. Magnesium: Fact Sheet for Health Professionals. ods.od.nih.gov
- National Heart, Lung, and Blood Institute. Insomnia: Treatment. nhlbi.nih.gov
- Herxheimer A, Petrie KJ. Melatonin for the prevention and treatment of jet lag. Cochrane Database Syst Rev. 2002;(2):CD001520. DOI 10.1002/14651858.CD001520. PMID 12076414*
- Ferracioli-Oda E, Qawasmi A, Bloch MH. Meta-analysis: melatonin for the treatment of primary sleep disorders. PLoS One. 2013;8(5):e63773. DOI 10.1371/journal.pone.0063773. PMID 23691095*
- Schuette SA, Lashner BA, Janghorbani M. Bioavailability of magnesium diglycinate vs magnesium oxide in patients with ileal resection. JPEN J Parenter Enteral Nutr. 1994;18(5):430–5. PMID 7815675*


