By Dr. Lisa Valente · Published November 26, 2025 · 13 min read
Magnesium rich foods are the most overlooked category in everyday nutrition — and the gap shows. Nearly 50% of Americans consume less magnesium than their Estimated Average Requirement, according to the NIH Office of Dietary Supplements. That makes magnesium one of the most widespread micronutrient shortfalls in the Western diet, yet most people have never thought to track it.
Magnesium is involved in more than 300 enzymatic reactions — from muscle contraction and energy production to blood sugar regulation and sleep quality. You can't feel it working, but you'll notice when it's missing.
This guide lists all 30 of the best magnesium rich foods with exact milligram counts per serving, organized by food category, so you can build a varied, magnesium-dense diet without relying on supplements.
What Magnesium Does in Your Body
Magnesium is the fourth most abundant mineral in the human body and a cofactor for over 300 enzyme systems. Its roles span nearly every organ system:
- Muscle and nerve function — regulates muscle contractions and neuromuscular transmission
- Energy metabolism — activates ATP, the molecule that powers every cell
- Blood sugar regulation — improves insulin sensitivity and glucose transport
- Blood pressure — relaxes blood vessel walls, reducing hypertension risk
- Bone health — approximately 60% of the body's magnesium is stored in bone
- Sleep quality — modulates GABA receptors, promoting deeper, more restorative sleep
- Vitamin D activation — the enzymes that convert vitamin D to its active form require magnesium
A 2018 review published in Open Heart (BMJ) identified subclinical magnesium deficiency as "a principal driver of cardiovascular disease and a public health crisis," noting links to arrhythmia, sudden cardiac death, hypertension, and insulin resistance.
Top 10 Magnesium Rich Foods at a Glance
These are the highest-yielding sources per single serving:
| Food | Serving Size | Magnesium per Serving | % Daily Value (420 mg) |
|---|---|---|---|
| Hemp seeds | 3 tbsp (30g) | 210 mg | 50% |
| Pumpkin seeds (hulled) | 1 oz (28g) | 156 mg | 37% |
| Chia seeds | 1 oz (28g) | 111 mg | 26% |
| Brazil nuts | 1 oz (28g) | 105 mg | 25% |
| Sunflower seeds | 1 oz (28g) | 91 mg | 22% |
| Brown rice (cooked) | 1 cup (195g) | 86 mg | 20% |
| Atlantic mackerel (cooked) | 3 oz (85g) | 82 mg | 19% |
| Almonds | 1 oz (28g) | 80 mg | 19% |
| Spinach (cooked) | ½ cup (90g) | 78 mg | 19% |
| Cacao powder (unsweetened) | 2 tbsp (15g) | 75 mg | 18% |
30 Magnesium Rich Foods: The Complete List
Seeds: The Highest Magnesium Sources (1–6)
Seeds are nature's most concentrated magnesium delivery system. They're small, calorie-dense, and extraordinarily mineral-rich — a handful can cover a significant fraction of your daily requirement.
1. Hemp seeds — 210 mg per 3 tbsp (30g) Hemp seeds lead the pack by serving, delivering more magnesium per tablespoon than almost any other food. They're also a complete protein source and rich in omega-3 fatty acids. Add them to smoothies, oatmeal, or yogurt — they have a mild, nutty flavor that disappears into most foods.
2. Pumpkin seeds (hulled, roasted) — 156 mg per oz (28g) Hulled pumpkin seeds — also called pepitas — are the most frequently cited magnesium food, and rightfully so. One ounce covers over a third of the adult daily requirement. Roasting lightly preserves their magnesium content while adding a satisfying crunch.
3. Chia seeds — 111 mg per oz (28g) Chia seeds combine magnesium with fiber, calcium, and omega-3s in a tiny, shelf-stable package. Two tablespoons mixed into overnight oats or a smoothie delivers roughly 111 mg of magnesium alongside 10 grams of fiber — a combination that also supports the signs of electrolyte imbalance many people experience from inadequate mineral intake.
4. Sunflower seeds — 91 mg per oz (28g) Sunflower seeds are an often-overlooked magnesium source. One ounce provides 91 mg alongside meaningful amounts of vitamin E, selenium, and B vitamins. Choose dry-roasted, no-salt varieties to keep sodium in check.
5. Flaxseeds (ground) — 52 mg per 2 tbsp (20g) Ground flaxseeds are far more bioavailable than whole — your body can't break down the hard outer shell. Two tablespoons in a smoothie or stirred into oatmeal provides about 52 mg of magnesium plus a significant dose of alpha-linolenic acid (plant-based omega-3).
6. Sesame seeds / tahini — 28 mg per tbsp Sesame seeds are dense in magnesium, calcium, and zinc. Tahini (sesame paste) is one of the easiest ways to incorporate them — two tablespoons contribute about 56 mg of magnesium and pair well with vegetables, grain bowls, and dressings.
Nuts: Dense and Portable (7–10)
Nuts are portable, non-perishable, and rich in both magnesium and healthy unsaturated fats. A small daily handful provides a meaningful contribution toward your target.
7. Brazil nuts — 105 mg per oz (28g) Brazil nuts contain more magnesium per ounce than almonds or cashews, plus a uniquely high selenium content — just two Brazil nuts can meet your daily selenium requirement. Eat them in moderation (1–2 oz per day) given their high calorie and selenium density.
8. Almonds — 80 mg per oz (28g) Almonds are one of the most studied nuts for metabolic health, and their magnesium content is a contributing reason. One ounce (roughly 23 almonds) provides 80 mg of magnesium alongside vitamin E, fiber, and healthy fats. They're an ideal snack or salad topper.
9. Cashews — 74 mg per oz (28g) Cashews are slightly lower in magnesium than almonds but still deliver 74 mg per ounce, alongside notable amounts of iron, zinc, and copper. Their creamy texture makes them excellent in sauces, stir-fries, and plant-based "cheese" preparations.
10. Peanuts — 63 mg per ¼ cup (37g) Technically a legume, peanuts behave nutritionally more like nuts. A quarter-cup serving provides 63 mg of magnesium. Natural peanut butter (two tablespoons) delivers about 50 mg and is one of the most accessible, affordable magnesium sources available.
Legumes: Everyday Magnesium Delivery (11–14)
Legumes are one of the few food categories where you can eat a large, satisfying serving and hit a substantial portion of your daily magnesium in one go.
11. Black beans (cooked) — 60 mg per ½ cup (86g) Black beans are a budget-friendly, fiber-dense magnesium source. Half a cup of cooked black beans provides 60 mg of magnesium alongside 7–8 grams of fiber and substantial plant protein. Rinse canned beans before use to reduce sodium.
12. White/navy beans (cooked) — 57 mg per ½ cup (90g) White beans rank among the most mineral-dense legumes available. They're mild enough to blend invisibly into soups and sauces, and a half cup contributes 57 mg of magnesium plus excellent amounts of potassium and iron.
13. Edamame (cooked) — 50 mg per ½ cup (78g) Edamame is one of the few plant foods with a complete amino acid profile, and it also delivers 50 mg of magnesium per half cup. Frozen edamame requires only a few minutes of steaming — season with sea salt and serve as a snack or side.
14. Lentils (cooked) — 36 mg per ½ cup (99g) Lentils are lower in magnesium per serving than beans but compensate with exceptional fiber and protein content. A full cup of cooked lentils provides around 72 mg of magnesium alongside 18 grams of protein and 16 grams of fiber.
Whole Grains: The Foundation (15–18)
Whole grains retain their bran and germ layers, which is where most of the magnesium lives. Refining wheat to white flour removes up to 80–97% of its magnesium — a stark reminder of why food quality matters as much as quantity. For a full look at fiber-rich options that often overlap with magnesium-rich grains, see our high fiber foods list.
15. Brown rice (cooked) — 86 mg per cup (195g) Brown rice is one of the easiest whole grains to incorporate into daily eating. One cup cooked provides 86 mg of magnesium — four times more than the same amount of white rice. It's a genuinely significant difference for a food most people eat as a staple.
16. Quinoa (cooked) — 60 mg per ½ cup (93g) Quinoa is a complete protein and a notable magnesium source. A half-cup serving provides 60 mg alongside all nine essential amino acids, making it an ideal base for grain bowls and salads.
17. Buckwheat (cooked groats) — 51 mg per ½ cup (85g) Despite its name, buckwheat is gluten-free and botanically unrelated to wheat. It's a pseudocereal with 51 mg of magnesium per half-cup serving and a slightly nutty, earthy flavor. Use it in porridge, salads, or as a rice substitute.
18. Oats (cooked) — 57 mg per cup (234g) A bowl of oatmeal in the morning provides 57 mg of magnesium alongside beta-glucan fiber that supports cholesterol and blood sugar levels. Rolled or steel-cut oats retain more magnesium than instant varieties, which are more processed.
Dark Leafy Greens (19–21)
Green vegetables get their color from chlorophyll — a molecule with magnesium at its center. That's why the darkest greens tend to be the best vegetable sources.
19. Spinach (cooked) — 78 mg per ½ cup (90g) Cooked spinach is the richest green vegetable source of magnesium. Cooking is important here — raw spinach is high in oxalates that bind magnesium and limit absorption. Light cooking breaks down oxalates significantly, improving how much you actually absorb.
20. Swiss chard (cooked) — 75 mg per ½ cup (88g) Swiss chard delivers 75 mg of magnesium per half cup cooked, alongside potassium and vitamins A, C, and K. Sauté it with garlic and olive oil for a fast, mineral-rich side dish.
21. Artichoke (cooked) — 50 mg per medium artichoke One medium steamed artichoke provides about 50 mg of magnesium alongside one of the highest fiber contents of any vegetable. The heart is the most nutrient-dense part.
Fish and Seafood (22–23)
22. Atlantic mackerel (cooked) — 82 mg per 3 oz (85g) Mackerel is the most magnesium-dense common fish, providing 82 mg per 3-ounce serving alongside abundant omega-3 fatty acids, vitamin D, and B12. It's also one of the most sustainable and affordable seafood options available.
23. Salmon (cooked) — 32 mg per 3 oz (85g) Salmon provides a more modest 32 mg per serving but remains a strong choice for overall nutrient density — particularly for vitamin D, omega-3s, and protein. Pairing salmon with magnesium-rich greens creates a nutritionally well-rounded meal.
Fruits (24–26)
Most fruits are low in magnesium, but a few stand out as worthwhile contributors — especially when eaten regularly.
24. Avocado — 58 mg per whole fruit (~200g) Avocado is exceptionally mineral-dense for a fruit, delivering 58 mg of magnesium per whole fruit alongside potassium, folate, and monounsaturated fat. Half an avocado on toast with seeds is one of the most nutrient-packed breakfasts you can make. For a full nutritional breakdown, see how many calories in an avocado.
25. Banana — 32 mg per medium (118g) Bananas are commonly associated with potassium, but they also contribute 32 mg of magnesium per medium fruit. They're particularly useful as a pre-workout snack given their magnesium content supports muscle function. See our banana nutrition facts for the complete nutrient profile.
26. Dried figs — 48 mg per ½ cup (75g) Dried figs concentrate magnesium along with calcium, potassium, and fiber. A half-cup serving provides nearly 50 mg of magnesium. Add them to oatmeal, cheese boards, or trail mix for a natural, mineral-rich sweetener.
Soy and Plant-Based Proteins (27–28)
27. Tofu (firm) — 37 mg per ½ cup (126g) Firm tofu provides about 37 mg of magnesium per half cup and serves as a versatile plant-based protein base. Calcium-set tofu has the added benefit of contributing both calcium and magnesium.
28. Soymilk — 61 mg per cup (244g) Unsweetened soymilk provides 61 mg of magnesium per cup — more than cow's milk and comparable to legumes. It's a useful daily source for people who avoid dairy and want plant-based mineral coverage.
Dark Chocolate and Cacao (29–30)
29. Dark chocolate (85%+ cacao) — 64 mg per oz (28g) High-cacao dark chocolate is a legitimate magnesium source. One ounce of 85% dark chocolate provides 64 mg of magnesium. The key is cacao percentage — milk chocolate and most commercial bars are too diluted to count. Look for bars listing 85% or higher.
30. Cacao powder (unsweetened) — 75 mg per 2 tbsp (15g) Raw cacao powder is even more concentrated than dark chocolate. Two tablespoons provides 75 mg of magnesium and can be added to smoothies, oatmeal, or homemade energy balls with minimal added sugar.
How Much Magnesium Do You Need?
The Recommended Dietary Allowance (RDA) for magnesium varies by age and sex:
| Age Group | Males (mg/day) | Females (mg/day) | Pregnancy (mg/day) |
|---|---|---|---|
| 14–18 years | 410 | 360 | 400 |
| 19–30 years | 400 | 310 | 350 |
| 31–50 years | 420 | 320 | 360 |
| 51+ years | 420 | 320 | — |
Source: NIH Office of Dietary Supplements
Only 30–40% of dietary magnesium is typically absorbed — the remainder passes through unabsorbed. This means your actual intake needs to comfortably exceed the RDA to reliably meet your body's needs. Eating a variety of sources across food categories throughout the day is more effective than relying on any single food.
⚠️ Medical Disclaimer
This article is for informational purposes only. If you experience persistent muscle cramps, heart palpitations, or symptoms you suspect may be related to mineral deficiency, consult a healthcare professional before self-supplementing with magnesium.
Signs You May Not Be Getting Enough
Magnesium deficiency often develops slowly and subtly. Early symptoms — the ones most people overlook — include:
- Muscle cramps and twitches, especially in the legs at night
- Fatigue and low energy despite adequate sleep
- Poor sleep quality or difficulty staying asleep
- Headaches or migraines that recur without obvious cause
- Irritability or heightened anxiety
- High blood pressure that is difficult to manage through lifestyle alone
Magnesium is an electrolyte, and its deficiency overlaps significantly with the broader patterns covered in our guide to signs of electrolyte imbalance. If several of these symptoms apply, dietary intake is the first thing worth examining.
How to Maximize Magnesium Absorption
Eating the right foods is step one — but how you prepare them matters too.
Soak and cook legumes and grains. Phytates in raw legumes, bran, and unrefined grains can reduce magnesium absorption by up to 60%. Soaking dried beans for 8–12 hours before cooking reduces phytate content substantially. Fermenting (as in sourdough bread) does the same for grains.
Cook your spinach. Raw spinach's oxalate content limits magnesium absorption. A quick sauté or steam significantly improves how much magnesium you actually absorb from each serving.
Pair with vitamin D. Magnesium is required to activate vitamin D — and vitamin D deficiency can itself impair magnesium retention. The two nutrients work synergistically. Building meals that include both (e.g., salmon with cooked spinach) supports absorption of each. Our guide to vitamin D foods covers the best dietary sources.
Limit alcohol and excessive caffeine. Both increase urinary magnesium excretion. If your diet is already borderline for magnesium, regular alcohol intake can quietly tip you into deficit over time.
If you want to know exactly how much magnesium you're consuming each day without manual tracking, try Caloria — snap a photo of your meal and get a full nutrient breakdown including magnesium, instantly.
Track Your Magnesium Intake
Getting enough magnesium from food is achievable — but it requires consistent variety: seeds or nuts daily, legumes several times a week, whole grains instead of refined, and plenty of dark leafy greens. The 30 foods above give you a broad toolkit to build from.
Download Caloria and see what you're actually eating:
Just snap a photo of your meal and Caloria handles the nutrient math — so you can focus on building better habits, not counting milligrams by hand.