Magnesium

Magnesium is a mineral your body needs for muscle, nerve, and bone function, and it's available as a supplement for people who don't get enough from food. It's sometimes used for muscle cramps, sleep, or as part of managing certain conditions.

Supplement

What people taking Magnesium report

Every report comes from a Lived member, sent anonymously.

Have you tried Magnesium for Migraines?

NameHow it went

About Magnesium

What It's For

Magnesium is a mineral involved in muscle and nerve function, blood pressure regulation, energy production and many other processes. It occurs naturally in nuts, beans, whole grains and leafy vegetables. Supplements are used to correct low magnesium levels and are sometimes taken for constipation, migraine prevention or sleep. Those uses have different levels of evidence, and the specific magnesium compound matters.

What the Evidence Says

Magnesium supplementation is effective for treating a confirmed deficiency. As a laxative, magnesium citrate usually produces a bowel movement within half an hour to six hours, but it is meant for occasional constipation, not ongoing use. A 2012 US neurology and headache guideline rated magnesium as probably effective for reducing how often migraines occur, although results vary and doses used in studies may exceed ordinary supplement amounts. Claims that magnesium reliably improves sleep, anxiety or general wellness in people who already consume enough are supported by much less consistent research, and a review found it unlikely to help night leg cramps in older adults. A benefit seen with one formulation or condition should not automatically be assumed for another.

Dosage & Administration

Magnesium supplements come in several forms, including citrate, glycinate and oxide. They differ in absorption, tolerability and intended use. Magnesium citrate is also used as a laxative; oxide contains a relatively large amount of magnesium by weight but is less readily absorbed. Supplement labels should specify how much elemental magnesium (the magnesium itself, not the whole compound) a serving provides. For adults, more than 350 mg a day from supplements should be discussed with a clinician rather than assumed safe because magnesium is a nutrient. Food doesn't count toward that limit, and young children's limits are much lower, so ask a doctor before giving magnesium to a child.

Side Effects

Diarrhea, nausea and abdominal cramping are the most common side effects, especially with larger doses or laxative formulations. Rarely, magnesium builds up to levels that can lower blood pressure and disturb heart rhythm, mainly with kidney disease or heavy use of magnesium laxatives or antacids. Get medical care right away for unusual weakness, dizziness or drowsiness, and call 911 for trouble breathing, collapse or being hard to wake.

Interactions & Warnings

Magnesium can interfere with absorption of certain antibiotics, thyroid and osteoporosis medications unless doses are spaced hours apart (ask a pharmacist how long). People with kidney disease may not clear magnesium well and should ask a doctor before taking any magnesium supplement, laxative or antacid. If a supplement is intended to treat a symptom such as chronic constipation or frequent migraines, it is worth confirming the underlying diagnosis. Stop a magnesium laxative and call a doctor if you have rectal bleeding or no bowel movement after using it.

Questions to Ask Your Doctor

  1. 1.Is there a reason to suspect low magnesium or a condition that might benefit from supplementation?
  2. 2.Which formulation and dose fit my goal?
  3. 3.Could magnesium interfere with any prescriptions I take?
  4. 4.If I'm using it for migraines or sleep, how long should I try it before judging the result?

Last reviewed • Oct 2026

Educational content, not medical advice.