Key takeaways
- Magnesium may matter when symptoms cluster across sleep, anxiety, stress, burnout, cramps, constipation, headaches, fatigue, palpitations, low mood, vitamin D deficiency symptoms or fibromyalgia-type patterns.
- For insomnia and anxiety, magnesium tends to help most when low magnesium, tension, constipation, stress or a wired nervous system are part of the picture.
- For mental health, magnesium can support the body’s ability to settle, but it does not replace proper care when anxiety, low mood, trauma-linked symptoms, burnout or nervous-system dysregulation are significant.
- The best form depends on the person. Glycinate or bisglycinate usually fits sleep, anxiety and tension. Citrate fits constipation. Threonate is the most interesting for the brain.
- Supplements and IV magnesium both need discernment. The real question is not only what you are taking, but why it is being recommended and whether the route fits the problem.
Why so many of us are short of magnesium
I think the best place to start is the food itself.
Modern food is not the same as the food our bodies evolved eating. Our soils appear to hold less magnesium than they did decades ago, and once food is refined or processed, a great deal more is lost. Flour, rice and other staples can lose most of their magnesium through refining. So before we even talk about supplements, many people are already starting from a lower baseline.1, 2
Then there is the water.
For most of human history, hard, mineral-rich water was one quiet source of magnesium. Today, many people drink softer, filtered or treated water that is cheaper and easier to work with but contains fewer minerals. This is one more place where magnesium has quietly disappeared from daily life.
Now add the world we live in.
A stressed society. A population that often runs on coffee. More alcohol than the body was designed to handle. A diet where sugar and refined carbohydrates are far too common. All of this can increase magnesium loss or demand.3
Then when these same people go to the doctor, they are then prescribed medications that can sometimes pull magnesium down over time, such as proton pump inhibitors and diuretics, and certain antibiotics. Poor absorption can do the same, particularly in conditions like coeliac disease, Crohn’s disease, ulcerative colitis or other gut problems.4
So when I say many people are low in magnesium, although I am aware this might not meet a perfectly defined textbook biochemical deficiency, logically speaking, I do think a lot of people are living in a body where the intake, absorption, losses and demand no longer add up properly.
How magnesium works in the body
Magnesium is not just a sleep supplement.
It is one of the body’s basic operating minerals, involved in more than three hundred enzyme reactions. It helps the body make and use ATP, which is the energy currency of the cell. So when magnesium is low, the effect can be felt far beyond sleep. Energy, muscle function, nerve signalling and recovery can all be affected.5
It is also needed to activate vitamin D.6 This is why I think about magnesium when someone has vitamin D deficiency symptoms, or when their vitamin D level does not rise as expected despite supplementation. Magnesium helps activate vitamin D, and active vitamin D helps the gut absorb magnesium, so the two often travel together.6, 7
Magnesium also helps muscles relax, supports normal nerve signalling, helps blood vessels relax, and helps the bowels move.4, 8 This is why low magnesium can show up in different ways: tension, cramps, twitching, constipation, palpitations, headaches, poor sleep, anxiety or that wired feeling many patients describe.
At the brain level, magnesium helps regulate the NMDA receptor, which is involved in excitatory signalling, and it supports GABA, one of the body’s calming neurotransmitter systems.9, 10 That is the simple reason magnesium is often discussed for sleep, anxiety, stress and mental health.
But this does not make magnesium a cure-all. It means that if magnesium is genuinely low, many systems can feel it.
Signs of magnesium deficiency, and why blood tests miss it
The signs of magnesium deficiency are not always dramatic. Often they are the ordinary symptoms people live with for years.
Poor sleep. Waking in the night. Anxiety. A wired feeling. Muscle cramps. Twitches. Restless legs. Headaches. Fatigue. Low energy. Palpitations. Constipation. Low mood. Sometimes the picture overlaps with stress, burnout, vitamin D deficiency symptoms, insomnia, or fibromyalgia symptoms, which is why it can be missed if nobody joins the pattern together.11
No single symptom proves low magnesium. But when several of these symptoms sit together, especially in someone with poor intake, stress, coffee, alcohol, gut problems, certain medications or heavy sweating, magnesium becomes worth thinking about properly.
This is also why I do not rely too heavily on the standard blood test.
In conventional medicine, we usually measure magnesium in the serum. The problem is that less than one per cent of the body’s magnesium sits in the blood. Most of it is inside the cells, and the body works hard to keep the blood level stable, even when the wider stores may not be ideal.
So a normal serum magnesium result does not always mean magnesium is optimal. It may simply mean the body is protecting the blood level.
If you want to measure magnesium more properly, red blood cell magnesium is usually more useful than serum magnesium. There are also other tests, including ionised magnesium and magnesium loading or tolerance tests.12, 13 In an ideal world, better testing would be used more often.
In real life, I think it also helps to be practical. These tests cost money. Sometimes they are useful. Sometimes the better use of a patient’s money is to correct a likely shortfall properly and spend the rest on understanding the wider pattern, rather than proving what the history already strongly suggests.
Can magnesium help with sleep, anxiety and stress?
Yes, magnesium can help with sleep, anxiety and stress. But it works best when the person is actually low, losing too much, absorbing poorly, or living in a body that is under more demand than it can comfortably handle.
That is why I do not think of magnesium as a sleeping tablet. I think of it as support for a nervous system that may have lost some of its ability to settle.
When magnesium is low, the brain can become easier to overexcite. Magnesium helps regulate the NMDA receptor, which is involved in excitatory signalling, and it supports GABA, one of the body’s calming neurotransmitter systems.9, 10 It can be thought of as a brake pedal that is not working as well.
In older adults for example, magnesium helped people fall asleep around seventeen minutes faster.14 A more recent trial using magnesium bisglycinate in poor sleepers showed a small but real improvement, especially in people who started with lower magnesium levels.15 Studies on anxiety and stress point in the same direction: the signal is there, and although the trials tend to be small, the benefit seems to usually be the strongest when magnesium status is low.16–18
This is also why the major insomnia and anxiety guidelines still put the proven treatments first, cognitive behavioural therapy for chronic insomnia and standard care for anxiety, with magnesium as valuable support rather than the headline.19, 20
Therefore, from my perspective, if someone has poor sleep, anxiety, stress, burnout, tension, constipation or clear risk factors for low magnesium, this is something worth thinking about properly.
But if someone has chronic insomnia, severe anxiety, low mood, trauma-linked symptoms, panic, or a nervous system that has been dysregulated for years, magnesium alone is rarely enough. It may support the body, but the wider pattern still needs to be understood.
If sleep is the main issue, I explain the wider pattern in more detail in what causes insomnia and how to sleep better. If anxiety or emotional stress is central, the deeper mental health and nervous-system pattern is covered in mental health in Malta and when anxiety is more than anxiety.
Magnesium glycinate vs citrate, and the main types of magnesium
Sometimes supplement marketing makes the latest form of magnesium sound like a breakthrough.
Unfortunately, the truth tends to be a bit more boring.
The best magnesium is usually the one you absorb, tolerate, can afford, and can take consistently.
Magnesium glycinate or bisglycinate
This is the form most people reach for when they are looking for the best magnesium for sleep, anxiety or stress. It is also the form I sometimes start with for that pattern.
The reason is that it is usually well absorbed, gentle on the gut, and easy to take long term.21 The glycine part may also have a calming effect of its own, which may be one reason people feel better on it.
However, the honest limitation is that its reputation seems to be stronger than the direct evidence. Although I have seen some human evidence for magnesium bisglycinate in poor sleepers, I do not think it is enough to pretend this is a miracle sleep treatment.15
So from my perspective, if someone is tense, wired, anxious, sleeping badly, and does not want their bowels loosened too much, glycinate can be a reasonable place to start.
Magnesium Citrate
I think this is often the alternative many seem to reach for most commonly. The difference is mainly the bowel. Citrate tends to be more affordable and from my perspective, useful when constipation is part of the picture. It pulls water into the bowel, which is why it can help people who are sluggish or backed up, and magnesium supplements have modest trial evidence for easing constipation.22
That also means it can be the wrong form if someone already has loose stools, IBS with diarrhoea, urgency, or a sensitive gut.
So if the main issue is sleep, anxiety or stress, I usually think of glycinate first. If the main issue is constipation with possible low magnesium, citrate often makes more sense.
Magnesium oxide
Oxide tends to have a poorer reputation because it seems to be not as well absorbed compared to other forms. However in all honesty, I think it is under-rated as a magnesium product. There are trials which show oxide can still improve sleep and raise magnesium levels.23, 24
Magnesium L-Threonate
This is a form that particularly interests me when it comes to the brain.
It appears to enter the brain more effectively than other forms, and the human trials, while small and I suspect can often be industry-linked, are still interesting. Studies have reported improvements in cognition, working memory, mood, energy and sleep quality in selected groups.25, 26
The mechanism also makes sense. Animal work suggests that raising brain magnesium may support synaptic density, learning and memory through effects on NMDA receptor signalling and long-term potentiation in the hippocampus.27
Magnesium chloride
By mouth, it seems to have a surprisingly more solid record than its reputation can suggest. It improved depression scores in a randomised trial, and in people with metabolic syndrome and low magnesium it improved blood pressure, fasting glucose and triglycerides.28, 29
So I think about chloride when the picture is more metabolic: blood sugar, blood pressure, low mood, stress physiology and low magnesium together.
I am not talking here about magnesium sprays. Transdermal magnesium is popular, but I personally have not seen any convincing evidence that sprays reliably replete magnesium in the body, so I tend to recommend them less, although I am aware they may help in certain, less serious cases.
Other forms like gluconate, lactate, carbonate and newer branded blends may have a place, but I would not spend too much attention on them unless there is a clear reason. For most people, the real decision is between glycinate, citrate, threonate, chloride, malate or oxide.
In my opinion, future supplements will likely use different blends of these, which makes logical sense to me.
When to take magnesium, and how much is usually used
The timing depends on why you are taking it.
If the main reason is sleep, I usually think about magnesium in the evening, often with food, and often one to two hours before bed to support the body’s ability to settle.
I also usually prefer magnesium with food. Partly because it is often gentler on the stomach, but also because minerals work alongside the other minerals, vitamins and nutrients the body is receiving.
If the goal is constipation, the timing can be different. Sometimes I suggest taking it in the morning to help the person pass a stool in the morning. Sometimes evening works well too, depending on the person, the form of magnesium, and what their overall situation looks like. The dose depends on the person in front of me, and other aspects of their lifestyle should also be considered, like in all contexts.
Sometimes I use a stronger dose early on because we are trying to create a clear result as safely and efficiently as possible. Other times the goal is simply maintenance, prevention or supporting optimal health, so there is no need to be aggressive from the beginning.
This is why I do not like giving one fixed magnesium dose for everyone. The right amount depends on the reason, the form, the person’s bowels, kidney function, medication, diet, symptoms and how depleted they appear to be.
Your own bowels can also guide you. If stools become loose, urgent or watery, that usually means the dose is too high, the form is wrong, or your body does not tolerate it well. In that sense, certain forms of magnesium can help you find your upper limit, not only for that form, but sometimes for magnesium tolerance more generally.
It is worth being careful with magnesium if you have kidney disease, heart rhythm problems, significant heart disease, very low blood pressure, are pregnant, or take regular medication, especially diuretics, antibiotics, blood pressure medication or medicines affecting the heart or kidneys.
At the same time, I think patients should go into these conversations informed. Doctors and health professionals are trained to think about safety, and that matters. But not every clinician has studied minerals, nutrition and supplements in enough depth to guide this well.
So ask questions.
Find out whether the person advising you genuinely understands the topic. Take responsibility for your health without blindly trusting anyone, including me.
What to look for in a magnesium supplement
The brand matters because unfortunately, some products seem to not use the form of magnesium written clearly on the label. To cut costs, some companies could blend cheaper forms of magnesium such as oxide or carbonate, whilst others could make the dose look bigger by listing the full compound rather than the amount of elemental magnesium you are actually getting.
So I think it is important to look for clear labelling, the exact form used, the amount of elemental magnesium, third-party testing where possible, and a company that does not hide behind vague “proprietary blend” language. The same principle applies to IV therapy.
IV magnesium: when the drip route genuinely makes sense
I use intravenous magnesium in practice, and I know not every doctor will agree with where I use it. However in conventional medicine, as doctors we already use IV magnesium when things become more serious: pre-eclampsia and eclampsia, certain severe asthma attacks, specific heart rhythm problems such as torsades de pointes, significant deficiency that needs more direct correction, and, in preterm birth, protecting the baby’s developing brain.5, 30–33
Where I become cautious is when IV magnesium is sold as a general energy drip, stress drip, burnout drip or quick fix for fatigue. If someone is genuinely low, under demand, not absorbing well, or needs faster support for a clear reason, IV magnesium can have a place. But if the real problem is poor sleep, unresolved stress, anxiety, inflammation, poor diet, medication issues, gut problems or a wider chronic pattern, a drip on its own may not be the best answer.
This is where patients need to think carefully. Does the person recommending the drip have a commercial incentive to sell you the drip? What else are they qualified to assess or offer? Are they able to adequately assess things like your diet, absorption, medication, testing, sleep, stress, bowel function and the wider clinical picture? The drip should follow the reason. And the reason should not be invented to sell the drip.
Saying that, I don’t think the wellness world is wrong to notice that magnesium matters. And I do think doctors should think about magnesium earlier, not only when the situation becomes dramatic. In the right patient, magnesium may deserve attention before things reach hospital-level severity: poor sleep, headaches, constipation, anxiety, cramps, fatigue, low vitamin D that will not move, a diet low in whole foods, or a body under chronic stress.
So yes, IV magnesium can be useful. But I would rather use it carefully, for the right person, inside a proper plan, than pretend every tired or stressed person needs magnesium straight into a vein.
For the wider discussion, I explain this more fully in my article on IV drip in Malta.
Bottom line
Magnesium matters because it is foundational.
A lot of people are probably running lower than their body would like, and the reasons are not complicated: poorer food quality, processed diets, less mineral-rich water, stress, coffee, alcohol, medication, absorption problems and bodies under more demand than they can comfortably handle.
The benefit for sleep, anxiety and stress is real, but it is usually modest, and strongest when magnesium is actually part of the problem. That is why I do not think of magnesium as a sleeping tablet or a cure for anxiety. I think of it as one support for a body that may be struggling to settle, repair and function properly.
The form matters, but less than the marketing pretends. Glycinate can be a good choice for sleep, anxiety and tension. Citrate can make sense when constipation is part of the picture. Threonate is interesting when it comes to the brain. The best form is the one that fits the person, the symptom pattern, the gut and the reason for taking it.
And if your sleep, anxiety, fatigue, cramps, constipation, headaches or stress are not shifting, that needs a proper look, not necessarily just another supplement.
Magnesium can be part of the answer. It is usually not the full answer.
FAQs
What are the symptoms of magnesium deficiency?
Magnesium deficiency symptoms can include poor sleep, waking in the night, anxiety, a wired feeling, muscle cramps, twitching, restless legs, headaches, fatigue, low energy, palpitations, constipation and low mood.
No single symptom proves low magnesium. But when several of these sit together, especially in someone with stress, poor intake, gut problems, heavy coffee or alcohol use, certain medications or heavy sweating, magnesium becomes worth thinking about properly.
What is the best magnesium for sleep?
For sleep, anxiety and tension, magnesium glycinate or bisglycinate is usually the form I think about first. It is generally well tolerated, gentle on the gut, and the glycine part may have a calming effect of its own.
If sleep is the main issue, the wider pattern is covered in more depth in what causes insomnia and how to sleep better.
Magnesium glycinate vs citrate: which is better?
It depends on the reason you are taking it.
I prefer to use magnesium glycinate when the main issue is sleep, anxiety, stress, tension or long-term use. It is usually gentler on the bowels.
I find magnesium citrate more useful when constipation is part of the picture. It can help draw water into the bowel, which is useful for some people, but too much can cause loose stools, urgency or diarrhoea.
So the simple version is: glycinate for sleep and tension, citrate for constipation.
When should I take magnesium?
The timing depends on why you are taking it.
For sleep, anxiety or a wired nervous system, I usually think about magnesium in the evening, often with food and often one to two hours before bed.
For constipation, morning or evening can both make sense depending on the person and the form used. Some people take it at night and pass stool the next morning. Others do better with a morning dose.
For energy, muscle aching or a daytime pattern, I find that it makes more sense to space magnesium through the day.
How much magnesium should I take?
There is no perfect dose for everyone.
The right amount depends on the reason, the form, your diet, your bowels, kidney function, medication, symptoms and how depleted you appear to be. Many adults use magnesium somewhere in the range of 200 to 400 mg of elemental magnesium per day, but I don’t think it should be a one size fits all rule for every person.
The important point is elemental magnesium. Some labels show the total compound weight, which can make the dose look bigger than it really is.
Your bowels, depending on the type of magnesium supplement, can tell you when you have gone too far. If stools become loose, urgent or watery, the dose may be too high, the form may be wrong, or your body may not be tolerating it well.
Can magnesium help anxiety, stress or mental health?
Magnesium can help some people with anxiety, stress and mental health symptoms, especially when low magnesium is part of the pattern.
It can support calming neurotransmitter systems and helps regulate excitatory signalling in the brain, i.e. it can support the body’s ability to settle.
But magnesium is not a replacement for mental health care, therapy, medication when needed, or a proper assessment. If anxiety, low mood, panic, trauma-linked symptoms or burnout are significant, the wider pattern needs to be understood.
For that deeper layer, read mental health in Malta and when anxiety is more than anxiety.
Can magnesium help vitamin D deficiency?
Magnesium is needed to activate vitamin D, so it can matter when someone has vitamin D deficiency symptoms or when their vitamin D level does not rise as expected despite supplementation.
For the fuller picture, read my article on vitamin D deficiency symptoms in Malta.
Can magnesium help fibromyalgia symptoms?
Magnesium may help some people with muscle tension, cramps, poor sleep, fatigue or low magnesium risk, but I would not present it as a treatment for fibromyalgia by itself.
Fibromyalgia symptoms usually involve a much wider pattern: nervous-system sensitivity, sleep disruption, pain processing, stress biology, inflammation, gut issues, trauma-linked strain or other contributors. Magnesium may be one support, but it is not the whole answer.
For the wider pattern, read fibromyalgia: what causes the pattern.
Is IV magnesium better than oral magnesium?
Not automatically.
IV magnesium is not just a stronger supplement. It is a different route because it goes straight into the bloodstream. In conventional medicine, IV magnesium has clear uses in pre-eclampsia and eclampsia, certain severe asthma attacks, specific heart rhythm problems and significant deficiency.
For general sleep, anxiety, stress or fatigue, IV magnesium should not be used just because it sounds stronger. The route should follow the reason. The reason should not be invented to sell the drip.
For more on this, read IV drip in Malta.
Who should be careful with magnesium?
You should be more careful with magnesium if you have kidney disease, significant heart disease, heart rhythm problems, very low blood pressure, are pregnant, or take regular medication, especially diuretics, antibiotics, blood pressure medication or medicines affecting the heart or kidneys.
Magnesium is generally safe when used properly, but that does not mean it is automatically right for everyone. Go into the conversation informed, ask good questions, and make sure the person advising you genuinely understands both the benefits and the risks.
What should I look for in a magnesium supplement?
Look for clear labelling, the exact form of magnesium, the amount of elemental magnesium, third-party testing where possible, and no vague proprietary blend.
Be careful with products that say “glycinate” on the front but mix it with cheaper forms like oxide or carbonate. You should know what you are actually taking.
The same principle applies to any supplement or IV therapy: know what it is, why it is being recommended, who supplied it, and whether the person recommending it has a reason beyond selling it to you.