The connection between magnesium and stress begins at the cellular level. Magnesium blocks NMDA receptors in a voltage-dependent way — when the cell is at rest, magnesium sits inside the receptor channel, preventing glutamate (the primary excitatory neurotransmitter) from triggering calcium influx. Under stress, sustained depolarization pushes magnesium out, allowing more glutamate activation and a heightened excitatory state. People with low magnesium have less of this natural inhibitory buffer, making neurons fire more readily in response to stressors.
Cortisol and magnesium depletion
Cortisol, the primary stress hormone, increases urinary magnesium excretion. The more cortisol circulating, the more magnesium leaves the body. This creates a cycle: chronic stress depletes magnesium, low magnesium makes the stress response more reactive, which increases cortisol, which depletes more magnesium. Breaking this cycle requires both stress management strategies and adequate dietary magnesium intake simultaneously.
Research on magnesium and stress
Several randomized trials have examined magnesium supplementation on markers of stress and anxiety. A 2016 systematic review in Nutrients found generally supportive but methodologically limited evidence for magnesium's anxiety-reducing effects. A 2017 randomized trial of 126 adults with mild-to-moderate depression and anxiety found that 248 mg of elemental magnesium daily produced significant improvements in both measures within 6 weeks. The effect was consistent but not dramatic — comparable to the effect of lifestyle interventions, not pharmaceutical anxiolytics.
Best dietary sources
Dark chocolate (70%+ cocoa) provides about 50 mg of magnesium per ounce. Pumpkin seeds are the richest source at 150 mg per ounce. Almonds deliver 75 mg per ounce. Cooked spinach contributes 157 mg per cup. Black beans provide 60 mg per half cup cooked. Avocado offers about 58 mg per fruit. A day of eating that includes leafy greens, nuts or seeds, legumes, and whole grains can easily reach the RDA (320 mg women, 420 mg men) without supplements.
The case for supplementation
Given that roughly half of adults in developed countries fail to meet magnesium RDA through diet, and that stress periods both increase need and increase losses, supplementation during high-stress periods is reasonable. Magnesium glycinate and magnesium malate are well-absorbed and generally tolerable. Magnesium oxide is poorly absorbed. Doses of 150–300 mg elemental magnesium taken in the evening align well with the mineral's calming properties. Testing serum magnesium is possible but not a sensitive indicator of total body stores — most magnesium is intracellular.