In remembrance and deep gratitudeDetails
A THAI COMPANY SINCE 1999 · VISTRA SINCE 2006·OFFICIAL STORES ON SHOPEE · LAZADA · TIKTOK SHOP · LINEA THAI COMPANY SINCE 1999 · VISTRA SINCE 2006
Where to buy
JAPAN QUALITY·輝く毎日を、内側から。·GMP · ISO · HACCP · FSSC 22000 · HALAL CERTIFIED
Ingredient guide

Which foods are high in magnesium, and how much is in each?

·
Foods high in magnesium include pumpkin, watermelon and sesame seeds, cashews, almonds, soybeans, mung beans, brown rice and leafy greens such as spinach and morning glory. Per 100 g, pumpkin seeds have 592 mg and raw brown rice 116 mg, against 25 mg in white rice. The Thai RDI is 310 mg a day.

Foods high in magnesium include seeds such as pumpkin, watermelon, sesame, chia and sunflower seeds; nuts such as cashews and almonds; dried beans such as soybeans, black beans and mung beans; whole grains such as brown rice and oats; and leafy greens such as spinach and morning glory. Per 100 g, dried pumpkin seed kernels have 592 mg of magnesium and raw brown rice 116 mg, while raw white rice has 25 mg. The Thai Reference Daily Intake (Thai RDI) for magnesium is 310 mg a day.

In short:

  • Highest per 100 g: pumpkin and watermelon seeds, sesame, chia and sunflower seeds, cashews, soybeans, almonds
  • Highest per usual serving (in the table below): pumpkin seeds, chia seeds, almonds, boiled spinach, cashews, peanuts, soy milk, black beans
  • Thai vegetables with figures: spinach, morning glory, basil, okra, amaranth leaves and drumstick leaves
  • Rice: brown rice has several times the magnesium of white rice, because magnesium is rich in the outer layers of the grain, which polishing removes
  • Daily amount: Thai RDI 310 mg

This article is a table-based guide to how much magnesium is in foods. For what magnesium does in the body, see What does magnesium do, and which foods contain it?, and for the compounds used in products, see What types of magnesium are there, and how do they differ?

Which foods are high in magnesium?

The NIH Office of Dietary Supplements (ODS), part of the US National Institutes of Health, says magnesium is widely distributed in plant and animal foods and in drinks, and that green leafy vegetables such as spinach, legumes, nuts, seeds and whole grains are good sources. It adds that, in general, foods containing dietary fibre provide magnesium. The UK's NHS lists spinach, nuts and wholemeal bread. Magnesium is a component of bones and teeth, and contributes to the normal function of muscles and the nervous system and to normal energy-yielding metabolism.

Magnesium per 100 g of food

The figures below come from the US Department of Agriculture's FoodData Central database (SR Legacy), per 100 g of the food as described. Thai varieties, growing conditions and recipes may give somewhat different amounts.

Food (FoodData Central description) Magnesium per 100 g (mg)
Pumpkin and squash seed kernels, dried 592
Watermelon seed kernels, dried 515
Sesame seeds, whole, dried 351
Chia seeds, dried 335
Sunflower seed kernels, dried 325
Cashew nuts, raw 292
Soybeans, mature seeds, raw 280
Almonds 270
Dark chocolate, 70–85% cacao solids 228
Mung beans, mature seeds, raw 189
Black beans, mature seeds, raw 171
Peanuts, all types, raw 168
Kidney beans, mature seeds, raw 140
Oats, regular and quick, not fortified, dry 138
Adzuki beans, mature seeds, raw 127
Rice, brown, long-grain, raw 116
Spinach, raw 79
Mackerel, Atlantic, raw 76
Water convolvulus (morning glory), raw 71
Basil, fresh 64
Tofu, firm, made with calcium sulfate 58
Okra, raw 57
Amaranth leaves (phak khom), raw 55
Drumstick (moringa) leaves, raw 42
Shrimp, raw 35
Bananas, raw 27
Rice, white, long-grain, raw, unenriched 25
Milk, whole (3.25% fat) 10

Seeds, nuts and dried beans are listed dry and raw. They are eaten in smaller amounts than rice or vegetables, and dried beans take up water when cooked, so the next section looks at usual servings.

Seeds and nuts that Thai people snack on

Several of the foods at the top of the table are familiar Thai snacks. Dried pumpkin seed kernels have 592 mg of magnesium per 100 g, and dried watermelon seed kernels (the shelled seeds sold as melon seeds) 515 mg. Whole sesame seeds have 351 mg, raw cashews 292 mg and raw peanuts 168 mg. The figures for seeds are for the kernels, without the shell.

Thai vegetables and herbs

