Magnesium-rich foods, per portion

Magnesium is found above all in whole grains, legumes, nuts, seeds and green vegetables. This table ranks everyday foods by a typical portion instead of by 100 g, which is closer to what ends up on the plate.

Vegan

FoodPortionMagnesium per portionMagnesium per 100 g
Amaranth boiled1 portion (180 g)146 mg81 mg
Soya bean mature, boiled1 portion (150 g)128 mg85 mg
Buckwheat boiled1 portion (180 g)120 mg66.5 mg
Spinach boiled1 portion (150 g)112 mg75 mg
Quinoa white, boiled1 portion (180 g)105 mg58.2 mg
Tofu1 portion (125 g)97.1 mg77.7 mg
Bulgur (durum wheat) boiled1 portion (180 g)95.4 mg53 mg
Chard/leaf beet, boiled1 portion (150 g)87.6 mg58.4 mg
Sunflower seed1 handful (25 g)84 mg336 mg
Brown rice boiled1 portion (180 g)77.6 mg43.1 mg
Cashew nut1 handful (30 g)77.4 mg258 mg
Wholemeal pasta egg-free, boiled1 portion (200 g)74 mg37 mg
Pumpkin seed1 handful (25 g)71.2 mg285 mg
Millet boiled1 portion (180 g)70.6 mg39.2 mg
Haricot bean mature, boiled1 portion (150 g)67.5 mg45 mg

All foods

FoodPortionMagnesium per portionMagnesium per 100 g
Amaranth boiled1 portion (180 g)146 mg81 mg
Soya bean mature, boiled1 portion (150 g)128 mg85 mg
Buckwheat boiled1 portion (180 g)120 mg66.5 mg
Spinach boiled1 portion (150 g)112 mg75 mg
Quinoa white, boiled1 portion (180 g)105 mg58.2 mg
Tofu1 portion (125 g)97.1 mg77.7 mg
Bulgur (durum wheat) boiled1 portion (180 g)95.4 mg53 mg
Tuna grilled1 portion (150 g)93 mg62 mg
Chard/leaf beet, boiled1 portion (150 g)87.6 mg58.4 mg
Sunflower seed1 handful (25 g)84 mg336 mg
Brown rice boiled1 portion (180 g)77.6 mg43.1 mg
Cashew nut1 handful (30 g)77.4 mg258 mg
Wholemeal pasta egg-free, boiled1 portion (200 g)74 mg37 mg
Pumpkin seed1 handful (25 g)71.2 mg285 mg
Millet boiled1 portion (180 g)70.6 mg39.2 mg

Good to know

Reference values

General reference values for magnesium for healthy adults aged 25 to 50: DGE 350 mg per day for men and 300 mg for women, NIH 400 mg for men and 310 mg for women. Sources: DGE, NIH Office of Dietary Supplements.

Beety, the nutrient tracker for iPhone, uses the same data: choose magnesium as your focus, log what you eat and see what is still missing today. More about Beety.

Source of the food values: Max Rubner-Institut (2025), Bundeslebensmittelschlüssel (BLS), version 4.0, CC BY 4.0. Portions are typical household amounts chosen by us.

Beety gives general nutrition information. It does not diagnose anything and does not replace advice from your doctor.