What Type of Magnesium Is Best for Sleep?

Magnesium glycinate is the most widely recommended form of magnesium for sleep, thanks to its high absorption rate and gentle effect on the stomach. But it’s not the only option worth considering. Magnesium L-threonate has emerged as a strong alternative, particularly for improving deep sleep quality. The right choice depends on what aspect of your sleep you’re trying to fix.

How Magnesium Improves Sleep

Magnesium works on sleep through three overlapping pathways. First, it binds to GABA receptors in the brain. GABA is your nervous system’s main calming signal, and when magnesium activates it, neural excitability drops. Think of it as turning down the volume on a brain that won’t stop buzzing at night.

Second, magnesium supports melatonin production. Animal studies show that magnesium deficiency leads to lower circulating melatonin, the hormone that signals your body it’s time to sleep. Third, magnesium lowers cortisol, the stress hormone that keeps you wired and alert. In a double-blind clinical trial on older adults with insomnia, participants who took magnesium saw significant increases in melatonin levels and significant decreases in cortisol compared to placebo. The same study found improvements in how quickly people fell asleep, how much of their time in bed was actually spent sleeping, and their overall insomnia severity scores.

Magnesium Glycinate: Best for Falling Asleep

Magnesium glycinate pairs magnesium with glycine, an amino acid that has its own mild calming properties. It absorbs well and is the form most often recommended specifically for sleep and anxiety. If your main problem is a racing mind at bedtime or difficulty falling asleep, this is the form to start with.

The practical advantage of glycinate is digestive tolerance. Magnesium supplements can cause loose stools or diarrhea, especially at higher doses. Glycinate is less likely to cause these issues than other forms, making it a better fit if you already deal with sensitive digestion or if other magnesium supplements have given you stomach trouble.

Magnesium L-Threonate: Best for Deep Sleep

Magnesium L-threonate is a newer form designed to cross the blood-brain barrier more effectively than other magnesium salts. Animal research confirmed it delivers magnesium directly into brain cells, which standard forms do less efficiently. A randomized controlled trial in adults with sleep problems found that L-threonate supplementation improved deep sleep scores, the stage where your brain does its most restorative work.

Interestingly, L-threonate did not help people fall asleep faster. It actually slightly increased the time it took to fall asleep compared to placebo. Its benefits showed up elsewhere: participants woke up feeling more mentally alert, reported better moods, and felt less grouchy during the day. These improvements in daytime functioning appeared within the first week and became more pronounced by day 14 and day 21. If your issue is less about falling asleep and more about waking up groggy or mentally foggy, L-threonate is worth trying.

Magnesium Citrate: A Decent Backup

Magnesium citrate absorbs about as well as glycinate and is often cheaper and easier to find. It’s a reasonable option for general magnesium repletion, which can indirectly improve sleep if you’re deficient. However, citrate is more commonly associated with digestive side effects, particularly loose stools. It’s actually used therapeutically as a laxative at higher doses. If sleep is your primary goal, glycinate or L-threonate are stronger choices.

Magnesium Oxide: Poorly Absorbed

Magnesium oxide is the cheapest form on store shelves and also the least useful for sleep. Your body absorbs a much smaller fraction of the magnesium in oxide compared to glycinate or citrate. It’s more likely to cause digestive issues and less likely to raise your magnesium levels enough to affect sleep. Skip it.

Dosage and Timing

The recommended daily intake of magnesium for adults ranges from 310 to 420 mg depending on age and sex. Women aged 19 to 30 need about 310 mg, while men over 31 need around 420 mg. Most people don’t hit these numbers through diet alone.

For sleep specifically, a single dose of 250 to 500 mg taken at bedtime is a common recommendation. The NIH sets the tolerable upper limit for supplemental magnesium (meaning magnesium from supplements, not food) at 350 mg for adults. Going above this isn’t dangerous for most people, but it increases the chance of digestive side effects like diarrhea or nausea. Starting at the lower end and increasing gradually makes sense.

Give it time. Sleep improvements from magnesium aren’t immediate for everyone. A reasonable trial is nightly use for about three months, then assessing whether your ability to fall asleep or stay asleep has changed.

Food Sources Worth Adding

Supplements work, but so does food. Pumpkin seeds are the standout, delivering 156 mg of magnesium per ounce, roughly 37% of your daily value. Other strong sources per serving:

  • Chia seeds (1 oz): 111 mg
  • Almonds (1 oz): 80 mg
  • Cashews (1 oz): 74 mg
  • Black beans (½ cup): 60 mg
  • Edamame (½ cup): 50 mg
  • Brown rice (½ cup): 42 mg

A handful of pumpkin seeds and a serving of black beans gets you nearly halfway to the daily target before you even consider a supplement. Building a dietary base means you need less from a pill, which reduces the risk of digestive side effects.

Side Effects and Interactions

At moderate doses, magnesium supplements are well tolerated. The most common side effect is diarrhea, which is more likely with citrate and oxide than with glycinate. Nausea and stomach irritation can also occur at high doses.

Magnesium can interfere with certain medications. It reduces the absorption of tetracycline antibiotics, so if you’re taking those, separate the doses by at least two hours. Some common drugs can also deplete your magnesium levels, including certain diuretics (water pills) and proton-pump inhibitors used for acid reflux. If you take either of those long-term, you may be more likely to benefit from supplementation.