Vegetables High in Magnesium: Top 30 per 100 g & per Serving

Per 100 g, the vegetables highest in magnesium are Sun-dried tomatoes (194 mg, 46% DV), Navy beans (mature seeds, sprouted, raw) (101 mg, 24% DV) and Grape leaves (raw) (95 mg, 23% DV). Per typical serving, Spinach (cooked, boiled, drained, without salt) gives the most: 1 cup (180 g) has 157 mg (37% DV). 20 of the 122 vegetables ranked are a good source (10% DV or more) in a typical serving; 7 reach 20% DV, the FDA bar for “high in”.

Highest in magnesium per 100 g

30 of 122 ranked vegetables, most magnesium first. % = share of the FDA Daily Value. n/r = not reported.

Vegetables High in Magnesium: Top 30 per 100 g & per Serving: ranked per 100 g
RankFoodPer 100 gTypical portionPer portionPer 200 kcal
1Sun-dried tomatoes194 mg46% DV1 cup54 g105 mg25% DV150 mg
2Navy beans (mature seeds, sprouted, raw)101 mg24% DV1 cup104 g105 mg25% DV301 mg
3Grape leaves (raw)95 mg23% DV1 cup14 g13 mg3% DV204 mg
4Spinach (cooked, boiled, drained, without salt)87 mg21% DV1 cup180 g157 mg37% DV757 mg
5Balsam-pear (leafy tips, raw)85 mg20% DV1 leaf4 g3.4 mg1% DV567 mg
6Sweet potato leaves (raw)70 mg17% DV1 leaf16 g11 mg3% DV333 mg
7Edamame (frozen, prepared)64 mg15% DV1 cup155 g99 mg24% DV106 mg
8Artichokes (globe or french, raw)60 mg14% DV1 artichoke128 g77 mg18% DV255 mg
8Lemon grass (raw)60 mg14% DV1 cup67 g40 mg10% DV121 mg
10Okra (raw)57 mg14% DV8 pods95 g54 mg13% DV345 mg
11Peas (mature seeds, sprouted, raw)56 mg13% DV1 cup120 g67 mg16% DV90 mg
12Pinto beans (mature seeds, sprouted, raw)53 mg13% DV100 g53 mg13% DV171 mg
13Radish seeds (sprouted, raw)44 mg10% DV1 cup38 g17 mg4% DV205 mg
14Ginger root (raw)43 mg10% DV1 tsp2 g0.86 mg<1% DV108 mg
14Okra (frozen, unprepared)43 mg10% DV1/3 package95 g41 mg10% DV287 mg
16Pumpkin leaves (raw)38 mg9% DV1 cup39 g15 mg4% DV400 mg
17Sweet corn (white, raw)37 mg9% DV1 ear90 g33 mg8% DV86 mg
17Sweet corn (yellow, raw)37 mg9% DV1 ear102 g38 mg9% DV86 mg
17Lentils (sprouted, raw)37 mg9% DV1 cup77 g28 mg7% DV70 mg
20Winter squash (butternut, raw)34 mg8% DV1 cup140 g48 mg11% DV151 mg
21Fava beans (in pod, raw)33 mg8% DV1 cup126 g42 mg10% DV75 mg
21Green peas (raw)33 mg8% DV1 cup145 g48 mg11% DV81 mg
23Winter squash (acorn, raw)32 mg8% DV1 squash431 g138 mg33% DV160 mg
24Turnip greens (raw)31 mg7% DV1 cup55 g17 mg4% DV194 mg
25Winter squash (butternut, cooked, baked, without salt)29 mg7% DV1 cup205 g59 mg14% DV145 mg
26Savoy cabbage (raw)28 mg7% DV1 cup70 g20 mg5% DV207 mg
26Leeks (raw)28 mg7% DV1 leek89 g25 mg6% DV92 mg
28Sweet potato (baked in skin, without salt)27 mg6% DV1 medium114 g31 mg7% DV60 mg
29Snap beans (green, raw)25 mg6% DV10 beans55 g14 mg3% DV161 mg
29Snap beans (yellow, raw)25 mg6% DV10 beans55 g14 mg3% DV161 mg
Top 10 vegetables by magnesium per 100 g1. Sun-dried tomatoes194 mg2. Navy beans (mature seeds, sproute…101 mg3. Grape leaves (raw)95 mg4. Spinach (cooked, boiled, drained,…87 mg5. Balsam-pear (leafy tips, raw)85 mg6. Sweet potato leaves (raw)70 mg7. Edamame (frozen, prepared)64 mg8. Artichokes (globe or french, raw)60 mg8. Lemon grass (raw)60 mg10. Okra (raw)57 mg
Top 10 vegetables by magnesium per 100 g. Bars are per 100 g; same values as the table.

Most magnesium per typical serving

The same vegetables ranked by what one typical USDA portion gives, which is what you eat.

Vegetables High in Magnesium: Top 30 per 100 g & per Serving: ranked per typical serving
RankFoodPer 100 gTypical portionPer portionPer 200 kcal
1Spinach (cooked, boiled, drained, without salt)87 mg21% DV1 cup180 g157 mg37% DV757 mg
2Winter squash (acorn, raw)32 mg8% DV1 squash431 g138 mg33% DV160 mg
3Sweet potato (canned, mashed)24 mg6% DV1 can496 g119 mg28% DV48 mg
4Navy beans (mature seeds, sprouted, raw)101 mg24% DV1 cup104 g105 mg25% DV301 mg
5Sun-dried tomatoes194 mg46% DV1 cup54 g105 mg25% DV150 mg
6Edamame (frozen, prepared)64 mg15% DV1 cup155 g99 mg24% DV106 mg
7Cauliflower (green, raw)20 mg5% DV1 head431 g86 mg21% DV129 mg
8Artichokes (globe or french, raw)60 mg14% DV1 artichoke128 g77 mg18% DV255 mg
9Peas (mature seeds, sprouted, raw)56 mg13% DV1 cup120 g67 mg16% DV90 mg
10Winter squash (butternut, cooked, baked, without salt)29 mg7% DV1 cup205 g59 mg14% DV145 mg
11Corn with red and green peppers (canned, solids and liquids)25 mg6% DV1 cup227 g57 mg14% DV67 mg
12Sweet potato (canned, vacuum pack)22 mg5% DV1 cup255 g56 mg13% DV48 mg
13Okra (raw)57 mg14% DV8 pods95 g54 mg13% DV345 mg
14Pinto beans (mature seeds, sprouted, raw)53 mg13% DV100 g53 mg13% DV171 mg
15Potato (flesh and skin, raw)23 mg5% DV1 Potato medium213 g49 mg12% DV60 mg

Most magnesium per 200 kcal

Nutrient density: magnesium for the same 200 calories of each food.

Vegetables High in Magnesium: Top 30 per 100 g & per Serving: ranked per 200 kcal
RankFoodPer 100 gTypical portionPer portionPer 200 kcal
1Spinach (cooked, boiled, drained, without salt)87 mg21% DV1 cup180 g157 mg37% DV757 mg
2Balsam-pear (leafy tips, raw)85 mg20% DV1 leaf4 g3.4 mg1% DV567 mg
3Pumpkin leaves (raw)38 mg9% DV1 cup39 g15 mg4% DV400 mg
4Okra (raw)57 mg14% DV8 pods95 g54 mg13% DV345 mg
5Sweet potato leaves (raw)70 mg17% DV1 leaf16 g11 mg3% DV333 mg
6Navy beans (mature seeds, sprouted, raw)101 mg24% DV1 cup104 g105 mg25% DV301 mg
7Bok choy (pak-choi, raw)19 mg5% DV1 cup70 g13 mg3% DV292 mg
8Okra (frozen, unprepared)43 mg10% DV1/3 package95 g41 mg10% DV287 mg
9Summer squash (scallop, raw)23 mg5% DV1 cup slices130 g30 mg7% DV256 mg
10Artichokes (globe or french, raw)60 mg14% DV1 artichoke128 g77 mg18% DV255 mg
11Cucumber (peeled, raw)12 mg3% DV1 medium201 g24 mg6% DV240 mg
12Summer squash (raw)17 mg4% DV1 medium196 g33 mg8% DV213 mg
13Zucchini (with skin, raw)18 mg4% DV1 medium196 g35 mg8% DV212 mg
14Summer squash (crookneck and straightneck, raw)20 mg5% DV1 cup sliced127 g25 mg6% DV211 mg
15Savoy cabbage (raw)28 mg7% DV1 cup70 g20 mg5% DV207 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.

Vegetables High in Magnesium: Top 30 per 100 g & per Serving: concentrated forms
FoodPer 100 gTypical portionPer portionPer 200 kcal
Carrot (dehydrated)118 mg28% DV1 cup74 g87 mg21% DV69 mg
Onions (dehydrated flakes)92 mg22% DV1 tbsp5 g4.6 mg1% DV53 mg
Pumpkin pie mix (canned)16 mg4% DV1 cup270 g43 mg10% DV31 mg

Which foods are ranked

  • The 122 vegetables 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 (122 vegetables); 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.

Related rankings