Foods highest in magnesium per 100 calories

4,802 foods USDA measured for magnesium, ranked by the amount in 100 calories. The photos and best sources are per usual serving.

Brands and most fortified foods are left out. The chart starts with the best sources in a usual serving.

FDA’s Daily Value for magnesium is 420 mg.

The best sources of magnesium

Each food group’s richest common food, in the serving its page shows, with more from the same group under it. Bars share one scale; the share is of FDA’s Daily Value.

  1. 1. Pumpkin seeds, roasted, no salt

    156 mg 37% DV in 1 oz (28 g)

    550 mg per 100 g; 96 mg per 100 calories

    More nuts and seeds: flaxseed 111 mg, Brazil nuts 107 mg, sesame seeds 101 mg

  2. 2. Quinoa, cooked

    118 mg 28% DV in 1 cup (185 g)

    64 mg per 100 g; 53 mg per 100 calories

    More grains and flour: bulgur 58 mg

  3. 3. Brown rice, long-grain, cooked

    79 mg 19% DV in 1 cup (202 g)

    39 mg per 100 g; 32 mg per 100 calories

  4. 4. Soybeans, mature cooked, boiled, no salt

    74 mg 18% DV in ½ cup (86 g)

    86 mg per 100 g; 50 mg per 100 calories

    More soy and tofu: tempeh 65 mg, calcium-set tofu 47 mg

  5. 5. Pollock, Atlantic, cooked, dry heat

    73 mg 17% DV in 3 oz (85 g)

    86 mg per 100 g; 73 mg per 100 calories

  6. 6. Spinach, raw

    71 mg 17% DV in 3 cups (90 g)

    79 mg per 100 g; 343 mg per 100 calories

  7. 7. Great northern beans, canned

    67 mg 16% DV in ½ cup (131 g)

    51 mg per 100 g; 45 mg per 100 calories

    More beans, peas and lentils: black beans 60 mg, navy beans 48 mg, pinto beans 43 mg

  8. 8. Papaya, raw

    64 mg 15% DV in 1 medium papaya (304 g)

    21 mg per 100 g; 49 mg per 100 calories

  9. 9. Oatmeal, regular and quick, unenriched, cooked with water, no salt

    63 mg 15% DV in 1 cup (234 g)

    27 mg per 100 g; 38 mg per 100 calories

  10. 10. Artichokes, boiled, no salt

    50 mg 12% DV in 1 medium artichoke (120 g)

    42 mg per 100 g; 79 mg per 100 calories

    More vegetables: edamame 50 mg

  11. 11. Plantains, cooked

    49 mg 12% DV in 1 cup sliced (154 g)

    32 mg per 100 g; 28 mg per 100 calories

    More starchy vegetables: white potatoes 47 mg

A day with plenty of magnesium

Four of the best sources above, a serving of each: together 427 mg, 102% of a day, in 781 calories.

Open this day in the meal calculator

How much magnesium you need each day

The amounts the National Academies recommend, by age. Labels use one Daily Value for adults, 420 mg.

Babies 0 to 6 months
30 mg
Babies 7 to 12 months
75 mg
Children 1 to 3 years
80 mg
Children 4 to 8 years
130 mg
Children 9 to 13 years
240 mg
Teens 14 to 18 years
360 mg girls, 410 mg boys
Adults 19 to 30
310 mg women, 400 mg men
Adults 31 and older
320 mg women, 420 mg men
Pregnancy teens
400 mg
Pregnancy 19 to 30
350 mg
Pregnancy 31 and older
360 mg
Breastfeeding teens
360 mg
Breastfeeding 19 to 30
310 mg
Breastfeeding 31 and older
320 mg

What magnesium does, and signs of too little or too much

From FoodNutri, foodnutri.com/foods-highest-in-magnesium-list. Amounts per 100 g and per usual serving, from USDA FoodData Central.

Every food, per 100 calories

Per 100 calories, so a food low in calories can rank high. Seasonings, baking powders, supplements, dried and powdered forms, and foods under 10 calories per 100 g (water, tea) are left out.

Rank by

Show

