Wellness 19 Jul 2026 8 min read

Magnesium: Rich Foods and Signs of Deficiency

RT

Retiru Team

The Retiru content team — yoga, meditation and ayurveda.

Magnesium: Rich Foods and Signs of Deficiency

Introduction: why magnesium gets so much attention

Magnesium is often mentioned in conversations about fatigue, cramps, sleep, stress and recovery. Still, it is important to separate useful nutrition advice from exaggerated claims. Not every muscle cramp means magnesium deficiency, and a supplement cannot compensate for a consistently poor diet, lack of sleep or an undiagnosed medical issue.

What is clear is that magnesium is an essential mineral. Many of the foods that provide it generously — legumes, nuts, seeds, whole grains and leafy greens — are also foods that many people do not eat often enough. Before thinking about capsules, it is worth looking at everyday meals: whether grains are mostly refined or whole, whether legumes appear weekly, and whether nuts and vegetables are part of the routine.

This guide explains what magnesium is, what it does, which foods are good sources, which signs may suggest low intake, and how to include it in a practical, balanced way.

What magnesium is

Magnesium is an essential mineral, meaning the body needs it but cannot produce enough on its own. It must come from food and, in specific cases, from supplements recommended by a healthcare professional. A large proportion of body magnesium is found in bones and muscles, but it is involved in many tissues and functions.

It supports normal muscle and nerve function, helps maintain a healthy immune system and contributes to steady heart rhythm. It is also involved in energy production, muscle contraction and relaxation, bone health and nutrient metabolism. Because its roles are broad, possible symptoms of low magnesium can be vague and overlap with many other causes.

Magnesium also does not work in isolation. Its balance relates to other nutrients such as calcium, potassium, vitamin D and protein. This is why focusing on one mineral alone is less useful than improving the overall dietary pattern.

Benefits of magnesium, with realistic expectations

Muscle and nerve function

Magnesium contributes to proper muscle contraction and relaxation. This is why it is often discussed in relation to cramps, spasms or muscle tension. However, cramps can also be influenced by hydration, training load, sodium and potassium balance, sleep, circulation, medication and age.

For active people, adequate magnesium intake can be part of a good recovery strategy, especially if the diet is low in nutrient-dense plant foods. But it should not be treated as an instant muscle relaxant. Frequent, intense or unusual cramps should be assessed in context.

Energy and fatigue

Magnesium participates in processes related to energy production. Low intake may contribute to tiredness, particularly when combined with poor sleep, stress, restrictive eating or low overall nutrient intake. Still, fatigue is a very common symptom with many possible causes.

If tiredness appears alongside a diet low in legumes, vegetables, nuts and whole grains, improving food quality is a sensible first step. If fatigue is persistent or comes with palpitations, dizziness, shortness of breath or unexplained weight loss, medical assessment is appropriate.

Bone and cardiovascular health

Magnesium is part of bone mineral structure and supports normal muscle function, including the heart muscle. It contributes to maintaining normal heart rhythm. This does not mean magnesium cures cardiovascular disease; it means adequate intake is one part of a healthy lifestyle pattern.

Foods rich in magnesium often come with other benefits: fibre, plant protein, unsaturated fats and additional micronutrients. In nutrition, the advantage usually comes from the whole dietary pattern rather than from one isolated nutrient.

Magnesium-rich foods

Magnesium is found in many foods, especially nuts, seeds, legumes, whole grains, leafy greens and cocoa-rich foods. Exact values vary by variety, processing and preparation, but the following figures are useful references.

Nuts and seeds

Nuts are one of the easiest ways to increase magnesium intake. Some food composition references place almonds and peanuts at around 250 mg of magnesium per 100 g, while hazelnuts, pistachios and walnuts are around 150 mg per 100 g. You do not need to eat 100 g at a time; a typical portion of 20–30 g already makes a meaningful contribution.

Practical ideas:

  • Add 20–30 g of almonds or walnuts to plain yoghurt.
  • Use 100% peanut butter on wholegrain toast in moderate amounts.
  • Add pistachios or hazelnuts to salads or vegetable soups.
  • Choose raw or roasted unsalted nuts if you need to watch sodium intake.

Seeds such as pumpkin, sesame, chia or flax seeds are also useful. They can be added to salads, yoghurt, porridge, homemade bread or vegetable creams. Their advantage is that small amounts add minerals, fibre, texture and healthy fats.

Legumes

Legumes are excellent because they combine magnesium with plant protein, complex carbohydrates and fibre. Chickpeas, white beans and peas can provide around 150 mg per 100 g in some reference tables. Lentils appear at approximately 78 mg per 100 g, while dry soybeans can be higher, around 250 mg per 100 g in raw form.

Values differ between dry, raw and cooked foods because legumes absorb water during cooking. Even so, a serving of cooked legumes remains one of the most practical ways to improve mineral intake and satiety.

Easy options include chickpea salad with leafy greens, lentil stew with vegetables, hummus with wholegrain bread, white beans with garlic and paprika, or peas as a side dish instead of refined carbohydrates.

Whole grains

Refining removes part of the bran and germ, where minerals such as magnesium are concentrated. Wholegrain bread, oats, brown rice, buckwheat and quinoa generally provide more magnesium than refined versions. In the data reviewed, wholegrain bread appears at around 91 mg per 100 g, and corn at around 120 mg per 100 g.

