In this article
Magnesium is found in a wide variety of plant foods, including pulses, nuts, seeds, wholegrains and leafy green vegetables, and in smaller amounts in fish, dairy products and even water. A varied diet based on a Mediterranean pattern tends to provide adequate amounts of this mineral, while foods rich in magnesium bring fibre, vitamins and other minerals that no tablet can replicate.
This article explains how much magnesium an adult needs each day according to European reference values, which food groups are the best sources, how preparation and processing affect the amount, and when diet alone is not enough. It is important to remember that low magnesium confirmed by blood tests is often caused by intestinal or kidney losses, not simply diet. In these cases, a doctor must investigate the cause.
How much magnesium is needed
The European Food Safety Authority (EFSA) concluded that the available data do not allow an exact average magnesium requirement to be calculated. It therefore set ‘adequate intakes’ based on consumption among healthy European populations. For adults, the adequate intake is 350 mg per day for men and 300 mg per day for women, including during pregnancy and breastfeeding. Values for children and teenagers increase with age.
These figures are population reference values, not rigid daily targets. The body adjusts intestinal absorption and excretion through the kidneys according to intake, and it is the pattern over several weeks that matters. People with specific conditions may have different requirements, which should be determined by their doctor.
| Group (EFSA) | Approximate adequate intake |
|---|---|
| Adult men | 350 mg per day |
| Adult women | 300 mg per day |
| Pregnancy and breastfeeding | 300 mg per day |
| Children and adolescents | Lower values, increasing with age |
The best food sources
Magnesium forms part of chlorophyll, the green pigment in plants, which helps explain why dark leafy vegetables are good sources. Seeds and nuts contain a great deal of magnesium in a small volume, while pulses and wholegrains make an important contribution because of the amounts eaten from day to day.
Exact amounts vary with the variety, soil, season and method of preparation, so the table below gives a relative classification that is useful for practical choices. Official food-composition tables are the most reliable source for precise values.
| Group | Examples | Relative contribution |
|---|---|---|
| Seeds | Pumpkin, sunflower, sesame, flaxseed | Very high per portion |
| Nuts | Almonds, cashews, hazelnuts, walnuts | High |
| Pulses | Beans, chickpeas, lentils, peas, soya | High, particularly because of the amount eaten |
| Wholegrain cereals | Oats, wholemeal bread, brown rice, buckwheat | Moderate to high |
| Leafy green vegetables | Spinach, chard, kale, turnip greens | Moderate to high |
| Fish and shellfish | Sardines, mackerel, mussels | Moderate |
| Fruit | Bananas, avocados, dried figs | Low to moderate |
| Dairy products | Milk, yoghurt | Low to moderate |
Refined grains and processing
Much of the magnesium in cereals is found in the bran and germ, the parts removed during refining. White bread, white rice and refined noodles therefore provide far less magnesium than their wholemeal equivalents. Swapping some of these products for wholemeal alternatives is an easy way to increase intake without radically changing your habits.
Highly processed foods such as cakes, biscuits, savoury snacks, soft drinks and ready meals tend to be low in magnesium. A diet in which these products play a major part may fall short of the reference values even if it provides enough calories.
Cooking without losing magnesium
Magnesium is water-soluble. When vegetables and pulses are cooked for a long time in plenty of water that is then discarded, some of the mineral is lost. Steaming, using less water, using the cooking liquid in soups and avoiding excessively long cooking times all help preserve it.
Dried pulses benefit from soaking, which makes them easier to digest and reduces compounds such as phytates, which slightly reduce mineral absorption. Some minerals may be lost into the soaking water, but overall it is still beneficial to eat pulses regularly. Vegetable soup with pulses, so common in Portugal, is an effective way to consume the minerals that pass into the stock.
| Method | Effect on magnesium | Suggestion |
|---|---|---|
| Boiling in plenty of water and discarding it | Significant loss | Use little water or use the cooking liquid |
| Steaming | Little loss | A good option for vegetables |
| Soup (stock consumed) | Mineral retained in the meal | Very useful |
| Quickly stir-frying | Little loss | A good option for leafy greens |
| Refining grains | Significant loss | Choose wholegrains |
Water counts too
Tap water and mineral waters contain widely varying amounts of magnesium, depending on their source. Some mineral waters contain meaningful amounts, shown on the label in milligrams per litre. For anyone who drinks several glasses of water a day, the choice can make some difference, although it will rarely replace a balanced diet.
Waters high in magnesium may also contain more sodium or other minerals, which people with high blood pressure or kidney disease need to consider. The best approach is to read the label and speak to your doctor if in doubt.
A day’s meals with good sources of magnesium
You do not need to count milligrams to achieve an adequate intake. Including several different sources throughout the day is usually enough. The example below is for illustration only and should be adapted to your preferences, calorie needs and any medical restrictions.
| Meal | Example |
|---|---|
| Breakfast | Porridge with milk or yoghurt, banana and seeds |
| Mid-morning | A small handful of almonds or cashews |
| Lunch | Vegetable and bean soup, grilled fish, brown rice and a green salad |
| Snack | Wholemeal bread with chickpea hummus |
| Dinner | Lentil stew with spinach and stir-fried vegetables |
This kind of eating pattern is similar to the Mediterranean diet, which has other well-documented benefits for cardiovascular health. Nuts and seeds are calorie-dense, so portions should be moderate.
Common myths
Magnesium has become a popular subject, bringing with it some ideas that are not supported by the available evidence. One of the most common is that ‘everyone is low in magnesium’. Many people do consume less than the reference amounts, but this does not mean they have a deficiency with clinical consequences or need supplements.
Another common idea is that modern foods no longer contain magnesium because soils have been depleted. Amounts may vary between harvests and regions, but pulses, nuts and wholegrains remain good sources. It is also said that low magnesium explains almost every vague symptom, from tiredness to insomnia. In practice, these symptoms have many possible causes and deserve their own assessment.
| Idea | What is known |
|---|---|
| ‘Everyone is low in magnesium’ | Intake below the reference value is common; confirmed deficiency is much less so |
| ‘Foods no longer contain magnesium’ | Amounts vary, but plant foods remain good sources |
| ‘Tiredness is a sign of low magnesium’ | A non-specific symptom with many causes |
| ‘More magnesium is always better’ | Excess supplements cause diarrhoea and may build up in kidney disease |
When diet is not enough
Low intake over time can contribute to reduced stores, but low magnesium that shows up in blood tests is caused by increased losses in most cases. Chronic diarrhoea, conditions that reduce intestinal absorption, excessive alcohol consumption, poorly controlled diabetes and some medicines, such as diuretics and proton pump inhibitors taken for a long time, are common causes. Eating better helps in these situations, but does not address the underlying problem.
When a deficiency is confirmed, the doctor decides whether a supplement is needed or, in severe cases, replacement treatment in hospital. Never stop a medicine because you suspect it is lowering your magnesium without speaking to the person who prescribed it. Nor does it make sense to try to compensate with excessive amounts of food or supplements without professional advice.
Special care
People with chronic kidney disease have more difficulty excreting magnesium and may also need to limit other minerals found in the same foods, such as potassium and phosphorus. The general advice in this article may not apply to them, and their diet should be adjusted with their doctor or a dietitian.
People with coeliac disease, inflammatory bowel disease or who have had digestive surgery may also have different needs and tolerances. In these cases, the eating plan should be personalised. Children’s portions and sources should be suited to their age, and whole nuts are unsuitable for young children because of the choking risk.
At Clínica Alegre in Setúbal and Seixal, you can have laboratory tests and ask our team any questions about the results.
Frequently asked questions
Which food contains the most magnesium?
Seeds, such as pumpkin seeds, are among the most concentrated sources, but variety throughout the day is what matters.
Does chocolate contain magnesium?
Chocolate with a high cocoa content contains some magnesium, but also contains sugar and fat. It should be eaten in moderation.
Are bananas a good source of magnesium?
They contribute some, but are better known for potassium. Pulses, nuts and wholegrains are richer sources.
Can diet alone correct low magnesium?
It can help with mild deficiencies, but when losses are increased the cause needs to be treated. Your doctor will decide.
Can mineral water replace food?
It can contribute, but is rarely enough on its own. Check the amount on the label.
Should people with kidney disease eat more magnesium?
Not without professional advice. Magnesium and other minerals can build up in kidney disease.
Does cooking vegetables cause magnesium loss?
Some passes into the water. Using little water or consuming the cooking liquid reduces the loss.
Did you enjoy this article?
Scientific references3
- EFSA Panel on Dietetic Products, Nutrition and Allergies (NDA). Scientific Opinion on Dietary Reference Values for magnesium. EFSA J. 2015; 13(7):4186.
- de Baaij JHF, Hoenderop JGJ, Bindels RJM. Magnesium in man: implications for health and disease. Physiol Rev. 2015;95(1):1–46.
- Ahmed F, Mohammed A. Magnesium: the forgotten electrolyte. A review on hypomagnesaemia. Med Sci (Basel). 2019;7(4):56.





