Many of us are familiar with the better-known nutrients we need to stay healthy, including iron, vitamin C, and omega-3.

But one key mineral that’s often overlooked is magnesium. So, what exactly is magnesium? Why is it important? And how can we make sure that we’re getting enough?

Here’s everything you need to know.

What is magnesium?

What is magnesium?

Magnesium is an essential mineral which is necessary for many of the body’s most important functions. It was named after the part of Greece where it was first discovered – Magnesia.

Magnesium is the eighth-most abundant chemical element in the Earth’s crust, and the fourth-most abundant within the human body. Although it wasn’t recognised as a chemical element until 1755, people were aware of its health benefits much earlier.

In 1618, a farmer from Epsom found that the water from a local saline spring helped heal wounds, cuts, and rashes – and later, people discovered that this salty, bitter water was magnesium sulphate. Centuries later, ‘Epsom salt’ is still used to soothe and relax painful muscles.

Despite its importance (and the fact that it’s available in many different foods), lots of us aren’t getting enough magnesium. Plus, when compared to iron and zinc, magnesium is often overlooked – even though we need to eat much less of these minerals than we do magnesium.

What does magnesium do?

What does magnesium do?

Magnesium has many important functions within the body. It helps us maintain healthy heart rhythms, muscle and nerve functions, and glucose levels – and can also reduce muscle soreness.

Because magnesium helps turn vitamin D into calcium, it’s needed for maintaining strong bones and producing energy and protein.

Let’s take a closer look at some of magnesium’s most important functions.

1. Magnesium may improve bone health

When it comes to bone health, calcium is usually the mineral people focus on, but research shows that magnesium is also key for maintaining healthy bones.

Studies have linked magnesium to higher bone density, better bone crystal formation, and a reduced risk of osteoporosis in older women.

You can read more about this in our article: 9 ways to improve bone health.

2. Magnesium may reduce the risk of diabetes

Magnesium has also been shown to reduce the risk of type 2 diabetes. This study found that most people with type 2 diabetes have low levels of magnesium in their system.

Because magnesium plays a key role in glucose control and insulin metabolism, it can also help people better manage their diabetes.

3. Magnesium may improve heart health

There’s plenty of evidence that magnesium plays an important role when it comes to heart health.

This scientific review found that being deficient in magnesium can increase a person’s risk of developing heart problems – and people who take magnesium after suffering from a heart attack tend to have lower long-term risks.

Other research also suggests that not getting enough magnesium is linked to problems associated with heart health, like high blood pressure, dyslipidemia, arrhythmias (abnormal heart rhythms), and coronary artery disease. For example, doctors sometimes use magnesium during treatment for heart failure to reduce the risk of arrhythmia.

4. Magnesium may boost mood

Research suggests that getting enough magnesium may improve mental health disorders like depression and anxiety. There’s also evidence that it can help with other psychological issues like agitation, irritability, and confusion.

Some scientists believe that the low magnesium content in many modern foods is partly responsible for the increased prevalence of depression, anxiety, and other psychological disorders.

While more research is needed for the evidence to be conclusive, this study found that among depressed older adults, taking magnesium each day improved their mood as effectively as antidepressant medication did. Magnesium’s effectiveness in reducing depressive symptoms when compared with antidepressants has also been identified by two of the studies in this review.

5. Magnesium may improve sleep

More recent studies have found a possible link between magnesium and sleep. To fall asleep, your body and brain need to relax – and magnesium has been shown to activate the neurotransmitters responsible for calming the body and mind.

Studies have found that magnesium intake was responsible for better sleep quality, as well as a decreased likelihood of shortened sleep, suggesting that not having enough magnesium in your system may lead to restless sleep and even insomnia.

Not only can magnesium help you fall asleep, but it can also increase the likelihood of deep and restful sleep. In one study, older adults who took magnesium supplements had a better quality of sleep compared to a placebo group. They also displayed enhanced levels of renin and melatonin, hormones that help regulate sleep.

For more tips on how to improve your sleep, check out our sleep and fatigue section.

6. Magnesium may improve migraines

Because magnesium deficiency can affect neurotransmitters and restrict blood vessel constriction (factors that are linked to migraines), some doctors believe that people who suffer from migraines are more likely to be deficient in magnesium.

This review found that taking a high dose of magnesium appeared to be an effective way to prevent migraines. The American Migraine Foundation has also stated that people often use magnesium supplementation for migraine prevention.

If migraines are something you struggle with, you might find it helpful to read our article: What role does diet play in migraine headaches?

7. Magnesium may improve exercise performance

Magnesium can also play an essential role in exercise performance and recovery, and studies show that you need 10–20% more magnesium when exercising compared to resting.

