Minerals

Magnesium

Involved in 300+ enzymatic reactions. Almost half of adults fall short.

Magnesium is essential for energy production, DNA repair, nerve function, and muscle contraction. It plays a key role in regulating blood pressure, blood sugar, and sleep quality. A 2017 meta-analysis in BMC Medicine found that higher magnesium intake was associated with a 10% reduction in heart disease risk, 12% reduction in stroke risk, and 26% reduction in type 2 diabetes risk.

How Magnesium affects aging

Every ATP molecule in your cells is only biologically active when bound to magnesium — which makes this mineral inseparable from mitochondrial function, one of the central hallmarks of aging. When magnesium runs low, mitochondria produce energy less efficiently and leak more reactive oxygen species, accelerating the oxidative damage that accumulates in aging tissue. Laboratory work has gone further: human fibroblasts cultured in moderately magnesium-deficient conditions age faster, entering senescence earlier and showing accelerated telomere shortening compared with cells grown at normal magnesium levels.

Magnesium also sits in the active site of most enzymes that replicate and repair DNA, so chronically low levels compromise genomic stability — a core aging mechanism the body cannot work around. Low magnesium status feeds inflammaging too: in observational studies, people with the lowest intakes tend to show higher C-reactive protein and other inflammatory markers. Researchers have proposed that decades of marginal magnesium deficiency act as a slow amplifier of aging — never dramatic enough to cause acute symptoms, but steadily raising background inflammation and DNA damage.

In the cardiovascular system, magnesium acts as a natural calcium-channel modulator: it relaxes vascular smooth muscle, supports endothelial function, and helps keep heart rhythm stable — one reason higher intakes track with lower rates of hypertension, stroke, and heart failure. In the brain, magnesium gates the NMDA receptor, keeping excitatory signaling in check, and supports the deep slow-wave sleep during which the brain clears metabolic waste. Both mechanisms matter more with age, as blood vessels stiffen and sleep architecture naturally deteriorates.

Dosage

RDA: 400-420mg for adult men, 310-320mg for adult women

Optimal for longevity: Longevity-focused practitioners often recommend 400-600mg daily from food and supplements combined.

Well-absorbed forms include magnesium glycinate (gentle on the gut, mildly calming), citrate (well studied, mildly laxative at higher doses), and malate. Magnesium oxide — the cheapest and most common form — is poorly absorbed and mostly useful as a laxative. The body absorbs magnesium better in smaller amounts, so split doses of 100–200mg beat one large dose. Many people take it in the evening, when its calming effect on sleep is a bonus.

Food covers a lot of ground: pumpkin seeds, leafy greens, legumes, nuts, and dark chocolate are dense sources. The tolerable upper limit for supplemental magnesium is 350mg per day — magnesium from food does not count toward it. Long-term proton pump inhibitors and some diuretics deplete magnesium, while impaired kidney function is the main reason to avoid supplementing without medical guidance.

Deficiency signs

~48% of Americans consume less than the estimated average requirement for magnesium

  • Muscle cramps and twitching
  • Poor sleep quality
  • Anxiety and irritability
  • Heart palpitations
  • Fatigue despite adequate rest

Top food sources

Pumpkin seeds (1 oz)168mg
Dark chocolate 70-85% (1 oz)65mg
Almonds (1 oz)80mg
Spinach, cooked (1 cup)157mg
Black beans, cooked (1 cup)120mg

What the research shows

Dietary magnesium intake and risk of cardiovascular disease, type 2 diabetes, and all-cause mortality (Fang et al., BMC Medicine 2016)

This dose-response meta-analysis pooled 40 prospective cohorts covering more than a million people. Each additional 100mg of daily dietary magnesium was associated with 10% lower all-cause mortality, 22% lower heart failure risk, 19% lower type 2 diabetes risk, and 7% lower stroke risk. Honest caveat: total cardiovascular disease and coronary heart disease showed no significant association, so the benefit pattern is real but not universal.

Dietary magnesium intake is inversely associated with mortality in adults at high cardiovascular risk (Guasch-Ferré et al., Journal of Nutrition 2014)

In 7,216 Mediterranean adults at elevated cardiovascular risk followed for a median of 4.8 years, those in the highest tertile of magnesium intake had a 34% lower risk of death than those in the lowest. The association held across cardiovascular, cancer, and all-cause mortality — though as observational data, it shows a consistent link rather than proof of cause.

Magnesium supplementation and primary insomnia in the elderly: a double-blind placebo-controlled trial (Abbasi et al., Journal of Research in Medical Sciences 2012)

In this small randomized trial, 46 older adults with insomnia took 500mg of magnesium or placebo for 8 weeks. The magnesium group improved significantly in sleep time, sleep efficiency, and insomnia severity scores, with rises in melatonin and falls in cortisol. Encouraging — but at 46 participants, it is a signal that deserves replication, not a settled result.

Frequently asked questions

What is the best form of magnesium to take?

Glycinate, citrate, and malate are all well absorbed; glycinate is the gentlest on digestion and a good default. Skip magnesium oxide — it is the cheapest and most common form in drugstore supplements, but very little of it gets absorbed.

Does magnesium really help with sleep?

The evidence is promising but modest: a small randomized trial in older adults with insomnia found better sleep time and efficiency after 8 weeks of supplementation. It is most likely to help if your intake is low to begin with. Taking it in the evening is a low-risk experiment.

Can you take too much magnesium?

From food, practically no — healthy kidneys excrete the excess. From supplements, the tolerable upper limit is 350mg per day; beyond that, loose stools are the usual first signal. People with impaired kidney function should not supplement without medical guidance.

Does magnesium help with muscle cramps?

If cramps stem from low magnesium status, correcting it often helps — cramps and twitching are classic deficiency signs. For cramps in people with normal magnesium levels, trial results are mixed. It is a reasonable first thing to rule out, not a guaranteed cure.

Can a blood test tell me if I'm magnesium deficient?

Not reliably. Only about 1% of the body's magnesium circulates in blood, and the body defends that level tightly — so a normal serum value can coexist with depleted tissue stores. Intake tracking and deficiency signs are often more informative than the standard test.

Track your magnesium intake

Biohack logs magnesium alongside 22 other longevity nutrients in every meal.

Related reading

The 30+ Nutrients That Predict How Long You Live

11 min read

You Are Probably Low on Magnesium. Most People Are.

7 min read