What foods are rich 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: September 19, 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.

Magnesium-Rich Foods for Optimal Health

The best sources of magnesium are nuts, seeds, leafy green vegetables, legumes, and whole grains, which should be consumed regularly to maintain adequate magnesium levels for optimal cardiovascular health and metabolic function. 1, 2, 3

Top Magnesium-Rich Food Sources

Vegetables

  • Leafy Greens:
    • Spinach
    • Kale
    • Swiss chard
    • Collard greens
    • Recommended: 3 servings per day (1 cup raw or 1/2 cup cooked) 1

Nuts and Seeds

  • High Magnesium Options:
    • Mixed nuts
    • Almonds
    • Seeds (pumpkin, sunflower, sesame)
    • Recommended as part of daily diet 1, 3

Legumes

  • Excellent Sources:
    • Beans
    • Peas
    • Soybeans
    • Recommended: 3-4 servings per week (1/2 cup cooked) 1, 3

Whole Grains

  • Good Sources:
    • Brown rice
    • Whole-grain bread
    • Whole-grain pasta
    • Recommended: 3 servings per day (1/2 cup cooked or 1 slice of bread) 1, 2

Other Notable Sources

  • Avocados
  • Bananas
  • Dark chocolate
  • Certain seafood 4

Importance of Dietary Magnesium

Magnesium is the fourth most abundant mineral in the body and serves as a cofactor for over 300 metabolic reactions 3. It plays critical roles in:

  • Protein synthesis
  • Cellular energy production
  • Nerve transmission
  • Cardiac function
  • Neuromuscular conduction
  • Blood pressure regulation
  • Glucose and insulin metabolism 3

Magnesium Deficiency Concerns

Modern Western diets and food processing have reduced magnesium content in many foods 4. Deficiency is particularly common in:

  • Elderly populations
  • Patients with cardiovascular conditions
  • People with diabetes
  • Those consuming primarily processed foods 4

Daily Requirements

The average adult needs approximately 5 mg of magnesium per kg of body weight daily 5. Special populations with higher requirements include:

  • Infants and young children (twice as much as adults)
  • Pregnant and lactating women
  • Children during growth periods 5

Clinical Relevance

Adequate magnesium intake has been associated with prevention and management of:

  • Hypertension
  • Cardiac arrhythmias
  • Metabolic syndrome
  • Type 2 diabetes
  • Migraine headaches
  • Osteoporosis 2, 6, 3

Practical Recommendation

A "food first" approach is recommended for meeting magnesium requirements 1. Focus on incorporating a variety of magnesium-rich whole foods into your daily diet rather than relying on supplements, unless specifically indicated by a healthcare provider.

References

Guideline

Magnesium Deficiency Management

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

Nutritional aspects of magnesium metabolism.

The Western journal of medicine, 1980

Research

The magic of magnesium.

International journal of pharmaceutical compounding, 2008

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.