Nutrient table

Foods high in magnesium

Top per portion: Maize raw, Soya bean mature, Amaranth raw. The tables rank 1,110 basic foods from the German Food Code and Nutrient Data Base (BLS 4.0) – per portion, per 100 g and by nutrient density.

For adults aged 25 to 51, the German Nutrition Society (DGE) gives 300 mg for women and 350 mg for men a day. The percentage column uses the higher of the two.

Jump to the tables ↓

Good to know

Whole grains, pulses, nuts, seeds and green leafy vegetables supply plenty of magnesium. Much of it is lost when grain is hulled and milled, which is why wholemeal flour ranks far above white flour.

Top 20 per portion

What a usual portion supplies – the ranking that matters day to day.

# Food Portion per portion (mg) % reference per 100 g (mg)
1
Maize rawGrains and flours (excluding rice)
180 g 164 47.0% 91.2
2
Soya bean mature, boiledLegumes (mature)
180 g 153 44.0% 85.0
3
Amaranth rawGrains and flours (excluding rice)
60 g 141 40.0% 235
4
Emmer wheat whole grain, boiledGrains and flours (excluding rice)
180 g 137 39.0% 76.1
5
Green spelt whole grain, boiledGrains and flours (excluding rice)
200 g 135 39.0% 67.7
6
Spinach boiledVegetables
180 g 135 39.0% 75.0
7
Softshell clam boiledMollusks
200 g 133 38.0% 66.7
8
Spinach juiceJuices
200 g 130 37.0% 65.0
9
Barley whole grain, boiledGrains and flours (excluding rice)
200 g 128 37.0% 64.0
10
Spelt whole grain, boiledGrains and flours (excluding rice)
200 g 126 36.0% 63.2
11
Einkorn wheat whole grain, boiledGrains and flours (excluding rice)
180 g 126 36.0% 70.0
12
Wheat whole grain, boiledGrains and flours (excluding rice)
180 g 121 34.0% 67.0
13
Buckwheat rawGrains and flours (excluding rice)
60 g 120 34.0% 200
14
Carp poachedFresh-water fish
200 g 114 33.0% 57.0
15
Pacific salmon saltedSea fish
150 g 111 32.0% 74.0
16
Soya bean mature (soya kernel) roasted without fatLegumes (mature)
40 g 106 30.0% 265
17
Rye whole grain, boiledGrains and flours (excluding rice)
170 g 105 30.0% 62.0
18
Lima bean/butter bean, matureVegetables
50 g 104 30.0% 209
19
Carp saltedFresh-water fish
150 g 104 30.0% 69.0
20
Sunflower seedSeeds
30 g 101 29.0% 336

Top 20 per 100 g

The content of the food itself, however much of it you eat. Foods eaten in portions under 10.0 g are listed further down under herbs and spices.

# Food per 100 g (mg) Portion per portion (mg)
1
Cocoa powder strongly deoiledChocolate
615 15 g 92.2
2
Cocoa powder lightly deoiledChocolate
545 15 g 81.8
3
Spelt branGrains and flours (excluding rice)
530 15 g 79.5
4
Wheat branGrains and flours (excluding rice)
446 20 g 89.1
5
Brazil nutNuts
379 20 g 75.8
6
Tahini made from sesame seedsSeeds
357 20 g 71.4
7
Sesame seedSeeds
347 15 g 52.0
8
Poppy seedSeeds
340 15 g 51.0
9
Sunflower seedSeeds
336 30 g 101
10
Linseed/flax seedSeeds
323 15 g 48.5
11
Chia seedsSeeds
306 15 g 45.9
12
Pumpkin seedSeeds
285 20 g 57.0
13
Sweet almond butter (100 % pure)Nuts
279 20 g 55.8
14
Pine nutNuts
267 15 g 40.1
15
Soya bean mature (soya kernel) roasted without fatLegumes (mature)
265 40 g 106
16
Cashew butter (100 % pure)Fruit
258 20 g 51.6
17
Cashew nutNuts
258 25 g 64.5
18
Amaranth rawGrains and flours (excluding rice)
235 60 g 141
19
Soya flour full fatLegumes (mature)
231 20 g 46.2
20
Miso/soya bean pasteLegumes (mature)
230 20 g 46.0

Plant foods high in magnesium

Vegan foods, ranked per portion.

