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.
Every report comes from a Lived member, sent anonymously.
Have you tried Magnesium for Migraines?
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.
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.
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.
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.
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.
Last reviewed • Oct 2026
Educational content, not medical advice.
You can never go wrong with magnesium. Excellent for your sleep natural laxative. Personally for me it has improved my circulation.
That amount for me, at 160lbs has been great for sleep, muscle recovery, and gut health as someone with UC. Just be aware of the loose stools!
I've seen all kinds of supplements these days that have magnesium added as a sleep benefit and I wanted to know what the long-term effects are of taking magnesium as a supplement. Do people only take it at night? Also what's the side effects if you take too much of it?
Hi! I just wanted to know if any women perimenopausal or menopausal found it beneficial to adding magnesium to your daily regiment of vitamins. Does it help you with sleeping?