Leafy vegetables have less magnesium per 100 g than seeds, but they are eaten in larger amounts. Raw morning glory (water convolvulus) has 71 mg per 100 g, close to raw spinach at 79 mg. Fresh basil has 64 mg, okra 57 mg, amaranth leaves 55 mg and drumstick (moringa) leaves 42 mg.

How much magnesium is in a usual serving?

Per 100 g figures are useful for comparing foods, but people eat a handful of seeds and a plate of rice. The ODS table lists magnesium per typical serving, based on FoodData Central. The last column compares each serving with the Thai RDI of 310 mg.

Magnesium per serving

Food Serving Magnesium (mg) Share of 310 mg
Pumpkin seeds, roasted 1 ounce (about 28 g) 156 50%
Chia seeds 1 ounce (about 28 g) 111 36%
Almonds, dry roasted 1 ounce (about 28 g) 80 26%
Spinach, boiled ½ cup 78 25%
Cashews, dry roasted 1 ounce (about 28 g) 74 24%
Peanuts, oil roasted ¼ cup 63 20%
Soy milk, plain or vanilla 1 cup 61 20%
Black beans, cooked ½ cup 60 19%
Edamame, shelled, cooked ½ cup 50 16%
Peanut butter, smooth 2 tablespoons 49 16%
Rice, brown, cooked ½ cup 42 14%
Yoghurt, plain, low fat 8 ounces (about 227 g) 42 14%
Kidney beans, canned ½ cup 35 11%
Banana 1 medium 32 10%
Salmon, Atlantic, farmed, cooked 3 ounces (about 85 g) 26 8%
Milk 1 cup 24–27 8–9%
Chicken breast, roasted 3 ounces (about 85 g) 22 7%
Beef, ground, 90% lean, pan broiled 3 ounces (about 85 g) 20 6%
Broccoli, chopped and cooked ½ cup 12 4%
Rice, white, cooked ½ cup 10 3%

Source: ODS magnesium fact sheet, Table 2 (US servings). The share of 310 mg is our comparison with the Thai RDI.

Why do raw and cooked beans look so different?

Dried beans take up water when they are boiled, so the same weight of cooked beans holds fewer beans. In FoodData Central, 100 g of raw dried mung beans has 189 mg of magnesium and 100 g of boiled mung beans 48 mg. For soybeans, the figures are 280 mg raw and 86 mg boiled. When you compare foods, check whether a figure is for dry or cooked food, and for 100 g or a serving.

How much does milling rice change the magnesium?

Rice is eaten at almost every Thai meal, so the type of rice makes a large difference to the magnesium on the plate. In FoodData Central, raw long-grain brown rice has 116 mg of magnesium per 100 g, while raw unenriched long-grain white rice has 25 mg and raw white glutinous rice 23 mg.

Brown, white and glutinous rice

Rice (FoodData Central description) Raw, per 100 g (mg) Cooked, per 100 g (mg)
Brown, long-grain 116 39
White, long-grain, unenriched 25 12
White, glutinous, unenriched 23 5

The cooked figures are lower than the raw ones mainly because cooked rice is mostly water. The gap between brown and white rice is there both raw and cooked.

Where in the grain is the magnesium?

A 2002 study from Hiroshima Prefectural University grew 11 rice cultivars under similar conditions, then milled the hulled grains layer by layer from the outside in and analysed each layer. In every cultivar, magnesium, phosphorus, potassium and manganese were extremely rich in the outer portion, while the inner portion was mostly starch. The ODS likewise says that refining grains in ways that remove the nutrient-rich germ and bran lowers magnesium content substantially. Two US Department of Agriculture researchers wrote in a 2019 review that rice is a source of magnesium, and that some minerals and vitamins in brown rice are not present in white rice after polishing.

Rice sold in Bangkok

A 2013 study from the Chulabhorn Research Institute analysed 667 food samples, including rice, animal foods, eggs, vegetables, fruits and drinking water, bought in markets, supermarkets and grocery stores in Bangkok between October 2005 and August 2008. Non-polished rice had higher magnesium, calcium, manganese, iron and selenium concentrations than polished rice. The study describes foods sold in one city over three years, not all rice grown in Thailand.

Does cooking change the magnesium in food?

Cooking changes the magnesium figures in two ways: cooking adds or removes water, and some minerals pass from food into the cooking water. A Japanese study measured the second effect directly.

What a Japanese study measured

A 1990 study from Kyoto University analysed many foods before and after cooking for nine minerals, including magnesium. Foods prepared in mass cooking kept on average about 60% to 70% of the minerals in the raw foods, and losses were particularly high from vegetables. The largest losses came from squeezing vegetables after boiling and from soaking thinly sliced food in water. Home-cooked meals gave similar results. The authors suggested eating boiled food with its soup and avoiding too much boiling. The study was done with Japanese foods and cooking methods.

