Get Listed — it's freeGet listed →
Insights
Sleep Optimization9 min readOctober 28, 2026

Magnesium for Sleep: Glycinate vs Citrate vs Threonate

Magnesium for sleep: what studies show, glycinate vs citrate vs threonate, timing, doses used in trials and safety limits – clearly explained.

BA

Biohacker Alliance Editorial Team

Editorial Team

Disclaimer: The information in this article is for educational purposes only and does not constitute medical advice. Always consult a qualified healthcare professional before making changes to your health regimen.

Few supplements are linked to better sleep in the biohacking community as often as magnesium. It shows up in almost every forum thread, podcast and sleep stack – usually as magnesium glycinate, often paired with L-theanine or glycine.

But what is actually behind it? What role does the mineral play in the nervous system, what do controlled trials show – and why does the form (glycinate, citrate, threonate, oxide) matter at all? In this guide we've gathered the key studies in one place and put them into sober context.

Note: This article is for information only and does not replace medical advice. Persistent sleep problems can have medical causes and should be assessed by a doctor.

Magnesium and Sleep: What the Mineral Does in Your Body

Magnesium is a cofactor in more than 300 enzyme systems – from energy production in your cells to muscle function and signalling between nerve cells. The NIH Office of Dietary Supplements describes it as one of the central minerals for metabolism.

When it comes to sleep, research mainly discusses three mechanisms:

  • The GABA system: GABA is the brain's main inhibitory messenger. Magnesium appears to support GABA receptor activity – the very system that "powers down" the nervous system.
  • NMDA receptors: Magnesium naturally blocks NMDA receptors, which are involved in excitatory signalling. Research suggests this mechanism could contribute to a calming effect at the neuronal level.
  • Stress hormones and melatonin: In a clinical trial in older adults, blood levels of melatonin and cortisol – two hormones that strongly shape the sleep-wake cycle – changed under magnesium.

Important: these mechanisms are plausible, but on their own they don't prove an effect in humans. Whether extra magnesium changes anything about your sleep depends heavily on how well supplied you already are. According to the NIH, many people in the US don't reach the recommended intake through diet. For them, a measurable difference is more likely than for people who are already well supplied.

That is exactly why it pays to look at the trial data instead of relying on anecdotes.

What Studies Show About Magnesium and Sleep

The number of high-quality studies is limited. Here are the most important ones:

Older adults with insomnia (2012): In a double-blind, placebo-controlled trial from Iran, 46 older participants with primary insomnia received 500 mg of magnesium or a placebo for eight weeks. The magnesium group improved on the Insomnia Severity Index, sleep efficiency and sleep onset latency, among other measures; melatonin levels rose and cortisol levels fell (Abbasi et al., 2012).

Meta-analysis (2021): A systematic review pooled three randomised trials with a total of 151 older adults. Result: time to fall asleep was on average about 17 minutes shorter with magnesium than with placebo. Total sleep time did not differ significantly. The authors rated the quality of evidence as low (Mah & Pitre, 2021).

Magnesium L-threonate (2024): A randomised, placebo-controlled trial in 80 adults aged 35 to 55 with self-reported sleep problems tested 1 g of magnesium L-threonate per day for 21 days. Participants wore an Oura ring. The magnesium group showed better deep and REM sleep scores, plus better questionnaire results for daytime energy, mood and alertness (Sleep Medicine: X, 2024).

Magnesium bisglycinate (2025): A German trial in 155 healthy adults reporting poor sleep compared 250 mg of magnesium (as bisglycinate) with placebo for four weeks. The Insomnia Severity Index fell somewhat more in the magnesium group (−3.9 vs −2.3 points). The effect was just statistically significant but small; other measures showed no differences (Schuster et al., 2025).

Our take: The data point to a small but real effect – mainly in people with sleep problems and possibly low intake. Nobody should expect miracles. The trials are small, short and mostly rely on subjective questionnaires.

Glycinate, Citrate, Threonate & Co.: Magnesium Forms Compared

In supplements, magnesium always comes as a compound – bound to another molecule. This "form" affects how well it is absorbed and how well it is tolerated. According to the NIH, well-dissolving forms such as citrate, aspartate, lactate and chloride are absorbed more completely than oxide or sulfate, although these findings come from small studies.

