Free Shipping on all NZ orders over $99

60-Day Money-Back Guarantee

Magnesium · Nutrition Guide

Top Magnesium-Rich Foods to Add to Your Diet

Updated February 2026 10 min read Reviewed by Dr. Ron Goedeke

If your plan is "I'll just eat healthier," magnesium is one of the easiest wins you can still miss. The good news is it's not hiding in weird foods — it's in regular stuff you can buy anywhere.

The top magnesium-rich foods include pumpkin seeds, chia seeds, almonds, cashews, spinach, Swiss chard, black beans, lentils, edamame, dark chocolate, avocado, yoghurt, and salmon. However, the same food can feel like it works for one person and does nothing for another, depending on portion size, how often you eat it, what else is on your plate, and even how you cook it.

Here is your complete list of magnesium-rich foods with realistic serving sizes and practical tips.

150 mg
Magnesium per 28g of pumpkin seeds
7-10 mg
Recommended per kg of body weight daily
75-90%
Magnesium lost when grains are refined

How to Read Magnesium Amounts

Daily targets

Most adults do well with 7-10 mg of magnesium per kg of body weight per day. If you're healthy with no obvious issues, aim for the lower end. If you're experiencing symptoms, training hard, or under significant stress, aim for the higher end. For specific guidance, see our magnesium dosage guide.

Body weight Minimum (7 mg/kg) Higher demand (10 mg/kg)

60 kg

420 mg/day

600 mg/day

75 kg

525 mg/day

750 mg/day

90 kg

630 mg/day

900 mg/day

100 kg

700 mg/day

1,000 mg/day

"Per 100g" numbers can mislead — use portions instead.

Food databases list magnesium per 100g, but nobody eats that way. Cocoa powder shows 430 mg per 100g, which sounds extraordinary - but 100g is three-quarters of a cup of pure cocoa. A realistic serving of 1-2 tablespoons gives you 25-50 mg. Pumpkin seeds show 550 mg per 100g, but a typical snack is 28g, which gives you 150 mg. Throughout this guide, all figures use realistic serving sizes.

Nuts and Seeds (Highest Sources)

Seeds and nuts are the most concentrated dietary sources of magnesium per realistic serving. Pumpkin seeds, in particular, are hard to beat.

Food Serving Magnesium How to eat

Pumpkin seeds

28g (small handful)

150 mg

Roasted snack, salad topping, trail mix

Flax seeds (ground)

2 tablespoons

110 mg

Smoothies, yoghurt, baking (must be ground)

Brazil nuts

6-8 nuts

105 mg

Daily snack, crushed on granola

Chia seeds

2 tablespoons

95 mg

Chia pudding, smoothies, oat topping

Sunflower seeds

28g

90 mg

Roasted snack, salads, seed butter

Cashews

28g

80 mg

Cashew butter, curries, smoothies

Hemp seeds

3 tablespoons

80 mg

Smoothies, salads, sauces

Almonds

28g (23 almonds)

75 mg

Snack, almond butter, sliced on oats

Legumes and Grains

Whole grains and legumes contribute meaningfully to daily magnesium intake, especially when they replace refined grain alternatives. Buckwheat and millet are often overlooked but are among the best grain sources.

Food Serving Magnesium How to eat

Buckwheat

1/2 cup cooked

85 mg

Soba noodles, pancakes, porridge

Millet

1/2 cup cooked

75 mg

Porridge, grain bowls, pilaf

Quinoa

1/2 cup cooked

60 mg

Grain bowls, salads, side dish

Oats

1/2 cup dry

60 mg

Porridge, overnight oats, smoothies

Black beans

1/2 cup cooked

60 mg

Burritos, soup, salads

Edamame

1/2 cup shelled

50 mg

Steamed with salt, stir-fries

Chickpeas

1/2 cup cooked

40 mg

Hummus, roasted snack, curries

Brown rice

1/2 cup cooked

40 mg

Stir-fries, burrito bowls, side dishes

Lentils

1/2 cup cooked

35-40 mg

Soup, dal, salads

Kidney beans

1/2 cup cooked

35 mg

Chilli, stews, bean salads

Whole wheat bread

1 slice

25-30 mg

Toast, sandwiches

Refined grains cost you significantly: White rice, white bread, and regular pasta lose 75-90% of their magnesium during processing. Switching to whole grain alternatives is one of the simplest ways to lift your daily intake.

Leafy Greens and Vegetables