# Food Portion per portion (mg) % reference per 100 g (mg)
1
Maize rawGrains and flours (excluding rice)
180 g 164 47.0% 91.2
2
Soya bean mature, boiledLegumes (mature)
180 g 153 44.0% 85.0
3
Amaranth rawGrains and flours (excluding rice)
60 g 141 40.0% 235
4
Emmer wheat whole grain, boiledGrains and flours (excluding rice)
180 g 137 39.0% 76.1
5
Green spelt whole grain, boiledGrains and flours (excluding rice)
200 g 135 39.0% 67.7
6
Spinach boiledVegetables
180 g 135 39.0% 75.0
7
Spinach juiceJuices
200 g 130 37.0% 65.0
8
Barley whole grain, boiledGrains and flours (excluding rice)
200 g 128 37.0% 64.0
9
Spelt whole grain, boiledGrains and flours (excluding rice)
200 g 126 36.0% 63.2
10
Einkorn wheat whole grain, boiledGrains and flours (excluding rice)
180 g 126 36.0% 70.0
11
Wheat whole grain, boiledGrains and flours (excluding rice)
180 g 121 34.0% 67.0
12
Buckwheat rawGrains and flours (excluding rice)
60 g 120 34.0% 200

Highest nutrient density

Magnesium per 100 kcal: for plenty of it at little energy. Only foods with at least 20.0 kcal per 100 g.

# Food per 100 kcal (mg) per 100 g (mg)
1
Chinese spinach rawVegetables
275 55.0
2
Snails edible/escargots, boiledMollusks
215 168
3
Cocoa powder strongly deoiledChocolate
198 615
4
Spelt branGrains and flours (excluding rice)
196 530
5
Stinging nettle rawVegetables
174 80.0
6
Wheat branGrains and flours (excluding rice)
168 446
7
Prickly pear rawFruit
163 85.0
8
Cocoa powder lightly deoiledChocolate
149 545
9
Roman fennel/sweet fennel, rawVegetables
148 49.0
10
Rocket rawVegetables
133 28.0
11
Miso/soya bean pasteLegumes (mature)
132 230
12
Sorrel rawVegetables
132 33.0

By food group

Vegetables and potatoes high in magnesium

Food Portion per portion (mg) % reference
Spinach boiledVegetables
180 g 135 39.0%
Lima bean/butter bean, matureVegetables
50 g 104 30.0%
Purslane rawVegetables
75 g 82.5 24.0%
Spinach rawVegetables
100 g 68.0 19.0%
Cardoon rawVegetables
160 g 67.2 19.0%
Chard/leaf beet, rawVegetables
100 g 66.1 19.0%
Stinging nettle rawVegetables
75 g 60.0 17.0%
Soya bean immature (edamame) rawVegetables
90 g 58.5 17.0%

Mushrooms high in magnesium

Food Portion per portion (mg) % reference
Shiitake mushroom dried, boiledMushrooms
100 g 55.2 16.0%
Chanterelle dried, boiledMushrooms
100 g 48.0 14.0%
Mixed mushrooms dried, boiledMushrooms
120 g 44.4 13.0%
Oyster mushroom dried, boiledMushrooms
100 g 44.0 13.0%
Buttom mushroom dried, boiledMushrooms
80 g 40.8 12.0%
Morel dried, boiledMushrooms
70 g 38.8 11.0%
Porcini mushroom dried, boiledMushrooms
100 g 30.0 9.0%
Brown-yellow boletus (slippery jack) dried, boiledMushrooms
120 g 25.2 7.0%

Fruit high in magnesium

Food Portion per portion (mg) % reference
Prickly pear rawFruit
100 g 85.0 24.0%
Cherimoya rawFruit
250 g 70.0 20.0%
Plantain boiledFruit
180 g 61.2 17.0%
Cashew butter (100 % pure)Fruit
20 g 51.6 15.0%
Breadfruit rawFruit
200 g 50.0 14.0%
Raspberry driedFruit
35 g 44.1 13.0%
Jackfruit rawFruit
150 g 43.5 12.0%
Papaya driedFruit
40 g 42.8 12.0%

Pulses high in magnesium

Food Portion per portion (mg) % reference
Soya bean mature, boiledLegumes (mature)
180 g 153 44.0%
Soya bean mature (soya kernel) roasted without fatLegumes (mature)
40 g 106 30.0%
Cowpea/black-eyed pea, mature, boiledLegumes (mature)
170 g 91.8 26.0%
Haricot bean matureLegumes (mature)
60 g 84.0 24.0%
Lentil matureLegumes (mature)
60 g 77.4 22.0%
Tofu poachedLegumes (mature)
120 g 75.7 22.0%
Mung bean mature, boiledLegumes (mature)
180 g 75.6 22.0%
Broad bean mature, boiledLegumes (mature)
180 g 73.8 21.0%

Nuts and seeds high in magnesium

Food Portion per portion (mg) % reference
Sunflower seedSeeds
30 g 101 29.0%
Brazil nutNuts
20 g 75.8 22.0%
Tahini made from sesame seedsSeeds
20 g 71.4 20.0%
Sweet chestnut boiledNuts
80 g 67.9 19.0%
Cashew nutNuts
25 g 64.5 18.0%
Pumpkin seedSeeds
20 g 57.0 16.0%
Sweet almond butter (100 % pure)Nuts
20 g 55.8 16.0%
Pistachio nutNuts
30 g 54.8 16.0%

