What cortisol actually does, and why chronic elevation is the problem

Cortisol gets called the stress hormone, which is technically accurate but misleadingly negative. Cortisol is essential. It regulates blood sugar, moderates inflammation, coordinates energy mobilization, and helps you wake up in the morning. The problem is not cortisol itself. The problem is a system that produces too much of it for too long.

Cortisol is manufactured and released by the adrenal glands in response to signals from a three-stage neuroendocrine cascade called the HPA axis: the hypothalamus releases corticotropin-releasing hormone (CRH), which prompts the pituitary gland to secrete adrenocorticotropic hormone (ACTH), which signals the adrenal cortex to produce cortisol. In a healthy stress response, this cascade activates, does its job, and is then shut down by negative feedback: when cortisol levels rise sufficiently, they signal back to the hypothalamus and pituitary to reduce CRH and ACTH production, and the loop closes.

Chronic stress disrupts this feedback. Under sustained psychological or physiological load, the hypothalamus keeps the CRH signal elevated, the feedback loop becomes less sensitive, and cortisol output stays high. Over weeks and months, this creates a recognizable cluster of effects: disrupted sleep architecture, particularly the inability to stay asleep in the early morning hours when cortisol should be rising gradually rather than spiking; persistent fatigue despite sufficient time in bed; mood instability and heightened anxiety; and the afternoon energy crash that has come to feel normal for a large proportion of working adults.

The vicious circle: Chronic stress depletes magnesium. Magnesium deficiency then increases the HPA axis set-point, causing the body to produce even more cortisol in response to the same stressors. This bidirectional relationship means the longer stress continues, the harder it becomes to break without addressing both sides: the cortisol production rate and the nervous system's sensitivity to it.

Ashwagandha: recalibrating the stress cascade at its source

Ashwagandha (Withania somnifera) is an evergreen shrub native to India that has been used in Ayurvedic medicine for over 3,000 years, primarily as a rasayana, a rejuvenating tonic intended to promote resilience and longevity. Its classification as an adaptogen reflects something specific: ashwagandha does not simply sedate the stress response. It modulates it bidirectionally, dampening it when it is overactivated and supporting it when it is depleted.

The active compounds responsible for these effects are primarily withanolides, a group of steroidal lactones concentrated in the root. More than 40 withanolides have been identified, with withaferin A and withanolide D among the most pharmacologically significant. These compounds operate through several mechanisms that converge on the HPA axis.

First, withanolides influence GABAergic signaling. Ashwagandha root extract activates GABA-A receptors in the central nervous system, enhancing the activity of the brain's primary inhibitory neurotransmitter. This reduces the hypothalamic output of CRH, the first signal in the stress cascade, before cortisol production begins. The effect resembles benzodiazepines mechanistically but is substantially milder and does not produce sedation or dependency.

Second, withanolides work directly at the glucocorticoid receptor level, enhancing the sensitivity of the negative feedback loop. One of the defining features of chronically elevated cortisol is that the HPA axis becomes less responsive to cortisol's own inhibitory signals, creating a runaway loop. Ashwagandha appears to restore feedback sensitivity, helping the system turn itself off more effectively once cortisol has risen.

Third, ashwagandha suppresses NF-kB, the master regulator of inflammatory cytokine production. Chronic stress drives inflammation, and inflammation in turn drives further HPA axis activation in a reinforcing cycle. Reducing this inflammatory signaling supports calmer baseline HPA axis activity over time.

What the trials show: A 60-day randomized, double-blind, placebo-controlled trial (Chandrasekhar et al., 2012) found that 600 mg per day of KSM-66 ashwagandha root extract produced a 27.9% reduction in serum cortisol compared to placebo. Stress assessment scores improved by 44 to 72% depending on the scale used. A 2025 meta-analysis of 15 RCTs covering 873 patients confirmed statistically significant cortisol reductions of 2.36 mcg/dL on average at 8 weeks, with individual trials documenting reductions of 11 to 32% from baseline.

Magnesium: reducing the nervous system's sensitivity to cortisol

Magnesium is the fourth most abundant cation in the human body and a cofactor in over 300 enzymatic reactions. Despite this, magnesium insufficiency is common. Multiple population surveys estimate that 45 to 58% of adults in developed countries consume less than the Estimated Average Requirement for magnesium, driven by the displacement of magnesium-rich foods like dark leafy greens, nuts, and legumes by processed foods that contain almost none. The nervous system effects of this deficiency are significant and directly relevant to stress.

Magnesium's primary stress-relevant mechanism operates at the NMDA receptor. NMDA receptors are glutamate receptors responsible for excitatory neurotransmission throughout the central nervous system. When functioning normally, magnesium ions sit inside the NMDA receptor channel and act as a voltage-dependent block: they physically prevent the receptor from firing unless the neuron is already strongly activated. This mechanism is called the magnesium block, and it is fundamental to regulating how excitable neurons are under baseline conditions.