Cooking leafy greens concentrates their magnesium content because they wilt down significantly. One cup of cooked spinach provides much more magnesium than one cup of raw spinach — a useful detail when estimating your actual intake.

Food Serving Magnesium How to eat

Spinach (cooked)

1 cup

80 mg

Sautéed, smoothies, curries

Swiss chard (cooked)

1 cup

75 mg

Sautéed with garlic, soups

Artichokes

1 medium

50 mg

Steamed with lemon butter, grilled

Collard greens (cooked)

1 cup

40 mg

Braised, wraps, soups

Sweet potato

1 medium

30 mg

Baked, mashed, roasted

Kale (raw)

1 cup chopped

25 mg

Massaged salads, smoothies, baked chips

Brussels sprouts

1/2 cup cooked

15 mg

Roasted, sautéed

Arugula

1 cup raw

15 mg

Salads, pizza toppings, pesto

Broccoli

1/2 cup cooked

10 mg

Steamed, roasted, stir-fries

Seafood and Animal Foods

Animal-based foods tend to sit in the middle tier for magnesium content. Halibut and mackerel stand out within this group, while common protein staples like chicken breast and beef are lower. These foods are still nutritionally valuable — just not your primary lever for hitting magnesium targets.

Food Serving Magnesium How to eat

Halibut

100g fillet

90 mg

Pan-seared, baked, fish tacos

Mackerel

100g fillet

80 mg

Grilled, smoked, canned

Salmon

100g fillet

30 mg

Grilled, baked, smoked

Turkey

100g

30 mg

Roasted, ground, deli slices

Chicken breast

100g

25 mg

Grilled, baked, stir-fries

Beef

100g

20 mg

Steaks, mince, stews

💡

Protein-rich but mineral-poor: Chicken breast, egg whites, protein shakes, and low-fat yoghurt are all nutritious, but they don't contribute meaningful amounts of magnesium. If these foods dominate your meals, you may be protein-rich but mineral-poor.

Fruits and Other Foods

Dark chocolate is the standout in this category — at 60-95 mg per ounce (70-85% cocoa), it delivers more magnesium per gram than most vegetables. Avocado and banana are useful additions to meals rather than primary sources.

Food Serving Magnesium How to eat

Dark chocolate (70-85%)

28g (1 ounce)

60-95 mg

Dessert, melted over fruit

Cocoa powder

1-2 tablespoons

25-50 mg

Smoothies, hot chocolate, baking

Avocado

1/2 avocado

30 mg

Toast, salads, guacamole

Banana

1 medium

30 mg

Snacks, smoothies, on oats

Dried figs

40g (3-4 figs)

25 mg

Snacks, salads

Why a "Healthy Diet" Can Still Miss Magnesium

Even with a clean diet, you can still fall short on magnesium. There are a few very common reasons this happens.

Soil depletion. Modern farming practices have depleted soil quality over the past 50-70 years, meaning the produce you buy today can contain less magnesium than the same foods did decades ago, even if you're eating well. This is documented across multiple agricultural studies.

Refined grains. As noted above, white rice, white bread, and regular pasta lose 75-90% of their magnesium during processing. If these are staples in your diet, you may be missing a major magnesium source without realising it.

Calcium-magnesium imbalance. Many people focus heavily on calcium for bone health — through dairy, fortified foods, and supplements — but neglect magnesium. Too much calcium relative to magnesium can interfere with absorption.

Higher demand from lifestyle. Stress, hard training, and regular alcohol consumption all increase your magnesium needs. If you're highly active or chronically stressed, your body burns through magnesium faster than someone living a lower-demand lifestyle. For more on this, see our guide on magnesium deficiency symptoms.

Evidence-based benefits of magnesium

Common Mistakes That Quietly Sabotage Magnesium Intake

Relying on one "superfood" and quitting after a few days.

Someone learns that pumpkin seeds are high in magnesium, goes all-in for a few days, then gets sick of them and drops the whole idea. The issue isn't pumpkin seeds - it's the "one food will save me" mindset. Magnesium intake is a weekly habit, and when your strategy depends on a single food, you've basically built your plan on boredom.

The fix: Rotate your magnesium sources across categories - nuts and seeds, leafy greens, legumes, whole grains, and dark chocolate. Build a system where you can swap one source for another without restarting your diet every week.

Ultra-processed "health" foods that crowd out real food.

