← Back to Blog
Minerals · Food as Medicine · August 10, 2026

The mineral behind the calm: what magnesium actually does for you

Roughly 8 in 10 of us don't get enough magnesium — the quiet mineral that steadies your energy, calms your nerves, and helps protect your DNA. Here's what it does, and the everyday foods that carry it.

By Ashley Crawford, NTP  ·  6 min read

A skillet of leafy greens and vegetables — everyday magnesium-rich whole foods

The Terrain Series, No. 8. A series on how everyday food shapes the body's inner terrain — the conditions that either invite disease or help keep it at bay. This week: the quiet mineral running hundreds of reactions behind the scenes, and the comforting foods that carry it.

If there's one mineral I wish everyone paid a little more attention to, it's this one. Not because it's trendy — because it's quietly doing the work behind so much of how you feel day to day, and roughly 8 in 10 of us don't get enough of it. The good news: it lives in some of the most comforting, everyday foods there are. You don't have to overhaul your kitchen. You just have to lean, a little at a time, toward the foods that carry it.

What magnesium actually is

Magnesium is a mineral your body can't make on its own — it has to come from food. It's the fourth most abundant mineral in your body, and it acts as a helper, a "cofactor," for an estimated 300 to 600 different enzyme reactions.1 The most famous one: the energy your cells run on, ATP, is only usable when magnesium is attached to it. No magnesium, no usable energy. That's not a small job.

It also helps build and repair your DNA, make glutathione (your body's master antioxidant), steady blood sugar and blood pressure, and quiet an overactive nervous system. Which is exactly why running low so often shows up as fatigue, muscle cramps, poor sleep, and that unmistakable "wired but tired" feeling — the sense that your body can't quite downshift even when you're exhausted.

Here's the part I find genuinely compelling: magnesium sits at the crossroads of nearly every system in the body. It stabilizes the DNA double helix and powers your DNA-repair enzymes. It calms inflammation. It helps your cells respond to insulin. It's even required to switch on vitamin D. When magnesium runs low, all of those protective systems get a little quieter at once.

Why it matters for your terrain

I write a lot about terrain — the internal environment your cells live in, day after day. Magnesium doesn't do anything dramatic or direct. What it does is keep that terrain steady: lower inflammation, better DNA repair, stronger immune surveillance, well-regulated blood sugar. All the quiet, protective background work.2

The research here is worth being honest about. In a pooled analysis of eight prospective studies, higher magnesium intake was associated with modestly lower colorectal cancer risk — roughly 11% lower comparing the highest intakes to the lowest.3 But — and this matters — these studies show association, not proof that magnesium alone prevents anything. Higher magnesium is also a fingerprint of a whole-food, plant-rich way of eating. So I don't want to oversell it. What I will say is that correcting a genuine shortfall — which most of us have — is a safe, food-first place to start.

One practical note if you or someone you love is in treatment: several common medications and therapies (PPIs, diuretics, some chemotherapy agents) deplete magnesium, so it's worth keeping on your care team's radar.

Food first — why whole foods beat pills here

Food delivers magnesium alongside its natural partners — fiber, B6, potassium, protective plant compounds — so it's always the first place I look. Supplements have a place when a shortfall is real, but this is one of those minerals where more is genuinely not better. The upper limit for supplemental magnesium is 350 mg a day (that cap doesn't apply to magnesium from food), and the usual first sign you've gone over is a hurried trip to the bathroom.1 If you do supplement, the well-absorbed forms are glycinate, citrate, malate, and chloride — and during active treatment, clear anything with your care team first.

Whole-food magnesium, on the other hand, has no upper limit. It's self-regulating and safe — and it's the form all that research is actually built on.

The everyday foods that carry the most:

  • Pumpkin seeds (pepitas), roasted — about 156 mg per ounce, the heavy hitter
  • Chia seeds — ~111 mg per ounce, plus omega-3 ALA
  • Almonds — ~80 mg per ounce
  • Spinach, cooked — ~78 mg per half cup
  • Cashews — ~74 mg per ounce
  • Dark chocolate or cacao, 70–85% — ~64 mg per ounce (yes, really)
  • Black beans — ~60 mg per half cup, plus fiber
  • Avocado — ~22 mg per half cup

A daily target for women is roughly 310–320 mg, and for men about 400–420 mg.1 You absorb only 30–40% of what you eat, which is exactly why variety and repetition matter more than any single perfect meal.

Keep the magnesium in

How you cook matters as much as what you cook. Three habits protect it:

  • Steam or roast instead of boiling. Magnesium is water-soluble and leaches into cooking water — and when you do simmer beans or greens, reuse that mineral-rich liquid in soups and sauces.
  • Soak or sprout your nuts, seeds, and legumes, which lowers phytates and frees up more absorbable magnesium.
  • Choose whole over refined, since refining strips magnesium out of grains.

A few everyday things quietly work against you, too — low stomach acid or acid-blocking medications, very high-dose zinc, a lot of alcohol or refined sugar, chronic stress. On the helpful side: adequate stomach acid, vitamin D and B6, protein, and prebiotic fiber all improve how much you actually absorb. One more reason to build meals around whole foods and let them do the heavy lifting.

A gentle note

This is about supporting a healthy system, not diagnosing or treating one. If you're in active cancer treatment or on medications that affect minerals, talk with your care team before adding supplements — food is the safe place to start, and it works alongside your medical care, not instead of it.

Bring it to your plate

Instead of one more sad spinach salad, I paired this one with a recipe that stacks the body's top magnesium foods — pepitas, cacao, almond, hemp, chia, and flax — into one cooling, no-bake bite: dark cacao–pepita freezer bites. Cold-pressed coconut oil gives them a truffle-like melt, orange zest and cardamom lift the dark cacao, and a flaky-salt finish makes them feel like a treat rather than a task. Two bites is a satisfying serving.

Get the recipe →

You don't need every one of these foods every day. Start with one handful of pumpkin seeds, one square of good dark chocolate, one batch of those freezer bites tucked away for later — and let it be easy. Magnesium isn't one more thing to get perfect. It's a quiet, steadying gift you get to give your body, a little at a time.

Sources: 1 National Institutes of Health, Office of Dietary Supplements. Magnesium: Fact Sheet for Health Professionals. ods.od.nih.gov.  |  2 Ashique, S., et al. (2023). A narrative review on the role of magnesium in immune regulation, inflammation, infectious diseases, and cancer. Journal of Health, Population and Nutrition, 42(1), 74.  |  3 Chen, G.C., Pang, Z., & Liu, Q.F. (2012). Magnesium intake and risk of colorectal cancer: a meta-analysis of prospective studies. European Journal of Clinical Nutrition, 66(11), 1182–1186.

Meet you where you are

Wondering what your own terrain needs?

Minerals like magnesium work quietly, and they're deeply responsive to the daily conditions we create. If you'd like food-first support that fits your unique body and your goals, let's talk.

Book a Session →