Best Magnesium Supplements for Sleep and Inflammation (A Dietitian’s Guide)
A Registered Dietitian’s Evidence-Based Guide to the Mineral Most Women Over 40 Are Missing
If you’re lying awake at 2 AM with racing thoughts, waking up with stiff joints, or dealing with muscle cramps that seem to come out of nowhere — magnesium deficiency might be part of the picture. And here’s the frustrating part: your doctor probably hasn’t checked.
Roughly half of Americans aren’t getting enough magnesium from their diet alone. That number gets worse after 40, when hormonal shifts, stress, and certain medications can deplete your body’s stores even faster. Magnesium is involved in over 300 enzymatic reactions in your body — everything from how your muscles contract and relax to how your body manages inflammation. When you’re running low, the effects show up everywhere: poor sleep, increased pain sensitivity, higher inflammatory markers, and that wired-but-exhausted feeling that never quite goes away.
The good news? This is one of the most fixable nutrient deficiencies out there. The catch is that not all magnesium supplements are created equal — and the form you choose makes a real difference in whether you actually feel better.
Short on Time? Here’s the Bottom Line.
- Magnesium glycinate is the best form for sleep and inflammation — it’s well-absorbed, gentle on the stomach, and the glycine itself supports sleep quality.
- About 50% of Americans consume less than the RDA for magnesium. If you’re over 40, stressed, or on certain medications, you’re at even higher risk.
- Avoid magnesium oxide — it has roughly 4% bioavailability. You’re essentially buying an expensive laxative.
- My top pick: Thorne Magnesium Glycinate (90 capsules) — practitioner-grade, third-party tested.
This post may contain affiliate links to products that align with my evidence-based nutrition approach. As an Amazon Associate I earn from qualifying purchases. Full disclosure.
What We’ll Cover
Here’s what I’m going to walk you through:
- Why magnesium matters for inflammation — and why deficiency makes everything from joint pain to brain fog worse
- The form that actually works — magnesium glycinate vs. the cheap stuff cluttering store shelves
- My top supplement picks — three genuinely different options at different price points, all with verified dosing
- Food sources that add up — practical ways to boost your magnesium intake through diet (with amounts that actually matter)
- How to take it for best results — timing, dosing, and what to watch for
The Magnesium-Inflammation Connection
Here’s something most women over 40 aren’t told: magnesium deficiency doesn’t just affect your sleep and muscles. It directly drives up inflammation.
A 2017 meta-analysis of 11 randomized controlled trials found that magnesium supplementation significantly reduced C-reactive protein (CRP) — one of the most reliable markers of systemic inflammation — in people whose CRP was elevated above 3 mg/L. The reduction was clinically meaningful: a weighted mean difference of -1.12 mg/L (Simental-Mendía et al., 2017).
Let me translate that. CRP is your body’s smoke signal — when it’s elevated, something is on fire somewhere. And magnesium supplementation helped bring that fire down.
The mechanism makes sense. Magnesium helps regulate NF-κB — think of it as the master switch for your body’s inflammatory response. When magnesium is low, that switch stays flipped on. Your immune system runs hotter than it should, producing more inflammatory cytokines (those are the chemicals that drive joint pain, fatigue, brain fog, and that general feeling of everything hurting more than it used to).
This is why magnesium deficiency doesn’t look like one specific problem. It looks like everything getting a little worse — worse sleep, more pain, more stiffness, more anxiety, more inflammation. And when those things compound, the picture can feel overwhelming.
If you’ve been told “your labs are normal” but you still feel like something is off, it’s worth knowing that standard blood tests for magnesium (serum magnesium) miss most deficiencies. Only about 1% of your body’s magnesium is in your blood. The rest is in your bones, muscles, and soft tissues. You can be significantly deficient and still have a “normal” blood level. I wrote about the nutrients women over 40 are most commonly missing — and why standard testing doesn’t always catch it.
Why Magnesium Glycinate (Not Oxide, Not Citrate)
This is where most people go wrong. They grab whatever magnesium is cheapest at the drugstore, take it for a week, get diarrhea, and decide magnesium “doesn’t work for them.”
It wasn’t the magnesium. It was the form.
Magnesium oxide is the most common form in cheap supplements. It’s also one of the worst absorbed. A study by Firoz & Graber (2001) found that magnesium oxide has a bioavailability of roughly 4%. That means if you take a 400 mg capsule, your body might absorb about 16 mg. The rest? It sits in your gut and draws in water — which is why oxide is essentially an expensive laxative. If constipation is your primary issue, that might actually be useful. But for sleep, inflammation, and muscle recovery? You need magnesium that actually makes it into your cells.
Magnesium citrate is a step up. Better absorbed than oxide, and useful if you need mild bowel support alongside your magnesium. But it can still cause loose stools at therapeutic doses, and it doesn’t offer the sleep-specific benefit of glycinate.
Magnesium glycinate is the form I recommend most — and the one I take personally. Here’s why it’s different:
The magnesium is bonded to glycine, an amino acid. This chelated form means two things: first, it’s absorbed through amino acid transport channels in your gut (not just passive diffusion), which dramatically improves bioavailability. Second — and this is the part most people miss — the glycine itself is therapeutic.
A 2012 study found that glycine supplementation improved subjective sleep quality in people with mild sleep difficulties. The proposed mechanism: glycine decreases core body temperature through NMDA receptors in the brain, which is one of the signals your body uses to initiate and maintain sleep (Bannai & Kawai, 2012).
So with magnesium glycinate, you’re getting a double benefit: the magnesium supports muscle relaxation, inflammation reduction, and the 300+ enzymatic reactions it’s responsible for — and the glycine independently supports better sleep by helping your body cool down at night.
That’s not something oxide or citrate can do.
My Top Magnesium Picks: Three Options, Three Different Approaches
I’ve recommended a lot of magnesium supplements to clients. These are the three I come back to — each serves a genuinely different need.
Best: Thorne Magnesium Glycinate Capsules
Thorne Magnesium Glycinate — 90 Capsules
Thorne is the brand I recommend most across the board — not because of marketing, but because of manufacturing standards. They’re one of the few supplement companies whose products are carried by Mayo Clinic’s formulary. Their facility exceeds FDA cGMP requirements, and every batch is third-party tested for purity and potency.
Each capsule provides 120 mg of elemental magnesium as magnesium glycinate. That’s an important distinction — some brands list the total weight of the magnesium glycinate compound (which includes the glycine), making the dose look much higher than what you’re actually getting. Thorne lists the actual elemental magnesium per capsule, so you know exactly what you’re getting.
Dosing: For most women, 2–3 capsules daily (240–360 mg elemental magnesium) is the therapeutic sweet spot. Start with 1 capsule at bedtime and work up over a week or two. The recommended daily allowance for women over 30 is 320 mg, and the tolerable upper limit for supplemental magnesium is 350mg.
Why “Best”: Practitioner-grade quality, transparent labeling, no unnecessary fillers, gentle on the stomach, and the glycinate form provides dual benefits for sleep and inflammation. This is the one I’d give to a client sitting across from me.
Better: Pure Encapsulations Magnesium (Glycinate)
Pure Encapsulations Magnesium (Glycinate) — 180 Capsules
Pure Encapsulations is another practitioner-grade brand with a strong reputation in functional medicine. Their defining feature is their hypoallergenic formulation — every product is free from wheat, gluten, eggs, peanuts, magnesium stearate (a common filler), trans fats, GMOs, and artificial colors or preservatives.
Each capsule provides 120 mg of elemental magnesium as magnesium glycinate — same dose per capsule as Thorne. The 180-capsule bottle gives you a better per-capsule value, which matters when you’re taking 2–3 daily.
Why “Better” and not “Best”: Both are excellent. Pure Encapsulations is an equally trustworthy brand — you’re not compromising on quality by choosing this one. The main difference: Thorne’s broader product ecosystem (they make the powder and CitraMate options below if you want to stay within one brand), and Thorne’s slightly more transparent third-party testing documentation. But if you have food sensitivities or react to common supplement additives, Pure Encapsulations’ hypoallergenic approach might actually make this your best choice.
Dosing: Same as Thorne — 2–3 capsules daily (240–360 mg), ideally with the last dose 30–60 minutes before bed.
Good: Thorne Magnesium Bisglycinate Powder
Thorne Magnesium Bisglycinate Powder — 60 Servings
If you’re someone who already dreads swallowing pills — or you’re taking so many supplements that adding 2–3 more capsules feels like a lot — the powder form is worth considering. Each scoop provides 200 mg of elemental magnesium as magnesium bisglycinate (functionally the same as glycinate), which means one scoop gets you further than a single capsule.
This product is also NSF Certified for Sport, which means it undergoes additional independent testing for banned substances and contaminants. That’s the highest level of third-party certification available for supplements. It’s designed for athletes, but it’s reassuring for anyone who wants maximum quality assurance.
Mix it into water, tea, or a smoothie before bed. The unflavored version mixes into anything without changing the taste. Some people make it part of their bedtime ritual — warm water, a scoop of magnesium, a few minutes of quiet. That routine alone can signal to your body that it’s time to wind down.
Why “Good” and not higher: The capsules are more convenient for most people (no measuring, no mixing, easy to travel with). And some people don’t love the slightly mineral taste of dissolved magnesium. But if pill fatigue is real for you, this is the better delivery system — and the NSF Sport certification is actually a quality advantage over the capsules.
Honorable Mention: Thorne CitraMate (For Constipation)
Thorne CitraMate — 90 Capsules
If constipation is your primary concern alongside sleep and inflammation, this is the form to consider. CitraMate combines magnesium citrate and magnesium malate — citrate has a gentle osmotic effect that draws water into the intestines, while malate supports energy production. Each capsule provides 135 mg of elemental magnesium.
This isn’t my first choice for sleep specifically (glycinate’s dual benefit still wins there), but it’s excellent for women dealing with the constipation that often comes with perimenopause, certain medications, or sluggish gut motility. I talk about the gut-brain connection and how inflammation affects digestion here.
Food Sources That Actually Add Up
Supplements are useful — but they work best alongside a diet that’s already building your magnesium stores. The problem is that most food lists just name the foods without telling you how much you’d need to eat for it to matter. Let me fix that.
Pumpkin seeds are the single richest common food source of magnesium. A single ounce — that’s about a small handful — delivers roughly 150 mg, nearly 40% of your daily needs. Toss them on salads, blend them into smoothies, or eat them straight as a snack. This is genuinely one of the easiest nutrition additions I recommend.
Dark chocolate (70% cacao or higher) provides about 65 mg per ounce. That’s a single square of quality dark chocolate giving you roughly 15–20% of your daily needs — while also delivering polyphenol antioxidants that have their own anti-inflammatory benefits. This is the recommendation that makes clients smile.
Spinach cooked delivers about 157 mg per cup. Raw spinach is much lower — cooking concentrates it. A cup of cooked spinach on your dinner plate is genuinely meaningful.
Almonds provide about 80 mg per ounce (roughly 23 almonds). Pair them with a piece of fruit for an anti-inflammatory snack that also stabilizes blood sugar.
Black beans deliver about 120 mg per cup cooked. They’re also high in fiber and resistant starch — both of which feed beneficial gut bacteria. If you’re working on gut health alongside inflammation, beans are doing double duty. My 7-day anti-inflammatory meal plan includes several recipes built around these magnesium-rich foods.
Avocado provides about 58 mg per fruit. Not the highest on this list, but avocado shows up in so many meals that it contributes meaningfully across the day.
Here’s the reality, though: even with an excellent diet, most women over 40 are still falling short. Soil depletion has reduced the magnesium content of food over the past several decades, and stress — which drives magnesium excretion through the kidneys — means your body is using more than it used to. For most women I work with, diet plus a quality supplement is the practical answer.
How to Take Magnesium for Best Results
Timing matters. Take your last dose 30–60 minutes before bed. This is when the sleep benefits are strongest — the glycine begins lowering core body temperature, and the magnesium starts relaxing smooth muscle. If you’re taking 2–3 capsules daily, you can split them: one with dinner, one or two before bed.
Start low, build up. Even though glycinate is gentler than other forms, some people experience mild GI effects at higher doses. Start with one capsule (120 mg) for the first few days. If you tolerate it well, add a second after a week. Most women land at 240–360 mg as their therapeutic dose.
Take with food for best absorption — the amino acids and fats in food support uptake. An evening snack or dinner is ideal.
Watch for interactions. Magnesium can reduce the absorption of certain medications, including some antibiotics (tetracyclines, fluoroquinolones) and bisphosphonates (for osteoporosis). If you take any of these, separate your magnesium dose by at least 2 hours. If you’re on any prescription medications, it’s worth a quick conversation with your pharmacist about timing — they’re often more accessible than your doctor for these questions. I wrote a full guide on how to have productive conversations with your healthcare team about nutritional approaches.
Kidney function note: If you have kidney disease or significantly reduced kidney function, talk to your doctor before supplementing. Your kidneys are responsible for excreting excess magnesium, and impaired kidney function can lead to dangerous accumulation.
Give it time. Most people notice improved sleep within the first week or two. The anti-inflammatory effects take longer — expect 4–8 weeks of consistent supplementation to see meaningful changes in inflammatory markers. This is a cumulative benefit, not an overnight fix.
How to Know If It’s Working
Beyond “I sleep better” (which is important), here are signs that your magnesium status is improving:
- Fewer muscle cramps, especially at night
- Less restless leg activity
- Reduced morning stiffness
- Improved stress tolerance — you feel less “wired but tired”
- Better bowel regularity (without the urgency that comes from oxide)
- Gradually improving inflammatory markers if you’re tracking labs
If you’re working with a healthcare provider on inflammation, ask about tracking high-sensitivity CRP (hs-CRP) and noting changes over 3–6 months. It’s one of the simplest ways to see whether your anti-inflammatory approach is actually moving the needle. For more on which lab markers to pay attention to, my guide on the dietary inflammatory index and what it means for your body is a good starting point.
The Bottom Line
Magnesium is one of those nutrients where the gap between what most women need and what most women get is quietly making everything harder — worse sleep, more inflammation, more pain, more anxiety. And because standard blood tests don’t reliably catch it, the deficiency often goes unaddressed for years.
The fix is straightforward: a quality magnesium glycinate supplement (200–360 mg daily), taken consistently, alongside a diet rich in seeds, dark leafy greens, dark chocolate, nuts, and beans. It’s not glamorous. There’s no dramatic “before and after.” But the cumulative effect — better sleep, less inflammation, fewer cramps, improved stress tolerance — adds up to feeling meaningfully different over the course of a few months.
You have more control over your inflammatory load than you’ve been told. Magnesium is one of the simplest, most evidence-backed places to start.
For more ways to calm inflammation through nutrition without overhauling your entire life, my guide on healthy habits that lower inflammation covers the basics. And if hot flashes and night sweats are part of your picture, tart cherry juice before bed is another evidence-based sleep tool worth knowing about.
This content is for educational purposes only and does not replace individualized medical advice. For guidance on how to bring up nutrition with your healthcare provider, see how to talk to your doctor about anti-inflammatory nutrition.