Protein bars, meal replacement shakes, flavoured yoghurts, and fortified cereals may seem like responsible choices. But the bigger issue is what they replace. When these become daily staples, they crowd out the foods that naturally carry magnesium alongside fibre, water, and a richer nutrient profile.

Fortified doesn't always mean absorbed, either. Magnesium is one of those nutrients where your gut environment plays a large role. If your overall diet is low in fibre or heavy in additives, your digestion can undermine absorption even when you're technically consuming enough.

The fix: Prioritise whole foods first. A bowl with beans, greens, and whole grains will do more for you long-term than relying on bars and shakes.

Ignoring the basics: sleep, hydration, and sufficient calories.

If you're under-eating, dehydrated, or sleep-deprived, your magnesium needs go up while your body becomes less efficient at using what it gets. Under-eating is especially common. When calories drop too low, magnesium intake usually drops with it, and stress hormones can rise - amplifying the symptoms you're trying to fix.

Hydration matters too. Magnesium works closely with electrolytes, and dehydration can throw off balance and amplify symptoms like fatigue, headaches, or cramps. Sleep is where your body does most of its repair work. If sleep is consistently poor, the whole "supplement one thing and feel great" expectation becomes unrealistic.

The fix: Hit your calorie needs, drink enough water, and prioritise 7-8 hours of sleep. Fixing the basics makes magnesium strategies work better, not just "more."

Magnesium for muscle cramps

When Food Is Not Enough

Sometimes diet alone doesn't cut it. Supplementation makes practical sense in a few scenarios:

  • Diagnosed deficiency or clear symptoms — if you're noticing the classic signs that match magnesium deficiency symptoms, waiting for food alone to fix it is slow.
  • Athletes and highly active people — training increases demand, and you can burn through magnesium faster than food intake replaces it. See our guide on magnesium for exercise.
  • Absorption issues — if digestive problems impair absorption, you can eat all the right foods and still fall short.
  • Specific health conditions — conditions such as migraines or high blood pressure are contexts where magnesium is commonly part of the discussion.
  • Restricted diets — dairy-free, grain-free, or nut-free diets remove several of the easiest food sources, making it harder to hit targets consistently.

If supplementation makes sense for your situation, see our guide on what makes the best magnesium supplement, or review our magnesium dosage guide for specific amounts.

💡

Related: See our full overview of magnesium side effects and overdose risks before supplementing, particularly if you're considering higher doses.

Key Takeaways
  • Pumpkin seeds are the highest single source at 150 mg per 28g serving — a reliable daily anchor food.
  • Most adults need 7-10 mg of magnesium per kg of body weight per day; a 75 kg person needs 525-750 mg.
  • Refined grains lose 75-90% of their magnesium — switching to whole grains is one of the easiest intake improvements.
  • Cooking leafy greens concentrates their magnesium; one cup of cooked spinach provides significantly more than one cup raw.
  • A "per 100g" figure can be misleading; realistic portion sizes are the more useful benchmark.
  • Stress, hard training, and low calorie intake all increase magnesium needs and can cause depletion even with a reasonable diet.
  • When food alone is not enough, supplementation is a practical option — particularly for athletes, people with absorption issues, or those on restricted diets.

Frequently Asked Questions

What food has the most magnesium per serving?

Pumpkin seeds deliver around 150 mg per 28g (a small handful), making them the single highest source per realistic serving. Dark chocolate (70-85% cocoa) comes close at 60-95 mg per ounce, and cooked spinach provides about 80 mg per cup.

That said, "highest per serving" isn't the only factor. A food you eat consistently twice a week is more useful than a superfood you choke down once and never touch again.

How fast can magnesium-rich foods make a difference?

For mild deficiency, consistently eating magnesium-rich foods can improve energy, sleep, and muscle tension within 1-2 weeks. For more severe deficiency or specific conditions like migraines, it may take 6-12 weeks of consistent intake to see meaningful changes.

For more on how magnesium supports sleep specifically, see our guide on the best form of magnesium for sleep.

Are bananas a good magnesium source?

Bananas contain about 30 mg per medium fruit, which is modest compared to pumpkin seeds (150 mg) or almonds (75 mg). They are better known for potassium - around 420 mg per banana.

If you like bananas, eat them. They're convenient and pair well with other magnesium-rich foods like almond butter or oats. Just don't rely on them as your primary magnesium source.

Can I get enough magnesium on a dairy-free diet?