FormWhat is knownSleep evidence
Magnesium glycinate / bisglycinateBound to the amino acid glycine; considered gentle on the stomach in the communityRCT 2025 (small effect)
Magnesium citrateDissolves well and is well absorbed; laxative at higher amountsNo dedicated sleep trials known
Magnesium L-threonateDeveloped in animal studies to raise magnesium levels in the brainRCT 2024 (Oura data)
Magnesium oxideHigh magnesium content, but comparatively poorly absorbedUsed in some older trials
Magnesium chloride / sprays / oilsOften applied to the skinHardly any solid data on absorption through the skin

One key insight follows from this overview: so far, no study has tested different magnesium forms head-to-head for sleep. Anyone claiming one form is "the best magnesium for sleep" is relying on plausibility and experience – not on comparative data. For a full overview of all forms, see our guide to types of magnesium.

Magnesium Glycinate vs Citrate for Sleep

This is one of the most common questions in the community. The honest answer: absorption is well documented for both forms, but only glycinate has a recent placebo-controlled sleep trial.

There are two reasons glycinate is so popular in sleep stacks. First, it is considered well tolerated and less laxative than citrate. Second, it brings glycine along – an amino acid that is itself being researched in connection with sleep. The 2025 trial used exactly this combination of magnesium and glycine. Which part of the effect comes from magnesium and which from glycine cannot be separated from that data.

Magnesium citrate, on the other hand, is well studied in terms of bioavailability and is often used when a mild laxative effect is wanted or at least not a problem. For people with a sensitive gut it may be less pleasant in the evening.

In practice, many biohackers therefore choose based on tolerance rather than sleep data. That is a reasonable approach – as long as it's clear this is a judgement call and not established evidence.

Recommended Products

Top-rated sleep optimization supplements & tools on amazon.com

* Affiliate links — Biohacker Alliance earns a small commission at no extra cost to you. Products shown are selected for relevance to Sleep Optimization.

Magnesium vs Melatonin: Two Completely Different Approaches

Magnesium and melatonin are often mentioned in the same breath, but they work in fundamentally different ways. Melatonin is a hormone that signals to your internal clock: "It's night." It is mainly studied in the context of jet lag and shifted sleep phases and is not a classic "sleeping pill".

Magnesium, by contrast, is a mineral your body needs every day anyway. The effects on sleep under discussion run more through the nervous system and adequate supply – not through directly shifting your internal clock.

So the two are not alternatives to each other; they address different questions. People who can't switch off in the evening tend to land on magnesium in the community; people whose rhythm is off after a long-haul flight tend to read about melatonin. There are hardly any solid studies on combining the two. Melatonin is also regulated differently from magnesium in many countries – one more reason to talk to a doctor before taking it.

Timing and Amounts: What Studies Used

We don't give dosage recommendations – but you should know the range the studies worked with and where official limits sit:

  • 2012 trial: 500 mg of magnesium per day for eight weeks (older adults with insomnia).
  • 2025 trial: 250 mg of magnesium as bisglycinate per day for four weeks.
  • 2024 trial: 1 g of magnesium L-threonate per day (the amount of elemental magnesium is much lower, because the threonate molecule makes up a large share of the weight).

The NIH lists a recommended total intake for adults of roughly 310–320 mg (women) and 400–420 mg (men) per day from all sources. For magnesium from supplements and medications, the tolerable upper intake level is 350 mg per day – magnesium from food does not count towards it.

On timing: in most sleep trials, magnesium was taken in the evening. There is no solid data showing that a specific time of day is decisive. In the biohacking community, taking it roughly one to two hours before bed is common.

Do You Even Need More Magnesium? What a Blood Test Can and Can't Tell You

Before thinking about the right form, it's worth asking whether you're low in magnesium at all. That is harder to answer than it sounds. According to the NIH, less than 1% of the body's total magnesium is in blood serum – most of it sits in bone and soft tissue. A normal serum value therefore doesn't reliably rule out a marginal supply.

A blood test is still useful for spotting clear deviations, for example when taking certain medications, with gut disorders or with high alcohol intake. Labs offer other methods besides the serum value, which should be interpreted together with your doctor. A realistic first step is an honest look at your diet: how often do nuts, seeds, legumes, leafy greens and whole grains end up on your plate? If they do regularly, you are very likely better supplied than someone who mostly eats highly processed food.

Side Effects and When to Be Careful

