Legumes High in Magnesium: Top 17 per 100 g & per Serving

Per 100 g, the legumes highest in magnesium are Peanut butter with omega-3 (creamy) (191 mg, 45% DV), Peanuts (valencia, raw) (184 mg, 44% DV) and Pigeon peas (mature seeds, raw) (183 mg, 44% DV). Per typical serving, Pigeon peas (mature seeds, raw) gives the most: 1 cup (205 g) has 375 mg (89% DV). 11 of the 17 legumes ranked are a good source (10% DV or more) in a typical serving; 3 reach 20% DV, the FDA bar for “high in”.

Highest in magnesium per 100 g

17 of 17 ranked legumes, most magnesium first. % = share of the FDA Daily Value. n/r = not reported.

Legumes High in Magnesium: Top 17 per 100 g & per Serving: ranked per 100 g
RankFoodPer 100 gTypical portionPer portionPer 200 kcal
1Peanut butter with omega-3 (creamy)191 mg45% DV1 tbsp16 g31 mg7% DV63 mg
2Peanuts (valencia, raw)184 mg44% DV1 oz28 g52 mg12% DV65 mg
3Pigeon peas (mature seeds, raw)183 mg44% DV1 cup205 g375 mg89% DV107 mg
4Peanuts (virginia, raw)171 mg41% DV1 oz28 g48 mg12% DV61 mg
5Peanut butter (smooth, reduced fat)170 mg40% DV2 tablespoon36 g61 mg15% DV65 mg
6Peanut butter (smooth style, without salt)168 mg40% DV2 tbsp32 g54 mg13% DV56 mg
6Peanuts (raw)168 mg40% DV1 oz28 g48 mg11% DV59 mg
8Peanut butter (reduced sodium)159 mg38% DV1 tbsp16 g25 mg6% DV54 mg
9Tofu (fried)60 mg14% DV1 oz28 g17 mg4% DV44 mg
10Tofu (raw, firm, prepared with calcium sulfate)58 mg14% DV1/4 block81 g47 mg11% DV81 mg
11Lentils (raw)47 mg11% DV1 cup192 g90 mg21% DV27 mg
12Tofu yogurt40 mg10% DV1 cup262 g105 mg25% DV85 mg
13Tofu (firm, prepared with calcium sulfate and magnesium chloride)37 mg9% DV1/4 block81 g30 mg7% DV95 mg
14Lentils (mature seeds, cooked, boiled, without salt)36 mg9% DV1 cup198 g71 mg17% DV62 mg
15Tofu (raw, regular, prepared with calcium sulfate)30 mg7% DV1/4 block116 g35 mg8% DV79 mg
16Tofu (soft, prepared with calcium sulfate and magnesium chloride)27 mg6% DV1 cubic inch18 g4.9 mg1% DV89 mg
17Soymilk (original and vanilla, unfortified)25 mg6% DV1 cup243 g61 mg14% DV93 mg
Top 10 legumes by magnesium per 100 g1. Peanut butter with omega-3 (cream…191 mg2. Peanuts (valencia, raw)184 mg3. Pigeon peas (mature seeds, raw)183 mg4. Peanuts (virginia, raw)171 mg5. Peanut butter (smooth, reduced fa…170 mg6. Peanut butter (smooth style, with…168 mg6. Peanuts (raw)168 mg8. Peanut butter (reduced sodium)159 mg9. Tofu (fried)60 mg10. Tofu (raw, firm, prepared with ca…58 mg
Top 10 legumes by magnesium per 100 g. Bars are per 100 g; same values as the table.

Most magnesium per typical serving

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

Legumes High in Magnesium: Top 17 per 100 g & per Serving: ranked per typical serving
RankFoodPer 100 gTypical portionPer portionPer 200 kcal
1Pigeon peas (mature seeds, raw)183 mg44% DV1 cup205 g375 mg89% DV107 mg
2Tofu yogurt40 mg10% DV1 cup262 g105 mg25% DV85 mg
3Lentils (raw)47 mg11% DV1 cup192 g90 mg21% DV27 mg
4Lentils (mature seeds, cooked, boiled, without salt)36 mg9% DV1 cup198 g71 mg17% DV62 mg
5Peanut butter (smooth, reduced fat)170 mg40% DV2 tablespoon36 g61 mg15% DV65 mg
6Soymilk (original and vanilla, unfortified)25 mg6% DV1 cup243 g61 mg14% DV93 mg
7Peanut butter (smooth style, without salt)168 mg40% DV2 tbsp32 g54 mg13% DV56 mg
8Peanuts (valencia, raw)184 mg44% DV1 oz28 g52 mg12% DV65 mg
9Peanuts (virginia, raw)171 mg41% DV1 oz28 g48 mg12% DV61 mg
10Peanuts (raw)168 mg40% DV1 oz28 g48 mg11% DV59 mg
11Tofu (raw, firm, prepared with calcium sulfate)58 mg14% DV1/4 block81 g47 mg11% DV81 mg
12Tofu (raw, regular, prepared with calcium sulfate)30 mg7% DV1/4 block116 g35 mg8% DV79 mg
13Peanut butter with omega-3 (creamy)191 mg45% DV1 tbsp16 g31 mg7% DV63 mg
14Tofu (firm, prepared with calcium sulfate and magnesium chloride)37 mg9% DV1/4 block81 g30 mg7% DV95 mg
15Peanut butter (reduced sodium)159 mg38% DV1 tbsp16 g25 mg6% DV54 mg

Most magnesium per 200 kcal

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

Legumes High in Magnesium: Top 17 per 100 g & per Serving: ranked per 200 kcal
RankFoodPer 100 gTypical portionPer portionPer 200 kcal
1Pigeon peas (mature seeds, raw)183 mg44% DV1 cup205 g375 mg89% DV107 mg
2Tofu (firm, prepared with calcium sulfate and magnesium chloride)37 mg9% DV1/4 block81 g30 mg7% DV95 mg
3Soymilk (original and vanilla, unfortified)25 mg6% DV1 cup243 g61 mg14% DV93 mg
4Tofu (soft, prepared with calcium sulfate and magnesium chloride)27 mg6% DV1 cubic inch18 g4.9 mg1% DV89 mg
5Tofu yogurt40 mg10% DV1 cup262 g105 mg25% DV85 mg
6Tofu (raw, firm, prepared with calcium sulfate)58 mg14% DV1/4 block81 g47 mg11% DV81 mg
7Tofu (raw, regular, prepared with calcium sulfate)30 mg7% DV1/4 block116 g35 mg8% DV79 mg
8Peanut butter (smooth, reduced fat)170 mg40% DV2 tablespoon36 g61 mg15% DV65 mg
9Peanuts (valencia, raw)184 mg44% DV1 oz28 g52 mg12% DV65 mg
10Peanut butter with omega-3 (creamy)191 mg45% DV1 tbsp16 g31 mg7% DV63 mg
11Lentils (mature seeds, cooked, boiled, without salt)36 mg9% DV1 cup198 g71 mg17% DV62 mg
12Peanuts (virginia, raw)171 mg41% DV1 oz28 g48 mg12% DV61 mg
13Peanuts (raw)168 mg40% DV1 oz28 g48 mg11% DV59 mg
14Peanut butter (smooth style, without salt)168 mg40% DV2 tbsp32 g54 mg13% DV56 mg
15Peanut butter (reduced sodium)159 mg38% DV1 tbsp16 g25 mg6% DV54 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.

Legumes High in Magnesium: Top 17 per 100 g & per Serving: concentrated forms
FoodPer 100 gTypical portionPer portionPer 200 kcal
Tofu (dried-frozen koyadofu)59 mg14% DV1 piece17 g10 mg2% DV25 mg
Peanut flour (low fat)48 mg11% DV1 oz28 g14 mg3% DV22 mg

Which foods are ranked

  • The 17 legumes 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 (17 legumes); 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