Yes. Dairy isn't actually a major magnesium source - it provides only 20-30 mg per serving. A dairy-free diet can meet magnesium targets through nuts and seeds (pumpkin seeds, almonds, cashews), leafy greens (spinach, Swiss chard), legumes (black beans, lentils), whole grains (quinoa, oats), and dark chocolate.

What is the best magnesium-rich breakfast that takes under 5 minutes?

Overnight oats prepared the night before: half a cup of rolled oats (60 mg), 1 tablespoon of chia seeds (50 mg), 1 tablespoon of almond butter (25 mg), and half a sliced banana (15 mg) delivers around 150 mg in under 5 minutes.

Alternatively, a smoothie with spinach (80 mg), hemp seeds (80 mg), banana (30 mg), and cocoa powder (25-50 mg) can deliver 200+ mg with minimal preparation.

Does coffee lower magnesium levels?

It's largely overstated. Coffee slightly increases urinary magnesium excretion, but the effect is small. Moderate consumption of 1-3 cups daily alongside magnesium-rich meals is not a meaningful concern for most people. If you want to be cautious, pair your morning coffee with a magnesium-rich breakfast.

What are the best magnesium-rich foods for athletes?

Athletes have higher magnesium needs due to sweat losses and increased metabolic demand. The best options combine magnesium with complementary nutrients: pumpkin seeds (magnesium plus zinc and iron), almonds (magnesium plus vitamin E and healthy fats), quinoa (magnesium plus complete protein and carbs), spinach (magnesium plus iron and nitrates), dark chocolate (magnesium plus flavonoids), and bananas (magnesium plus potassium).

See our full guide on magnesium for exercise and muscle recovery.

Can magnesium-rich foods help constipation?

Some do, through multiple mechanisms. Beans and lentils contribute magnesium plus fibre; ground flax seeds provide magnesium plus fibre plus omega-3s; chia seeds absorb water and add bulk; leafy greens deliver magnesium plus fibre and water content; oats offer soluble fibre alongside magnesium.

For persistent constipation, magnesium supplements in citrate or oxide form have a more direct laxative effect. See our magnesium side effects guide for more detail.

What foods pair well with magnesium for muscle recovery?

Pair magnesium-rich foods with protein for muscle repair (almonds with Greek yoghurt, quinoa with grilled chicken, spinach with eggs), with potassium for electrolyte balance (banana with almond butter, sweet potato with black beans, avocado with pumpkin seeds), and with omega-3s to support recovery (salmon with quinoa, ground flax seeds stirred through oats).

How do I raise magnesium without raising calories too much?

Focus on low-calorie, nutrient-dense options: cooked leafy greens (spinach, Swiss chard, kale) are extremely low in calories and high in magnesium; edamame provides 120 calories per cup with 50 mg magnesium and high protein; portion-controlled pumpkin seeds give 150 mg in just 28g (150 calories); and cocoa powder delivers 25-50 mg per 1-2 tablespoons at only 10-20 calories.

Avoid relying on nuts and dark chocolate if keeping calories low - both are nutrient-dense but calorically significant in larger portions.

Biosphere Nutrition · New Zealand

When food isn't getting you there, try New Zealand's premium magnesium supplement

A therapeutic 400mg dose of triple-form magnesium (glycinate, citrate, and malate) in a single serve. Third-party tested, with a Certificate of Analysis available. Free shipping on NZ orders over $99.

Shop Magnesium
When food isn't getting you there, try New Zealand's premium magnesium supplement

About the Reviewer

MB ChB, Integrative Medicine — New Zealand

Dr. Ron Goedeke, an expert in the domain of functional medicine, dedicates his practice to uncovering the root causes of health issues by focusing on nutrition and supplement-based healing and health optimisation strategies. An esteemed founding member of the New Zealand College of Appearance Medicine, Dr. Goedeke's professional journey has always been aligned with cutting-edge health concepts.

Having been actively involved with the American Academy of Anti-Aging Medicine since 1999, he brings over two decades of knowledge and experience in the field of anti-aging medicine, making him an eminent figure in this evolving realm of healthcare. Throughout his career, Dr. Goedeke has been steadfast in his commitment to leverage appropriate nutritional guidance and supplementation to encourage optimal health.

Medical Disclaimer: This article is for informational purposes only and does not constitute medical advice. Always consult with a qualified healthcare professional before making significant dietary changes or starting any new supplement regimen, especially if you are pregnant, nursing, taking medications, or have a medical condition.

 
x