The most common side effects of magnesium from supplements affect the gut: diarrhoea, nausea and abdominal cramps. According to the NIH, they occur mainly with forms such as carbonate, chloride, gluconate and oxide. Very high amounts can lead to magnesium toxicity – with low blood pressure, irregular heartbeat and, in extreme cases, cardiac arrest.

Particular caution applies with:

  • Impaired kidney function: The kidneys regulate magnesium excretion. If this is impaired, the risk of excess rises considerably.
  • Medications: Magnesium can interfere with the absorption of certain antibiotics (tetracyclines, quinolones) and osteoporosis drugs (bisphosphonates). Diuretics and proton pump inhibitors also affect magnesium balance.
  • Existing conditions and pregnancy: Here, any supplementation belongs in a doctor's hands.

Magnesium in a Biohacking Sleep Stack: Foundations First

A supplement doesn't replace the basics of sleep. Consistent sleep times, morning daylight, a dark and cool bedroom and little caffeine in the afternoon have a far more solid research base than any mineral. Find out more in our foundational guide to sleep optimization.

Many people can also improve their magnesium intake through diet. According to the NIH, good sources include pumpkin seeds, almonds, spinach, cashews, peanuts, legumes and whole grains.

If you want to track your sleep objectively, trackers and smart beds can help – as described in our profile of Eight Sleep. For a broader look at the evidence on supplements, see Nutrition & Supplements: What the Science Says. And if stress is the real sleep thief, our guide to mental health and biohacking is worth a read.

Sources

  1. Abbasi B et al. The effect of magnesium supplementation on primary insomnia in elderly: A double-blind placebo-controlled clinical trial. J Res Med Sci. 2012. PubMed 23853635
  2. Mah J, Pitre T. Oral magnesium supplementation for insomnia in older adults: a Systematic Review & Meta-Analysis. BMC Complement Med Ther. 2021. PubMed 33865376
  3. Magnesium-L-threonate improves sleep quality and daytime functioning in adults with self-reported sleep problems: A randomized controlled trial. Sleep Med X. 2024. DOI 10.1016/j.sleepx.2024.100121
  4. Schuster J et al. Magnesium Bisglycinate Supplementation in Healthy Adults Reporting Poor Sleep: A Randomized, Placebo-Controlled Trial. Nat Sci Sleep. 2025. DOI 10.2147/NSS.S524348
  5. NIH Office of Dietary Supplements. Magnesium – Fact Sheet for Health Professionals. ods.od.nih.gov

Disclaimer: The information provided here is for education, scientific discussion and general information only. It does not constitute medical advice, diagnosis or a recommendation. Many substances and methods discussed in the biohacking community are not approved for human consumption in the EU, are subject to medicines law or are classified as doping in competitive sport. Always consult a qualified doctor before using any of them.

Frequently Asked Questions

Which magnesium is best for sleep?+
No study has compared magnesium forms head-to-head for sleep. Placebo-controlled sleep trials exist for magnesium bisglycinate (2025) and magnesium L-threonate (2024); both showed small improvements. Citrate is well absorbed but can be laxative, and oxide is poorly absorbed. Many people choose based on tolerance.
Magnesium glycinate or citrate for sleep?+
Both forms are well absorbed. Only glycinate has a recent placebo-controlled sleep trial, and it also provides glycine, which is itself studied for sleep. Citrate tends to be more laxative, which some people find unpleasant in the evening.
When should I take magnesium for sleep?+
In most sleep trials, magnesium was taken in the evening. There is no solid evidence that a specific time is decisive. In the biohacking community, one to two hours before bed is common.
What is the difference between magnesium and melatonin for sleep?+
Melatonin is a hormone that signals night-time to your internal clock and is mainly studied for jet lag and shifted sleep phases. Magnesium is an essential mineral; its discussed effects on sleep run through the nervous system and adequate supply. There are hardly any solid studies on combining both, so talk to a doctor first.
Does magnesium have side effects?+
The most common side effects are digestive: diarrhoea, nausea and cramps. The NIH sets the upper limit for magnesium from supplements at 350 mg per day for adults. People with kidney problems or who take antibiotics, bisphosphonates, diuretics or proton pump inhibitors should speak to a doctor first.

Disclaimer: The information in this article is for educational purposes only and does not constitute medical advice. Always consult a qualified healthcare professional before making changes to your health regimen.

magnesium for sleepmagnesium glycinatemagnesium citratemagnesium threonatesleep optimizationsupplementsinsomniamelatonin