The goal is not perfection, but a gradual shift. Choosing real wholegrain bread, using oats at breakfast or alternating white rice with brown rice can make a difference over time. Whole grains also add fibre, which supports fullness and digestive regularity.

Leafy greens and cocoa

Leafy greens such as spinach, chard and kale contain magnesium because the mineral is part of chlorophyll. Their magnesium content per serving varies, but they are valuable because they also provide fibre and many micronutrients. Light cooking can make it easier to eat larger amounts, although raw and cooked preparations can both fit well.

Chocolate is sometimes listed at around 100 mg of magnesium per 100 g, but this needs context. Cocoa powder or dark chocolate with a high cocoa percentage is different from sugary milk chocolate. It can be included in small amounts, but it should not become the main magnesium source.

Signs of low magnesium or excess

Possible signs associated with low magnesium include fatigue, weakness, muscle cramps or spasms, mild tremors, irritability, anxiety, sleep difficulties and palpitations. Muscle discomfort or a feeling of tension may also appear, especially when several risk factors are present.

However, these signs are not specific. A night cramp does not automatically mean magnesium deficiency. Symptoms should be interpreted together with diet, hydration, training, medication, digestive health and overall medical history. People with chronic diarrhoea, high alcohol intake, digestive disorders, kidney disease or certain medications may have a higher risk of mineral imbalance.

Excess magnesium rarely comes from food in healthy people. The body usually handles dietary magnesium well. Problems are more likely with high-dose supplements, which may cause diarrhoea, nausea and abdominal discomfort. In severe cases, particularly in people with kidney disease, excess magnesium can contribute to low blood pressure, marked weakness or heart rhythm problems.

How to include more magnesium day to day

The most effective approach is not a dramatic short-term change, but repeated small choices. Replace low-mineral options with more nutrient-dense ones where possible: wholegrain bread instead of white bread, nuts instead of pastries, legumes as a main dish rather than an occasional side.

A simple magnesium-rich day could include plain yoghurt with oats and walnuts for breakfast, chickpeas with vegetables and wholegrain bread for lunch, and dinner with sautéed spinach plus brown rice or another whole grain. This is not a strict plan, but an example of how several magnesium-rich food groups can appear naturally.

Useful habits:

  • Eat legumes 2–4 times per week if you tolerate them well.
  • Keep nut portions around 20–30 g.
  • Choose whole grains more often than refined grains.
  • Add a spoonful of seeds to yoghurt, salads or soups.
  • Use leafy greens in omelettes, stir-fries, soups and salads.
  • If you eat chocolate, choose high-cocoa options and keep portions modest.

If your current diet is low in fibre, increase legumes, whole grains and seeds gradually. A sudden increase may cause bloating or gas. Soaking legumes, cooking them thoroughly, drinking enough water and starting with easier options such as red lentils or smooth hummus can help.

Precautions, interactions and when to seek advice

A magnesium-rich diet is safe for most people. The main caution concerns supplements, especially in people with kidney disease. The kidneys help remove excess magnesium; if they do not function properly, unsupervised supplementation can be risky.

If you take regular medication, ask a healthcare professional before using magnesium supplements. Mineral supplements can interfere with the absorption of certain drugs if taken together, including some antibiotics, thyroid medication and specific osteoporosis treatments. Sometimes the solution is simply separating the timing, but it should be planned.

During pregnancy and breastfeeding, magnesium remains important, but starting supplements without guidance is not advisable. Food sources are generally the safest foundation. Supplement decisions should be individual, especially if there are complications, persistent vomiting, high blood pressure or gestational diabetes.

Seek medical advice if you have persistent palpitations, strong weakness, frequent cramps, prolonged diarrhoea, unexplained weight loss, tingling or fatigue that does not improve. Nutrition matters, but it should not replace diagnosis when symptoms are significant.

FAQ about magnesium

Is it better to get magnesium from food or supplements?

For most people, food should come first. Magnesium-rich foods also provide fibre, plant protein, healthy fats and other micronutrients. Supplements may be useful in specific situations, but they should respond to a real need rather than a trend.

Do night cramps mean I am deficient?

Not necessarily. Cramps can be related to exercise, dehydration, posture, age, pregnancy, medication or other mineral imbalances. If they are occasional, review hydration, rest and diet. If they are frequent or severe, seek advice.

Can stress lower magnesium?

Chronic stress can affect sleep, appetite, food choices and recovery, which may indirectly worsen nutrient intake. Rather than focusing on one mechanism, look at the whole pattern: meals, rest, workload, alcohol, caffeine and physical activity.

Can I eat too many nuts?

Nuts are nutritious but energy-dense. A 20–30 g serving is a reasonable amount for many people. Very large portions can add substantial calories, and salted nuts increase sodium intake. Choose unsalted options and include them as part of balanced meals.

Closing thoughts

Magnesium is not a miracle solution, but it is an essential mineral worth paying attention to. The strongest strategy is simple: more legumes, moderate portions of nuts, seeds, whole grains and leafy greens. If symptoms such as cramps, fatigue or palpitations appear, avoid quick conclusions; review the wider context and seek professional help if they persist.

Ready for your next retreat?

Explore hundreds of retreats across Spain with transparent pricing.

Explore retreats

Related articles