← Supplement library

Magnesium

An essential mineral involved in hundreds of body processes, from muscle and nerve function to sleep and blood pressure.

Want to try Magnesium?

See our pick — chosen for form and dose — in our professional dispensary. Please read Safety & interactions first.

Buy on Fullscript →

You'll create a free Fullscript account and check out through our professional dispensary — 20% off retail.

We may earn a commission on Fullscript purchases, at no extra cost to you. Affiliate Disclosure

What it is

Magnesium is a mineral your body needs for energy production, muscle and nerve signaling, blood-sugar control, and bone structure. Many people fall short of the recommended intake through diet alone, especially with lower intakes of leafy greens, nuts, and whole grains.

How it works

Magnesium is a cofactor for more than 300 enzyme systems. It helps your cells produce energy (ATP), lets muscles relax after they contract (it acts opposite calcium, which signals contraction), steadies nerve signaling, and supports the systems that regulate blood pressure and blood sugar. When magnesium runs low, muscles and nerves become more excitable — part of why a shortfall can show up as cramps, twitching, or restless sleep.

What it's been studied for

Commonly used to support sleep quality, relaxation and stress, healthy blood pressure, muscle function and cramps, bone health, and regularity.

What the evidence shows

Evidence is strongest for a few uses: a placebo-controlled trial found magnesium bisglycinate improved sleep in poor sleepers, a meta-analysis found supplementation produced a small reduction in blood pressure, and higher intake is linked to better bone density. Effects are generally modest and most noticeable when your intake was low to begin with.

Who should consider it

The people most likely to benefit are those running low, which is common. Higher risk includes people who eat few leafy greens, nuts, and whole grains; heavy alcohol users; people with type 2 diabetes or digestive conditions that reduce absorption (like Crohn's or celiac); older adults; and those on long-term acid-reducing medication or certain diuretics. Poor sleep, muscle cramps, and high stress are frequent reasons people try it.

Amounts commonly studied

Studies commonly use 200-400 mg of elemental magnesium per day. Needs vary by form, since the elemental magnesium content differs between salts.

How to take it

Most people take 200-400 mg of elemental magnesium once daily, often in the evening since it can feel relaxing. Take it with food to reduce the chance of loose stools. Glycinate and citrate absorb well; if one form upsets your stomach, try another. Space magnesium a couple of hours apart from certain antibiotics (tetracyclines, quinolones) and from thyroid medication, which it can bind. Read the 'elemental magnesium' amount, not just the total compound weight.

Forms & absorption

Glycinate and citrate are well absorbed and gentle; oxide is cheap but poorly absorbed and more likely to loosen the bowels; threonate is marketed for the brain. The form on the label matters more than the total weight.

Food sources

Rich sources include pumpkin seeds, chia and flax, almonds and cashews, spinach and Swiss chard, black beans, edamame, whole grains, and dark chocolate. A diet built around these often meets needs without a supplement.

Safety & interactions

Generally well tolerated; the main side effect is loose stools at higher doses. People with kidney disease should check with a provider, as magnesium can accumulate. It can interact with certain antibiotics and other medications, so space them apart.

Myths & what it won't do

Myth: more magnesium means better sleep and less anxiety for everyone. Reality: the benefits are most reliable when you were genuinely low to begin with — topping up an already-adequate level does little, and very high doses mostly just loosen the bowels. Myth: a normal blood test rules out a shortfall. Reality: most magnesium is stored in bone and tissue, so a normal serum level can miss a deficiency.

Common questions

Which form of magnesium is best?
For general use and sleep, glycinate is gentle and well absorbed; citrate is also well absorbed and can help regularity. Oxide is cheap but poorly absorbed and most likely to cause loose stools. Threonate is marketed for the brain but is early in its evidence.
Can I take magnesium with calcium?
Yes — they're often combined and work as partners in muscle and bone. Very large single doses of either can compete a little for absorption, so splitting them across the day is reasonable if you take high amounts.
Will it help cramps or restless legs?
Many people find magnesium helps, especially if their intake was low, though trial evidence is mixed. It's low-risk to try for a few weeks and see.

The amounts listed here are what published research has used — not a prescription or a recommended dose for you. Confirm anything you plan to take with your own healthcare provider, especially if you take medications, are pregnant or nursing, or have a health condition.

Related goals

Guides that cover Magnesium

Research on Magnesium

Recommendations on this page are informed by published research. This is educational information, not medical advice.

  1. Schuster J, Cycelskij I, Lopresti A, et al. Magnesium Bisglycinate Supplementation in Healthy Adults Reporting Poor Sleep: A Randomized, Placebo-Controlled Trial. Nat Sci Sleep. 2025;17:2027-2040. View study →
  2. Zhang X, Li Y, Del Gobbo LC, et al. Effects of Magnesium Supplementation on Blood Pressure: A Meta-Analysis of Randomized Double-Blind Placebo-Controlled Trials. Hypertension. 2016;68(2):324-333. View study →
  3. Groenendijk I, van Delft M, Versloot P, et al. Impact of magnesium on bone health in older adults: A systematic review and meta-analysis. Bone. 2022;154:116233. View study →Note: Higher magnesium intake is linked to better bone density; its effect on preventing fractures is less certain.

Buy on Fullscript →Take the quiz →