Magnesium-rich foods, and how to eat more of them.
Nuts, seeds, wholegrains, pulses and leafy greens carry most of the magnesium in a UK diet. A few ordinary swaps, such as brown rice for white, add more than any single food does.
Quick answer. The most magnesium rich foods in the UK are nuts and seeds, then oats, wholegrains, pulses and leafy greens. In UK government food data (CoFID 2021), Brazil nuts (410mg per 100g), sunflower seeds (390mg), sesame seeds (370mg), and pumpkin seeds, almonds and cashews (270mg each) are the richest everyday foods. Per typical portion, baby spinach, brown rice, wholewheat pasta and a 20g handful of Brazil nuts each give about 80mg to 90mg (calculated). The NHS names spinach, nuts and wholemeal bread as sources, and says men need 300mg a day and women 270mg.
What foods are high in magnesium in the UK?
The NHS page on other vitamins and minerals says "Magnesium is found in a wide variety of foods", and gives three examples: spinach, nuts and wholemeal bread.
The figures come from the Composition of Foods Integrated Dataset (CoFID), the UK government's food composition tables. All values below are from its 2021 release, per 100g of food as described.
| Food (as eaten) | Magnesium per 100g | Group |
|---|---|---|
| Brazil nuts | 410mg | Nuts |
| Sunflower seeds | 390mg | Seeds |
| Sesame seeds | 370mg | Seeds |
| Pumpkin seeds | 270mg | Seeds |
| Almonds | 270mg | Nuts |
| Cashew nuts, plain | 270mg | Nuts |
| Peanuts, plain | 210mg | Nuts |
| Peanut butter, smooth | 180mg | Nuts |
| Porridge oats, dry | 114mg | Wholegrain |
| Baby spinach, boiled | 112mg | Leafy greens |
| Plain chocolate, 36 to 50% cocoa | 89mg | Other |
| Wholemeal bread | 66mg | Wholegrain |
| Houmous | 62mg | Pulses |
| Brown rice, boiled | 48mg | Wholegrain |
| Wholewheat spaghetti, boiled | 46mg | Wholegrain |
| Chickpeas, canned, drained | 44mg | Pulses |
| Red kidney beans, boiled | 40mg | Pulses |
| Bananas | 27mg | Fruit |
Nuts and seeds top the table per 100g, but they are eaten by the handful rather than the 100g. Wholegrains, pulses and greens matter as much in practice, because people eat them in larger amounts and more often.
More on magnesium, and the UK foods that carry most of it, in our magnesium guide. Linked foods in the tables open their own page with the full per-100g figures.
Which foods have the most magnesium per portion?
Per 100g, nuts and seeds win. Per portion, the order changes. The table below takes each CoFID figure from the table above and multiplies it by a typical adult portion from the British Nutrition Foundation's Find your balance portion guide, which describes its sizes as "suggestions of practical portion sizes for healthy adults". Every figure in the right-hand column is calculated and rounded to the nearest milligram.
| Food (as eaten) | Portion | Magnesium per portion |
|---|---|---|
| Baby spinach, boiled | 80g | 90mg |
| Brown rice, boiled | 180g | 86mg |
| Wholewheat spaghetti, boiled | 180g | 83mg |
| Brazil nuts | 20g | 82mg |
| Sunflower seeds | 20g | 78mg |
| Sesame seeds | 20g | 74mg |
| Almonds, cashews or pumpkin seeds | 20g | 54mg |
| Wholemeal bread, 2 medium slices | 80g | 53mg |
| Chickpeas, canned, drained | 120g | 53mg |
| Porridge oats, dry weight | 45g | 51mg |
| Red kidney beans, boiled | 120g | 48mg |
| Peanuts, plain | 20g | 42mg |
| Peanut butter, smooth | 20g | 36mg |
| Houmous | 55g | 34mg |
| Semi-skimmed milk, a glass | 200ml | 22mg |
| Banana | 80g | 22mg |
| Plain chocolate, 4 small squares | 20g | 18mg |
The milk figure takes 200ml as roughly 200g. The BNF portion for houmous is for the reduced fat kind, so we applied it to the standard houmous figure in the table above.
By our calculation, porridge at breakfast, two slices of wholemeal bread, a portion of brown rice and a 20g handful of almonds add up to about 244mg. That is close to the NHS 270mg for women, before any vegetables, pulses or milk.
How much magnesium do you need a day?
The NHS says the amount you need is:
- "300mg a day for men (19 to 64 years)"
- "270mg a day for women (19 to 64 years)"
The UK Government Dietary Recommendations keep the same 300mg and 270mg for adults aged 65 to 74 and 75 and over.
Food labels use the nutrient reference value (NRV) instead, which for magnesium is 375mg. It is a fixed yardstick for labels, not a daily target.
Why wholemeal bread is on the NHS list.
Per 100g, wholemeal bread (66mg) is far below nuts and seeds. It earns its place because bread is a daily staple for many people, eaten at more than one meal. A food you eat twice a day can add more over a week than one you eat twice a month. The same logic applies to oats, rice and pasta, which is why the wholegrain swaps below matter.
What about milk and fruit?
Both are modest sources. CoFID lists semi-skimmed milk at 11mg per 100g and bananas at 27mg. They add a little, often, rather than a lot at once.
Our guide to how much magnesium you need a day sets out the figures for children and teenagers, and how to add up magnesium from more than one product.
Where can you find magnesium in everyday food?
The NHS view is that "You should be able to get all the magnesium you need by eating a varied and balanced diet." The quickest gains come from swapping white staples for wholegrain ones. These are CoFID figures per 100g as eaten, with the multiples calculated:
- Rice: boiled white long grain 5mg, boiled brown rice 48mg. Almost ten times as much.
- Bread: average white 22mg, wholemeal 66mg. Three times as much.
- Pasta: boiled white spaghetti 21mg, boiled wholewheat spaghetti 46mg. More than twice as much.
After the swaps, a few habits add up:
- Start with oats. Porridge oats carry 114mg per 100g dry, and a spoon of seeds on top adds more.
- Snack on nuts. Almonds, cashews and Brazil nuts all sit above 250mg per 100g.
- Add pulses. Chickpeas, kidney beans and houmous each bring 40mg to 62mg per 100g.
- Wilt some spinach. Baby spinach measured 112mg per 100g boiled. Mature spinach measured less, 34mg boiled, so the type you buy matters.

