The Plant Foods Quietly Packed With Magnesium
The biggest magnesium hit on this list comes from three tablespoons of seeds most people treat as garnish.
A lot of this mineral is in foods you sprinkle on top, trim off or peel away without thinking.
These 30 plant foods are ranked by milligrams per serving, and each one comes with a surprise worth knowing before your next grocery run.
1. Hemp Seeds

Three tablespoons of hulled hemp seeds pack 210 mg of magnesium. That’s 50% of the Daily Value.
Nobody treats hemp hearts as a main course. They get scattered over plant-based yogurt, salads and smoothie bowls like confetti.
That confetti is the most magnesium you’ll get from any serving on this list.
Put it next to the adult RDA for women, which is 310 to 320 mg a day.
Three tablespoons of hulled hemp seeds cover about two-thirds of that daily amount.
Not bad for something most people file under garnish.
2. Pumpkin Seeds

An ounce of roasted pepitas has more than eight times the magnesium of an ounce of milk chocolate.
Unsalted roasted pepitas bring 156 mg per ounce, which is 37% of the Daily Value.
This second-place ranking uses dried pepitas: 168 mg per ounce, or 40% of the Daily Value.
Both entries put pumpkin seeds near the top of this list, whether you choose dried or roasted.
Harvard’s Nutrition Source names pumpkin seeds among its magnesium-rich foods.
For that chocolate comparison, the portions weigh the same. You’re comparing an ounce with an ounce, not different handfuls.
3. Amaranth

A cup of cooked amaranth delivers 160 mg of magnesium. That’s 38% of the Daily Value.
Amaranth isn’t technically a grain.
It’s a seed you cook and eat like one, which puts it in the pseudocereal club.
Quinoa and buckwheat are members too, and both show up later on this list.
Per cooked cup, amaranth beats quinoa, 160 mg to 118. Not close.
Quinoa gets the magazine covers and the restaurant menus.
Amaranth is the quiet sibling with the better numbers.
4. Cooked Spinach

A cup of cooked spinach holds 157 mg of magnesium, or 37% of the Daily Value.
A cup of raw spinach? Just 24 mg.
Same plant. Cooking collapses a mountain of leaves into one cup, so it carries over six times the magnesium.
There’s a catch. Spinach is high in oxalate, which trims how much magnesium you absorb.
In a 2004 study, healthy adults absorbed 26.7% of the magnesium from a spinach meal versus 36.5% with kale.
Spinach’s higher magnesium content may partly offset that lower absorption.
5. Swiss Chard

Cooked Swiss chard brings 150 mg of magnesium per chopped cup. That’s 36% of the Daily Value.
There’s a reason dark leafy greens keep showing up on magnesium lists.
Chlorophyll, the pigment that makes plants green, has a single magnesium atom sitting at its center.
It’s bound to four nitrogen atoms, like a gem held in a setting.
So that deep green color is a decent hint about what’s inside.
Harvard lists Swiss chard among its magnesium-rich foods, and its numbers land within a few milligrams of cooked spinach.
6. Tempeh

One cup of tempeh holds 134 mg of magnesium, or 32% of the Daily Value.
Tempeh is soybeans fermented with Rhizopus, a mold. That mold does more than hold the cake together.
Fermentation breaks down phytic acid in the beans. Studies report drops from about 30% to over half.
Why care? In a small 2004 study, adding phytic acid to bread cut magnesium absorption from 32.5% to 13.0%.
That doesn’t prove tempeh’s magnesium absorbs better.
It does mean the mold is chewing through a known blocker before you take a bite.
7. Black Beans

Black beans and white beans finish surprisingly close when you compare their magnesium by the cooked cup.
A cup of boiled black beans gives you 120 mg of magnesium, or 29% of the Daily Value.
White beans aren’t far behind at 113 mg per cup.
That puts both servings above a quarter of the Daily Value, with black beans only slightly ahead.
Harvard puts black beans on its list of magnesium sources.
You don’t have to choose the darker bean to get a substantial amount. The white-bean serving comes close.
8. Quinoa

