17 Foods Compared by Magnesium Content
Last updated: Oct 27, 2026
Of these 17 foods, the most magnesium per 100 g is in Pumpkin and Squash seeds (592 mg), then Flaxseeds (392 mg).
How do these foods compare to each other?
The amount in 100 g of each food, as a percentage of the US reference intake.
Percentages use US reference intakes for male, ages 19–30. They are general reference values, not individual targets. Data and reference sources.
Selected foods compared by magnesium content
| Food | Magnesiumper 100 g | Magnesiumper portion | Magnesiumper 200 kcal |
|---|---|---|---|
| Pumpkin and Squash seeds | 592 mg | 166 mgoz | 213 mg |
| Flaxseeds | 392 mg | 39 mgtbsp | 145 mg |
| Sunflower seeds | 386 mg | 494 mgcup | 131 mg |
| Brazil nuts | 376 mg | 500 mgcup | 113 mg |
| Sesame seeds | 356 mg | 100 mgoz | 125 mg |
| Chia seeds | 335 mg | 94 mgoz | 137 mg |
| Soybeans | 280 mg | 521 mgcup | 126 mg |
| Buckwheat | 231 mg | 393 mgcup | 134 mg |
| Dark chocolate (at least 70% cacao) | 228 mg | 64 mgoz | 75 mg |
| Quinoa | 197 mg | 335 mgcup | 106 mg |
| Sun-dried tomatoes | 194 mg | 105 mgcup | 151 mg |
| White beans | 190 mg | 384 mgcup | 114 mg |
| Peanuts | 178 mg | 50 mgoz | 99 mg |
| Wild rice | 177 mg | 283 mgcup | 99 mg |
| Oats | 138 mg | 112 mgcup | 73 mg |
| Whole-grain pasta | 128 mg | 122 mgcup penne | 73 mg |
| Spinach | 79 mg | 24 mgcup | 687 mg |
This page compares magnesium amounts reported in selected USDA FoodData Central food records. Each table identifies the food preparation and the quantity used for the calculation.
The selection is not an exhaustive ranking of all foods. The order reflects the selected records and displayed quantities; a greater amount of one nutrient does not establish that a food is healthier overall.
Portion amounts and reference percentages are calculations made by this site from the displayed inputs. They are not USDA dietary recommendations, personal intake targets, supplement-dose advice or medical guidance. See About the data and reference values for limitations.
Want to see the nutrition of your favorite foods? Try out the compare tool here at Nutrition Calculatior