Magnesium-Rich Foods: How Much You Get from Diet and When to Supplement

Updated 11 April 2026

Your body absorbs magnesium from food better than from supplements. But most modern diets fall short. This guide shows the top 20 magnesium-rich foods, a sample meal plan that hits 300+ mg, and how to calculate the gap that supplements need to fill.

Why Food First?

The body absorbs magnesium from whole foods more efficiently than from supplements. Food-based magnesium comes alongside cofactors (like fibre, B vitamins, and other minerals) that enhance absorption and utilization. There is also no risk of the GI side effects that can occur with concentrated supplement doses.

However, modern diets have a significant magnesium shortfall. Industrial farming has reduced soil mineral content. Food processing removes magnesium-rich outer layers of grains (refining wheat into white flour loses up to 80% of its magnesium). And dietary patterns have shifted away from magnesium-rich whole foods toward processed alternatives. The result: most people need both dietary optimization and modest supplementation.

Top 20 Magnesium-Rich Foods

FoodServingMg (mg)% RDA
Spinach (cooked)1 cup15739%
Pumpkin seeds (pepitas)1 oz (28g)15639%
Swiss chard (cooked)1 cup15038%
Black beans (cooked)1 cup12030%
Quinoa (cooked)1 cup11830%
Edamame (shelled)1 cup10025%
Cashews (raw)1 oz (28g)8321%
Almonds (raw)1 oz (28g)8020%
Lentils (cooked)1 cup7118%
Dark chocolate (70%+)1 oz (28g)6516%
Peanut butter2 tbsp6316%
Avocado1 whole5815%
Brown rice (cooked)1 cup5414%
Tofu (firm)1/2 cup5313%
Oatmeal (cooked)1 cup5213%
Salmon (cooked)3 oz4812%
Whole wheat bread2 slices4612%
Banana1 medium328%
Broccoli (cooked)1 cup328%
Greek yogurt1 cup308%

Source: USDA FoodData Central. % RDA based on 400 mg (adult male RDA). Values are approximate and vary by source.

A Day That Hits 300+ mg from Food

Breakfast

  • Oatmeal (1 cup cooked)52 mg
  • Pumpkin seeds (1 tbsp topping)46 mg
  • Banana (1 medium)32 mg

Subtotal: 130 mg

Lunch

  • Quinoa bowl (1 cup cooked)118 mg
  • Spinach (1 cup raw, in salad)24 mg
  • Avocado (half)29 mg

Subtotal: 171 mg

Dinner

  • Salmon (3 oz)48 mg
  • Brown rice (1 cup cooked)54 mg
  • Broccoli (1 cup cooked)32 mg

Subtotal: 134 mg

Daily total: ~435 mg

This exceeds the RDA without any supplements

This is an optimistic example. Most people do not eat this many magnesium-rich foods consistently. The typical American adult gets about 200 to 300 mg from food, leaving a gap of 50 to 200 mg that supplementation can fill.

The Dietary Gap

Typical intake

200-300 mg

from food per day

RDA target

310-420 mg

depending on age/sex

Supplement gap

50-200 mg

to fill with a supplement

If your gap is small (50 to 100 mg) and you have no specific health goals, either glycinate or citrate works well. If sleep or anxiety is the driver, choose glycinate for the added glycine benefit. If constipation is a concern, choose citrate for the osmotic laxative effect. For a larger gap or active deficiency correction, 200 to 400 mg from supplements may be appropriate.

Why Modern Food Has Less Magnesium

Soil depletion

Industrial farming practices prioritize yield over mineral content. Monoculture cropping depletes soil minerals without adequate replenishment. Studies comparing historical and modern crop mineral content (Thomas 2007, Davis 2004) have documented significant declines in magnesium, iron, zinc, and other minerals in commonly grown fruits and vegetables. Some estimates suggest a 20 to 30% decline in magnesium content over the past 50 years.

Food processing

Refining grains strips away the bran and germ, where most minerals are concentrated. White flour contains only about 20% of the magnesium found in whole wheat flour. White rice has roughly 25% of the magnesium in brown rice. The shift toward processed, refined carbohydrates in the modern diet has significantly reduced daily magnesium intake.

Water treatment

Historically, drinking water was a significant source of magnesium. Modern water treatment and filtration remove most minerals. Softened water (common in areas with hard water) specifically removes magnesium and calcium. Bottled water varies widely in mineral content. This is a small but meaningful loss in total daily magnesium intake.

Disclaimer: Nutritional values are approximate and sourced from USDA FoodData Central. Actual magnesium content varies by growing conditions, variety, and preparation method. This content is for educational purposes only.

Frequently Asked Questions

Can I get enough magnesium from food alone?
In theory, yes. A diet rich in nuts, seeds, leafy greens, legumes, and whole grains can provide 300 to 400+ mg of magnesium per day. In practice, most modern diets fall short. NHANES data shows that over 50% of American adults do not meet the RDA from food alone.
What food has the most magnesium?
Pumpkin seeds (pepitas) are the single richest common food source at about 156 mg per ounce (roughly 2 tablespoons). Cooked spinach (157 mg per cup) and Swiss chard (150 mg per cup) are also excellent sources.
Does cooking reduce magnesium in food?
Boiling vegetables can leach magnesium into the water (up to 30 to 40% loss). Steaming, roasting, or sauteing preserves more magnesium. If you boil vegetables, consider using the cooking water in soups or sauces.
Why is modern food lower in magnesium?
Two main reasons: industrial farming has depleted soil mineral content (some estimates suggest 20 to 30% decline over the past 50 years), and food processing removes magnesium-rich parts of grains. Refining wheat into white flour removes up to 80% of the magnesium.
Should I supplement even if I eat well?
If your diet consistently includes multiple magnesium-rich foods and you have no risk factors for deficiency, you may not need supplementation. However, most people benefit from 100 to 200 mg of supplemental magnesium to close the gap between typical dietary intake and the RDA.