Magnesium
Vitamins and supplementsAlso known as Magnesium oxide, Magnesium citrate, Magnesium glycinate
Tablets, capsules, and films · Liquids and suspensions
Magnesium helps your muscles and nerves work, keeps your heartbeat steady, supports your bones, and helps control blood sugar. It's in leafy greens, nuts, seeds, beans, and whole grains. A real shortage is uncommon, but it's more likely with heavy drinking, digestive conditions that limit absorption, type 2 diabetes, older age, and long-term use of acid reducers such as omeprazole. People also take magnesium for leg cramps, sleep, or headaches; the evidence for those uses is mixed, so ask your doctor first. Some forms, like magnesium citrate, are strong laxatives.
How to take it
Food
Take it with food to cut down on stomach upset and diarrhea.
Spacing
Magnesium blocks doxycycline and ciprofloxacin, and antacids containing magnesium should be kept a couple of hours away from rosuvastatin, azithromycin, and fexofenadine. Ask your pharmacist about your timing.
Ask first if you have
Kidney disease. Your kidneys clear extra magnesium; when they can't, it can build up to dangerous levels.
Laxative effect
Diarrhea is the usual sign you're taking more than your body can handle. Magnesium citrate and oxide have the strongest effect.
Missed a dose?
Just take the next one as usual. Don't double up.
Magnesium side effects
- Diarrhea
- Nausea
- Stomach cramps
Call a doctor if
- Muscle weakness, very slow breathing, extreme drowsiness, or an irregular heartbeat — possible magnesium overload, especially with kidney disease; get help now
- Diarrhea that won't stop, with dizziness or weakness — stop taking it and call your doctor
Supplements and your medicines
Supplements aren't reviewed by the FDA before they're sold, and quality varies between brands — a USP Verified or NSF mark means a product was tested to contain what its label says. Tell your doctor and pharmacist about every supplement you take, just as you would a medicine.
See which vitamins and supplements affect common medicines →
Traveling with Magnesium
- Its generic name, magnesium oxide, is also its international (WHO) name, which WHO describes as globally recognized. Ask for it by that name abroad.
- Brand names change from country to country, and a familiar brand name abroad can contain different ingredients or a different medicine. Ask by the generic name, and read the active ingredients on anything you buy.
Sources
- MedlinePlus (U.S. National Library of Medicine): Minerals
- MedlinePlus Medical Encyclopedia: Magnesium in diet
- World Health Organization: International Nonproprietary Names (INN)
- WHO Collaborating Centre for Drug Statistics Methodology: ATC/DDD Index (used to look up the WHO names)
- CDC Travelers' Health: Traveling Abroad with Medicine
Last updated November 21, 2026. Not yet reviewed by a pharmacist or physician — how our guides are made.