Melatonin vs Magnesium for Sleep: What Each One Actually Does

By Roy, founder Last updated 12/09/2026

Search "melatonin vs magnesium for sleep" and you'll find plenty on Reddit, nothing written for an Australian reader, and almost nothing that explains why the two get compared in the first place. They turn up in the same articles because they're the two ingredients everyone's heard of. That's about where the similarity ends.

Here's the short version. Melatonin is a hormone. Magnesium is a mineral. One of them needs a prescription for most Australian adults. The other is sitting in the supplement aisle of every chemist and supermarket in the country. That legal gap is not a hint about which one works better. It's a difference in how the two substances are classified, and it's worth understanding on its own terms before you decide what to take.

What melatonin actually is

Melatonin is a hormone your pineal gland makes and releases into your bloodstream. Its job is timing, not sedation. Levels are roughly ten times higher at night than during the day, they start climbing about two hours before your usual bedtime, and they rise further in the darker months. Taking melatonin as a supplement is borrowing that same timing signal from outside the body, which is why it's the standard tool for jet lag and shift work, situations where the body's internal clock and the actual time of day have drifted apart.

In Australia, melatonin is a Schedule 4 medicine by default, which means prescription only. There are two narrow carve-outs where a pharmacist can sell it without a script: a modified-release, 2mg-or-less version for adults 55 and over in packs of 30 or fewer, and an immediate-release, 5mg-or-less version for adults 18 and over, sold specifically for jet lag in packs of 10 doses or fewer. Outside those two lanes, you need to see a doctor. (Source: Healthdirect, healthdirect.gov.au/melatonin; TGA, [Regulation of melatonin products in Australia](https://www.tga.gov.au/news/news-articles/regulation-melatonin-products-australia).) We've written the full breakdown of what's actually legal to buy, at what dose, and what it costs to do properly, in our guide to melatonin over the counter in Australia.

Does it work? A widely cited pooled analysis of melatonin trials found it shortened the time people took to fall asleep by an average of just over seven minutes, and added about eight minutes to total sleep time, with bigger effects at higher doses and over longer use. That's a real, statistically significant result. It's also a modest one in absolute terms. Melatonin is not a switch you flip. It nudges a clock that's already running.

What magnesium actually is

Magnesium is a mineral your whole body runs on, whether you sleep well or not. It's a cofactor in more than 300 enzyme systems, involved in everything from muscle and nerve function to blood pressure and glucose control. Unlike melatonin, it isn't a timing signal for anything. It's one of the raw ingredients your nervous system needs to do its ordinary, all-day, every-day job, and sleep is only a small part of that job.

That framing matters, because it changes what a reasonable claim about magnesium and sleep looks like. Most Australian adults need somewhere between 310mg and 420mg of magnesium a day, from food and any supplement combined. The focus here is narrower: what the trials on magnesium and sleep specifically actually show, which is a thinner and newer body of research than most marketing implies.

A 2021 review pooled three small trials in older adults, 151 people across three countries. Magnesium supplementation cut the time people took to fall asleep by around 17 minutes compared to placebo. Total sleep time also improved, but that result didn't reach statistical significance, which is the more important number to have moved and the one that didn't clear the bar. A smaller, single-site trial that same decade used magnesium oxide, the least-absorbed form on the market, and still found improvement across several self-reported measures, but it's one small study, not a settled finding.

The most relevant trial to a formula like ours is more recent. A 2025 randomised, placebo-controlled study gave 155 healthy adults either 250mg of elemental magnesium as bisglycinate or a placebo for four weeks. The magnesium group's sleep-difficulty score improved more than the placebo group's, and the result was statistically significant, but only just, and the effect size was small. That is genuinely the best single piece of evidence for magnesium glycinate and sleep available right now, and even it only supports a modest, honestly-stated claim. Anyone telling you magnesium is proven to fix a bad night is overstating research that's still being built.

Is melatonin better than magnesium for sleep?

Wrong question, asked constantly. They're not competing to do the same job, so "better" doesn't really land anywhere. Melatonin is a targeted tool for a timing problem: your body clock says one thing, the actual time says another, and melatonin helps close that gap. That's a genuinely useful job when it's the job you have, which is why it's restricted to specific situations in Australia rather than sold freely for general use.

Magnesium isn't trying to reset a clock. It's a nutritional input your nervous system uses constantly, and the sleep-specific research above suggests topping it up may help some people wind down, particularly if their diet is running short. That's a different claim, working through a different mechanism, aimed at a different problem.

The Australian access gap is real and worth naming plainly: melatonin needs a prescription for almost everyone, magnesium doesn't need one for anybody. That's a fact about regulation, not a verdict on which ingredient does more. If you're dealing with a genuine circadian mismatch, jet lag, shift work, talk to a pharmacist or doctor about melatonin, and use the guide linked above for the costs and options. If you're after a nightly nutritional top-up as part of a wind-down routine, magnesium is the one you can walk in and buy today, and the form you choose matters more than most labels let on.

Which magnesium is worth taking for sleep?

Walk down the supplement aisle and you'll see oxide, citrate, glycinate and threonate, often at wildly different prices for what looks like the same mineral. The form changes how much of it your body actually absorbs, and that's the whole ball game.

Magnesium oxide is the cheapest and most common form, and it's roughly 60% elemental magnesium by weight, which looks impressive on paper. The catch is absorption: oxide is poorly absorbed relative to the other forms here, which is exactly why higher doses of it are sold as a laxative. If a magnesium supplement has ever sent you straight to the bathroom, oxide is the usual reason.

Magnesium citrate absorbs meaningfully better than oxide. A well-designed comparison giving adults 300mg of elemental magnesium a day for 60 days found citrate and a chelated amino-acid form both showed significantly higher absorption than oxide. It's a reasonable general-purpose choice, though it can still lean laxative at higher doses.

Magnesium glycinate, magnesium bound to the amino acid glycine, is the form most sleep-specific products reach for, including ours. Forms like this generally absorb better than plain mineral salts and sit more gently on the stomach, without the laxative lean of oxide or citrate at higher doses. Worth being precise about the evidence here, because this is where most labels stretch: the 2025 trial above used a bisglycinate at 250mg of elemental magnesium, which is both a purer chelate and a higher dose than most nightly formulas carry. Read it as support for the glycinate family generally, not as a result any particular product gets to claim as its own.

Magnesium threonate is the newest and most expensive form, marketed heavily on a 2010 animal study that found it raised magnesium levels in the brain tissue of rats. The human research on threonate and sleep is recent, small and largely funded by the companies selling it, and none of it has directly measured whether the same thing happens in a human brain. Of the four forms here, it's the one with the biggest gap between the marketing and the evidence backing it.

Whatever form you're weighing up, check the label does two things: names the actual compound (not a vague "proprietary blend"), and states the elemental magnesium figure, not just the compound weight. A jar that only shows "magnesium glycinate 1,000mg" in large type is telling you almost nothing about the actual dose. For what that elemental number should be, and how to weigh it against the Australian recommended intake, see how much magnesium you actually need a night.

When to take magnesium before bed

There's no clinical trial pinning down an exact number of minutes, so treat this as practical convention rather than settled science: most people take magnesium 30 to 60 minutes before bed, as part of a wind-down rather than swallowed at the sink on the way past. The trials above dosed it daily rather than at a precisely timed moment, and magnesium doesn't have melatonin's circadian trigger to work around. What seems to matter more than the exact minute is consistency, taking it at roughly the same point in your evening most nights, as one part of a routine rather than a one-off fix on a bad night.

Melatonin is different, because its whole job is timing. If a pharmacist or doctor has you on it, follow their guidance on when to take it rather than general advice from an article, since the dose, form and timing are tied to the specific problem you're using it for.

Common questions

Is melatonin better than magnesium for sleep? They're not really comparable, because they're not doing the same job. Melatonin is a hormone that signals timing, useful for jet lag and shift work, and restricted to a prescription or two narrow pharmacist-only exceptions in Australia. Magnesium is a mineral your nervous system needs regardless of your sleep, freely available, with a smaller and newer body of evidence specifically on sleep. Which one is right for you depends on the actual problem, not on which ingredient sounds stronger.

Can you take magnesium and melatonin together? There's no specific safety flag against it in the sources reviewed for this article, but melatonin in Australia sits behind a prescription or a pharmacist consult for good reason, and a pharmacist or doctor is the right person to ask, since they can see your full picture. This article isn't medical advice.

Which magnesium is best for sleep, glycinate or citrate? Glycinate is the form most sleep-specific products use, including Settl, because it's well absorbed and gentle on the stomach. Citrate is also well absorbed and a reasonable general-purpose choice, though it leans laxative at higher doses. Both outperform magnesium oxide, the cheapest and least absorbed of the common forms. No head-to-head trial comparing glycinate against citrate for sleep specifically was found for this article, so treat any claim that one is definitively "better" than the other for sleep with caution.

Is magnesium glycinate safe to take every night in Australia? Magnesium from food has no upper limit, but supplemental magnesium has an Australian upper level of 350mg a day from non-food sources, set out in full on the RDI page linked above. Settl's 146mg of elemental magnesium sits well under that, with room for the rest of your day's supplements or diet.

Where Settl sits in this

Get to sleep faster. Wake less at 3am. Sleep deeper. Wake up refreshed. That's what Settl is built to do, and it does it without melatonin. We've written the full case for that choice separately, including what we use instead of a hormone to help you wind down, on why Settl has no melatonin.

Each scoop carries 730mg of magnesium glycinate, delivering 146mg of elemental magnesium, dosed alongside six other actives including 3,000mg of glycine and 200mg of L-theanine, plus an electrolyte base that holds hydration through the night as a supporting part of the formula, not the headline. Every dose is printed on the ingredients page and on the tub. No proprietary blends, no hidden numbers. Packed in Sydney, in a TGA-licensed GMP facility.

One scoop, cold water, before bed.

Cheers, Roy

---

*Sources: Healthdirect, "Melatonin"; TGA, "Regulation of melatonin products in Australia"; Therapeutic Goods (Poisons Standard-June 2026) Instrument 2026; PLoS ONE melatonin meta-analysis (Ferracioli-Oda et al, 2013); BMC Complementary Medicine and Therapies magnesium systematic review (Mah & Pitre, 2021, corrected 2024); Nature and Science of Sleep magnesium bisglycinate trial (Schuster et al, 2025); Magnesium Research bioavailability comparison (Walker et al, 2003); NIH Office of Dietary Supplements, Magnesium Fact Sheet for Health Professionals. This article explains the general research picture in plain English and isn't medical advice. If you're considering melatonin, talk to a pharmacist or your GP about what's appropriate for you.*