Foods High in Magnesium Guide: Benefits, Top Foods & Daily Needs

A practical, evidence-based guide to magnesium-rich foods, how much you need each day, and how to hit your target from real meals, with portions in grams and US household units.

Written by Victura Nutrition TeamReviewed by Victura Editorial ReviewLast updated Oct 13, 2026

Foods High In Magnesium food photo hero image
Foods High in Magnesium Guide: Benefits, Top Foods & Daily Needs — real photo

Quick answer

Per portion, roasted pumpkin seeds are hard to beat at about 150 mg per 1 oz (28 g). Cooked spinach is close at about 157 mg per 1 cup (180 g), but that is a much larger serving. Chia seeds (about 95 mg per 2 tbsp), almonds (about 80 mg per 1 oz), and cooked black beans (about 120 mg per 1 cup) round out the top of the list.

A practical, evidence-based guide to magnesium-rich foods, how much you need each day, and how to hit your target from real meals, with portions in grams and US household units.

Key takeaways

  • Pumpkin seeds, chia, almonds, spinach, and black beans are among the richest magnesium sources.
  • Most adults need 310 to 420 mg of magnesium daily, depending on age, sex, and pregnancy.
  • A day of oatmeal, beans, almonds, and spinach can exceed 400 mg without supplements.
  • Food magnesium is well tolerated; the supplement upper limit is 350 mg per day.
  • Ask a clinician before supplementing if you have kidney disease or take diuretics.

Magnesium-rich foods: what the evidence says

Research-backed

What magnesium does in your body

Magnesium is a mineral your body uses in more than 300 enzyme systems. It supports muscle and nerve function, blood pressure regulation, blood sugar control, and the building of bone, protein, and DNA. Adults store roughly 25 g of magnesium, and 50 to 60 percent of it sits in bone.

Because most magnesium lives inside cells, a routine blood test is an imperfect measure of total body stores. Low intake can therefore build quietly over years. National nutrition surveys suggest a large share of adults in the US and Canada fall short of recommended magnesium intake from food alone.

Habitual shortfalls are linked with higher long-term risk of high blood pressure, type 2 diabetes, and lower bone density. This page is general nutrition education, not medical advice for a diagnosed deficiency.

How much magnesium do you need each day

Daily needs depend on age, sex, and life stage. The Recommended Dietary Allowances (RDAs) below come from the NIH Office of Dietary Supplements.

Group Daily magnesium (mg)
Men 19-30 400
Men 31+ 420
Women 19-30 310
Women 31+ 320
Pregnancy 350-360
Breastfeeding 310-320

Practical notes:

  • Men need 400-420 mg and women 310-320 mg per day, depending on age.
  • Pregnancy raises the target to 350-360 mg; breastfeeding stays near 310-320 mg.
  • Heavy sweating and intense training increase magnesium losses, but no separate RDA exists for athletes.

Best food sources of magnesium

Nuts, seeds, legumes, and leafy greens do most of the work. Values below are approximate USDA FoodData Central figures, and brands, cooking methods, and draining can shift them slightly.

Food Portion (g + US units) Magnesium per portion
Pumpkin seeds, roasted 28 g (1 oz, about 1/4 cup) 150 mg
Spinach, cooked 180 g (1 cup) 157 mg
Black beans, cooked 172 g (1 cup) 120 mg
Edamame, cooked 155 g (1 cup) 99 mg
Chia seeds 28 g (2 tbsp) 95 mg
Brown rice, cooked 195 g (1 cup) 84 mg
Almonds, dry roasted 28 g (1 oz, about 23 nuts) 80 mg
Cashews, dry roasted 28 g (1 oz) 74 mg
Dark chocolate, 70-85% 28 g (1 oz) 65 mg
Soy milk, unsweetened 243 g (1 cup) 60 mg
Peanuts 28 g (1 oz) 49 mg
Potato, baked with skin 173 g (1 medium) 48 mg
Avocado 150 g (1 cup, cubed) 44 mg
Yogurt, plain 245 g (1 cup) 40 mg
Oatmeal, cooked 234 g (1 cup) 36 mg
Banana 118 g (1 medium) 32 mg
Salmon, cooked 85 g (3 oz) 31 mg
Egg, large 50 g (1 egg) 6 mg

How to read the table:

  • One ounce is a small handful of nuts or seeds, roughly 1/4 cup.
  • Values are per listed portion, so you do not need to do per-100 g math.
  • Plant foods dominate the top of the list; animal foods are consistently low.

