Topic · Mineral
Magnesium
Magnesium is an essential mineral involved in muscle and nerve function, electrolyte balance and energy metabolism. Seeds, nuts, leafy greens and legumes supply most of it, and supplements fill gaps for some people. Trial evidence for specific benefits is uneven: blood pressure and constipation have reasonable support, while sleep, mood and athletic performance are weaker or mixed. Kidney function largely determines how safely it is cleared.
Start here
More on magnesium
-

Magnesium
How to choose a magnesium supplement: forms, labels and price
-

Magnesium
Magnesium dosage and timing: what trials used and when to take it
Magnesium FAQ
How much magnesium should I take a day?
Adults need 310–420 mg of magnesium a day from food and supplements combined, depending on age and sex. The separate 350 mg/day upper limit applies only to supplements. Check the elemental amount on the Supplement Facts panel, not the compound weight: 500 mg of magnesium glycinate contains only about 55–70 mg of actual magnesium. Most people also get a share from food.
Which form of magnesium is best absorbed?
Probably less than marketing suggests. A 2017 review found the evidence that one magnesium salt is reliably better absorbed than another is inconsistent. A 2022 ten-day trial in young women found oxide, often called poorly absorbed, raised ionized blood magnesium, while carbonate lowered it. Several head-to-head comparisons are funded by makers of the product they favor, so read them with that in mind.
Does magnesium help you sleep?
The evidence is mixed and mostly weak. One 8-week trial in 46 older adults with insomnia found 500 mg/day improved time to fall asleep and sleep efficiency versus placebo. Industry-funded magnesium L-threonate trials show some benefit, but one 6-week trial found no difference on any objective sleep-tracker measure. A 2026 systematic review rated the overall certainty low to very low.
Can magnesium cause diarrhea?
Yes, at higher doses. Loose stools, cramping and nausea are the most common effects, and they are usually mild and clear up when you lower the dose or stop. A 2023 review found seven of ten studies at 128–1,200 mg/day showed no significant difference in diarrhea versus control. Serious magnesium buildup is rare and occurs almost only when kidney function is already substantially reduced.
Does magnesium interact with medications?
Yes. Magnesium can bind tetracycline and fluoroquinolone antibiotics in the gut and reduce their absorption; the usual advice is magnesium 4 hours before or 2 hours after the antibiotic. A small trial found it also lowered levothyroxine absorption, and bisphosphonates are thought to be affected similarly. Loop and thiazide diuretics can increase magnesium loss. Ask a pharmacist about your specific medications.