Magnesium glycinate and magnesium L-threonate are the two forms most worth considering for sleep. They work through different strengths: glycinate pairs magnesium with a calming amino acid and is gentle on the stomach, while L-threonate is uniquely able to cross into the brain where magnesium does its sleep-related work. Magnesium citrate also has clinical support, but its laxative effect makes it a poor first choice for most people.
How Magnesium Helps You Sleep
Magnesium influences sleep through two main pathways in the brain. First, it enhances the activity of GABA, the neurotransmitter responsible for calming nerve signals. At the same time, it blocks NMDA receptors, which carry excitatory signals. This combination quiets neural activity and makes it easier to fall and stay asleep.
The second pathway involves melatonin. Magnesium boosts the activity of an enzyme critical for melatonin synthesis, helping your body maintain its internal clock. In animal studies, magnesium deficiency directly reduces circulating melatonin levels. So if your magnesium is low, your body may literally produce less of the hormone that signals it’s time to sleep.
Magnesium Glycinate: The Most Popular Choice
Magnesium glycinate (also called magnesium bisglycinate) is magnesium bound to glycine, an amino acid that has its own calming properties. This form is well absorbed and causes far less digestive upset than citrate or oxide, which is why it’s become the default recommendation for sleep.
In a randomized, placebo-controlled trial of healthy adults with poor sleep, those taking magnesium bisglycinate saw insomnia severity scores drop significantly more than the placebo group after just four weeks. The improvement was modest but measurable, and it came without notable side effects. As Mayo Clinic sleep specialist Denise Millstine has noted, magnesium glycinate is a better option than citrate for anyone not dealing with constipation, specifically because it’s gentler on the intestinal system.
Magnesium L-Threonate: Built for the Brain
Most forms of magnesium have poor brain bioavailability, meaning they raise magnesium levels in the blood and muscles but don’t efficiently reach the brain cells where sleep regulation happens. Magnesium L-threonate is different. It’s a magnesium salt bound to L-threonate, a compound naturally found in cerebrospinal fluid, and it can cross the blood-brain barrier to increase magnesium levels directly inside neurons.
This matters because researchers have suggested that the inconsistent results in magnesium sleep studies may be partly explained by the forms used. If the magnesium never reaches the brain in meaningful amounts, its ability to enhance GABA activity and support melatonin production is limited. A randomized controlled trial found that magnesium L-threonate improved both sleep quality and daytime functioning in adults with self-reported sleep problems. Animal research has also linked this form to reduced anxiety and improved mood, both of which feed into better sleep.
The trade-off is cost. Magnesium L-threonate supplements tend to be significantly more expensive than glycinate, and the dose required is higher because the compound contains less elemental magnesium per capsule.
Magnesium Citrate: Effective but Problematic
Magnesium citrate actually has the most clinical evidence supporting its use for sleep. It’s well absorbed and inexpensive. The problem is its potent laxative effect, which can disrupt your night in a different way entirely. If you already deal with constipation, citrate could pull double duty. Otherwise, glycinate or L-threonate will be more comfortable to take at bedtime.
Forms That Won’t Help Much
Magnesium oxide is cheap and widely available, but it has low bioavailability, meaning your body absorbs a small fraction of what you take. It’s more useful as a laxative or antacid than a sleep aid. Magnesium sulfate (Epsom salt) is used in baths and isn’t designed for oral supplementation. Magnesium carbonate and magnesium chloride fall somewhere in the middle for absorption but lack specific sleep research.
Dosage and Timing
The NIH sets the tolerable upper intake level for supplemental magnesium at 350 mg per day for adults. This cap applies only to magnesium from supplements, not from food. Clinical trials on insomnia have used daily elemental magnesium doses ranging from 320 mg to 729 mg, but those were conducted under medical supervision. For general use, staying at or below 350 mg of elemental magnesium is the standard guidance.
Pay attention to the distinction between total capsule weight and elemental magnesium. A 500 mg magnesium glycinate capsule might contain only 100 mg of actual magnesium. The supplement facts panel will list the elemental amount. Most people taking magnesium for sleep aim for 200 to 350 mg of elemental magnesium, taken 30 to 60 minutes before bed. Too much at once can cause loose stools regardless of the form.
Food Sources Worth Considering
If you’d rather skip supplements, certain foods pack a surprising amount of magnesium. Pumpkin seeds lead the pack at 150 mg per ounce, and chia seeds deliver 111 mg per ounce. A half cup of cooked spinach provides 78 mg, while an ounce of almonds gives you 80 mg. Dark chocolate (70% cocoa or higher) offers 64 mg per ounce, making an evening square a reasonable pre-bed ritual.
Other solid contributors include black beans and quinoa (60 mg per half cup each), cashews (72 mg per ounce), and avocados (58 mg per whole fruit). The recommended daily intake for adults ranges from 310 to 420 mg depending on age and sex, and many people fall short through diet alone. Even if you supplement, building these foods into your routine helps maintain a baseline that supports better sleep over time.
Who Benefits Most
Magnesium supplementation for sleep tends to show the strongest results in people who are already deficient, and subclinical magnesium deficiency is common. Diuretics, diabetes, heavy alcohol use, and kidney conditions all increase magnesium losses. Older adults are particularly prone to low levels because absorption decreases with age and dietary intake often drops.
If your magnesium levels are already adequate, adding a supplement may produce only subtle improvements. But for those running low, the effect on sleep can be noticeable within a few weeks. The bisglycinate trial showed measurable insomnia improvement by week four, which is a reasonable timeline to expect before deciding whether it’s working for you.