Nuts, seeds, greens, and legumes: the richest sources

  • Pumpkin seeds, roasted: 150 mg per 1 oz (28 g), one of the highest single-food sources.
  • Chia seeds: 95 mg per 2 tbsp (28 g), easy to stir into yogurt, oats, or a smoothie.
  • Almonds: 80 mg per 1 oz (28 g), about 23 nuts.
  • Cashews: 74 mg per 1 oz (28 g).
  • Peanuts and peanut butter: 49 mg per 1 oz (28 g) of nuts.
  • Spinach, cooked: 157 mg per 1 cup (180 g). Raw spinach is far lower by volume because the leaves are mostly water.
  • Black beans and edamame: 120 mg and 99 mg per cooked cup (172 g and 155 g).
  • Soy milk, unsweetened: 60 mg per 1 cup (243 g).

Seeds and legumes also supply fiber and plant protein, so they fit most eating patterns. On a low-carb or keto-style plan, seeds, nuts, and dark chocolate are the practical magnesium sources; beans, rice, and oats are not.

How to reach your daily target from food

A simple three-meal build gets most adults past the RDA:

  1. Breakfast: 1 cup cooked oatmeal (36 mg) with 1 oz almonds (80 mg) = 116 mg.
  2. Lunch: 1 cup cooked black beans (120 mg) with 1 medium baked potato, skin on (48 mg) = 168 mg.
  3. Dinner: 1 cup cooked spinach (157 mg) with 3 oz cooked salmon (31 mg) = 188 mg.

That day totals about 470 mg. Add 1 oz pumpkin seeds as a snack (150 mg) if you want a wider margin.

Key takeaway: Oatmeal, almonds, black beans, and cooked spinach can cover a full adult magnesium RDA in one ordinary day of eating.

Some people need more magnesium than the RDA assumes. Talk with a clinician if you have Crohn's disease, celiac disease, chronic diarrhea, heavy alcohol use, poorly controlled type 2 diabetes, or long-term use of diuretics or proton-pump inhibitors.

Food or supplements?

  • Absorption: you take in roughly 30 to 40 percent of the magnesium in food, and your body adjusts that rate based on need. Supplement absorption is lower and less self-regulated.
  • Upper limit: the tolerable upper intake level for supplemental magnesium is 350 mg per day for adults. Above that, diarrhea and abdominal cramping are common.
  • Evidence: diets rich in magnesium-rich foods are consistently linked with lower blood pressure and lower type 2 diabetes risk in observational studies. Trial evidence for supplements is mixed, with modest blood pressure effects and limited evidence for migraine prevention at higher doses.
  • Kidney disease: magnesium supplements can be unsafe when kidneys clear magnesium poorly, so do not start them without medical guidance.
  • Food first: high-magnesium foods also deliver fiber, potassium, and protein that a pill cannot replace.

How people work magnesium into real meals

Community insight

How people add magnesium to everyday meals

The patterns below come from anonymized Victura meal logs. They describe habits, not clinical outcomes.

  • Stirring 1-2 tbsp chia or ground flax into yogurt, oatmeal, or a smoothie.
  • Topping salads, grain bowls, and roasted vegetables with pumpkin seeds or almonds.
  • Keeping a jar of pumpkin seeds on the counter as the default snack.
  • Swapping white rice for brown rice, or stirring a cup of spinach into soups and pasta sauce.

What the logs suggest about consistency

  • Magnesium totals track with breakfast more than dinner. People who log seeds or nuts in the morning land in their target range far more often.
  • Weekends dip for many users, mainly because home-cooked legume and greens meals drop out of the day.
  • Magnesium rarely arrives alone. Logs that hit the target also trend higher in potassium and fiber, since the same foods supply all three.

Habits that stick

  1. Pick one seed and one green as defaults for the week, such as pumpkin seeds and spinach.
  2. Add a legume to two lunches, for example black beans or edamame.
  3. Check your total once with the magnesium daily needs calculator, then stop counting and repeat what worked.
  4. Browse the magnesium hub for single-food pages when you want exact numbers for a specific food.

Most users find that two or three swaps, not a full diet overhaul, close the gap between typical intake and the 310-420 mg daily target.

References

  1. NIH Office of Dietary Supplements - Magnesium Fact Sheet for Health Professionals(nih_ods)
  2. USDA FoodData Central(usda)
  3. Harvard T.H. Chan School of Public Health - Magnesium(harvard)
  4. PubMed - Magnesium supplementation and blood pressure meta-analyses(pubmed)
  5. Mayo Clinic - Magnesium supplement overview(mayo_clinic)

Frequently asked questions

Per portion, roasted pumpkin seeds are hard to beat at about 150 mg per 1 oz (28 g). Cooked spinach is close at about 157 mg per 1 cup (180 g), but that is a much larger serving. Chia seeds (about 95 mg per 2 tbsp), almonds (about 80 mg per 1 oz), and cooked black beans (about 120 mg per 1 cup) round out the top of the list. Values are approximate USDA FoodData Central figures.

