Inside your cells, magnesium binds to ATP, the molecule used to transfer energy. It also helps regulate electrical activity in nerves and muscles, and contributes to bone health. Its reach is unusually broad because it helps hundreds of enzymes do their jobs (Romani, 2011; de Baaij, Hoenderop and Bindels, 2015).
That makes it an interesting mineral to investigate when something feels off. It also makes it easy to overpromise what a supplement can do. Feeling tired, twitchy or unable to sleep does not, by itself, establish magnesium deficiency (NHS Specialist Pharmacy Service, 2024; Lopresti, Smith and Drummond, 2026).
So how do you work out whether magnesium deserves your attention? Start with what it actually does, what can disturb its balance, and what a test can tell you.
What is magnesium
Magnesium is an essential mineral involved in energy metabolism, muscle and nerve function, and bone health. Its chemical symbol is Mg. In the body, it occurs as positively charged magnesium ions, Mg²⁺ (Royal Society of Chemistry, n.d.; Jahnen-Dechent and Ketteler, 2012).
Enzymes are proteins that enable chemical reactions. Magnesium acts as a cofactor, meaning it helps many of those enzymes function. Its involvement stretches from handling energy to making proteins and maintaining DNA (Romani, 2011).
What does magnesium do in the body
It helps your cells use energy
Your cells transfer usable energy through a molecule called adenosine triphosphate, or ATP. For many enzymes, the working form is ATP bound to magnesium, often written as MgATP. Magnesium helps stabilise ATP's negative charges so these reactions can proceed (Romani, 2011).
That gives the familiar phrase “supports energy metabolism” some substance. Magnesium participates in the machinery that uses energy. It supplies no calories, and this biochemical role does not establish that an extra tablet will increase energy in someone who already has enough (Romani, 2011).
It helps control electrical activity
Nerves, muscles and heart cells depend on carefully controlled movements of charged particles, including calcium and potassium. Magnesium helps regulate ion channels and transport systems involved in those movements. Substantial disturbances can therefore affect muscle activity and heart rhythm (de Baaij, Hoenderop and Bindels, 2015).
Calling magnesium a “relaxation mineral” captures only part of that biology. Its role involves regulating activity across these systems, rather than simply switching muscles or the brain off (Jahnen-Dechent and Ketteler, 2012).
It contributes to bones and calcium balance
Around 50–60% of an adult's magnesium is in bone. Magnesium also influences the release and action of parathyroid hormone, which helps regulate calcium. Severe magnesium deficiency can contribute to low blood calcium, sometimes making it difficult to correct until magnesium is addressed (Jahnen-Dechent and Ketteler, 2012; Swaminathan, 2003).
It can help explain a stubbornly low potassium result
Here is a less familiar connection: magnesium deficiency can increase potassium loss through the kidneys. In someone with both deficiencies, potassium replacement may work poorly until the magnesium problem is corrected. This is one reason clinicians sometimes investigate these minerals together (Huang and Kuo, 2007).
It is involved in vitamin D metabolism
Magnesium participates in the enzyme systems involved in processing vitamin D. This is a real biochemical relationship, but it does not establish a universal magnesium dose that everyone should take alongside vitamin D. Adequate magnesium intake matters; the need for a supplement depends on the individual (Uwitonze and Razzaque, 2018).
Male Total Health Check Test
Test your whole body as a system to understand and master your health. This all in one health test targets male lifestyle risks to put you in control..
Female Total Health Check Test
Take a whole body holistic view of female health risks. This all round health test provides the reassurance needed for a healthier you!.
What are the symptoms of low magnesium
Low blood magnesium can cause weakness, fatigue, muscle cramps or twitching. More severe deficiency can cause tremor, seizures and abnormal heart rhythms. Mildly low levels may produce no symptoms. These symptoms are not specific enough to diagnose magnesium deficiency without assessment (NHS Specialist Pharmacy Service, 2024).
The medical term for low blood magnesium is hypomagnesaemia. Possible features include:
- Weakness, tiredness, nausea or loss of appetite.
- Cramps, muscle twitching, tremor or tingling.
- In more severe cases, marked muscle spasms, seizures or disturbances of heart rhythm (Swaminathan, 2003).
An occasional twitch or a poor night's sleep is a reason to consider the wider picture. It is not a reliable magnesium test. The same applies to feeling better after starting a supplement: an individual response does not establish what your magnesium level was beforehand (NHS Specialist Pharmacy Service, 2024; Lopresti, Smith and Drummond, 2026).
When to get urgent help: in the UK, call 999 if you currently have palpitations with chest pain, shortness of breath, or feeling faint or fainting. These symptoms need urgent assessment, whatever you suspect is causing them (NHS, n.d.b).
Who is more likely to develop low magnesium
Magnesium balance depends on how much reaches the gut, how much is absorbed, and how much the kidneys retain. A low result can therefore reflect a problem with intake, absorption or losses (Swaminathan, 2003).
Situations that deserve attention include:
- Persistent diarrhoea or a condition affecting absorption, such as coeliac disease or Crohn's disease.
- Diabetes that is poorly controlled, which can increase urinary magnesium losses.
- Alcohol dependence or sustained heavy alcohol use, particularly alongside poor nutrition.
- Medicines that affect magnesium, including some diuretics and certain antibiotics.
- Prolonged proton pump inhibitor use, including medicines such as omeprazole (MedlinePlus, n.d.; Medicines and Healthcare products Regulatory Agency, 2014).
The UK medicines regulator has warned about low magnesium during prolonged proton pump inhibitor treatment. If you take one regularly and have concerns, discuss your symptoms and whether monitoring is appropriate with your prescriber. Do not stop prescribed treatment yourself (Medicines and Healthcare products Regulatory Agency, 2014).
Does eating too little magnesium mean you are deficient
Not necessarily. Low dietary intake, depleted body stores and low blood magnesium describe different things. Healthy kidneys can reduce magnesium losses when intake falls, so symptomatic deficiency caused solely by low intake is uncommon in otherwise healthy people. Persistently inadequate intake still deserves attention (National Institutes of Health Office of Dietary Supplements, 2026).
This distinction matters when you see a headline claiming that a large percentage of people are deficient. A dietary survey showing low intake cannot, on its own, tell us how many people have clinically low blood magnesium (Jahnen-Dechent and Ketteler, 2012).
What happens if magnesium is too high
High blood magnesium, called hypermagnesaemia, is uncommon, especially when kidney function is normal. It is most often associated with kidney failure, particularly alongside magnesium-containing medicines such as some laxatives or antacids. Severe elevations can suppress reflexes, lower blood pressure and interfere with breathing or heart function (Lewis, 2025).
For people with healthy kidneys, ordinary food intake is generally not the concern. Large supplemental or medicinal doses deserve more caution, especially if the kidneys cannot clear the excess effectively (Lewis, 2025).
Loose stools after a supplement do not automatically mean your blood magnesium is dangerously high. Magnesium remaining in the gut can draw in water and cause diarrhoea without systemic toxicity. Diarrhoea is still a reason to review the product and dose (Schuchardt and Hahn, 2017).
If you have kidney disease, speak to your clinician before using magnesium supplements or magnesium-containing laxatives. New pronounced weakness, drowsiness or breathing difficulty after taking a large amount needs urgent medical assessment (Lewis, 2025).
Which foods are high in magnesium
Seeds, nuts, beans, wholegrains and green leafy vegetables are useful magnesium sources. A small portion of pumpkin seeds provides considerably more magnesium than a banana. The amount varies with the food, portion size and preparation (National Institutes of Health Office of Dietary Supplements, 2026).
|
Food
|
Portion
|
Approximate magnesium
|
|
Pumpkin seeds, roasted
|
28 g
|
156 mg
|
|
Chia seeds
|
28 g
|
111 mg
|
|
Almonds, dry roasted
|
28 g
|
80 mg
|
|
Spinach, boiled
|
½ cup
|
78 mg
|
|
Cashews, dry roasted
|
28 g
|
74 mg
|
|
Black beans, cooked
|
½ cup
|
60 mg
|
|
Edamame, cooked and shelled
|
½ cup
|
50 mg
|
|
Peanut butter, smooth
|
2 tablespoons
|
49 mg
|
|
Brown rice, cooked
|
½ cup
|
42 mg
|
|
Banana
|
1 medium
|
32 mg
|
Source: National Institutes of Health Office of Dietary Supplements (2026), using its selected-food table. One-ounce portions are rounded to 28 g; cup measures are US measures. Values are estimates, not guarantees for every brand or recipe.
For perspective, the listed portions of almonds, cooked black beans and cooked spinach provide about 218 mg combined. You can distribute these foods across meals; there is no need to eat an enormous bowl of spinach (calculated from National Institutes of Health Office of Dietary Supplements, 2026).
And spinach has a useful biochemical backstory. Chlorophyll, the pigment involved in photosynthesis, contains magnesium at the centre of its molecular structure. The connection between green plants and magnesium runs deeper than a nutrition label (Royal Society of Chemistry, n.d.).
Practical ways to build these foods into your diet include adding seeds to porridge, choosing wholegrain bread, and using beans or lentils in meals. A varied diet is the NHS's recommended starting point for meeting magnesium needs (NHS, n.d.a).
Male Total Health Check Test
Test your whole body as a system to understand and master your health. This all in one health test targets male lifestyle risks to put you in control..
Female Total Health Check Test
Take a whole body holistic view of female health risks. This all round health test provides the reassurance needed for a healthier you!.
How much magnesium do adults need each day
UK guidance gives daily magnesium requirements of 300 mg for men and 270 mg for women aged 19–64. These amounts refer to total dietary needs. They are not instructions to take a supplement containing that amount on top of your food (NHS, n.d.a).
Why do other figures appear online?
|
Figure
|
What it means
|
|
270 mg or 300 mg daily
|
UK daily needs for women and men aged 19–64, respectively (NHS, n.d.a).
|
|
375 mg NRV
|
The adult Nutrient Reference Value used for nutrition labelling. It is a standardised labelling reference, rather than an individual prescription (European Parliament and Council, 2011).
|
|
400 mg from supplements
|
The NHS says 400 mg or less daily from supplements is unlikely to cause harm. This is safety guidance, not a recommended target for everyone (NHS, n.d.a).
|
Higher supplemental doses can cause diarrhoea, and general guidance does not override individual risks such as kidney disease or medicine interactions. A clinician may prescribe a different dose to treat a confirmed problem (NHS, n.d.a; NHS Specialist Pharmacy Service, 2024).
What does elemental magnesium mean
Elemental magnesium means the amount of magnesium itself in a supplement, excluding the rest of the compound it is attached to. A hypothetical label stating “1,000 mg magnesium compound, providing 100 mg magnesium” supplies 100 mg of magnesium. Check the magnesium amount per daily serving and how many capsules that serving contains (National Institutes of Health Office of Dietary Supplements, 2026).
Can a blood test detect magnesium deficiency
A serum magnesium test measures magnesium in the liquid part of your blood. It can identify low or high circulating levels, but it does not directly measure all the magnesium in your bones and tissues. Results need to be interpreted alongside symptoms, medicines, kidney function and other relevant findings (Jahnen-Dechent and Ketteler, 2012).
Less than 1% of the body's magnesium is in serum, and its concentration is regulated. That explains why a normal blood result cannot completely exclude depleted stores. It also explains why the test and a clinical history answer different parts of the question (Jahnen-Dechent and Ketteler, 2012).
What is a normal magnesium blood level
Many UK services use a serum reference interval around 0.7–1.0 mmol/L, but laboratories differ. NHS Specialist Pharmacy Service guidance defines hypomagnesaemia as below 0.7 mmol/L; other laboratories use different adult limits. Always use the interval on your report and the advice accompanying it (NHS Specialist Pharmacy Service, 2024; University Hospitals Sussex NHS Foundation Trust, n.d.).
A reference interval is not an instruction to push your result towards its upper end. Decisions depend on the result, symptoms and underlying circumstances, rather than a universal “optimal” magnesium number (NHS Specialist Pharmacy Service, 2024).
Do you need to fast or stop supplements before testing
A magnesium test alone usually needs no special preparation, although other tests in the same panel may require fasting. Do not stop prescribed treatment to prepare unless your clinician tells you to (MedlinePlus, n.d.).
Does magnesium help with sleep anxiety or cramps
Magnesium's established biochemical roles and the effects of an extra supplement are separate research questions. Clinical trials help us assess whether giving more produces a meaningful benefit.
Does magnesium help you sleep
Magnesium may modestly improve some sleep outcomes in some adults, but the evidence is inconsistent. It is not an established routine treatment for insomnia, and poor sleep alone does not establish deficiency (Lopresti, Smith and Drummond, 2026).
A 2021 systematic review of three trials involving 151 older adults found a possible improvement in how quickly people fell asleep, but rated the evidence low or very low quality (Mah and Pitre, 2021).
A 2025 placebo-controlled trial in 155 adults reporting poor sleep found a small improvement in insomnia severity with magnesium bisglycinate over four weeks. It did not compare bisglycinate with other forms, so it cannot establish that this is the best magnesium for sleep (Schuster et al., 2025).
A broader 2026 systematic review also concluded that the evidence does not support routine magnesium treatment for insomnia. Modest benefits remain possible, with low or very low confidence in the findings (Lopresti, Smith and Drummond, 2026).
Does magnesium help with anxiety or stress
Some studies suggest possible benefits, particularly in selected groups, but a systematic review found that poor study quality limited firm conclusions. Some studies also combined magnesium with other ingredients, making magnesium's contribution harder to isolate. It should not be presented as a proven treatment for an anxiety disorder (Boyle, Lawton and Dye, 2017).
Does magnesium prevent muscle cramps
Low magnesium can cause cramps, but having cramps does not necessarily mean you have low magnesium. A Cochrane review found that supplementation was unlikely to offer a clinically meaningful preventive benefit for typical cramps in older adults. Findings in pregnancy were uncertain, and the review did not establish benefit for exercise-associated cramps (Garrison et al., 2020).
Can magnesium help prevent migraine
Migraine prevention has some supportive trial evidence. A systematic review classified magnesium as possibly effective, while noting limitations in the evidence. This concerns prevention in selected people, rather than proof that an ordinary headache signals deficiency. Discuss appropriate treatment with your clinician, particularly because doses used in studies may exceed general supplement guidance (von Luckner and Riederer, 2018).
Should you consider checking your magnesium
Magnesium is worth discussing if you have persistent unexplained symptoms, an increased risk of losses or poor absorption, medicines that affect magnesium, or unexplained low calcium or potassium. Testing is particularly useful when it answers a specific clinical question (MedlinePlus, n.d.).
A practical starting point is to review your usual diet, list your medicines and supplements, and speak to your GP if symptoms persist. A test result can then add useful evidence rather than leaving you to interpret a symptom list alone (MedlinePlus, n.d.).
Vitall's Vitamins & Minerals Complete blood test includes serum magnesium alongside other nutrient markers, including vitamin D, active B12, folate and ferritin (Vitall, n.d.).
If you choose testing, use the result as part of the wider picture. An abnormal result needs appropriate follow-up, and persistent symptoms still deserve assessment even when magnesium falls within the reference interval (MedlinePlus, n.d.; Jahnen-Dechent and Ketteler, 2012).