Magnesium is an essential mineral involved in normal muscle and nerve function, energy metabolism, protein synthesis and many other processes. You do not need unusual ingredients to obtain it: seeds, nuts, legumes, whole grains and certain vegetables can all contribute.
The most useful question is not simply which food has the most magnesium per 100 g. It is how much magnesium a realistic portion provides, how often you eat that food and what the rest of your diet looks like.
How much magnesium do adults need?
Magnesium recommendations differ slightly between health authorities because they use different assessment methods.
The US National Institutes of Health lists recommended dietary allowances of approximately 400–420 mg per day for adult men and 310–320 mg for adult women, with different requirements during pregnancy.
The European Food Safety Authority uses adequate intake values of 350 mg per day for adult men and 300 mg for adult women.
These figures describe general population reference intakes, not individual prescriptions.
| Reference system | Adult men | Adult women |
|---|---|---|
| US NIH, ages 19–30 | 400 mg/day | 310 mg/day |
| US NIH, ages 31+ | 420 mg/day | 320 mg/day |
| EFSA adequate intake | 350 mg/day | 300 mg/day |
Pregnancy, age and certain medical circumstances may change the relevant guidance. Children have different reference values.
Sources: NIH Office of Dietary Supplements and EFSA dietary reference values.
Magnesium-rich foods: practical portions
The following table uses rounded food-composition estimates. Exact values depend on variety, preparation, brand and the database entry selected.
| Food | Example portion | Approximate magnesium |
|---|---|---|
| Pumpkin seeds, shelled | 28 g | 150–160 mg |
| Chia seeds | 28 g | 90–100 mg |
| Almonds | 28 g | 75–80 mg |
| Cashews | 28 g | 80–85 mg |
| Cooked spinach | 90 g | 75–80 mg |
| Cooked black beans | 85 g | 55–65 mg |
| Cooked lentils | 100 g | 30–40 mg |
| Cooked oatmeal | 175 g | 55–65 mg |
| Whole-wheat bread | 60 g | 40–50 mg |
| Dark chocolate, approximately 70–85% cocoa | 28 g | 60–65 mg |
These are illustrative amounts rather than guaranteed label values. For example, cooked oatmeal can vary with the oats-to-water ratio, and seed products may differ by processing.
For specific foods, consult USDA FoodData Central or a reliable national food-composition database.
Seeds and nuts: concentrated sources
Pumpkin seeds are among the more concentrated everyday sources of magnesium. A modest 28 g portion may provide around 150 mg or more.
Almonds, cashews and chia seeds also contribute useful amounts.
However, these foods are energy-dense. A large serving may provide considerable calories along with magnesium.
For someone tracking energy intake, a measured tablespoon or small handful may be more practical than eating a large quantity simply to increase mineral intake.
Try adding a small amount of pumpkin seeds to a bean salad, stirring chia seeds into yogurt or using chopped almonds on oatmeal.
The goal is to include magnesium-rich foods within a balanced diet rather than maximizing a single nutrient at every meal.
Beans, lentils and other legumes
Legumes provide magnesium together with fibre, carbohydrates and plant protein.
Black beans, kidney beans, chickpeas and lentils can contribute meaningful amounts, although the precise magnesium content differs.
For example, cooked black beans may provide around 55–65 mg per 85 g portion.
Legumes are especially useful because they can be incorporated into substantial meals:
- Lentil soup with whole-grain bread.
- Black beans with rice and vegetables.
- Chickpea salad with pumpkin seeds.
- Bean chili with a whole-grain side.
Dried legumes should be prepared according to food-safety guidance. Some varieties, especially kidney beans, require adequate boiling and should not be eaten undercooked.
Canned legumes offer a convenient alternative. Draining and rinsing may help reduce surface salt, although mineral values can differ from those of home-cooked legumes.
Whole grains and oats
Whole grains contain magnesium in the grain's outer layers and germ.
Refining grains often removes part of these components, so whole-grain products commonly contain more magnesium than comparable refined products.
Oats, whole-wheat bread, brown rice and whole-grain pasta can contribute to daily intake.
However, the amount per portion varies. Cooked grains contain water, meaning 100 g of cooked food is not equivalent to 100 g of the dry grain.
For accurate nutrition tracking, distinguish between dry and cooked weights.
A bowl of oatmeal with nuts and seeds can combine several sources of magnesium without requiring a special supplement or fortified product.
Vegetables and leafy greens
Magnesium is part of chlorophyll, the pigment involved in photosynthesis, but chlorophyll content alone does not determine how much magnesium a serving provides.
Cooked spinach can provide a useful amount because cooking reduces volume, making a substantial portion easier to eat.
Other vegetables contribute smaller amounts that still matter across a varied diet.
Vegetables should not be judged only by magnesium content. They also provide fibre, potassium, vitamins and other nutrients.
Does cooking reduce magnesium?
Magnesium is a mineral, so ordinary cooking does not destroy it in the way heat can degrade some vitamins.
However, minerals can move into cooking water. If that water is discarded, some magnesium may be lost.
The effect depends on the food, preparation method and amount of water used.
For example, a soup that retains its cooking liquid may retain minerals that would otherwise be discarded after boiling vegetables.
This does not mean raw foods are always nutritionally superior. Cooking can improve texture, safety and the digestibility of certain foods.
Can you meet magnesium needs through ordinary meals?
Consider this illustrative day:
| Food included during the day | Approximate magnesium |
|---|---|
| Cooked oatmeal, 175 g | 60 mg |
| Almonds, 28 g | 80 mg |
| Cooked black beans, 170 g | 120 mg |
| Cooked spinach, 90 g | 80 mg |
| Whole-wheat bread, 60 g | 45 mg |
| Total from these foods | About 385 mg |
The figures are approximate and do not include magnesium from other foods or drinks consumed that day.
This is not a prescribed meal plan. It simply shows how several familiar ingredients can contribute collectively.
Actual intake should be assessed across the whole diet, preferably over multiple days rather than a single meal.
Magnesium absorption and bioavailability
Not all magnesium present in food is absorbed.
Absorption depends on factors including the amount consumed, the food matrix and the body's regulatory processes.
Some plant foods contain phytate, which can reduce the absorption of certain minerals. Nevertheless, whole grains, legumes, nuts and seeds remain valuable magnesium sources.
There is generally no reason to avoid these nutritious foods solely because they contain phytate.
A varied diet is more useful than attempting to calculate an exact absorbed magnesium amount from every ingredient.
What about magnesium supplements?
Magnesium supplements are not automatically necessary when dietary intake is adequate.
Different magnesium compounds contain different proportions of elemental magnesium, and labels should be read carefully.
High intakes of magnesium from supplements or magnesium-containing medications can cause diarrhoea and other adverse effects. Certain medical conditions, particularly impaired kidney function, can increase risk.
The NIH identifies a tolerable upper intake level of 350 mg per day for magnesium from supplements and medications for adults in the United States. This limit does not apply to magnesium naturally present in foods.
European authorities use different upper-level assessments for certain supplemental magnesium compounds.
People considering supplementation because of symptoms, a medical condition or medication use should seek individualized medical advice rather than relying on a general food article.
How to increase magnesium intake without changing your entire diet
A few practical substitutions can help:
- Choose whole-grain bread instead of refined bread when it suits the meal.
- Add beans or lentils to soups, stews and salads.
- Include a measured portion of nuts or seeds.
- Use oats as one of several breakfast options.
- Include leafy vegetables alongside other vegetables.
- Review your overall dietary pattern rather than chasing one exceptionally high-magnesium food.
These changes may also increase fibre intake. If you are not accustomed to eating legumes or large quantities of fibre, increase portions gradually and drink according to your normal hydration needs.
How to assess magnesium in a food diary
Record foods in their actual consumed form and use consistent serving weights.
For example, 100 g of dry oats and 100 g of cooked oatmeal have very different nutrient concentrations because cooked oatmeal contains added water.
When reviewing a food diary, compare several days rather than relying on one isolated day. Food-composition databases and app estimates are useful but are not precise laboratory measurements of every meal.
Sources and limitations
- NIH Office of Dietary Supplements: Magnesium — dietary requirements, food sources, absorption and supplement safety.
- EFSA: Dietary Reference Values for Magnesium — European reference intakes.
- USDA FoodData Central — reference food-composition data.
Food values in this article are rounded examples and may differ from national databases or specific products. This guide addresses dietary sources of magnesium and is not intended to diagnose or treat magnesium deficiency.
