
Short answer: nobody has run the study that would answer this. The comparison everyone argues about, glycinate versus citrate versus oxide for sleep, has essentially never been tested head to head in humans. The entire randomised evidence for magnesium and insomnia is three trials covering 151 people, and the meta-analysis pooling them rates its own findings as low to very low quality.
That does not make magnesium useless. It makes the confidence with which forms are recommended online completely unearned, and it changes what a sensible decision looks like.
What the randomised evidence actually is
Mah and Pitre pooled every randomised controlled trial they could find on oral magnesium for insomnia in older adults. Three qualified.
| What was pooled | Result |
|---|---|
| Trials | 3 |
| Participants | 151, across three countries |
| Time to fall asleep | 17.36 minutes shorter than placebo (95% CI −27.27 to −7.44, p = 0.0006) |
| Total sleep time | 16.06 minutes longer, not statistically significant (p = 0.15) |
| Risk of bias | Moderate to high in every trial |
| Certainty of evidence | Low to very low |
Seventeen minutes off sleep onset is a real number and worth having. But read the bottom two rows before you decide what it means, because the authors are unusually direct about them.
All trials were at moderate-to-high risk of bias and outcomes were supported by low to very low quality of evidence. The authors have limited confidence in the effect estimates; that is to say, for each outcome, the true effect may be substantially different from the estimates of effect pooled or reported.
Mah and Pitre, BMC Complementary Medicine and Therapies, 2021
"The true effect may be substantially different" is about as plain as a systematic review gets. And note the population: older adults with insomnia. A healthy thirty-year-old who sleeps reasonably well is outside what these trials studied.
The form question, and why it has no answer
This is where the internet is most confident and the literature is most silent.
The trials in the meta-analysis used magnesium oxide and magnesium citrate. Glycinate, the form most recommended for sleep, is barely represented in randomised sleep research at all. So the near-universal advice to pick glycinate over citrate for sleep is not a finding. It is an inference from absorption data, and absorption is not the outcome anyone cares about.
What is genuinely known about the forms is narrower than the debate assumes:
Oxide is poorly absorbed and cheap. It contains a lot of elemental magnesium per tablet and delivers little of it. It is also the form most likely to loosen your bowels, which is why it doubles as a laxative.
Citrate absorbs better than oxide. This is reasonably established and is a real difference.
Glycinate is gentler on the gut. This is the strongest claim you can make for it honestly, and it is not nothing: if oxide gives you diarrhoea, glycinate probably will not, and a supplement you tolerate is a supplement you take.
The glycine part is a separate argument. Glycine itself has some small trials on sleep quality. If glycinate works better for sleep, that may be the glycine rather than the magnesium, which nobody has disentangled.
The question underneath all of this
Are you actually deficient?
Magnesium is not a sedative. The mechanism by which it could plausibly help sleep runs through correcting a shortfall, and the trials were run in populations where shortfall is common. If your intake is adequate, the reasoning that supports supplementing largely disappears.
| Group | RDA (elemental magnesium) |
|---|---|
| Men 19–30 | 400 mg/day |
| Men 31+ | 420 mg/day |
| Women 19–30 | 310 mg/day |
| Women 31+ | 320 mg/day |
Food sources are unglamorous and effective: pumpkin seeds, almonds, spinach, black beans, dark chocolate, wholegrains. A serious dietary shortfall is worth correcting for reasons that have nothing to do with sleep.
One important wrinkle: a blood test will not tell you. Only about 1% of body magnesium is in serum, and levels there are held stable at the expense of the stores. A normal serum magnesium is compatible with low total-body magnesium, which is why "my bloods were fine" is weaker evidence than it sounds.
The upper limit that people miss
The tolerable upper intake level for supplemental magnesium is 350 mg per day for adults. That limit applies to what comes from pills, not to what comes from food; magnesium from food has no upper limit set, because the gut regulates it.
This matters because many sleep products contain 400 mg or more per serving, above the supplemental limit, and the first sign of too much is gastrointestinal rather than dangerous. In people with impaired kidney function the picture is different and more serious, which is the one case where this is a conversation to have with a doctor rather than a shelf.
What to actually do
Start from food for a fortnight. If you are well short of the RDA, close that gap first. It is cheaper, it has no upper limit, and it addresses the only mechanism with a plausible route to your sleep.
If you supplement, stay under 350 mg of elemental magnesium. Check the label carefully: many list the weight of the compound, not the elemental magnesium in it, and those numbers differ a lot.
Pick the form by tolerance, not by claims. Glycinate if your gut is sensitive, citrate if it is not and you want the better-absorbed cheap option. The sleep evidence does not distinguish them, so let your digestion decide.
Take it near bedtime, and do not expect much. The trials that found an effect found seventeen minutes. If you are lying awake for two hours, this is not the intervention that fixes it.
Give it four weeks, then stop for two. The honest way to find out whether something with a weak evidence base is doing anything for you personally is to remove it and see. Most people never run this test.
Fix the bigger levers first. Late caffeine and alcohol move sleep far more than any supplement does, and both are measurable on a consumer device: see how long caffeine actually lasts and how long alcohol affects your sleep. If you are chasing a supplement while drinking at 10pm, the supplement is not the variable.
How to read the label without being misled
This is where most of the money is wasted, and it has nothing to do with which form you picked.
Compound weight is not magnesium weight. A capsule stating "1000 mg magnesium glycinate" contains roughly 140 mg of elemental magnesium. The rest is the glycine. Magnesium oxide is the opposite: about 60% elemental magnesium by weight, which is why cheap high-number products are usually oxide and why the number on the front is meaningless without the form.
| Form | Roughly elemental Mg | 500 mg of compound gives |
|---|---|---|
| Oxide | ~60% | ~300 mg |
| Citrate | ~16% | ~80 mg |
| Glycinate | ~14% | ~70 mg |
| Threonate | ~8% | ~40 mg |
Two consequences follow. A glycinate product needs far more material to deliver the same magnesium, which is why the capsules are large and the bottles empty quickly. And the 350 mg supplemental upper limit applies to the elemental column, not the front of the box.
Look for "elemental magnesium" on the supplement facts panel. Products that do not state it are hiding the least flattering number.
On regulation. Supplements in the US are not assessed by the FDA for effectiveness before sale, and manufacturers are responsible for their own safety and labelling claims. That is not a reason to avoid them; it is a reason to treat the packaging as marketing rather than as data, and to prefer products carrying independent third-party verification.
Timing, interactions and the practical details
Take it with food if it upsets your stomach, which slows absorption slightly and reduces the laxative effect considerably. This is the trade most people should make.
Split the dose if you are taking more than about 200 mg. Absorption efficiency falls as the single dose rises, so two smaller doses deliver more than one large one.
Separate it from certain medications by several hours. Magnesium binds to some antibiotics, notably tetracyclines and fluoroquinolones, and reduces their absorption. It also interacts with bisphosphonates and some thyroid medication. This is a real interaction with a simple fix: space them out and mention it to a pharmacist.
Be careful with proton pump inhibitors. Long-term PPI use is associated with low magnesium, which is one of the few situations where a genuine deficiency is likely and worth investigating properly rather than self-treating.
Kidney function changes everything. Healthy kidneys excrete excess magnesium efficiently, which is why the safety margin is wide. Impaired kidneys do not, and accumulation becomes a real risk. If your kidney function is reduced, this is a conversation with a doctor, not a decision to make from a shelf.
On the anxiety half of the question
The searches pair sleep and anxiety, so it is worth separating them. The randomised evidence above is about insomnia. For anxiety specifically the trials are fewer, smaller and more heterogeneous still, and no meta-analysis of comparable rigour supports a recommendation.
The honest position: magnesium is cheap, its risks at sensible doses are mild and mostly digestive, and if you want to try it for anxiety that is a defensible personal experiment. It is not a treatment, and presenting it as one, which a great deal of the internet does, gets ahead of every study that exists.
This article summarises published research for general information and is not medical advice. Magnesium interacts with several medications including some antibiotics and diuretics, and supplementation needs medical supervision in kidney disease. Persistent insomnia or anxiety warrants seeing a doctor.
References
- Mah, J., & Pitre, T. (2021). Oral magnesium supplementation for insomnia in older adults: a Systematic Review & Meta-Analysis. BMC Complementary Medicine and Therapies, 21, 125. doi:10.1186/s12906-021-03297-z
- National Institutes of Health, Office of Dietary Supplements. Magnesium: Fact Sheet for Health Professionals. ods.od.nih.gov
- U.S. Food and Drug Administration. Dietary Supplements. fda.gov
The weekly readout
One email each Thursday: what we tested, which claim collapsed under a closer look, and the one number worth paying attention to.