Magnesium is involved in over 300 biochemical reactions in the body, yet most Australians don't get enough of it. Low magnesium sits quietly behind symptoms that people chalk up to everyday life: poor sleep, persistent tension headaches, muscle cramps and that low-grade, can't-quite-switch-off feeling that follows you into bed. Getting your magnesium intake right won't fix everything, but it's one of the more reliable levers available if you want to improve sleep naturally and reduce the physical effects of stress.
Why magnesium matters for your nervous system
Magnesium regulates the activity of GABA (gamma-aminobutyric acid), the neurotransmitter that tells your nervous system to slow down. Without enough of it, GABA can't do its job properly. The result is a brain that struggles to transition from alert to calm, which is why magnesium deficiency shows up so clearly in sleep quality and stress tolerance.
Magnesium also controls the release of cortisol, the primary stress hormone. When magnesium is low, the adrenal glands release cortisol more freely, which keeps the body in a heightened state longer than it needs to be. The relationship works the other way too: chronic stress depletes magnesium, so the two conditions tend to reinforce each other over time.
Muscle function is another part of this picture. Magnesium acts as a natural calcium antagonist inside muscle cells. Calcium tells muscles to contract; magnesium tells them to release. When magnesium is low, muscles tend to hold more tension than they should, contributing to the tight shoulders, jaw clenching and restless legs that make it hard to settle at night. If you're already working on how to improve sleep naturally, magnesium is worth adding to the conversation.
How to get magnesium from food first
Supplements help, but food sources absorb well and come with fibre and co-factors that tablets don't. The richest dietary sources of magnesium include:
- Dark leafy greens: spinach and silverbeet are particularly high
- Pumpkin seeds (pepitas): about 150 mg per 30 g serving
- Dark chocolate (70% or higher): around 65 mg per 30 g square
- Black beans and lentils
- Almonds, cashews and brazil nuts
- Whole grains: brown rice, oats and quinoa
The challenge is that modern soil depletion means even magnesium-rich foods deliver less than they once did. If you're eating a varied whole-food diet and still experiencing persistent muscle tension or fragmented sleep, a supplement is a sensible next step.
Choosing the right form of magnesium supplement
Not all magnesium supplements are equal. The form matters more than most labels make clear.
Magnesium glycinate is widely considered the best option for sleep and anxiety. Glycinate binds magnesium to the amino acid glycine, which itself has calming properties and supports melatonin production. It absorbs well and causes minimal digestive disruption. This is the form most commonly recommended for ongoing use.
Magnesium threonate is newer and crosses the blood-brain barrier more readily than other forms. Research from MIT published in 2010 found it increases brain magnesium levels and may support cognitive function. It's more expensive, but worth considering if brain fog and anxiety are the primary concerns.
Magnesium citrate is affordable and absorbs reasonably well, though it has a mild laxative effect at higher doses. It works for general deficiency correction but isn't the first choice for sleep specifically.
Magnesium oxide is the form most commonly found in cheap supplements. It has poor bioavailability, roughly 4%, so most of it passes through unabsorbed. Avoid it if you have options.
Dosage, timing and what to expect
The recommended dietary intake for Australian adults is 320 mg per day for women and 420 mg per day for men. Most supplements come in 200 mg to 400 mg doses. Start low, at 200 mg, and work up if needed. Taking too much at once causes loose stools long before it causes any other harm, which makes self-titration straightforward.
Timing matters. Take magnesium glycinate 30 to 60 minutes before bed. It won't knock you out, but it lowers cortisol and relaxes muscle tension enough that your body finds sleep easier to enter. Pair it with a consistent evening wind-down routine and the two effects reinforce each other.
Most people notice a difference within 1 to 2 weeks of consistent use. Don't expect an immediate sedative effect on night one. Magnesium works by correcting an underlying deficit, not by forcing a pharmacological response.
Topical magnesium: does it actually work?
Magnesium oil and bath flakes have become popular as an alternative to oral supplements, partly because they bypass digestion entirely. The evidence is limited but not absent. A small 2017 study in PLOS ONE found that transdermal magnesium applied over 12 weeks raised red blood cell magnesium levels in participants with diagnosed deficiency.
Magnesium flakes dissolved in a warm bath are genuinely relaxing, though whether the mineral absorption drives that or the warm water does is difficult to separate. As a complementary practice rather than a primary strategy, a magnesium bath before bed is a reasonable addition, particularly if oral supplements cause digestive upset.
Who should be careful
Magnesium supplements are safe for most people, but there are exceptions. Anyone with kidney disease should check with a GP before supplementing, as impaired kidneys can't filter excess magnesium efficiently. Magnesium also interacts with certain antibiotics (particularly tetracyclines and fluoroquinolones) and some blood pressure medications. If you're taking regular prescription medication, a quick conversation with a healthcare practitioner before starting is worthwhile.
Magnesium isn't a replacement for addressing the root causes of chronic stress or persistent sleep problems. But for people who are already doing the basics well, eating reasonably, moving regularly, managing screen time and still finding their nervous system running hot at night, correcting a magnesium deficit is one of the most practical, low-risk steps available. It works quietly, which is exactly how the best interventions tend to work.
If you're exploring other natural approaches to stress and nervous system support, reducing stress naturally through consistent daily habits covers the broader picture that magnesium fits neatly into.