Quinoa, like amaranth, is a seed that gets treated as a grain.
That matters on your plate because a cooked cup carries roughly six times the magnesium of cooked white rice.
A cup of cooked quinoa has 118 mg of magnesium, which is 28% of the Daily Value.
A cup of cooked white rice has 19 mg.
These are cooked portions, so the comparison matches the food you eat rather than the dry pantry ingredients.
The cup measures match, but their weights differ: 185 grams for quinoa and 158 grams for white rice.
9. Flaxseed

An ounce of flaxseed holds 111 mg of magnesium, or 26% of the Daily Value.
Most people don’t eat a full ounce, though.
They stir a tablespoon of ground flax into oatmeal or a smoothie and call it a day.
That tablespoon carries 27 mg, about 7% of the Daily Value.
Still worth it. It’s a free ride on something you were eating anyway.
Keep the serving straight when comparing seeds. An ounce and a tablespoon are very different piles.
10. Edamame

Edamame are just soybeans, picked young and green.
Harvard lists soybeans among its magnesium sources, and the young ones hold their own.
A cup of prepared edamame, weighing 155 grams, delivers 99 mg of magnesium, or 24% of the Daily Value.
You might meet edamame as a bowl of salty pods at the start of a meal.
That bowl isn’t a serving measure. Its size alone doesn’t tell you how much magnesium you’re getting.
The 24% figure belongs to the measured cup of prepared edamame, not to every appetizer bowl.
11. Beet Greens

A cup of cooked beet greens holds 98 mg of magnesium, or 23% of the Daily Value.
These are the leafy tops you might trim off and toss on the way to the actual beets.
They’re green for the same reason spinach is. Chlorophyll, with its magnesium core.
So that bunch of leaves headed for the trash is nearly a quarter of a day’s magnesium.
Next time you buy beets with the tops still on, you’re getting two vegetables for one price.
Cook the greens like chard. Nobody at the table will know they were almost compost.
12. Chia Seeds

An ounce of chia seeds has 95 mg of magnesium, which is 23% of the Daily Value.
Chia usually gets attention for its texture, not its minerals.
But that ounce lands within a few milligrams of a full cup of cooked beet greens.
Four seeds made this list, including both of the top two spots.
That’s the pattern hiding in this whole ranking.
The stuff you sprinkle on top often carries more magnesium than whatever’s underneath it.
If you’re already topping breakfast with something, a seed is the move.
13. Buckwheat

A cup of cooked buckwheat groats gives you 86 mg of magnesium. That’s 20% of the Daily Value.
Despite the name, buckwheat isn’t wheat.
It isn’t a grass or a cereal either. Botanically, it’s related to rhubarb and sorrel.
The name comes from its triangular seeds, which look like the nuts of a beech tree.
It’s another pseudocereal, which makes three on this list along with amaranth and quinoa.
Possibly the most misleadingly named food in your pantry, and one of the more useful ones.
14. Brown Rice

A cup of cooked long-grain brown rice has 79 mg of magnesium, or 19% of the Daily Value.
White rice has 19 mg per cup.
That’s about four times as much in the brown version, and the gap comes from refining.
Food processing can reduce magnesium in plant foods, and refined grains generally land lowest.
Flour shows the same split.
Whole-wheat flour has 137 mg per 100 grams. White all-purpose flour has 22.
Brown rice isn’t exotic. It’s just rice that skipped the step where the magnesium gets stripped.
15. Almonds

Almonds land at number 15 here because this ranking compares the stated servings, not equal weights of every food.
An ounce of almonds, about 23 kernels, holds 77 mg of magnesium. That’s 18% of the Daily Value.
Hemp seeds, pumpkin seeds, cooked spinach and a cup of black beans all beat them per serving.
But the spinach and beans are measured by the cup, while almonds are measured by the ounce.
Compare nuts by the same weight and the gap is smaller.
An ounce of dry-roasted cashews brings 74 mg, just below the almonds’ 77 mg.
16. Cashews

