Increase dietary magnesium through food first
Dark leafy greens, pumpkin seeds, legumes, and dark chocolate are reliable dietary magnesium sources.
Key takeaways
- What it is: 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.
- Evidence: Backed by observational / correlational evidence.
- Avoid: Assuming supplements are always stronger than food sources — for magnesium, whole food sources have better tolerability and come with synergistic nutrients that supplements lack.
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
- 1Eat 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).
- 2Dark chocolate (70%+) provides ~65 mg per ounce and is a practical addition.
- 3Note that phytic acid in unsoaked legumes and grains reduces magnesium absorption — soaking or sprouting improves it.
- 4Prioritize whole food magnesium sources before adding supplements.
What the evidence says
ObservationalDietary magnesium intake is associated with lower rates of depression and anxiety in observational studies; food sources are the recommended first approach before supplementation.
Honest caveat: Observational associations; confounders (diet quality, socioeconomic status) are plausible. Food sources are unlikely to reach the doses used in clinical supplementation trials.
- — 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.
IX Coach helps you identify the one or two high-magnesium foods you already like and builds them into your meal pattern rather than prescribing a new food you won’t eat.
Practice this with IX Coach →