Increase dietary magnesium through food first
Dark leafy greens, pumpkin seeds, legumes, and dark chocolate are reliable dietary magnesium sources.
Why it works
Food-based magnesium comes packaged with co-nutrients (fiber, polyphenols, potassium) that have their own positive effects on nervous system function. The absorption rate of magnesium from whole foods is moderate (30–40%) but comes without the gastrointestinal side effects of high-dose supplements. Adequate dietary magnesium also reduces the cofactor competition that can occur when one micronutrient is supplemented in isolation.
How to do it
- Eat a daily serving of one high-magnesium food: one ounce of pumpkin seeds (156 mg), one cup of cooked spinach (~157 mg), or half a cup of black beans (~60 mg).
- Dark chocolate (70%+) provides ~65 mg per ounce and is a practical addition.
- Note that phytic acid in unsoaked legumes and grains reduces magnesium absorption — soaking or sprouting improves it.
- Prioritize whole food magnesium sources before adding supplements.
Evidence
Dietary magnesium intake is associated with lower rates of depression and anxiety in observational studies; food sources are the recommended first approach before supplementation. (observational)
Observational associations; confounders (diet quality, socioeconomic status) are plausible. Food sources are unlikely to reach the doses used in clinical supplementation trials.
Sources
- Derom et al. (2013), Magnesium and depression: a systematic review, Nutritional Neuroscience
Common mistake
Assuming supplements are always stronger than food sources — for magnesium, whole food sources have better tolerability and come with synergistic nutrients that supplements lack.
Practice this with IX Coach
7 days free, then $40/month (~$1.30/day).
More practices for Magnesium and Anxiety, Made Practical
- Take magnesium glycinate in the evening
Magnesium glycinate is the best-tolerated form for nervous system effects — taken at night, it supports both sleep and anxiety.
- Identify and reduce what depletes your magnesium
Alcohol, caffeine, high sugar, and chronic stress all increase magnesium excretion — your intake target rises when these are present.
- Understand why magnesium helps with stress reactivity, not just baseline anxiety
Magnesium doesn’t tranquilize — it turns down the sensitivity of glutamate-driven excitatory signaling.
- Use magnesium as a sleep-quality lever, not just an anxiety tool
Magnesium improves sleep onset and duration by supporting GABA activity and reducing cortisol — effects that benefit mood indirectly.
- Choose the right magnesium form for your goal
Magnesium glycinate for anxiety and sleep; magnesium malate for energy and muscle; magnesium citrate if constipation is also a concern.
Related concepts
- Anti-Inflammatory Diet for Mood, Made Practical
The neuroinflammation pathway, the dietary patterns that drive or reduce it, and what the evidence allows you to claim
- Blood-Sugar Stability for Steadier Mood and Energy
The glucose-mood mechanism, what disrupts it, and the specific practices that stabilize it