When magnesium levels fall, this block weakens. Neurons become easier to activate. The hypothalamic neurons that produce CRH become hyperexcitable, increasing their output in response to the same level of stress signal. Research using magnesium-deficient animal models showed increased transcription of CRH in the paraventricular nucleus of the hypothalamus, elevated ACTH plasma levels, and enhanced anxiety-like behavior across multiple validated tests. Restoring magnesium normalized all of these parameters. This is the mechanistic link between magnesium deficiency and heightened cortisol reactivity.

Magnesium also supports GABA receptor function. GABA is the nervous system's primary inhibitory neurotransmitter, the chemical that tells neurons to calm down. Magnesium has been shown to have GABA-agonistic activity, enhancing the inhibitory tone that keeps the stress response from spiraling. It also acts as a cofactor for tryptophan hydroxylase, the enzyme that synthesizes serotonin, the neurotransmitter that provides one of the negative feedback signals to the HPA axis itself.

Additionally, magnesium modulates access of cortisol to the brain by influencing the function of P-glycoprotein, a transport protein at the blood-brain barrier. In this way, adequate magnesium helps regulate not just how much cortisol is produced but how much of it reaches the neurons that respond to it.

Why they belong together

The elegance of this pairing is in the complementary positions the two compounds occupy in the same biological pathway, with no overlap and no interference.

Ashwagandha acts upstream, at the level of CRH production, HPA axis feedback sensitivity, and inflammatory cytokine signaling. Its effects are endocrine in nature: it changes how the hormonal cascade that initiates cortisol production is calibrated. These effects accumulate over weeks as withanolide exposure progressively modulates receptor sensitivity and transcription patterns. Ashwagandha does not block cortisol acutely. It recalibrates the system that produces it.

Magnesium acts downstream, at the level of neuronal excitability and neurotransmitter signaling. Its effects are neurological in nature: it changes how sensitively the brain's stress circuits respond to whatever cortisol enters systemic circulation. Magnesium does not reduce cortisol output; it reduces the nervous system's reactivity to cortisol, quieting the neural excitability that drives the cascade in the first place and blunting the amplification that occurs when stress signals reach a depleted brain.

There is a further dependency worth noting. Both ashwagandha and magnesium support GABAergic signaling, but their contributions are different. Ashwagandha's withanolides interact with GABA-A receptors to reduce CRH output. Magnesium is required for GABA receptors to function optimally. A magnesium-deficient nervous system cannot fully respond to the GABAergic signal that ashwagandha provides. Ensuring adequate magnesium is, in a meaningful sense, a prerequisite for getting the most from ashwagandha's anxiolytic mechanism. The two are not just additive; they are interdependent.

What to actually take

For ashwagandha, extract quality and standardization are the variables that determine whether any given product performs like the clinical research suggests. The two most validated proprietary extracts are KSM-66 (Ixoreal Biomed, standardized to at least 5% withanolides, root-only extraction) and Sensoril (Natreon, standardized to 8-10% withanolides, root and leaf extraction). KSM-66 has the largest body of clinical research behind it and is generally preferred for daytime use given its slightly more activating profile. Sensoril is better suited for evening use or sleep-focused applications. Either is a significantly better choice than unstandardized ashwagandha powder, which cannot guarantee pharmacologically meaningful withanolide concentrations.

The research-supported dose is 300 to 600 mg per day of a standardized extract. Most trials showing cortisol reduction used 600 mg daily, often split into two 300 mg doses. Taking ashwagandha with food, particularly food containing some fat, improves withanolide absorption. Morning dosing supports daytime stress resilience. Evening dosing, particularly with Sensoril or a KSM-66 evening dose, helps blunt the elevated evening cortisol that disrupts sleep onset in chronically stressed individuals.

For magnesium, form determines both bioavailability and the specific benefits delivered. Magnesium glycinate (magnesium bound to the amino acid glycine) is the preferred form for stress and sleep: it is well absorbed, gentle on the gastrointestinal tract, and the glycine component adds its own calming properties by activating glycine receptors in the brain stem. Magnesium oxide, despite being the most common form in low-cost supplements, has poor absorption and is primarily useful as a laxative. Magnesium citrate and malate are better absorbed than oxide but do not have glycine's added neurological benefit. Magnesium L-threonate is specifically formulated to cross the blood-brain barrier and may be particularly useful when cognitive symptoms of stress are prominent.

The research-supported dose for neurological and stress applications is 200 to 400 mg of elemental magnesium per day. The RDA is 400 to 420 mg for men and 310 to 320 mg for women, but many people are consuming less than half this amount. Taking magnesium in the evening is practical and aligns with its calming and sleep-supportive effects. Taking it with food reduces the small risk of gastrointestinal discomfort.