Grains, bread and pasta high in magnesium

Food Portion per portion (mg) % reference
Maize rawGrains and flours (excluding rice)
180 g 164 47.0%
Amaranth rawGrains and flours (excluding rice)
60 g 141 40.0%
Emmer wheat whole grain, boiledGrains and flours (excluding rice)
180 g 137 39.0%
Green spelt whole grain, boiledGrains and flours (excluding rice)
200 g 135 39.0%
Barley whole grain, boiledGrains and flours (excluding rice)
200 g 128 37.0%
Spelt whole grain, boiledGrains and flours (excluding rice)
200 g 126 36.0%
Einkorn wheat whole grain, boiledGrains and flours (excluding rice)
180 g 126 36.0%
Wheat whole grain, boiledGrains and flours (excluding rice)
180 g 121 34.0%

Dairy, cheese and eggs high in magnesium

Food Portion per portion (mg) % reference
Sheep's milk min. 4.5 % fatMilk
240 g 47.0 13.0%
Milk skimmed, fresh, max. 0.1 % fat, pasteurisedMilk
240 g 33.6 10.0%
Sour wheyDairy products
250 g 30.0 9.0%
Milk skimmed, max. 0.5 % fat, ultra-heatedMilk
240 g 28.8 8.0%
Kefir from skimmed milk, max. 0.5 % fatDairy products
200 g 28.0 8.0%
Goat's milk min. 3 % fatMilk
240 g 27.4 8.0%
Whole milk, fresh, 3.5 % fat, pasteurisedMilk
240 g 26.9 8.0%
Soured milk (thick) skimmed, max. 0.5 % fatDairy products
200 g 26.0 7.0%

Fish and seafood high in magnesium

Food Portion per portion (mg) % reference
Softshell clam boiledMollusks
200 g 133 38.0%
Carp poachedFresh-water fish
200 g 114 33.0%
Pacific salmon saltedSea fish
150 g 111 32.0%
Carp saltedFresh-water fish
150 g 104 30.0%
Grenadier stewedSea fish
120 g 101 29.0%
Common mussel boiledMollusks
300 g 96.3 28.0%
Tench saltedFresh-water fish
150 g 94.5 27.0%
European catfish saltedFresh-water fish
130 g 89.7 26.0%

Meat and sausages high in magnesium

Food Portion per portion (mg) % reference
Sheep chop (loin) grilledLamb and mutton
250 g 85.0 24.0%
Duck breast, with skin, grilledPoultry
200 g 52.6 15.0%
Lamb chop (loin) fried without fat (oven)Lamb and mutton
150 g 52.5 15.0%
Goose leg, with skin, braised without fatPoultry
250 g 51.5 15.0%
Pork foreshank (hock) boiledPork
350 g 49.0 14.0%
Sheep leg, lean, braised without fatLamb and mutton
180 g 48.6 14.0%
Sheep tenderloin, fried without fat (oven)Lamb and mutton
150 g 48.0 14.0%
Beef topside/top round, boiledBeef
170 g 45.9 13.0%

Offal high in magnesium

Food Portion per portion (mg) % reference
Goose liver, fried without fat (pan)Variety meats/giblets
140 g 44.8 13.0%
Veal heart, braised without fatVariety meats/giblets
120 g 43.2 12.0%
Veal kidney, braised without fatVariety meats/giblets
120 g 37.2 11.0%
Duck liver, fried without fat (pan)Variety meats/giblets
130 g 36.4 10.0%
Lamb kidney, braised without fatVariety meats/giblets
120 g 34.8 10.0%
Beef liver, fried without fat (pan)Variety meats/giblets
150 g 33.0 9.0%
Beef heart, braised without fatVariety meats/giblets
120 g 31.1 9.0%
Chicken giblets, braised without fatVariety meats/giblets
120 g 30.2 9.0%

Download every value on this page as CSV

Where the numbers come from

All values come from the German Food Code and Nutrient Data Base (BLS 4.0) of the Max Rubner Institute. Each table lists a food once, in the preparation that ranks highest. Portion sizes are typical portions NutriSpy set per food. Data as of 2026-12-02.

Full methodology →

More nutrient tables

How much of it do you actually eat?

A table tells you what is in a food. How much of it reaches your day only a diary shows: NutriSpy turns each meal – a sentence, a photo or a barcode – into nutrients and puts your day next to the reference values.

Home · All nutrient tables · Full methodology · All topics

These tables describe the nutrient content of foods. They are not dietary advice and do not replace seeing a doctor.

Data source: Max Rubner-Institut (2025): Bundeslebensmittelschlüssel (BLS), Version 4.0 — Deutsche Nährstoffdatenbank. Karlsruhe. DOI: 10.25826/Data20251217-134202-0 · Licence: CC BY 4.0 · Selection, rounding and values per portion: NutriSpy