
Magnesium on a GLP-1: forms, and what the evidence says for sleep, cramps and constipation
Magnesium has some evidence for constipation (as magnesium oxide), weak evidence for sleep, and probably doesn't help muscle cramps. Keep supplement doses at or below the 350 mg a day upper limit unless your prescriber says otherwise, and skip it without medical advice if you have kidney disease.
What the evidence says, by reason
| Reason people take it | Evidence | Bottom line |
|---|---|---|
| Constipation | A 2023 AGA-ACG guideline gives magnesium oxide a conditional recommendation for chronic constipation[1] | Reasonable to ask about |
| Sleep | 3 small trials in older adults: about 17 minutes faster to fall asleep; low to very low quality evidence[2] | Weak |
| Muscle cramps | Cochrane: unlikely to give meaningful cramp prevention in older adults; no trials for exercise cramps[3] | Probably skip |
| Low magnesium on a blood test | Correcting a deficiency is what supplements are for[4] | Follow your prescriber |
Constipation
Constipation is one of the most common side effects of GLP-1 medicines. Magnesium oxide pulls water into the bowel, which is why it's also a laxative ingredient. The 2023 AGA-ACG guideline gave it a conditional recommendation, alongside fiber and some other options, with stronger recommendations for medicines such as polyethylene glycol[1]. That guideline wasn't about GLP-1 users specifically.
Before reaching for magnesium, the basics often help: more fluid, fiber added slowly, and walking. If constipation lasts, comes with severe pain, vomiting or a swollen belly, contact your prescriber.
Sleep
A 2021 meta-analysis pooled three trials with 151 older adults. Magnesium shortened the time to fall asleep by about 17 minutes compared with placebo. Total sleep time didn't change significantly, and the authors rated the evidence low to very low quality[2]. That's not nothing, but it's not strong.
Cramps
A 2020 Cochrane review of 11 trials concluded it is unlikely that magnesium gives clinically meaningful cramp prevention to older adults with ordinary muscle cramps, and found no trials on cramps during exercise[3]. If you're cramping during workouts, fluids, food and pacing are better first steps. Our cramps article walks through them.
Forms: why the label is confusing
The Supplement Facts panel lists elemental magnesium, the amount of actual magnesium, not the weight of the whole compound[4]. Absorption differs by form: small studies found aspartate, citrate, lactate and chloride forms are absorbed more completely than oxide and sulfate[4].
| Form | Notes |
|---|---|
| Oxide | Less well absorbed, more laxative effect; the form in the constipation guideline |
| Citrate | Better absorbed; also has a laxative effect at higher doses |
| Glycinate | Popular for sleep; gentler on the stomach for many people; marketed claims outpace research |
| Chloride, lactate | Better absorbed than oxide in small studies |
How much is too much
- The adult RDA from all sources is about 310 to 420 mg a day depending on age and sex[4].
- The upper limit for supplements and medicines is 350 mg a day. It doesn't include magnesium from food[4].
- Too much from supplements can cause diarrhea, nausea and abdominal cramping. Very high doses can be dangerous, and the risk is higher with impaired kidney function[4].
- Laxatives and antacids can contain a lot of magnesium, so count them.
Interactions
The ODS notes magnesium can interact with some antibiotics (tetracyclines and quinolones) and osteoporosis medicines (oral bisphosphonates), and that diuretics and proton pump inhibitors can affect magnesium levels[4]. Spacing doses apart may be needed. Ask your pharmacist.
Food first
Good sources include leafy greens, beans, nuts, seeds and whole grains[4]. Pumpkin seeds, almonds and edamame double as protein snacks.
Talk to your prescriber or pharmacist before taking magnesium if
You have kidney disease, heart rhythm problems, take any of the medicines above, are pregnant, or have diarrhea from your GLP-1. Supplements are not FDA-approved for safety or effectiveness before sale[5].
Where to start
Track your stomach and energy with the dose-day planner, and see the full supplement evidence table.
Free: Easy Protein Planner and Food Checklist
A free printable protein planner: easy protein foods with real gram counts, small-appetite tips, and a daily tracker.
Frequently asked questions
Does magnesium help constipation on Ozempic?
Magnesium oxide is one of the options a 2023 gastroenterology guideline conditionally recommends for chronic constipation. It hasn't been studied in GLP-1 users specifically. Ask your prescriber before using it, especially if you have kidney problems.
Does magnesium help with sleep?
Evidence is weak. A meta-analysis of three small trials in older adults found people fell asleep about 17 minutes faster, but the studies were low quality.
Does magnesium stop muscle cramps?
Probably not for most people. A Cochrane review concluded it's unlikely to give meaningful cramp prevention in older adults, and no trials have tested it for exercise cramps.
How much magnesium is too much?
The upper limit for magnesium from supplements and medicines is 350 mg a day for adults. Food magnesium doesn't count toward it. More can cause diarrhea, and people with kidney disease are at higher risk of toxicity.
Sources
- AGA-ACG clinical practice guideline: pharmacological management of chronic idiopathic constipation. Am J Gastroenterol, 2023
- Mah and Pitre. Oral magnesium supplementation for insomnia in older adults: systematic review and meta-analysis. BMC Complement Med Ther, 2021
- Garrison et al. Magnesium for skeletal muscle cramps. Cochrane Database of Systematic Reviews, 2020
- NIH Office of Dietary Supplements: Magnesium (health professional fact sheet)
- U.S. FDA: Information for consumers on using dietary supplements
Not medical advice. This article is general information from published research and public guidelines, not a diagnosis or a plan. Talk with your prescriber or healthcare provider before changing how you eat, move or take your medication.
More in Supplements
- GLP-1 supplements: what has research, and what's a waste of money
- Creatine on a GLP-1: what the research shows, the doses studied, and who should skip it
- How to choose a protein powder on a GLP-1: labels, third-party testing and types
- Supplements to skip on a GLP-1: berberine, GLP-1 patches, BCAAs, fat burners and collagen for muscle
- All Supplements articles
Keep reading
- GLP-1 muscle loss: what the studies actually measured, and how to keep yours
- How much protein do you need on a GLP-1?
- Why we built Lift Garden, and the psychology of making strength training stick
- The best workout plan on a GLP-1: three levels, week by week
- All articles by topic
- All free GLP-1 calculators and quizzes
- All free printable guides