Skip to main content
Supplement ScienceSupplementScience

Getting Magnesium From Food

This content is for informational purposes only and does not constitute medical advice. Statements about dietary supplements have not been evaluated by the FDA and are not intended to diagnose, treat, cure, or prevent any disease. Individual results may vary — consult your healthcare provider before starting any supplement. Full disclaimer

Magnesium is found in nuts, seeds, legumes, whole grains, and leafy greens, plus some fish and dairy.

Magnesium is found in nuts, seeds, legumes, whole grains, and leafy greens, plus some fish and dairy. Adults need about 310–420 mg a day, and many people fall a little short because refined grains lose magnesium. A food-first approach works for most; supplements help fill a gap but have a supplemental upper limit of 350 mg.

Key Takeaways

  • Adults need about 310–420 mg of magnesium daily; many fall a little short.
  • Best sources are nuts, seeds, legumes, whole grains, and leafy greens.
  • Refining grains removes magnesium, so processed-heavy diets run low.
  • The supplemental upper limit is 350 mg/day (food magnesium has no limit); excess supplements cause diarrhea.
  • Food magnesium avoids the medication-timing issues that supplements can have.

Get the free evidence-based Getting Magnesium From Food guide — delivered in 60 seconds.

No spam. Unsubscribe anytime.

How much adults need

The NIH Office of Dietary Supplements sets the adult RDA at 310–420 mg/day, varying by age and sex [1]. Magnesium intakes fall a bit short for many people, largely because refined grains lose magnesium during processing.

Best food sources

Magnesium is widespread in minimally processed plant foods [1]:

  • Nuts and seeds: pumpkin seeds, chia, almonds, cashews.
  • Legumes: black beans, edamame, lentils.
  • Whole grains: brown rice, whole wheat, oats.
  • Leafy greens: spinach and Swiss chard.
  • Plus some fish, yogurt, and dark chocolate.

Choosing whole grains over refined ones is one of the simplest ways to raise magnesium.

Why diets run low

Refining grains removes the magnesium-rich bran and germ, so a diet heavy in white bread, white rice, and processed foods provides less. Shifting toward whole, plant-based foods closes most of the gap without a supplement.

When a supplement helps

If food can't get you there, a modest magnesium supplement can help — but note the supplemental upper limit is 350 mg/day (the limit applies to supplements, not food magnesium) [1]. Going above it commonly causes diarrhea, and forms differ in tolerability (see magnesium types compared). Food magnesium has no such limit because the kidneys clear dietary excess.

A note on absorption and medications

Magnesium supplements can interfere with some antibiotics if taken together, and long-term acid reducers can lower magnesium (see acid reducers). Food magnesium avoids the timing issues.

Practical guidance

  • Favor whole grains, nuts, seeds, legumes, and greens to raise magnesium from food.
  • Keep supplemental magnesium at or below 350 mg/day unless a clinician advises otherwise.
  • If supplementing, choose a well-tolerated form and watch for loose stools.

Related Supplements

Related Conditions

Product Reviews

Related Articles

Frequently Asked Questions

What foods are high in magnesium?

Pumpkin seeds, chia, almonds, and cashews; legumes like black beans and edamame; whole grains such as brown rice and oats; and leafy greens like spinach. Some fish, yogurt, and dark chocolate also contribute. Choosing whole grains over refined ones is an easy way to get more.

Why do many people get too little magnesium?

Largely because refining grains removes the magnesium-rich bran and germ, so diets heavy in white bread, white rice, and processed foods provide less. Shifting toward whole, plant-based foods closes most of the gap for the average person without needing a supplement.

How much magnesium can I take as a supplement?

The supplemental upper limit is 350 mg a day, which applies to supplements rather than food. Going above it commonly causes diarrhea, and forms vary in how well they're tolerated. Food magnesium has no upper limit because the kidneys clear dietary excess.

Is food magnesium better than a supplement?

For most people, a food-first approach works well and avoids the supplemental upper limit and medication-timing issues. Supplements are useful to fill a gap, but they can interfere with some antibiotics if taken together and may cause loose stools at higher doses.

Continue Reading

References

  1. National Institutes of Health, Office of Dietary Supplements (2026). Magnesium: Health Professional Fact Sheet. NIH Office of Dietary Supplements.