People also ask

  • Which food has the most magnesium?

    Per portion, roasted pumpkin seeds are hard to beat at about 150 mg per 1 oz (28 g). Cooked spinach is close at about 157 mg per 1 cup (180 g), but that is a much larger serving. Chia seeds (about 95 mg per 2 tbsp), almonds (about 80 mg per 1 oz), and cooked black beans (about 120 mg per 1 cup) round out the top of the list. Values are approximate USDA FoodData Central figures.

  • How can I get 400 mg of magnesium a day from food?

    Build meals around one seed or nut, one legume, and one leafy green. One example: 1 cup cooked oatmeal with 1 oz almonds (116 mg), 1 cup cooked black beans (120 mg), and 1 cup cooked spinach with 3 oz salmon (188 mg) totals roughly 424 mg. Snacking on 1 oz pumpkin seeds adds about 150 mg if you want a buffer.

  • Are bananas high in magnesium?

    Moderately. A medium banana (118 g) supplies about 32 mg of magnesium, roughly 8 percent of an adult man's daily target. Bananas are better known for potassium. They still help, because fruit is easy to eat daily and small contributions add up across a day of whole foods.

  • Do eggs contain magnesium?

    Only a little. One large egg (50 g) has roughly 6 mg of magnesium, and most meats and dairy are similarly low compared with seeds, nuts, legumes, and greens. If eggs anchor your breakfast, pair them with oatmeal, chia, or almonds to lift the meal's magnesium total.

  • Is it better to get magnesium from food or supplements?

    Food first for most people. You absorb roughly 30 to 40 percent of the magnesium in food, and your body adjusts absorption based on need. High-magnesium foods also bring fiber, protein, and potassium. Supplements have a tolerable upper intake level of 350 mg per day for adults, above which diarrhea is common, and they should be discussed with a clinician if you have kidney disease or take diuretics or proton-pump inhibitors.

  • What depletes magnesium in the body?

    Several things can lower magnesium status: chronic gastrointestinal conditions such as Crohn's disease or celiac disease, ongoing diarrhea, heavy alcohol use, poorly controlled type 2 diabetes, and long-term use of certain medications including diuretics and proton-pump inhibitors. Older adults and people on very low-calorie diets are also at higher risk. Persistent cramps, fatigue, or tingling deserve a medical evaluation rather than self-diagnosis.

  • How much magnesium do adults need per day?

    Adults need 310 to 420 mg per day depending on age and sex. Men 19-30 need 400 mg and men 31 and older need 420 mg; women 19-30 need 310 mg and women 31 and older need 320 mg. Pregnancy raises the target to 350-360 mg. These RDAs from the NIH Office of Dietary Supplements refer to magnesium from food, not supplements.

  • What are the top 10 foods high in magnesium?

    By portion, the richest magnesium foods include roasted pumpkin seeds (150 mg per 1 oz), cooked spinach (157 mg per 1 cup), cooked black beans (120 mg per 1 cup), cooked edamame (99 mg per 1 cup), chia seeds (95 mg per 2 tbsp), cooked brown rice (84 mg per 1 cup), dry roasted almonds (80 mg per 1 oz), dry roasted cashews (74 mg per 1 oz), 70-85% dark chocolate (65 mg per 1 oz), and unsweetened soy milk (60 mg per 1 cup). Values are approximate USDA FoodData Central figures.

  • Which nuts and seeds are highest in magnesium?

    Pumpkin seeds lead at about 150 mg per 1 oz (28 g), followed by chia seeds at about 95 mg per 2 tbsp, almonds at about 80 mg per 1 oz, cashews at about 74 mg per 1 oz, and peanuts at about 49 mg per 1 oz. A small handful of seeds or nuts daily is one of the easiest ways to raise magnesium intake.

  • What is the daily recommended intake of magnesium?

    Adults need 310 to 420 mg of magnesium per day. Men 19-30 need 400 mg and men 31 and older need 420 mg; women 19-30 need 310 mg and women 31 and older need 320 mg. Pregnancy raises the target to 350-360 mg. These RDAs from the NIH Office of Dietary Supplements refer to magnesium from food.

How we review this guide

Written by
Victura Nutrition Team
Reviewed by
Victura Editorial Review
Reference sources
7
Last updated
Oct 13, 2026

Revision & correction policy

Ready to track your meals with AI?

Victura scans your plate, logs macros automatically, and coaches you toward your goals — halal, keto, diabetic-friendly, and more.