Foods highest in magnesium

Short answer: per 100 g, hemp seeds (700 mg), wheat bran and pumpkin seeds have the most magnesium of the foods on Fitrang. Adults need 400–420 mg of magnesium a day (men) and 310–320 mg (women), per NIH ODS. EFSA sets 350 mg and 300 mg. (NIH ODS, Magnesium fact sheet)

440 mgdaily value used
700 mg#1 Hemp seeds / 100 g
50foods ranked

Top 50 foods highest in magnesium

#FoodPer 100 g% DVPer serving% DV
1Hemp seeds Veg700 mg159%210 mg
3 tablespoons (30 g)
48%
2Wheat bran Veg611 mg139%42.8 mg
1 tablespoon (7 g)
10%
3Pumpkin seeds Veg592 mg135%166 mg
1 oz (28 g)
38%
4Watermelon seeds Veg556 mg126%156 mg
1 oz (28 g)
35%
5Muskmelon seeds Veg420 mg95%42 mg
1 tablespoon (10 g)
10%
6Flaxseeds Veg392 mg89%39.2 mg
1 tablespoon (10 g)
9%
7Brazil nuts Veg376 mg85%18.8 mg
1 nut (5 g)
4%
8Safflower seeds Veg353 mg80%98.8 mg
1 oz (28 g)
22%
9Sesame seeds Veg351 mg80%31.6 mg
1 tablespoon (9 g)
7%
10Poppy seeds Veg347 mg79%31.2 mg
1 tablespoon (9 g)
7%
11Niger seeds Veg346 mg79%34.6 mg
1 tablespoon (10 g)
8%
12Chia seeds Veg335 mg76%40.2 mg
1 tablespoon (12 g)
9%
13Sunflower seeds Veg325 mg74%91 mg
1 oz (28 g)
21%
14Sunflower seed butter Veg311 mg71%99.5 mg
2 tablespoons (32 g)
23%
15Garden cress seeds (halim) Veg307 mg70%15.3 mg
1 teaspoon (5 g)
3%
16Cashews Veg292 mg66%81.8 mg
1 oz (about 18 cashews, 28 g)
19%
17Soya chunks (dry) Veg280 mg64%70 mg
1/2 cup dry (25 g)
16%
18Soybeans (uncooked) Veg280 mg64%112 mg
1/4 cup dry (40 g)
25%
19Almond butter Veg279 mg63%89.3 mg
2 tablespoons (32 g)
20%
20Almonds Veg270 mg61%75.6 mg
1 oz (about 23 almonds, 28 g)
17%
21Cashew butter Veg258 mg59%82.6 mg
2 tablespoons (32 g)
19%
22Pine nuts Veg251 mg57%70.3 mg
1 oz (28 g)
16%
23Amaranth grain (uncooked) Veg248 mg56%119 mg
1/4 cup dry (48 g)
27%
24Wheat germ Veg239 mg54%16.7 mg
1 tablespoon (7 g)
4%
25Oat bran Veg235 mg53%56.4 mg
1/4 cup (24 g)
13%
26Mixed nuts (dry roasted) Veg227 mg52%63.6 mg
1 oz (28 g)
14%
27Buckwheat groats (uncooked) Veg221 mg50%88.4 mg
1/4 cup dry (40 g)
20%
28Cowpeas (uncooked) Veg213 mg48%85.2 mg
1/4 cup dry (40 g)
19%
29Lotus seeds (dried) Veg210 mg48%58.8 mg
1 oz (28 g)
13%
30Moth beans (uncooked) Veg205 mg47%82 mg
1/4 cup dry (40 g)
19%
31Rice bean Veg201 mg46%80.4 mg
1/4 cup dry (40 g)
18%
32Quinoa (uncooked) Veg197 mg45%88.7 mg
1/4 cup dry (45 g)
20%
33Sun-dried tomatoes Veg194 mg44%9.7 mg
1 piece (5 g)
2%
34Peanuts (roasted) Veg176 mg40%49.3 mg
1 oz (28 g)
11%
35Rajma (uncooked) Veg173 mg39%69.2 mg
1/4 cup dry (40 g)
16%
36Urad dal (uncooked) Veg173 mg39%69.2 mg
1/4 cup dry (40 g)
16%
37Atlantic mackerel Non-veg76 mg17%85.9 mg
4 oz fillet (113 g)
20%
38Pollock Non-veg67 mg15%75.7 mg
4 oz fillet (113 g)
17%
39Anchovies Non-veg41 mg9%11.5 mg
1 oz (28 g)
3%
40Sea bass Non-veg41 mg9%46.3 mg
4 oz fillet (113 g)
11%
41Lobster Non-veg38 mg9%32.3 mg
3 oz (85 g)
7%
42Indian mackerel (bangda) Non-veg37.5 mg9%37.5 mg
1 medium fish (100 g)
9%
43Prawns Non-veg37 mg8%31.4 mg
3 oz (85 g)
7%
44Seer fish (king fish) Non-veg36.7 mg8%36.7 mg
1 slice (100 g)
8%
45Shrimp Non-veg35 mg8%29.8 mg
3 oz (85 g)
7%
46Yellowfin tuna Non-veg35 mg8%39.5 mg
4 oz (113 g)
9%
47Duck egg Egg17 mg4%11.9 mg
1 egg (70 g)
3%
48Fried egg Egg13 mg3%6 mg
1 large egg (46 g)
1%
49Quail eggs Egg13 mg3%1.2 mg
1 egg (9 g)
<1%
50Poached egg Egg12 mg3%6 mg
1 large egg (50 g)
1%

% DV = share of 440 mg, Fitrang's adult reference intake (the same one each food page uses). Whole foods only: no fortified, packaged or supplement products, and no spices or herbs eaten by the pinch. Only foods whose source reports this nutrient are ranked. Veg includes dairy.

How to get enough magnesium

Can you get too much magnesium?

Magnesium from food is safe: the kidneys remove the excess. The upper limit of 350 mg a day applies only to supplements and medicines, which can cause diarrhoea (NIH ODS).

Read next

Frequently asked questions

Which food is highest in magnesium?

Of the foods on Fitrang, hemp seeds have the most magnesium per 100 g (700 mg), followed by wheat bran (611 mg) and pumpkin seeds (592 mg). Per typical serving, hemp seeds gives the most (210 mg).

How much magnesium do I need a day?

Adults need 400–420 mg of magnesium a day (men) and 310–320 mg (women), per NIH ODS. EFSA sets 350 mg and 300 mg.

What are the best vegetarian sources of magnesium?

Per 100 g, the top vegetarian foods in this list are hemp seeds (700 mg), wheat bran (611 mg), pumpkin seeds (592 mg), watermelon seeds (556 mg), muskmelon seeds (420 mg). Tap "Veg" above the table to see only vegetarian foods.

Are these values for raw or cooked food?

Each value is per 100 g of the food exactly as named: raw, cooked or dry. Dry grains and legumes rank higher per 100 g because they gain 2–3x their weight in water when cooked, so compare the per-serving column too.

Track your magnesium in Fitrang

Log meals and see your magnesium, protein and 20+ vitamins and minerals against your daily target, with the foods that close the gap. Free.

Start free Get the app