An ounce of dry-roasted cashews has 74 mg of magnesium, or 18% of the Daily Value.
Cashews have one of the strangest backstories in the snack aisle.
Each nut grows at the end of a fleshy fruit called the cashew apple.
The shell around it contains a caustic oil that can cause a rash like poison ivy.
That’s why you never see cashews sold in the shell.
Someone else already dealt with the hard part. You just get the magnesium.
17. Tofu

Half a cup of firm, calcium-sulfate tofu holds 73 mg of magnesium, or 17% of the Daily Value.
Here’s the twist that trips people up.
Nigari, a traditional Japanese tofu coagulant made from seawater, is mostly magnesium chloride.
So nigari tofu should be the magnesium champ, right? Not according to USDA data.
Per 100 grams, the calcium-sulfate entry has 58 mg of magnesium. The firm nigari-set entry has 37 mg.
Values swing by brand and firmness, so check the label on the package you actually buy.
18. Dark Chocolate

An ounce of 70% to 85% dark chocolate has 65 mg of magnesium. That’s 15% of the Daily Value.
Yes, chocolate made the list. Try not to look too relieved.
The USDA examples show a magnesium gap between chocolate types.
The 45% to 59% cacao example holds 41 mg per ounce.
Milk chocolate? Just 18 mg.
The higher-cacao examples contain more magnesium here. That comparison doesn’t predict the amount in every bar.
Milk chocolate contains dairy, and some dark chocolate does too, so vegans should check the ingredients.
19. Avocado

A whole avocado holds 58 mg of magnesium, or 14% of the Daily Value.
A cup of cubes has 44 mg, about 10% of the Daily Value.
Avocado’s reputation runs on toast and guacamole. The magnesium rides along without anyone mentioning it.
And unlike most foods on this list, nobody has to talk you into eating a whole one.
It even beats the fruit people usually name first.
A medium banana has about 32 mg, less than a cup of avocado cubes.
20. Baked Potato With Skin

A medium baked potato with the skin holds 48 mg of magnesium, or 12% of the Daily Value.
Gram for gram, the skin has more magnesium than the flesh. It’s 43 mg per 100 grams versus 25.
The flesh still holds more in total, simply because there’s so much more of it.
Harvard specifically lists white potato with skin as a magnesium source.
So the part you might peel off and leave on the plate is the densest part of the whole potato.
Keep the jacket on.
21. Molasses

A tablespoon of molasses carries 48 mg of magnesium, or 12% of the Daily Value.
That ties the baked potato right above it, milligram for milligram.
Molasses is the thick, dark byproduct left over when sugarcane or sugar beet juice gets refined into sugar.
Here’s the twist. In USDA data, white sugar has zero magnesium. Molasses has 242 mg per 100 grams.
Brown sugar has 9. Maple syrup has 21. Honey has 2.
Refining keeps the sugar and leaves the minerals in the leftovers. It’s still a sugar syrup, not a health food.
22. Hazelnuts

Turkey grew 57.7% of the world’s hazelnuts in 2023. The rest of the planet split what was left.
An ounce, about 21 kernels, holds 46 mg of magnesium. That’s 11% of the Daily Value.
You might know them by another name. Depending on the species, they also go by cobnuts or filberts.
Confectioners turn them into praline, chocolate truffles and hazelnut cocoa spreads.
Many of those spreads contain dairy, so vegans should check the label.
The plain nut is the simpler move. An ounce carries about 60% of the magnesium in an ounce of almonds.
23. Walnuts

An ounce of walnuts, about 14 halves, has 45 mg of magnesium, or 11% of the Daily Value.
The common English walnut, Juglans regia, is also called the Persian walnut.
Neither country leads the world harvest. China does, with about 1.4 million tonnes in 2023.
That’s roughly 35% of the world’s walnuts. The United States came second.
Botanists won’t call a walnut a true drupe, either. They settle for “drupe-like nut.”
Handy math if you buy them whole: about seven walnuts in the shell give you roughly an ounce of kernels.
24. Collard Greens

