Foods High in Magnesium: Top 30 per 100 g & per Serving
Per 100 g, the foods highest in magnesium are Pumpkin and squash seed kernels (dried) (592 mg, 141% DV), Flaxseed (392 mg, 93% DV) and Sesame butter (paste) (362 mg, 86% DV). Per typical serving, Pigeon peas (mature seeds, raw) gives the most: 1 cup (205 g) has 375 mg (89% DV). 74 of the 370 foods ranked are a good source (10% DV or more) in a typical serving; 26 reach 20% DV, the FDA bar for “high in”.
Highest in magnesium per 100 g
30 of 370 ranked foods, most magnesium first. % = share of the FDA Daily Value. n/r = not reported.
| Rank | Food | Per 100 g | Typical portion | Per portion | Per 200 kcal |
|---|---|---|---|---|---|
| 1 | Pumpkin and squash seed kernels (dried)Nuts and Seeds | 592 mg141% DV | 1 oz28 g | 168 mg40% DV | 212 mg |
| 2 | FlaxseedNuts and Seeds | 392 mg93% DV | 1 tbsp10 g | 40 mg10% DV | 147 mg |
| 3 | Sesame butter (paste)Nuts and Seeds | 362 mg86% DV | 1 tbsp16 g | 58 mg14% DV | 124 mg |
| 4 | Chia seeds (dried)Nuts and Seeds | 335 mg80% DV | 1 oz28 g | 95 mg23% DV | 138 mg |
| 5 | Sunflower seed kernels (dried)Nuts and Seeds | 325 mg77% DV | 1 cup46 g | 150 mg36% DV | 111 mg |
| 6 | Sunflower seed butter (without salt)Nuts and Seeds | 311 mg74% DV | 1 oz28 g | 88 mg21% DV | 101 mg |
| 7 | Cashew nuts (raw)Nuts and Seeds | 292 mg70% DV | 1 oz28 g | 83 mg20% DV | 106 mg |
| 8 | AlmondsNuts and Seeds | 270 mg64% DV | 1 oz28 g | 77 mg18% DV | 93 mg |
| 9 | Oat bran (raw)Grains | 235 mg56% DV | 1 cup94 g | 221 mg53% DV | 191 mg |
| 10 | Sun-dried tomatoesVegetables | 194 mg46% DV | 1 cup54 g | 105 mg25% DV | 150 mg |
| 11 | Peanut butter with omega-3 (creamy)Legumes | 191 mg45% DV | 1 tbsp16 g | 31 mg7% DV | 63 mg |
| 12 | Peanuts (valencia, raw)Legumes | 184 mg44% DV | 1 oz28 g | 52 mg12% DV | 65 mg |
| 13 | Pigeon peas (mature seeds, raw)Legumes | 183 mg44% DV | 1 cup205 g | 375 mg89% DV | 107 mg |
| 14 | OatsGrains | 177 mg42% DV | 1 cup156 g | 276 mg66% DV | 91 mg |
| 15 | Peanuts (virginia, raw)Legumes | 171 mg41% DV | 1 oz28 g | 48 mg12% DV | 61 mg |
| 16 | Peanut butter (smooth, reduced fat)Legumes | 170 mg40% DV | 2 tablespoon36 g | 61 mg15% DV | 65 mg |
| 17 | Peanut butter (smooth style, without salt)Legumes | 168 mg40% DV | 2 tbsp32 g | 54 mg13% DV | 56 mg |
| 17 | Peanuts (raw)Legumes | 168 mg40% DV | 1 oz28 g | 48 mg11% DV | 59 mg |
| 19 | Peanut butter (reduced sodium)Legumes | 159 mg38% DV | 1 tbsp16 g | 25 mg6% DV | 54 mg |
| 20 | Walnuts (English)Nuts and Seeds | 158 mg38% DV | 1 oz28 g | 45 mg11% DV | 48 mg |
| 21 | Popcorn (air-popped)Snacks | 144 mg34% DV | 1 oz28 g | 41 mg10% DV | 74 mg |
| 22 | Barley (hulled)Grains | 133 mg32% DV | 1 cup184 g | 245 mg58% DV | 75 mg |
| 23 | Corn grain (white)Grains | 127 mg30% DV | 1 cup166 g | 211 mg50% DV | 70 mg |
| 23 | Corn grain (yellow)Grains | 127 mg30% DV | 1 cup166 g | 211 mg50% DV | 70 mg |
| 25 | PecansNuts and Seeds | 121 mg29% DV | 1 oz28 g | 34 mg8% DV | 35 mg |
| 25 | Pistachio nuts (raw)Nuts and Seeds | 121 mg29% DV | 1 oz28 g | 34 mg8% DV | 43 mg |
| 27 | Navy beans (mature seeds, sprouted, raw)Vegetables | 101 mg24% DV | 1 cup104 g | 105 mg25% DV | 301 mg |
| 28 | Sesame butter (tahini, from raw and stone ground kernels)Nuts and Seeds | 96 mg23% DV | 1 oz28 g | 27 mg6% DV | 34 mg |
| 29 | Grape leaves (raw)Vegetables | 95 mg23% DV | 1 cup14 g | 13 mg3% DV | 204 mg |
| 29 | Soba noodles (dry)Grains | 95 mg23% DV | 2 oz57 g | 54 mg13% DV | 57 mg |
Most magnesium per typical serving
The same foods ranked by what one typical USDA portion gives, which is what you eat.
| Rank | Food | Per 100 g | Typical portion | Per portion | Per 200 kcal |
|---|---|---|---|---|---|
| 1 | Pigeon peas (mature seeds, raw)Legumes | 183 mg44% DV | 1 cup205 g | 375 mg89% DV | 107 mg |
| 2 | OatsGrains | 177 mg42% DV | 1 cup156 g | 276 mg66% DV | 91 mg |
| 3 | Barley (hulled)Grains | 133 mg32% DV | 1 cup184 g | 245 mg58% DV | 75 mg |
| 4 | Oat bran (raw)Grains | 235 mg56% DV | 1 cup94 g | 221 mg53% DV | 191 mg |
| 5 | Corn grain (white)Grains | 127 mg30% DV | 1 cup166 g | 211 mg50% DV | 70 mg |
| 5 | Corn grain (yellow)Grains | 127 mg30% DV | 1 cup166 g | 211 mg50% DV | 70 mg |
| 7 | Pumpkin and squash seed kernels (dried)Nuts and Seeds | 592 mg141% DV | 1 oz28 g | 168 mg40% DV | 212 mg |
| 8 | Barley (pearled, raw)Grains | 79 mg19% DV | 1 cup200 g | 158 mg38% DV | 45 mg |
| 9 | Spinach (cooked, boiled, drained, without salt)Vegetables | 87 mg21% DV | 1 cup180 g | 157 mg37% DV | 757 mg |
| 10 | Sunflower seed kernels (dried)Nuts and Seeds | 325 mg77% DV | 1 cup46 g | 150 mg36% DV | 111 mg |
| 11 | Winter squash (acorn, raw)Vegetables | 32 mg8% DV | 1 squash431 g | 138 mg33% DV | 160 mg |
| 12 | Coconut meat (raw)Nuts and Seeds | 32 mg8% DV | 1 medium397 g | 127 mg30% DV | 18 mg |
| 13 | Sweet potato (canned, mashed)Vegetables | 24 mg6% DV | 1 can496 g | 119 mg28% DV | 48 mg |
| 14 | Quinoa (cooked)Grains | 64 mg15% DV | 1 cup185 g | 118 mg28% DV | 107 mg |
| 15 | Navy beans (mature seeds, sprouted, raw)Vegetables | 101 mg24% DV | 1 cup104 g | 105 mg25% DV | 301 mg |
Most magnesium per 200 kcal
Nutrient density: magnesium for the same 200 calories of each food.
| Rank | Food | Per 100 g | Typical portion | Per portion | Per 200 kcal |
|---|---|---|---|---|---|
| 1 | Spinach (cooked, boiled, drained, without salt)Vegetables | 87 mg21% DV | 1 cup180 g | 157 mg37% DV | 757 mg |
| 2 | Balsam-pear (leafy tips, raw)Vegetables | 85 mg20% DV | 1 leaf4 g | 3.4 mg1% DV | 567 mg |
| 3 | Prickly pears (raw)Fruits | 85 mg20% DV | 1 fruit without refuse103 g | 88 mg21% DV | 415 mg |
| 4 | Pumpkin leaves (raw)Vegetables | 38 mg9% DV | 1 cup39 g | 15 mg4% DV | 400 mg |
| 5 | Okra (raw)Vegetables | 57 mg14% DV | 8 pods95 g | 54 mg13% DV | 345 mg |
| 6 | Sweet potato leaves (raw)Vegetables | 70 mg17% DV | 1 leaf16 g | 11 mg3% DV | 333 mg |
| 7 | Navy beans (mature seeds, sprouted, raw)Vegetables | 101 mg24% DV | 1 cup104 g | 105 mg25% DV | 301 mg |
| 8 | Bok choy (pak-choi, raw)Vegetables | 19 mg5% DV | 1 cup70 g | 13 mg3% DV | 292 mg |
| 9 | Okra (frozen, unprepared)Vegetables | 43 mg10% DV | 1/3 package95 g | 41 mg10% DV | 287 mg |
| 10 | Summer squash (scallop, raw)Vegetables | 23 mg5% DV | 1 cup slices130 g | 30 mg7% DV | 256 mg |
| 11 | Artichokes (globe or french, raw)Vegetables | 60 mg14% DV | 1 artichoke128 g | 77 mg18% DV | 255 mg |
| 12 | Cucumber (peeled, raw)Vegetables | 12 mg3% DV | 1 medium201 g | 24 mg6% DV | 240 mg |
| 13 | Summer squash (raw)Vegetables | 17 mg4% DV | 1 medium196 g | 33 mg8% DV | 213 mg |
| 14 | Pumpkin and squash seed kernels (dried)Nuts and Seeds | 592 mg141% DV | 1 oz28 g | 168 mg40% DV | 212 mg |
| 15 | Zucchini (with skin, raw)Vegetables | 18 mg4% DV | 1 medium196 g | 35 mg8% DV | 212 mg |
Best by food group
The top three of each group per 100 g (rank within the group).
Fruits
- 1. Prickly pears (raw): 85 mg
- 2. Dark raisins (seedless): 36 mg
- 3. Golden raisins (seedless): 35 mg
Vegetables
- 1. Sun-dried tomatoes: 194 mg
- 2. Navy beans (mature seeds, sprouted, raw): 101 mg
- 3. Grape leaves (raw): 95 mg
Legumes
- 1. Peanut butter with omega-3 (creamy): 191 mg
- 2. Peanuts (valencia, raw): 184 mg
- 3. Pigeon peas (mature seeds, raw): 183 mg
Nuts and Seeds
- 1. Pumpkin and squash seed kernels (dried): 592 mg
- 2. Flaxseed: 392 mg
- 3. Sesame butter (paste): 362 mg
Grains
- 1. Oat bran (raw): 235 mg
- 2. Oats: 177 mg
- 3. Barley (hulled): 133 mg
Dairy Foods
- 1. Parmesan cheese (shredded): 51 mg
- 2. Parmesan cheese topping (fat free): 40 mg
- 3. Ice cream bar (covered with chocolate and nuts): 37 mg
Meats
- 1. Turkey breast (meat only, cooked, roasted): 32 mg
- 2. Chicken breast (meat only, cooked, roasted): 29 mg
- 2. Ground turkey (fat free, raw): 29 mg
Fish and Seafood
Plant-based (vegan) sources
Fruit, vegetables, legumes, nuts and seeds, grains and oils with no animal ingredient, ranked among themselves per 100 g.
| Rank | Food | Per 100 g | Typical portion | Per portion | Per 200 kcal |
|---|---|---|---|---|---|
| 1 | Pumpkin and squash seed kernels (dried)Nuts and Seeds | 592 mg141% DV | 1 oz28 g | 168 mg40% DV | 212 mg |
| 2 | FlaxseedNuts and Seeds | 392 mg93% DV | 1 tbsp10 g | 40 mg10% DV | 147 mg |
| 3 | Chia seeds (dried)Nuts and Seeds | 335 mg80% DV | 1 oz28 g | 95 mg23% DV | 138 mg |
| 4 | Sunflower seed kernels (dried)Nuts and Seeds | 325 mg77% DV | 1 cup46 g | 150 mg36% DV | 111 mg |
| 5 | Cashew nuts (raw)Nuts and Seeds | 292 mg70% DV | 1 oz28 g | 83 mg20% DV | 106 mg |
| 6 | AlmondsNuts and Seeds | 270 mg64% DV | 1 oz28 g | 77 mg18% DV | 93 mg |
| 7 | Oat bran (raw)Grains | 235 mg56% DV | 1 cup94 g | 221 mg53% DV | 191 mg |
| 8 | Sun-dried tomatoesVegetables | 194 mg46% DV | 1 cup54 g | 105 mg25% DV | 150 mg |
| 9 | Peanuts (valencia, raw)Legumes | 184 mg44% DV | 1 oz28 g | 52 mg12% DV | 65 mg |
| 10 | Pigeon peas (mature seeds, raw)Legumes | 183 mg44% DV | 1 cup205 g | 375 mg89% DV | 107 mg |
Concentrated forms (not ranked)
Flours, powders, concentrates, sugars and fortified foods with magnesium, listed by value per 100 g but left out of the rankings above.
| Food | Per 100 g | Typical portion | Per portion | Per 200 kcal |
|---|---|---|---|---|
| Rice bran (crude)Grains | 781 mg186% DV | 1 cup118 g | 922 mg219% DV | 494 mg |
| Oat flour (partially debranned)Grains | 144 mg34% DV | 1 cup104 g | 150 mg36% DV | 71 mg |
| Oats (instant, fortified, plain, dry)Grains | 128 mg30% DV | 1 packet28 g | 36 mg9% DV | 71 mg |
| Carrot (dehydrated)Vegetables | 118 mg28% DV | 1 cup74 g | 87 mg21% DV | 69 mg |
| Raspberry juice concentrateFruits | 112 mg27% DV | 100 g | 112 mg27% DV | 101 mg |
| Rice flour (brown)Grains | 112 mg27% DV | 1 cup158 g | 177 mg42% DV | 62 mg |
| Milk (buttermilk, dried)Dairy Foods | 110 mg26% DV | 1 cup120 g | 132 mg31% DV | 57 mg |
| Barley malt flourGrains | 97 mg23% DV | 1 cup162 g | 157 mg37% DV | 54 mg |
| Corn flour (whole-grain, yellow)Grains | 93 mg22% DV | 1 cup117 g | 109 mg26% DV | 52 mg |
| Onions (dehydrated flakes)Vegetables | 92 mg22% DV | 1 tbsp5 g | 4.6 mg1% DV | 53 mg |
Which foods are ranked
- The 377 foods on CalorieExplorer with a reported magnesium value. They are generic USDA FoodData Central rows (Foundation Foods and SR Legacy) with a plain name: no branded products, restaurant items, survey mixed dishes, baby foods or regional specialty rows.
- Only foods with more than 0 mg are ranked (370 foods); a food with no reported value is left out, never counted as 0.
- Flours, crude brans, powders and dehydrated foods, juice concentrates, mixes, sugars and fortified foods are not ranked: per 100 g they beat every food eaten as is. They are listed separately below.
- Ties share a rank: foods with the same value per 100 g get the same number, and the next number is skipped.
- Typical portion = USDA's own serving weight for that food (a medium fruit, 1 cup, 1 oz…), as on its food page. Per 200 kcal shows how much you get for the same calories; foods under 5 kcal per 100 g are not ranked that way (–).
- % DV = share of the FDA Daily Value for magnesium, 420 mg a day for adults and children 4 and older.
- FDA lets a label call a food “high in” a nutrient when one reference serving gives 20% of the Daily Value or more, and a “good source” at 10–19% (21 CFR 101.54). We apply it to the typical USDA portion, which is not always the label's reference amount.
Source: U.S. Department of Agriculture, FoodData Central (Foundation Foods 2026-04-30; SR Legacy 2018-04). Values per 100 g as published in each food's record, at FDC's precision; serving weights from the same records, retrieved 2026-10-13. Each food page names its FDC ID.
% Daily Value: FDA Daily Values (2016 Nutrition Facts label rule, 21 CFR 101.9), adults and children 4+. How we calculate.
Last updated . Values are averages for the food as described; brands, varieties and cooking change them. Not medical advice.