Recommended pairing
Ashwagandha KSM-66 300mg (x2 daily) + Magnesium Glycinate 200mg elemental (evening)
Take ashwagandha with breakfast and dinner · Take magnesium with the evening meal

Confirm that your ashwagandha product specifies "KSM-66" or "Sensoril" and lists withanolide percentage. Generic ashwagandha root powder at unverified standardization is not equivalent. For magnesium glycinate, confirm the label shows "elemental magnesium" content, not just the glycinate salt weight. Third-party testing for heavy metals and purity matters for both.

Ashwagandha KSM-66 on Amazon → Magnesium Glycinate on Amazon →

Who should be cautious and what to watch for

Magnesium glycinate at standard doses has an excellent safety profile. Excessive intake (above 350 mg of supplemental elemental magnesium per day beyond dietary sources) can cause loose stools. People with kidney disease require medical supervision before supplementing magnesium, as impaired kidneys cannot regulate magnesium excretion. Otherwise, magnesium is among the lower-risk supplements in widespread use.

Ashwagandha requires more careful consideration. The following groups should not take ashwagandha without medical guidance or should avoid it entirely.

Pregnancy: Ashwagandha has uterine-stimulating properties documented in animal models and is associated with risk of miscarriage or premature birth. It should not be used during pregnancy under any circumstances.

Autoimmune conditions: Ashwagandha modulates immune activity and may increase immune system activation in conditions where the immune system is already attacking the body. People with lupus, rheumatoid arthritis, multiple sclerosis, or other autoimmune disorders should consult a specialist before use.

Thyroid conditions: Ashwagandha can increase thyroid hormone levels (T3 and T4) through HPA axis-related mechanisms. This may be beneficial in subclinical hypothyroidism but can create problems for anyone on thyroid replacement medication or with hyperthyroidism. If you take levothyroxine or any thyroid medication, discuss ashwagandha with your prescribing physician.

Liver considerations: A small number of case reports document liver injury associated with ashwagandha supplementation, appearing typically 2 to 12 weeks after starting. The incidence appears to be an idiosyncratic reaction rather than a dose-dependent toxicity, and the majority of documented cases resolved after stopping the supplement. However, the NIH classifies ashwagandha as a liver toxicity Grade B, meaning it is considered a likely cause in the cases where injury occurred. If you have pre-existing liver disease, avoid ashwagandha. If you develop symptoms such as yellowing of the skin or eyes, dark urine, or unusual fatigue while taking it, stop immediately and consult a physician. Do not take ashwagandha concurrently with other hepatotoxic substances, including high-dose acetaminophen or other herbal products known to affect the liver.

Drug interactions: Ashwagandha can enhance the effects of sedatives, benzodiazepines, and other CNS depressants. It may lower blood glucose, which matters if you are on diabetes medication. It interacts with immunosuppressants and certain blood pressure medications. If you are on any prescription medication, review potential interactions with your pharmacist before starting.

Cycling recommended: Most ashwagandha trials have studied durations of 8 to 12 weeks. Long-term safety data beyond six months is limited. A reasonable precaution is to cycle use, for example 8 to 12 weeks on followed by 4 weeks off, particularly for continuous daily use at full dose. Magnesium can be taken indefinitely at standard doses for those with ongoing dietary insufficiency.

What to expect and how long it takes

The two compounds operate on different timescales, which gives the pair a layered onset profile.

Magnesium's effects on nervous system excitability begin accumulating relatively quickly. Some people notice reduced physical tension, calmer evenings, and improved sleep onset within one to two weeks of consistent supplementation, particularly if they were meaningfully deficient beforehand. This early response is largely a consequence of restoring adequate magnesium for GABA receptor function and NMDA block activity, both of which are immediately impacted by magnesium status.

Ashwagandha's effects on the HPA axis are slower to manifest. Clinical trials show measurable cortisol reductions typically beginning at four to eight weeks, with full effects continuing to compound through twelve weeks and beyond. This is consistent with the mechanism: recalibrating glucocorticoid receptor sensitivity and CRH transcription patterns is a gradual process, not an acute pharmacological event. Initial subjective improvements in sleep and anxiety often appear within two weeks, but objective cortisol measures continue to improve for months.

The practical implication is that the combination often produces a staged improvement: better sleep and reduced physical anxiety tension in the first two to three weeks from magnesium, followed by a deeper reduction in stress reactivity, improved mood stability, and more normalized energy patterns from ashwagandha's HPA axis recalibration over the following six to twelve weeks.

If you want to measure whether the protocol is working, morning salivary cortisol is the most directly relevant marker. It is available through at-home test kits and many integrative medicine providers. Measuring at baseline and again at 8 to 12 weeks provides objective evidence of whether HPA axis output has changed. Subjective markers to track include sleep onset time, early morning waking (a common symptom of elevated evening and early morning cortisol), end-of-day energy levels, and the capacity to feel calm without the effort of active relaxation techniques.