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.

Reference intakes for
aged

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

FoodMagnesiumper 100 gMagnesiumper portionMagnesiumper 200 kcal
Pumpkin and Squash seeds592 mg166 mgoz213 mg
Flaxseeds392 mg39 mgtbsp145 mg
Sunflower seeds386 mg494 mgcup131 mg
Brazil nuts376 mg500 mgcup113 mg
Sesame seeds356 mg100 mgoz125 mg
Chia seeds335 mg94 mgoz137 mg
Soybeans280 mg521 mgcup126 mg
Buckwheat231 mg393 mgcup134 mg
Dark chocolate (at least 70% cacao)228 mg64 mgoz75 mg
Quinoa197 mg335 mgcup106 mg
Sun-dried tomatoes194 mg105 mgcup151 mg
White beans190 mg384 mgcup114 mg
Peanuts178 mg50 mgoz99 mg
Wild rice177 mg283 mgcup99 mg
Oats138 mg112 mgcup73 mg
Whole-grain pasta128 mg122 mgcup penne73 mg
Spinach79 mg24 mgcup687 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

Share this page