In brief:

  1. Pumpkin seeds, cocoa and nuts (almonds, cashews) are among the foods richest in magnesium per 100 g.
  2. Legumes, whole grains and leafy green vegetables such as spinach are good everyday complements.
  3. The official benchmark is about 350 mg per day for a man and 300 mg for a woman (EFSA), diet included.
  4. Varying these food groups over the week generally covers most needs, without systematically turning to a supplement.

Knowing which magnesium-rich foods to prioritise helps cover your needs through diet, before considering a supplement. Magnesium is found in many everyday foods, in widely varying amounts depending on the product. This guide covers the most useful magnesium content, food group by food group, and the official daily intake benchmarks.

Magnesium-rich foods at a glance

FoodMagnesium per 100 g
Dried pumpkin seedsAbout 550 to 590 mg
Unsweetened cocoa powderAbout 500 mg
Sunflower seedsAbout 350 to 420 mg
Brazil nutsAbout 350 mg
AlmondsAbout 250 to 270 mg
CashewsAbout 250 mg
Dark chocolate (70% cocoa and above)About 150 to 200 mg
BuckwheatAbout 150 mg
Rolled oatsAbout 130 mg
Cooked black beansAbout 70 mg
Cooked spinachAbout 60 mg
BananaAbout 30 mg

Exact values vary by variety, preparation and brand: for a specific product, the ANSES Ciqual food composition table1 remains the reference in France.

Daily magnesium needs, by profile

EFSA2 sets an adequate intake that varies by age and sex, calculated over the whole diet.

ProfileAdequate intake per day (EFSA)
Child aged 3 to 9230 mg
Male teenager aged 10 to 17300 mg
Female teenager aged 10 to 17250 mg
Adult man350 mg
Adult woman300 mg
Pregnant or breastfeeding woman300 mg

The reference value used on food and supplement labels is 375 mg per day, a single benchmark that does not distinguish age or sex. The guide on vitamin and mineral needs places magnesium among the other micronutrients to watch.

Nuts and seeds, very concentrated in magnesium

Seeds and nuts are among the densest sources of magnesium, in small quantities.

FoodStrength
Pumpkin seedsThe most concentrated source among common foods
Sunflower and sesame seedsAlso rich in unsaturated fatty acids
Almonds, cashews, Brazil nutsEasy to add as a handful snack
WalnutsAlso provide plant-based omega-3

A handful (20 to 30 g) of nuts or seeds as a snack remains a simple way to raise your intake, without changing your meals.

Seeds and nuts are very concentrated in magnesium, but they are also calorie-dense: a handful as a snack is enough, there’s no need to eat large amounts for it to count.

Legumes and whole grains

Legumes and whole-grain versions of cereals provide magnesium, as well as fibre and plant protein, for a more filling meal.

FoodStrength
Cooked black beans, lentils, chickpeasMagnesium, fibre and plant protein
BuckwheatOne of the best-supplied grains (pseudo-cereals) in magnesium
Rolled oats, brown rice, whole-grain breadMuch richer in magnesium than their refined versions
Plain tofuA plant source that combines magnesium and protein

The guide on plant protein explains how to combine legumes and whole grains to cover your protein needs alongside your magnesium intake.

Leafy greens and fruit

Leafy green vegetables and a few fruits usefully complement these sources, in smaller amounts per serving.

FoodStrength
Cooked spinachAmong the leafy vegetables richest in magnesium
AvocadoCombines magnesium with unsaturated fatty acids
BananaConvenient as a snack, also provides potassium

The article on diet and micronutrition explains how to build a plate that covers all minerals, not just magnesium.

Cocoa and dark chocolate

Unsweetened cocoa powder is one of the most concentrated sources of magnesium per 100 g. Dark chocolate (70% cocoa and above) keeps a good share of it, best eaten in moderation given its calorie density. Milk chocolate and white chocolate, lower in cocoa, provide noticeably less.

How to raise your magnesium intake day to day

  1. Vary your snacks: a handful of nuts or seeds rather than an ultra-processed product.
  2. Choose whole-grain versions: whole-grain bread, rice and pasta provide more magnesium than their refined equivalents.
  3. Add a serving of legumes several times a week, as a side or a main dish.
  4. Include leafy green vegetables (spinach, chard) in at least one meal a day.
  5. Check the mineral water label: some waters show a magnesium content per litre noticeably higher than others, listed directly on the bottle.

Who is more likely to be low on magnesium?

A genuine deficiency remains rare in a healthy person who eats a varied diet. According to the US NIH fact sheet on magnesium3, some profiles are more exposed to insufficient intake: digestive diseases, type 2 diabetes, alcohol dependence, older adults, or treatment with diuretics. The magnesium guide covers its role, the forms available as a supplement and the precautions for anyone considering taking one.

Key takeaways

  • Pumpkin seeds, cocoa and nuts are among the foods richest in magnesium per 100 g.
  • Legumes, whole grains, leafy green vegetables and certain mineral waters are good everyday complements.
  • The official benchmark is about 350 mg per day for a man and 300 mg for a woman, diet included.
  • Varying these food groups over the week generally covers most needs.

Frequently asked questions

What foods should you eat when you're low on magnesium?

Pumpkin seeds, nuts (almonds, cashews), legumes, whole grains, leafy green vegetables such as spinach, and cocoa are among the most concentrated sources. Varying these food groups over the week covers most needs.

What fruit is highest in magnesium?

Among common fruits, avocado and banana are among the best-supplied in magnesium, though far behind seeds and nuts. For a more concentrated intake, nuts (almonds, cashews, Brazil nuts) remain more effective.

What are the signs of a magnesium deficiency?

The first signs are non-specific: loss of appetite, nausea, fatigue and weakness. They have many other possible causes, and only a doctor can confirm a deficiency, through a blood test.

How much magnesium do you need per day?

EFSA sets an adequate intake of about 350 mg per day for an adult man and 300 mg for an adult woman, diet included. The reference value used on food labels is 375 mg per day.

Where can you find magnesium in your diet?

Magnesium is found in many everyday foods: pumpkin and sunflower seeds, nuts, legumes, whole grains, leafy green vegetables, cocoa and certain mineral waters. The table above gives the most useful benchmarks for planning meals.

Sources