Collards are the same species as cabbage and broccoli. They’re simply the loose-leafed version.
A cup of cooked collard greens carries 40 mg of magnesium, or 10% of the Daily Value.
Cooked spinach, back at number 4, has 157 mg per cup. Collards bring about a quarter of that.
People have been growing collards for food since classical antiquity.
In the US South, they’re a New Year’s Day tradition, eaten for good luck in the year ahead.
Traditional Southern pots often include pork, so ask before you assume a batch is meatless.
25. Guava

A cup of guava has more magnesium than a medium banana. Not by a ton, but it wins.
The guava cup brings 36 mg, or 9% of the Daily Value. The banana has about 32 mg.
And a whole orange? Only 13 mg.
The orange loses on vitamin C, too. A guava cup has about 377 mg, over five times as much.
Guava grows on a small tree in the myrtle family, native to Mexico, Central America and the Caribbean.
No peeler needed. You can cut it into quarters or bite straight into it like an apple.
26. Sesame Seeds

Gram for gram, whole, dried sesame seeds have more magnesium than chia seeds or almonds.
Per 100 grams, sesame has 351 mg. Chia has 335 and almonds have 270.
A tablespoon of whole, dried sesame seeds holds 32 mg, or 8% of the Daily Value.
Those figures describe the whole, dried seeds in USDA data. They don’t apply to every sesame product.
Sesame is considered the oldest oilseed crop people know, domesticated on the Indian subcontinent about 5,500 years ago.
Ripe pods split open with a pop. One theory says that’s where “open sesame” comes from.
27. Sweet Potato

Gram for gram, sweet potatoes and white potatoes are nearly tied on magnesium.
A medium baked sweet potato has 31 mg, or 7% of the Daily Value.
Per 100 grams, the baked flesh has 27 mg. The white potato with skin at number 20 has 28.
The white potato wins by the piece because the USDA’s medium one is heavier, 173 grams to 114.
And they’re only distantly related. The sweet potato belongs to the morning glory family.
The darker ones sold as “yams” in parts of North America are even further from real yams.
28. Okra

Okra belongs to the mallow family, which makes it a relative of cotton, cocoa and hibiscus.
Eight cooked pods, each about 3 inches long, hold 31 mg of magnesium. That’s 7% of the Daily Value.
Then there’s the goo. The pods are mucilaginous, which is the scientific way of saying slimy when cooked.
That slime contains soluble fiber, so it’s doing more than splitting the dinner table into two camps.
In some English-speaking countries, okra goes by a much gentler name: lady’s fingers.
Hold on to that cocoa connection. Okra’s cousin closes out this list at number 30.
29. Kale

Kale, the green with the superfood reputation, lands near the bottom of this list.
A cup of cooked kale has about 30 mg of magnesium, or 7% of the Daily Value.
Cooked spinach has 157 mg per cup, over five times as much. A cup of raw kale has only 7.
In that 2004 study from number 4, participants absorbed a higher proportion of magnesium from kale-containing meals than spinach-containing meals.
The study was small, just nine healthy adults eating test meals. Cooked spinach still carries more magnesium per cup.
Kale wins on reputation. Spinach wins on the numbers.
30. Unsweetened Cocoa Powder

Gram for gram, unsweetened cocoa powder has more magnesium than flaxseed, chia, sesame or almonds.
It has 499 mg per 100 grams. Among this list’s seeds and nuts, only pumpkin seeds and hemp beat it.
So why is it last? A tablespoon weighs about 5 grams and holds 27 mg, 6% of the Daily Value.
Cocoa powder is what’s left once the cocoa butter is pressed out. That leftover cake gets ground fine.
Dutch-processed cocoa lands close behind, at 476 mg per 100 grams.
Hot-cocoa mixes are a different product and often contain milk powder. Plain unsweetened cocoa is the one counted here.
The Garnish Can Outrank the Snack
Your ounce of almonds brings 77 mg of magnesium. Three tablespoons of hulled hemp seeds bring 210 mg.
Calling something a garnish tells you where it goes on the plate, not how much magnesium it brings.
Eat better, meat-free.
Get the best vegetarian finds, rankings, and hidden menu hacks delivered weekly.
Covering vegetarian food, restaurants, and grocery finds across the U.S.