Foods 1 to 50 of 4,802

  1. 1.

    Dock, raw 468 mg

    Vegetables, 111% DV per 100 calories

  2. 2.

    Spinach, baby 449 mg

    Vegetables, 107% DV per 100 calories

  3. 3.

    Dock, boiled, no salt 445 mg

    Vegetables, 106% DV per 100 calories

  4. 4.

    Spinach, mature 430 mg

    Vegetables, 102% DV per 100 calories

  5. 5.

    Chard, Swiss, boiled, no salt 430 mg

    Vegetables, 102% DV per 100 calories

  6. 6.

    Chard, Swiss, raw 426 mg

    Vegetables, 101% DV per 100 calories

  7. 7.

    Spinach, boiled, no salt 378 mg

    Vegetables, 90% DV per 100 calories

  8. 8.

    Epazote, raw 378 mg

    Vegetables, 90% DV per 100 calories

  9. 9.

    Water convolvulus, raw 374 mg

    Vegetables, 89% DV per 100 calories

  10. 10.

    Purslane, boiled, no salt 372 mg

    Vegetables, 89% DV per 100 calories

  11. 11.

    Lambsquarters, raw (Northern Plains Indians) 347 mg

    Native foods, 83% DV per 100 calories

  12. 12.

    Spinach, raw 343 mg

    Vegetables, 82% DV per 100 calories

  13. 13.

    Vinespinach, raw 342 mg

    Vegetables, 81% DV per 100 calories

  14. 14.

    Lambsquarters, steamed 342 mg

    Native foods, 81% DV per 100 calories

  15. 15.

    Purslane, raw 340 mg

    Vegetables, 81% DV per 100 calories

  16. 16.

    Spinach, canned, regular pack 330 mg

    Vegetables, 79% DV per 100 calories

  17. 17.

    Nopales, raw 325 mg

    Vegetables, 77% DV per 100 calories

  18. 18.

    Nopales, cooked, no salt 313 mg

    Vegetables, 75% DV per 100 calories

  19. 19.

    Spinach, canned, regular pack 295 mg

    Vegetables, 70% DV per 100 calories

  20. 20.

    Seaweed, irishmoss, raw 294 mg

    Vegetables, 70% DV per 100 calories

  21. 21.

    Balsam-pear, leafy tips, raw 283 mg

    Vegetables, 67% DV per 100 calories

  22. 22.

    Wheat bran, crude 283 mg

    Grains, 67% DV per 100 calories

  23. 23.

    Cowpeas, leafy tips, boiled, no salt 282 mg

    Vegetables, 67% DV per 100 calories

  24. 24.

    Beet greens, raw 282 mg

    Vegetables, 67% DV per 100 calories

  25. 25.

    Seaweed, kelp, raw 281 mg

    Vegetables, 67% DV per 100 calories

  26. 26.

    New Zealand spinach, raw 279 mg

    Vegetables, 66% DV per 100 calories

  27. 27.

    Snail, raw 278 mg

    Protein foods, 66% DV per 100 calories

  28. 28.

    Balsam-pear, leafy tips, boiled, no salt 276 mg

    Vegetables, 66% DV per 100 calories

  29. 29.

    New Zealand spinach, boiled, no salt 267 mg

    Vegetables, 64% DV per 100 calories

  30. 30.

    Amaranth leaves, boiled, no salt 262 mg

    Vegetables, 62% DV per 100 calories

  31. 31.

    Spinach, frozen, chopped or leaf, unprepared 259 mg

    Vegetables, 62% DV per 100 calories

  32. 32.

    Seaweed, agar, raw 258 mg

    Vegetables, 61% DV per 100 calories

  33. 33.

    Cattail, Narrow Leaf Shoots 252 mg

    Native foods, 60% DV per 100 calories

  34. 34.

    Beet greens, boiled, no salt 252 mg

    Vegetables, 60% DV per 100 calories

  35. 35.

    Borage, raw 248 mg

    Vegetables, 59% DV per 100 calories

  36. 36.

    Rice bran, crude 247 mg

    Grains, 59% DV per 100 calories

  37. 37.

    Cardoon, raw 247 mg

    Vegetables, 59% DV per 100 calories

  38. 38.

    Spinach, frozen, chopped or leaf, boiled, no salt 241 mg

    Vegetables, 57% DV per 100 calories

  39. 39.

    Amaranth leaves, raw 239 mg

    Vegetables, 57% DV per 100 calories

  40. 40.

    Seaweed, wakame, raw 238 mg

    Vegetables, 57% DV per 100 calories

  41. 41.

    Borage, boiled, no salt 228 mg

    Vegetables, 54% DV per 100 calories

  42. 42.

    Cottonseed flour, low-fat 216 mg

    Protein foods, 51% DV per 100 calories

  43. 43.

    Kale, Scotch, raw 210 mg

    Vegetables, 50% DV per 100 calories

  44. 44.

    Malabar spinach, cooked 209 mg

    Vegetables, 50% DV per 100 calories

  45. 45.

    Prickly pears, raw 207 mg

    Fruit, 49% DV per 100 calories

  46. 46.

    Cottonseed meal, partially defatted 207 mg

    Protein foods, 49% DV per 100 calories

  47. 47.

    Kale, Scotch, boiled, no salt 204 mg

    Vegetables, 49% DV per 100 calories

  48. 48.

    Cottonseed flour, partially defatted 201 mg

    Protein foods, 48% DV per 100 calories

  49. 49.

    Pumpkin leaves, raw 200 mg

    Vegetables, 48% DV per 100 calories

  50. 50.

    Cardoon, boiled, no salt 195 mg

    Vegetables, 46% DV per 100 calories

How this list is made

Ranked by magnesium in 100 calories: USDA’s amount per 100 g divided by the food’s calories per 100 g, times 100.

4,802 of the 5,837 foods with a value are ranked; seasonings, supplements, dried and powdered forms and foods under 10 calories per 100 g are left out.

5,837 of the site’s 8,210 foods have a value for magnesium, and 197 have none. USDA did not measure magnesium in the other 2,176, so they are not listed.

The common foods are the kinds people eat and look up most on FoodNutri, plus well-known sources such as Brazil nuts and coffee. Each appears once, in its most looked-up form.

A food makes the chart with at least 10% of FDA’s 420 mg Daily Value in its serving, FDA’s mark for a good source.

Other minerals: calcium, copper, fluoride, iron, manganese, phosphorus, potassium, selenium, and 2 more on the All food lists page.