Because magnesium helps send blood sugar to your muscles and remove lactic acid (which can build up during exercise and cause tiredness and painful muscles), it’s also important when recovering from exercise, and protecting your muscles from damage.

What can happen if you don't get enough magnesium?

What can happen if you don't get enough magnesium?

While serious magnesium deficiency is rare in the UK, it’s common for people to get less than they might need.

A study of 8,000 Brits found that around 70% of participants had low magnesium levels, and the Government’s National Diet and Nutrition Survey found most children and teenagers also weren’t getting the recommended levels.

A person can become magnesium-deficient for three reasons: they’re not getting enough magnesium from their diet, they’re not absorbing enough, or they’re excreting too much from their kidneys. Older adults are more at risk of magnesium deficiency because they generally don’t absorb as much magnesium, and also excrete more of it.

Heavy drinkers, people with type 2 diabetes or increased insulin resistance, and those with coeliac and Crohn’s disease are also more likely to suffer from magnesium deficiency. This is because their existing health conditions can make absorption more difficult and excretion more likely.

Because magnesium is important for many bodily functions, the symptoms of deficiency can vary. They can include tiredness and fatigue, insomnia, mood swings, muscle cramps, weakness and dizziness, headaches, irritability of the nervous system, and an irregular heartbeat.

How to make sure you're getting enough magnesium

How to make sure you're getting enough magnesium

According to the UK government, the recommended daily allowance of magnesium for adults is 300mg a day for men and 270mg for women. Yet, because those over the age of 55 tend to find magnesium more difficult to absorb, older adults may sometimes require more. You should always contact your doctor if you think you might be deficient in magnesium.

The easiest and best way to make sure you’re getting enough magnesium is to make some dietary changes – and the good news is that magnesium is present in lots of common, healthy foods.

Generally, people who’d like to get more magnesium through their diet should incorporate more high-fibre foods like cereals and whole grains, as well as dark leafy greens.

Some of the foods that are highest in magnesium include…

  • Pumpkin seeds – 46% of the RDI in a quarter cup (16g)
  • Spinach (boiled) – 39% of the RDI in a cup (180g)
  • Swiss chard (boiled) – 38% of the RDI in a cup (175g)
  • Dark chocolate (70–85% cocoa) – 33% of the RDI in 3.5 ounces (100g)
  • Black beans – 30% of the RDI in a cup (172g)
  • Quinoa (cooked) – 33% of the RDI in a cup (185g)
  • Almonds – 25% of the RDI in a quarter cup (24g)
  • Cashews – 25% of the RDI in a quarter cup (30g)
  • Mackerel – 19% of the RDI in 3.5 ounces (100g)
  • Avocado – 15% of the RDI in one medium avocado (200g)
  • Soya milk – 15% of the RDI in a cup (175g)

Because nutrients work better when combined with other nutrients, where possible, it’s always best to obtain vitamins and minerals through your diet rather than supplements.

But, if you’re concerned that you may have low magnesium levels, or you suffer from any health conditions that might reduce your ability to absorb magnesium (or increase the likelihood of you excreting it), you might wish to talk to your doctor about taking a supplement.

Forms of supplementation include magnesium oxide, magnesium citrate, magnesium glycinate, magnesium orotate, magnesium carbonate, and magnesium lactate.

While magnesium oxide is found in many of the most popular supplements on the market, it’s also the most difficult for the body to absorb. Magnesium lactate is twice as easy for our bodies to absorb as magnesium oxide, which means that you need to take less to achieve the same results.

However, be sure to speak to a health practitioner before taking magnesium supplements, as different ones work better for different people.

Note: The NHS highlights that taking high levels of magnesium supplements (more than 400mg daily) can cause diarrhoea, and that there isn’t enough evidence to confirm the effect of taking high doses longer term. Therefore, if you do take a magnesium supplement, it’s important to follow NHS guidelines or your doctor’s advice.

Final thoughts...

Magnesium plays a key role in many of the body’s processes, including sleep, mood, and muscle, heart, and bone health. If you don’t get enough of this mineral, your body can’t function properly, and magnesium deficiencies are linked to many health issues.

The best way to make sure you’re getting enough magnesium is to eat plenty of foods like nuts and seeds, dark green leafy veg, whole grains, and legumes. Though if you’re unable to get enough magnesium from your diet, your doctor may recommend taking a supplement.

For more nutrition advice, you might like to visit our diet and nutrition section.

Do you feel like you’re getting enough magnesium in your diet? Or do you have any additional tips for staying healthy? We’d be interested to hear from you in the comments below.