Ashwagandha and magnesium are often recommended together for stress and sleep, but they are not the same kind of thing. Magnesium is an essential mineral that the body needs every day and that many people get from food. Ashwagandha is a herb with no dietary requirement. Ashwagandha has clinical trials on stress and sleep. The NIH’s fact sheet on magnesium does not cover sleep, stress or anxiety at all, which is worth knowing before paying for a “calm” magnesium product.
Last reviewed 29 November 2026. This guide is for general information and is not medical advice.
At a glance
| Property | Ashwagandha | Magnesium |
|---|---|---|
| What it is | A herb, Withania somnifera | An essential mineral |
| Does the body need it? | No | Yes. Adults need 310 to 420 mg a day from all sources[4] |
| Found in food? | No | Yes |
| What it does | Proposed stress and sleep effects, under study[1] | Works in more than 300 enzyme systems; supports muscle and nerve function, blood glucose and blood pressure control[4] |
| Trials on stress or sleep | Several small trials[1] | Not covered in the NIH fact sheet[4] |
| Official upper limit | None set | 350 mg a day from supplements and medicines, not counting food[4] |
| Most common problem | Mild nausea or drowsiness[1] | Diarrhoea at high doses[4] |
| Serious signals | Rare liver injury; thyroid effects[1][3] | Build-up in people with impaired kidney function[4] |
What each one is for
Magnesium is a nutrient. It acts as a cofactor in more than 300 enzyme systems, supports protein synthesis, muscle and nerve function, and blood glucose and blood pressure regulation, and contributes to bone structure.[4] A supplement mainly makes sense when intake from food is low.
Ashwagandha is a botanical extract taken for a specific effect. The NIH Office of Dietary Supplements concludes that small, mostly short trials suggest it may reduce stress, anxiety and cortisol and may improve sleep, particularly in people with insomnia.[1] In one 2012 trial, 64 chronically stressed adults took 300 mg of root extract twice a day or placebo for 60 days, and stress scores and cortisol fell further in the extract group.[2]
How good is the evidence?
- For stress and sleep, the trials reviewed by the NIH are on ashwagandha. They are small and short, and one found no effect.[1]
- Magnesium’s place in the body is well established; its use for stress and sleep is a separate question. The NIH fact sheet does not address it, and we have not reviewed individual magnesium trials for this page.[4]
- We did not find a trial comparing the two directly.
Forms and absorption
Magnesium supplements come in many forms, and they are not absorbed equally. The NIH reports that the aspartate, citrate, lactate and chloride forms appear to be better absorbed than oxide and sulfate, and that forms which dissolve well in liquid are absorbed more completely.[4]
Ashwagandha products differ by plant part and by whether they are a powder or an extract. See ashwagandha vs KSM-66 for how to read those labels.
Safety and interactions
Ashwagandha. LiverTox, the NIH database of drug-induced liver injury, rates it a likely cause of clinically apparent liver injury, usually appearing 2 to 12 weeks after starting, and advises against use in people with cirrhosis.[3] The NIH fact sheet adds possible thyroid effects, interactions with thyroid, diabetes, blood-pressure and sedative medicines, and advice from some experts against use in pregnancy.[1]
Magnesium. High supplemental doses often cause diarrhoea, sometimes with nausea and cramping, which is the reason for the 350 mg upper limit. People with impaired kidney function are at risk because they cannot clear excess magnesium. Magnesium supplements can reduce the absorption of oral bisphosphonates and of tetracycline and quinolone antibiotics. Some diuretics increase magnesium loss and others reduce it, and long-term use of proton pump inhibitors can lower magnesium levels.[4]
Taking both together. Combination products are common, but we did not find a trial of the combination. The two have different interaction lists, so anyone on prescription medicine should check both with a pharmacist.
Legal status and drug testing
Both are sold as dietary supplements in the United States. Neither is a controlled substance, and standard workplace drug panels do not test for either. Denmark banned ashwagandha in 2023.[1]
What to check on the label
- Magnesium: the form, and the amount of elemental magnesium per serving compared with the 350 mg supplemental limit.
- Ashwagandha: plant part, extract or powder, and withanolide percentage.
- Both: a current certificate of analysis for the batch. Our COA decoder explains each line.
Frequently asked questions
Is magnesium a herb like ashwagandha?
No. Magnesium is a mineral the body requires. Ashwagandha is a plant extract with no dietary requirement.
Is there an upper limit for magnesium?
Yes: 350 mg a day from supplements and medicines for adults. Magnesium from food does not count towards it.[4]
Which magnesium forms are absorbed best?
Aspartate, citrate, lactate and chloride appear to be absorbed better than oxide and sulfate.[4]
Who should be careful with each?
People with kidney problems should be careful with magnesium, and people with liver disease should avoid ashwagandha.[3][4]
Sources
- NIH Office of Dietary Supplements. Ashwagandha: Fact Sheet for Health Professionals. Updated 2 May 2025.
- Chandrasekhar K, et al. A prospective, randomized double-blind, placebo-controlled study of safety and efficacy of a high-concentration full-spectrum extract of ashwagandha root in reducing stress and anxiety in adults. Indian Journal of Psychological Medicine, 2012.
- LiverTox, National Institute of Diabetes and Digestive and Kidney Diseases. Ashwagandha.
- NIH Office of Dietary Supplements. Magnesium: Fact Sheet for Health Professionals. Updated 6 January 2026.
Related: Ashwagandha benefits: what the evidence shows · Ashwagandha vs L-theanine · Ashwagandha vs ginseng · All comparisons