Raw and boiled vegetables in FoodData Central

Food Raw, per 100 g (mg) Boiled and drained, per 100 g (mg)
Water convolvulus (morning glory) 71 30
Drumstick (moringa) leaves 42 34
Spinach 79 87
Mung beans, mature seeds 189 48
Soybeans, mature seeds 280 86

Spinach shows a higher figure after boiling because cooked leaves lose water and shrink, so 100 g holds more leaf. Morning glory, by contrast, shows a lower figure after boiling and draining. In Thai soups and curries, where the liquid is eaten too, minerals that pass into the water stay in the bowl.

How much magnesium do you need a day, and how much is too much?

The Thai RDI for magnesium is 310 mg a day, for the general population aged 3 and over. It counts magnesium from all foods and drinks. For the Thai reference amounts of other nutrients, see What are the Thai daily reference amounts for each nutrient? The NHS says people should be able to get all the magnesium they need from a varied and balanced diet.

Upper limits

Number What it means Source
310 mg a day Thai daily reference amount, ages 3 and over, from all foods Thai RDIs
350 mg a day Upper limit for adults, counting only supplements and medicines (not food or drinks) US value (ODS)
More than 400 mg High doses for a short time can cause diarrhoea UK NHS

The ODS explains that the upper limit can look lower than the daily amount because it counts only magnesium from supplements and medicines, while the daily amount counts magnesium from every source. It also says that too much magnesium from food does not pose a health risk in healthy people, because the kidneys eliminate excess amounts in the urine.

Who should talk to a doctor or pharmacist?

People who take regular medication

Magnesium can interact with some medicines, and some medicines can affect the body's magnesium. If you take medication regularly, ask a doctor or pharmacist before adding magnesium.

Pregnant and breastfeeding women

If you are pregnant or breastfeeding, talk to a doctor or pharmacist before taking any dietary supplement, including magnesium.

Dietary supplements are not intended to prevent, treat or cure any disease.

Frequently asked questions

Which foods have the most magnesium per 100 g?

In the US Department of Agriculture's FoodData Central database, 100 g of dried pumpkin seed kernels has 592 mg of magnesium, dried watermelon seed kernels 515 mg, whole dried sesame seeds 351 mg, dried chia seeds 335 mg, dried sunflower seed kernels 325 mg, raw cashews 292 mg, raw soybeans 280 mg and almonds 270 mg. Raw mung beans have 189 mg and raw brown rice 116 mg.

Which Thai vegetables contain magnesium?

In FoodData Central, 100 g of raw spinach has 79 mg of magnesium, raw morning glory (water convolvulus) 71 mg, fresh basil 64 mg, raw okra 57 mg, raw amaranth leaves (phak khom) 55 mg and raw drumstick (moringa) leaves 42 mg. These are smaller amounts than seeds and beans, but vegetables are eaten in larger portions.

How much magnesium is in a usual serving?

In the table published by the NIH Office of Dietary Supplements (ODS), 1 ounce (about 28 g) of roasted pumpkin seeds has 156 mg of magnesium (50% of the Thai RDI of 310 mg), 1 ounce of dry roasted almonds 80 mg, half a cup of boiled spinach 78 mg, 1 cup of soy milk 61 mg and half a cup of cooked brown rice 42 mg.

Does brown rice have more magnesium than white rice?

Yes. In FoodData Central, 100 g of raw long-grain brown rice has 116 mg of magnesium and raw unenriched long-grain white rice 25 mg; cooked, the figures are 39 mg and 12 mg. A 2002 Japanese study of 11 rice cultivars found magnesium concentrated in the outer layers of the grain, which polishing removes, and a 2013 study of foods sold in Bangkok found more magnesium in non-polished rice than in polished rice.

Does cooking change the magnesium in food?

It can. A 1990 study from Kyoto University found that cooked foods prepared in mass cooking kept on average about 60% to 70% of the minerals in the raw foods, with the largest losses from vegetables, especially when they were boiled and squeezed. In FoodData Central, 100 g of raw morning glory has 71 mg of magnesium and 100 g of boiled, drained morning glory 30 mg.

How much magnesium do you need a day?

The Thai Reference Daily Intake (Thai RDI) for magnesium is 310 mg a day, for the general population aged 3 and over. The UK's NHS says people should be able to get all the magnesium they need from a varied and balanced diet.

Can you get too much magnesium?

The US upper limit published by the ODS is 350 mg a day for adults, and it counts only magnesium from supplements and medicines, not from food and drinks. The NHS says high doses of more than 400 mg for a short time can cause diarrhoea. People who take regular medication should ask a doctor or pharmacist before adding magnesium.