Can you have too much magnesium?
The NHS guidance on taking too much is about supplements. In its words: "Taking high doses of magnesium (more than 400mg) for a short time can cause diarrhoea." It adds: "There's not enough evidence to say what the effects might be of taking high doses of magnesium for a long time."
The Department of Health and Social Care advice on the same page is: "Having 400mg or less a day of magnesium from supplements is unlikely to cause any harm." If you take more than one supplement, add the magnesium up across all of them. A pharmacist can check them for you.
What does magnesium do?
Magnesium holds these authorised health claims in Great Britain:
- Magnesium contributes to the reduction of tiredness and fatigue.
- Magnesium contributes to normal energy-yielding metabolism.
- Magnesium contributes to normal muscle function.
- Magnesium contributes to electrolyte balance.
- Magnesium contributes to normal psychological function.
Several foods in the table are good sources of other minerals too. Our guide to zinc-rich foods shows the same seeds, oats and wholemeal bread near the top for zinc.
Where Immufix fits.
Food comes first, and the swaps above do most of the work. Immufix is one scoop (25g) in around 200ml of water, once a day. Each scoop provides 70mg of magnesium, 19% of the NRV, which by our calculation is about a quarter of the NHS daily amount for women and just under a quarter for men. Magnesium contributes to the reduction of tiredness and fatigue, to normal muscle function and to electrolyte balance. The full formula is on the science page.
The short version.
- The NHS says men need 300mg of magnesium a day and women 270mg.
- Per 100g, Brazil nuts, sunflower, sesame and pumpkin seeds, almonds and cashews lead the UK data.
- Wholegrain swaps add the most: brown rice has almost ten times the magnesium of white.
- Oats, pulses and baby spinach are easy daily sources.
- The NHS says 400mg or less a day from supplements is unlikely to cause any harm.
Food supplements should not be used as a substitute for a varied, balanced diet and a healthy lifestyle. If you have a medical condition, are pregnant, breastfeeding or taking medication, speak to your GP or pharmacist before taking any food supplement.
Daily Immune Support
Vitamins, minerals and plant nutrients in one daily scoop. The formula Paula Radcliffe has taken every day since 1998.
4.8 out of 5 · 91 reviewsMonthly subscription. £52.00 is charged every month until you cancel. Minimum three payments, then cancel any time. Subscription terms
New here? 20% off your first order with code TRYIMMUFIX. Apply it
Dispatched the same day on weekday orders placed before 2pm.
Free standard UK delivery. Royal Mail 48 tracked, 2 to 3 working days. UK addresses only.
30‑day money-back guarantee. Try your first pouch of IMMUFIX for up to 30 days. If it’s not for you, we’ll refund your first qualifying pouch, less £10 shipping and handling. First purchase only. T&Cs apply.
Checkout completes securely on immufix.com
More from the journal.

Where to find zinc in everyday food.
Which foods have the most zinc, with per-100g figures from UK government data, the NHS daily amounts for men and women, and simple ways to eat more.
10 October 2026 · 6 min read
Where to find selenium, from Brazil nuts to fish.
Selenium foods in the UK: Brazil nuts, fish, shellfish, eggs and meat per 100g, selenium in one egg, foods with selenium and zinc, and NHS daily amounts.
10 October 2026 · 9 min read
Niacin, vitamin B3 explained.
Vitamin B3, also known as niacin: the UK foods highest in it per 100g and per portion, niacinamide in food, how much adults need and NHS supplement advice.
10 October 2026 · 8 min read