Skip to main content
Skip to content
Guide

Best Food Sources of Magnesium

Roughly half of adults fall short on magnesium. The top whole-food sources - leafy greens, nuts, seeds, legumes, dark chocolate - plus how much you need and when a supplement helps.

·7 min read
Key Takeaways
7 min read
  • Magnesium powers 300+ enzyme reactions, yet roughly half of adults fall short of the target
  • The RDA is 310-420 mg/day depending on age and sex
  • Top food sources: leafy greens, nuts, seeds, legumes, whole grains, and dark chocolate
  • If supplementing, glycinate and citrate are better absorbed than oxide

Magnesium is a quiet workhorse — it’s a cofactor in more than 300 enzyme reactions, from energy production to muscle and nerve function to blood-sugar control. Despite that, dietary surveys consistently find a large share of adults below the recommended intake, in part because refining grains strips most of their magnesium. The good news: it’s easy to get from whole foods.

How Much You Need

The RDA is about 400-420 mg/day for men and 310-320 mg/day for women. Because magnesium is spread across many plant foods, a varied whole-food diet gets most people there. See what it does in the body on the magnesium nutrient page.

The Best Food Sources

Leafy Greens

Magnesium sits at the center of the chlorophyll molecule, so green leaves are naturally rich in it. Spinach and kale deliver a meaningful dose per cooked cup along with vitamin K and folate.

Nuts & Seeds

Almonds are among the most convenient sources (~80 mg per ounce), and pumpkin seeds are even denser. Walnuts add magnesium plus plant omega-3s.

Legumes

Black beans and lentilscombine magnesium with fiber and plant protein — a recurring theme in nutrient-dense foods.

Dark Chocolate / Cacao

One of the more enjoyable sources: cacao is genuinely magnesium-rich, and the flavanols in dark chocolate carry their own cardiovascular signal. Moderate evidence Choose higher-cocoa, lower-sugar bars.

ℹ️Why refined grains fall short
Most of a grain’s magnesium lives in the bran and germ — the parts removed during refining. Choosing whole grains over white flour is one of the easiest ways to recover lost magnesium.

Food vs. Supplement

Whole foods are the foundation, but magnesium is also a reasonable supplement if your diet runs low or you’re managing sleep or muscle cramps. Forms matter: magnesium glycinate and citrate are far better absorbed than the cheap oxide found in many budget products.

The Bottom Line

Greens, nuts, seeds, legumes, whole grains, and dark chocolate cover magnesium comfortably for most people. Reach for a well-absorbed supplement only to fill a genuine gap. See exact amounts on the Food & Beverage encyclopedia.

See full scores in Formulate

Every product scored 50–100 against clinical research. Compare brands, check dose safety, and build your stack.

Browse Supplement Scores