Legumes high in magnesium (per serving)

39 legumes ranked by magnesium per common serving, from USDA FoodData Central. Soybeans leads with 148 mg per 1 cup (35% of the Daily Value), followed by Tempeh (134 mg) and Beans, white (134 mg).

Top 10 at a glance

Soybeans148 mgTempeh134 mgBeans, white134 mgBeans, great northern134 mgBeans, yellow131 mgBeans, navy123 mgBeans, small white122 mgBeans, black120 mgMungo beans113 mgMung beans97 mg

Top 10 legumes highest in magnesium

  1. Soybeans, mature cooked (boiled, without salt)1 cup (172 g) · 296 kcal148 mg35% DV
  2. Tempeh1 cup (166 g) · 319 kcal134 mg32% DV
  3. Beans, white (mature seeds, canned)1 cup (262 g) · 299 kcal134 mg32% DV
  4. Beans, great northern (mature seeds, canned, low sodium)1 cup (262 g) · 299 kcal134 mg32% DV
  5. Beans, yellow (mature seeds, cooked, boiled, without salt)1 cup (177 g) · 255 kcal131 mg31% DV
  6. Beans, navy (mature seeds, canned)1 cup (262 g) · 296 kcal123 mg29% DV
  7. Beans, small white (mature seeds, cooked, boiled, without salt)1 cup (179 g) · 254 kcal122 mg29% DV
  8. Beans, black (mature seeds, cooked, boiled, without salt)1 cup (172 g) · 227 kcal120 mg29% DV
  9. Mungo beans, mature seeds (cooked, boiled, without salt)1 cup (180 g) · 189 kcal113 mg27% DV
  10. Mung beans, mature seeds (cooked, boiled, without salt)1 cup (202 g) · 212 kcal97 mg23% DV

All 39 legumes ranked

Sort any column. Serving sizes are USDA household measures (a cup, a medium fruit, 3 oz of cooked meat or fish, 1 oz of nuts or cheese). %DV is based on the FDA Daily Value of 420 mg.

#FoodServingMagnesium (mg)% Daily ValuePer 100 gkcal
1Soybeans, mature cooked (boiled, without salt)1 cup (172 g)14835%86296
2Tempeh1 cup (166 g)13432%81319
3Beans, white (mature seeds, canned)1 cup (262 g)13432%51299
4Beans, great northern (mature seeds, canned, low sodium)1 cup (262 g)13432%51299
5Beans, yellow (mature seeds, cooked, boiled, without salt)1 cup (177 g)13131%74255
6Beans, navy (mature seeds, canned)1 cup (262 g)12329%47296
7Beans, small white (mature seeds, cooked, boiled, without salt)1 cup (179 g)12229%68254
8Beans, black (mature seeds, cooked, boiled, without salt)1 cup (172 g)12029%70227
9Mungo beans, mature seeds (cooked, boiled, without salt)1 cup (180 g)11327%63189
10Mung beans, mature seeds (cooked, boiled, without salt)1 cup (202 g)9723%48212
11Lima beans, large (mature seeds, canned)1 cup (241 g)9422%39190
12Cowpeas, common (blackeyes (crowder, southern), mature seeds, cooked, boiled, without salt)1 cup (171 g)9122%53198
13Broadbeans (fava beans), mature seeds (canned)1 cup (256 g)8220%32182
14Chickpeas (garbanzo beans, bengal gram) (mature seeds, cooked, boiled, without salt)1 cup (164 g)7919%48269
15Pigeon peas (red gram), mature seeds (cooked, boiled, without salt)1 cup (168 g)7718%46203
16Tofu, raw (firm, prepared with calcium sulfate)0.5 cup (126 g)7317%58181
17Lentils, mature seeds (cooked, boiled, without salt)1 cup (198 g)7117%36230
18Peas, split (mature seeds, cooked, boiled, without salt)1 cup (196 g)7117%36231
19Tofu, soft (prepared with calcium sulfate and magnesium chloride (nigari))1 cup (1/2" cubes) (248 g)6716%27151
20Peanut butter with omega-3, creamy2 tbsp (32 g)6115%191195
21Peanut Butter, smooth2 tbsp (32 g)5714%179188
22Peanut butter, smooth style (without salt)2 tbsp (32 g)5413%168191
23Peanuts, spanish (raw)1 oz (28 g)5313%188162
24Peanuts, virginia (oil-roasted, without salt)1 oz (28 g)5313%188164
25Soymilk (all flavors), unsweetened (with added calcium, vitamins A and D)1 cup (243 g)5212%2280
26Peanuts, valencia (raw)1 oz (28 g)5212%184162
27Peanut butter, chunk style (without salt)2 tbsp (32 g)5112%160188
28Peanuts, all types (raw)1 oz (28 g)5112%180161
29Peanut butter, reduced sodium2 tbsp (32 g)5112%159189
30Peanut spread, reduced sugar2 tbsp (31 g)5112%164202
31Tofu, firm (prepared with calcium sulfate and magnesium chloride (nigari))0.5 cup (126 g)4711%3798
32Vitasoy USA, Vitasoy Organic Creamy Original Soymilk1 cup (243 g)399.3%16107
33Soymilk, original and vanilla (with added calcium, vitamins A and D)1 cup (243 g)368.7%15104
34Okara1 cup (122 g)327.6%2693
35Soymilk (all flavors), nonfat (with added calcium, vitamins A and D)1 cup (243 g)245.8%1068
36Vitasoy USA, Vitasoy Light Vanilla Soymilk1 cup (243 g)245.8%1073
37Hummus, commercial2 tbsp (30 g)215.1%7171
38Hummus, home prepared2 tbsp (30 g)92.1%2953
39Vermicelli, made from soy1 cup (140 g)30.7%2463

Magnesium in specific foods

How this list is built. Values are from USDA FoodData Central (SR Legacy, with Foundation Foods analytical updates where available). The pool is 1,677 whole foods: fruits, vegetables, legumes, nuts and seeds, grains, fish, meat, poultry, dairy and eggs. Spices, herbs, baby foods, powders, flours, dried and freeze-dried items, juices, processed meats, organ meats other than liver and uncommon foods are excluded; meats, fish, grains and legumes are ranked cooked. Each food family appears once and no single animal or plant fills more than six places. Ranking is by amount per serving; the per-100 g column is shown for reference. A food that USDA has not analysed for magnesium is left out rather than counted as zero. Full methodology.

Frequently asked questions

Which food is highest in magnesium?

Among legumes in the USDA database, Soybeans, mature cooked (boiled, without salt) has the most magnesium per serving: 148 mg per 1 cup (35% of the Daily Value). Per 100 g it contains 86 mg.

How much magnesium do I need per day?

The FDA Daily Value used on Nutrition Facts labels is 420 mg of magnesium for adults and children aged 4 and over. Individual needs vary with age, sex, pregnancy and health conditions.

What counts as a food high in magnesium?

FDA labeling rules call a food a 'good source' when one serving provides 10 to 19% of the Daily Value and 'high' or 'excellent' at 20% or more. 12 of the 39 foods on this list reach 20% DV per serving.

Related rankings

Nutrient values are from USDA FoodData Central (SR Legacy, April 2018; Foundation Foods, April 2026) and shown per serving as described on each page. %DV uses the FDA Daily Values for adults and children aged 4 and over. This is nutrition data for general information, not medical or dietary advice; talk to a clinician or registered dietitian about your own needs. How the numbers are calculated.