What foods are high in magnesium?

Medical Advisory BoardAll articles are reviewed for accuracy by our Medical Advisory Board
Educational purpose only • Exercise caution as content is pending human review
Article Review Status
Submitted
Under Review
Approved

Last updated: August 14, 2025View editorial policy

Personalize

Help us tailor your experience

Which best describes you? Your choice helps us use language that's most understandable for you.

Foods High in Magnesium

Vegetables, fruits, nuts, seeds, and legumes are the richest sources of dietary magnesium, with leafy green vegetables, whole grains, and nuts providing particularly high amounts. 1, 2

Top Magnesium-Rich Foods

Vegetables

  • Leafy greens: Spinach, kale, Swiss chard, collard greens 1, 2
  • Other vegetables: Broccoli, carrots, green beans, green peas, lima beans, potatoes, sweet potatoes, tomatoes 1
  • Legumes: Beans, lentils, split peas, soybeans 1, 2

Fruits

  • High magnesium fruits: Bananas, avocados, dates, apricots 1, 3
  • Other fruits: Oranges, grapefruit, mangoes, melons, peaches, pineapples 1

Nuts and Seeds

  • Nuts: Almonds, peanuts, walnuts, filberts (hazelnuts), mixed nuts 1, 2
  • Seeds: Sunflower seeds, pumpkin seeds 1, 2
  • Nut butters: Peanut butter and other nut butters 1

Whole Grains

  • Whole wheat bread and rolls
  • Brown rice
  • Oatmeal
  • Whole grain cereals
  • Whole grain pasta 1, 2

Other Sources

  • Fish and seafood 1, 2
  • Lean meats and poultry 1
  • Dark chocolate 3
  • Coffee and tea 2

Magnesium Content in Food Groups

According to the DASH Eating Plan, which is recommended by expert guidelines, the following food groups are significant sources of magnesium 1:

  1. Vegetables: Rich sources of potassium, magnesium, and fiber
  2. Fruits: Important sources of potassium, magnesium, and fiber
  3. Nuts, seeds, and legumes: Rich sources of energy, magnesium, protein, and fiber
  4. Lean meats, poultry, and fish: Rich sources of protein and magnesium

Daily Intake Recommendations

The recommended daily allowance of magnesium is 2:

  • 350 mg daily for women
  • 420 mg daily for men

Practical Considerations

  • Declining magnesium content: Research has shown that the mineral content of magnesium in food sources is declining, making conscious food choices more important 4
  • Desalinated water: In some regions, desalinated drinking water lacks magnesium, which may contribute to deficiency 3
  • Bioavailability: The magnesium in whole foods is generally well-absorbed compared to some supplement forms 2

Health Impact

Adequate magnesium intake is associated with reduced risk of:

  • Cardiovascular disease
  • Type 2 diabetes
  • Metabolic syndrome
  • Hypertension
  • Inflammatory conditions 2, 5, 6

For those unable to meet magnesium requirements through diet alone, supplements may be considered, but a "food first" approach is recommended by most guidelines 2, 3.

References

Guideline

Guideline Directed Topic Overview

Dr.Oracle Medical Advisory Board & Editors, 2025

Guideline

Magnesium Supplementation Guidelines

Praxis Medical Insights: Practical Summaries of Clinical Guidelines, 2025

Research

Therapeutic uses of magnesium.

American family physician, 2009

Research

Magnesium in disease prevention and overall health.

Advances in nutrition (Bethesda, Md.), 2013

Research

Dietary Magnesium and Chronic Disease.

Advances in chronic kidney disease, 2018

Professional Medical Disclaimer

This information is intended for healthcare professionals. Any medical decision-making should rely on clinical judgment and independently verified information. The content provided herein does not replace professional discretion and should be considered supplementary to established clinical guidelines. Healthcare providers should verify all information against primary literature and current practice standards before application in patient care. Dr.Oracle assumes no liability for clinical decisions based on this content.

Have a follow-up question?

Our Medical A.I. is used by practicing medical doctors at top research institutions around the world. Ask any follow up question and get world-class guideline-backed answers instantly.