Magnesium
70 studies read · 14 answers · 5 sources
Magnesium has a proven but unnoticeable effect on nighttime cramp disruption, while broader benefits across the outcomes reviewed remain promising or unsettled.
What it does
Modest benefits
-
Better sleep quality · Probably helps a little
Restful sleep includes feeling refreshed, while insomnia involves ongoing trouble falling or staying asleep.
7 trials · 680 people · noticed in 3–12 weeks
Early findings (11)
-
Less constipation · May help
2 trials · 168 people · 1 review · noticed in 4–12 weeks
-
Falling asleep sooner · May help a lot
1 review of 2 trials · 55 people · noticed in 5–8 weeks
-
Less bloating and gut upset · May help
1 review of 2 trials · 93 people · noticed in 4 weeks
-
Clearer, quicker thinking · Unclear if it helps
2 trials · 151 people · noticed in 6–12 weeks
-
Stronger memory · Unclear if it helps
2 trials · 173 people · 1 review · noticed in 6–12 weeks
-
Fewer night leg cramps · Unclear if it helps
2 trials · 267 people · noticed in 2–9 weeks
-
Fewer anxiety symptoms · Unclear if it helps
2 trials · 265 people · noticed in 4–12 weeks
-
Feel less daily stress · Unclear if it helps
2 trials · 228 people · noticed in 4 weeks
-
Staying asleep through the night · Unclear if it helps
1 trial · at least 46 people · 1 review · noticed in 8 weeks
-
Less period pain · Unclear if it helps
2 trials · 101 people
-
Milder PMS symptoms · Unclear if it helps
2 trials · 75 people
Doesn't appear to help
-
More hours of sleep · May not help
More time asleep can leave a larger part of the night for rest.
1 review of 2 trials · 55 people · noticed in 5–8 weeks
-
Feel awake and stay alert · May not help
Feeling awake and keeping attention steady through the day.
1 trial · 153 people · noticed in 4 weeks
How to take it
Magnesium makes the most sense if nighttime cramps are disrupting sleep or if a clinician recommends it for constipation. Set modest expectations for cramps and sleep, because the average effects are small or still uncertain.2,3 Skip self-directed high doses if you have kidney problems, and ask a pharmacist about spacing it from medicines, especially certain antibiotics and bone drugs.1
How much
For nighttime leg cramps, trials most often use 226 to 300 mg daily for roughly four to eight weeks. The benefit is real but tiny, so do not expect dramatic cramp relief.3 Constipation protocols use much larger amounts, often 1,500 to 2,000 mg daily, and are usually assessed over about four weeks. Those doses work through an osmotic laxative effect, not through a general wellness effect.1,4 Sleep and anxiety research spans a wide range, and the small, inconsistent results do not establish one reliable target dose.2,5
When
Take magnesium consistently, not only on a rough night. Sleep studies generally use a daily routine over several weeks, so evening use is practical if your goal is sleep, but the research does not show that one exact clock time wins.2 For forms used for constipation, follow the product and clinician directions closely, since the dose that changes stool can also cause urgent diarrhea or cramping.1,4
Which form
The label should state elemental magnesium, which is the amount of magnesium itself, not just the larger weight of the whole compound. Magnesium oxide and hydroxide have direct constipation trial coverage, while sleep research uses varied preparations, so claims that one form is definitively best for sleep run ahead of the evidence.2,4 Different forms can feel very different in the gut, and a gentler-feeling form is not automatically a better-studied form.
The dose that worked, by measure (12)
- Sleep more soundly
- 1,113 mg4–12 weeks
- Make bowel movements easier
- 1,500 mg4–12 weeks
- Reduce nighttime cramp intensity
- 300 mg4–9 weeks
- Sleep more easily through the night
- 375 mg3–8 weeks
- Reduce constipation's daily burden
- 1,500 mg4 weeks
- Support overnight physical recovery
- 1,000 mg3 weeks
- Recall information across tasks
- 520 mg6–8 weeks
- Handle daily demands with less stress
- 100 mg4 weeks
- Stay asleep through the night
- 512.25 mg8 weeks
- Fall asleep sooner
- 512.25 mg5–8 weeks
- Spend more time asleep
- 500 mg5–8 weeks
- Handle daily tasks with steadier thinking
- 2,000 mg6 weeks
Who should be careful
Medicines it can clash with
- esomeprazole major
- tetracycline major
- new quinolones major
- bisphosphonates major
- clopidogrel major
- semaglutide major
- phenytoin moderate
- carbamazepine moderate
Reported side effects
- hypermagnesemia severe
- hypomagnesemia severe
- tetany (carpopedal spasm) severe
- gastroenteritis severe
- Alanine aminotransferase (ALT) and aspartate aminotransferase (AST) elevation severe
- stroke severe
- metabolic encephalopathy (altered mental status) severe
- hypotension severe
Bottles worth buying
Dosed where the research is, in a clean formula, from audited brands. Not sponsored.
-

Magnesium (Citrate) 100 mg
Life Extension · 300 mg a day · brand audit 90
-

Magnesium 200 mg
NutraBio · 400 mg a day · brand audit 90
-

Magnesium Citrate Pure Powder
NOW · 450 mg a day · brand audit 87
-

Magnesium Bisglycinate Powder
NOW · 500 mg a day · brand audit 87
-

Micromag Powder
Nootropics Depot · 400 mg a day · brand audit 87
-

Magnesium Glycinate
Nootropics Depot · 200 mg a day · brand audit 87
How it works
Magnesium is a mineral your body uses every day to run nerves, muscles, and hundreds of enzyme-driven jobs. Food supplies it through foods such as nuts, beans, whole grains, and leafy greens, while supplements deliver concentrated forms such as oxide, citrate, glycinate, or hydroxide.1
Magnesium acts like the adjustable brake on excitable cells: it helps control the flow of charged particles that tell nerves to fire and muscles to tighten. In the gut, unabsorbed magnesium draws water into the intestine, which explains why some forms soften stool and also why too much often causes diarrhea.1,4
Studied alongside
-

Vitamin B6
18 measures studied together
-

Mineral
10 measures studied together
-

Phosphatidylserine
6 measures studied together
-

Vitamin C
6 measures studied together
-

Vitamin D
6 measures studied together
-

Vitamin B
1 measures studied together
-

Polyunsaturated fatty acid
1 measures studied together
-

Zinc
1 measures studied together
-

Milk Protein
1 measures studied together
-
Blackberry
1 measures studied together
-

Hawthorn
1 measures studied together
-
Californiapoppy
1 measures studied together
Common questions
What form of magnesium is best for sleep?
Does magnesium stop nighttime leg cramps?
How long does magnesium take to work for constipation?
Sources
- 1. Magnesium Fact Sheet for Health Professionals
- 2. Oral magnesium supplementation for insomnia in elderly patients: A randomized double-blind placebo-controlled clinical trial (2012)
- 3. Magnesium for skeletal muscle cramps (2012)
- 4. Magnesium oxide improves chronic constipation (2015)
- 5. The effect of magnesium supplementation on subjective anxiety and stress: A systematic review (2017)