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.
- 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.
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 ScoresRead next
Best High-Protein Foods, Ranked by Quality
The best whole-food protein sources - eggs, fish, Greek yogurt, lentils, tofu - plus how much protein you need and why distribution and quality matter as much as grams.
Best High-Fiber Foods to Hit 25-29g a Day
Most people eat half the fiber they should. The best whole-food sources - legumes, berries, cruciferous vegetables, nuts - plus soluble vs. insoluble fiber and how to ramp up without bloating.
Anti-Inflammatory Foods: What the Evidence Supports
No single food switches off inflammation - but a pattern rich in oily fish, berries, leafy greens, olive oil, and green tea is linked to lower chronic inflammation. Here's what actually has evidence.
8 Signs of Magnesium Deficiency – 2026 Guide
Muscle cramps, twitching eyelids, and poor sleep may signal low magnesium. Learn all 8 signs, why standard blood tests miss it, and how to fix it.