Poor sleep is one of the most common complaints after 40 — and two supplements come up more than any others when people go looking for a natural solution: Ashwagandha and Magnesium. Both have strong evidence behind them. Both are safe and well-tolerated. But they work through completely different mechanisms, and understanding that difference is the key to choosing the right one for your situation.
How Ashwagandha Supports Sleep
Ashwagandha is an adaptogen — a class of compounds that help the body regulate its response to stress. Its primary mechanism for improving sleep is indirect: it helps support already-healthy cortisol levels.
Cortisol is your primary stress hormone. It is supposed to be high in the morning (to wake you up and mobilize energy) and low at night (to allow your body to wind down and enter deep sleep). The problem for many adults, particularly those under chronic stress, is that cortisol stays elevated in the evening. That keeps the nervous system in a low-grade fight-or-flight state — which makes falling asleep harder, reduces time in deep sleep stages, and leads to the feeling of waking up unrefreshed even after a full night in bed.
Clinical research on KSM-66 Ashwagandha — the most studied extract form — shows consistent support for already-healthy cortisol levels over 8 weeks of daily use, alongside meaningful improvements in perceived stress and sleep quality. One double-blind placebo-controlled study found that participants taking 300mg of KSM-66 twice daily reported meaningfully better sleep onset, sleep duration, and morning alertness compared to placebo.
If your sleep problems are rooted in a mind that will not switch off, stress that bleeds into the evening, or a general sense of being wired but tired, Ashwagandha addresses the upstream cause.
How Magnesium Glycinate Supports Sleep
Magnesium works through a different pathway entirely. Rather than modulating the stress axis, Magnesium acts directly on the nervous system by supporting GABA receptor activity — a calming neurological pathway — through a gentle, natural mechanism.
Magnesium also supports normal melatonin production, supports muscle relaxation (which reduces the physical restlessness that disrupts sleep for many people), and plays a role in supporting the body temperature drop that signals the brain it is time to sleep.
Magnesium deficiency is extremely common — estimated to affect over 50% of adults in developed countries — and one of its most consistent signs is poor sleep. Many people who struggle with falling asleep, staying asleep, or feeling rested are simply running low on a mineral their body needs for basic nervous system function.
Magnesium Glycinate is the preferred form for sleep support. Unlike Magnesium Oxide (the cheap, poorly absorbed form in most multivitamins) or Magnesium Citrate (which has a laxative effect at higher doses), Glycinate is highly bioavailable, gentle on digestion, and specifically associated with relaxation and sleep quality in clinical studies.
If your sleep problems feel more physical — general restlessness, muscle tension, difficulty staying asleep, waking in the night, or simply an inability to relax the body — Magnesium Glycinate is likely the right starting point.
Key Differences at a Glance
Ashwagandha: Works by supporting already-healthy cortisol levels and the body's normal stress response. Best for stress-driven sleep problems, an overactive mind at night, and occasional evening tension. Takes 2-4 weeks for full effect. Take in the evening.
Magnesium Glycinate: Works by supporting GABA receptor activity, melatonin production, and muscle relaxation. Best for physical restlessness, difficulty staying asleep, and general nervous system support. Effects can be felt within days. Take 30-60 minutes before bed.
Can You Take Both Together?
Yes — and for many people over 40, this is the optimal approach. Ashwagandha addresses the hormonal and psychological side of poor sleep (stress response, mental activation) while Magnesium addresses the physical and neurological side (muscle tension, GABA activity, melatonin). They complement each other without interaction concerns, and the combination is one of the most commonly recommended natural sleep stacks.
A simple protocol: 300mg Ashwagandha with dinner, 400mg Magnesium Glycinate 30-60 minutes before bed.
Which Should You Start With?
Start with the one that maps to your primary symptom:
- Mind that will not stop at night, stress, occasional anxious feelings, wired-but-tired feeling: Start with Ashwagandha
- Physical restlessness, muscle tension, waking in the night, general fatigue: Start with Magnesium Glycinate
- Both: Take both — they work through different pathways and stack well
Both are safe for long-term daily use, non-habit-forming, and well-tolerated by the vast majority of adults.
For a broader overview of supplements that support healthy aging, see our guide to the best supplements for longevity over 40.
Find your formula
Still not sure — ashwagandha or magnesium?
Take our 60-second quiz and get a personalized 3-supplement stack built around your goals — plus 15% off your first order.
Build Your Stack →These statements have not been evaluated by the Food and Drug Administration. These products are not intended to diagnose, treat, cure, or prevent any disease. Consult your healthcare provider before starting any new supplement regimen.