By Donald Pidugu, PA-C · Published November 2026
Magnesium is a mineral your body uses every day. It helps you make energy, keeps your heart rhythm steady, helps muscles and blood vessels relax, and plays a role in how insulin works. You get it from food such as leafy greens, nuts, seeds, beans, and whole grains. Even so, national nutrition data suggest that about half of U.S. adults eat less than the estimated amount they need. A blood test can miss a low store of magnesium, because less than 1% of the body's magnesium sits in the blood.
Some medicines can lower magnesium further. These include long-term acid-blocking drugs (PPIs) and water pills (diuretics). If your magnesium is low, a clinician may recommend a supplement. If your levels are already in a healthy range, extra magnesium usually does little.
Research is strongest when magnesium is used to correct a shortage. Studies have also looked at other uses, with mixed strength of evidence:
Blood pressure. Reviews of clinical trials suggest a small drop in blood pressure in people who already have high blood pressure or low magnesium. In people with normal blood pressure, little change has been seen.
Blood sugar. In people with type 2 diabetes or a high risk of it, studies have looked at fasting blood sugar and how well insulin works, with modest findings.
Migraine. A neurology guideline lists magnesium as an option that is probably helpful for preventing migraine.
Constipation. Some forms, especially magnesium oxide, have been studied for chronic constipation.
Sleep, mood, and memory. A few small studies suggest small effects. This evidence is still weak, and some memory studies were funded by companies that sell the product.
Night leg cramps. A Cochrane review found that magnesium is unlikely to help idiopathic night cramps in older adults.
Different forms are absorbed in different ways. Some, such as magnesium glycinate, are often easier on the stomach. Oxide is less well absorbed but has been used in constipation studies. Loose stools, cramping, or nausea can mean a product or amount is too hard on the gut. Magnesium can also bind to certain medicines in the stomach and make them less effective, so spacing matters. Your clinician can help you choose a form and a plan that fits your health, rather than guessing from a label.
Kidney disease: If you have advanced kidney disease or are on dialysis, do not start a magnesium supplement, laxative, or antacid unless your kidney clinician agrees. Damaged kidneys have a harder time clearing extra magnesium.
Myasthenia gravis, bowel blockage, or a very slow heart rate: Extra caution is needed. Laxative forms should be avoided if you have a bowel blockage.
Medicine interactions: Magnesium can interfere with thyroid pills (levothyroxine), some antibiotics (including tetracyclines and fluoroquinolones), some osteoporosis pills, certain HIV medicines, gabapentin, and a few others. Ask your clinician how to space them.
Acid blockers and water pills: These can lower magnesium. Your clinician may want to check a level.
Pregnancy: Food sources and clinician-guided use are common, but you should not start a supplement on your own.
Talk with your clinician before you start magnesium, especially if you have kidney disease or take several medicines.
This article is for general education only and is not medical advice. Talk with your own clinician before starting any supplement or therapy.
Related service: Targeted Nutraceuticals & Adaptogens
Questions about whether this fits your health plan? Book a visit at https://calendly.com/donydoc/30min
Argeros et al., magnesium and blood pressure, Hypertension, 2025
Chang et al., AGA-ACG constipation guideline, Gastroenterology, 2023
Garrison et al., magnesium for muscle cramps, Cochrane Review, 2020