Key cautions
- Kidney impairment increases toxicity risk. Count magnesium in laxatives, antacids and combination powders.
- The adult 350 mg/day upper limit covers supplements and medicines, not natural food magnesium. Medicine timing is label-specific.
What’s inside
Foods and supplements supply magnesium in compounds that release magnesium ions, the charged particles the body uses. Magnesium works with adenosine triphosphate (ATP), a molecule that carries energy within cells. It also sits at the center of chlorophyll, the green pigment plants use to capture light. Oral products differ in how readily they dissolve and how much magnesium they contain.
NIH ODS: Magnesium, health professional fact sheet
Nutrient identity and food sources
Magnesium helps enzymes carry out many reactions, including using ATP for energy and making proteins. It also supports nerves and muscles. Seeds, nuts, beans, whole grains and leafy greens supply magnesium alongside fiber and other nutrients; the amount absorbed is only one part of their nutritional value.
NIH ODS: Magnesium, health professional fact sheet · NIH ODS: Magnesium, consumer fact sheet
Forms and elemental label amounts
Supplements contain magnesium oxide, citrate, chloride, lactate, aspartate, glycinate and other compounds. “Elemental magnesium” means the magnesium itself, rather than the weight of the whole compound. Supplement Facts lists this amount per serving; check how many capsules make up a serving. Magnesium-containing antacids and laxatives also contribute to the total amount taken.
NIH ODS: Magnesium, health professional fact sheet · FDA: Daily Values on Nutrition and Supplement Facts labels
U.S. adult RDAs and the supplement-only upper limit
U.S. recommended dietary allowances (RDAs) count magnesium from all sources. At ages 19–30, the daily RDA is 400 mg for men and 310 mg for women; at 31 and older it is 420 and 320 mg, respectively. During pregnancy it is 350 mg at ages 19–30 and 360 mg at 31–50; during breastfeeding the corresponding amounts are 310 and 320 mg. The adult tolerable upper intake level (UL) is 350 mg daily from supplements and medicines only, including during pregnancy and breastfeeding. It excludes magnesium naturally present in food and drinks. This difference in what is counted explains why the RDA can exceed the UL. Neither figure is a personal supplement prescription.
National Academies: Dietary Reference Intakes, magnesium chapter, 1997 · NIH ODS: Magnesium, consumer fact sheet
Useful food portions
U.S. Department of Agriculture (USDA) reference portions provide about 156 mg magnesium in 1 oz roasted pumpkin-seed kernels (28.35 g), 79 mg in 1 oz dry-roasted unsalted almonds (28.35 g; about 22 kernels), 60 mg in 1/2 cup cooked black beans (86 g), and 78 mg in 1/2 cup cooked spinach (90 g). These supply about 37%, 19%, 14% and 19%, respectively, of the 420 mg Daily Value used on food labels. Daily Value helps compare products; it is not everyone’s individual requirement. The figures describe the specified foods and portions, not the amounts absorbed.
USDA FoodData Central SR Legacy records 170557, 170158, 173735, 168463; downloadable data · FDA: Daily Values on Nutrition and Supplement Facts labels · USDA SR28, 2015: Magnesium content by food and portion
Food choices
Water can contribute magnesium too, with the amount varying by source. Nuts, beans, grains and greens remain useful foods even when they contain compounds that reduce the proportion of magnesium absorbed.
Uses in brief
- Meet nutritional needs; correct confirmed deficiency when clinically indicated.
- Some salts have laxative or antacid uses. Migraine use needs clinical guidance; sleep evidence is uncertain.
Headache: evidence and form
Reviewed 2026-10-11. These notes support reference discovery, not diagnosis or an individualized treatment recommendation.
Context: Migraine prevention; not established relief of a headache already underway.
Evidence: Limited evidence; weak guideline support.
Why it appears: Oral magnesium may help prevent migraine. The VA/DoD guideline gives a weak recommendation in favor; this does not establish acute headache relief.
Exact form: Oral supplements studied for prevention. This evidence does not apply to baths or topical magnesium and is not a claim that ordinary food provides equivalent effects.
Caution: Migraine supplement use needs clinical guidance. Diarrhea and medicine interactions are possible; impaired kidney function increases toxicity risk.
Sources: VA/DoD Headache Guideline (2023), recommendation 8 · NCCIH: Headaches and complementary approaches
History, folklore and reported uses
Deficiency and severe excess
Deficiency caused by low intake alone rarely produces symptoms in otherwise healthy people because the kidneys conserve magnesium. Illness, excessive losses and some medicines can change that. Poor appetite, nausea and weakness can occur early; severe deficiency can cause abnormal heart rhythms, seizures or low blood calcium or potassium. These symptoms have other possible causes and need assessment. Very high magnesium exposure can also harm the heart, especially when the kidneys cannot remove the excess.
What human form-comparison studies establish
In a manufacturer-funded 2017 study, 20 healthy men tried magnesium citrate and oxide in separate periods. After citrate, researchers found more magnesium in urine and higher levels in the liquid part of blood at some measurement times; levels measured inside blood cells did not differ. This supports a difference in absorption under those conditions. The study did not establish better sleep, cramp relief or long-term health benefits. It also does not establish one best form for everyone, especially when kidney disease makes magnesium accumulation a concern.
Kappeler et al.: magnesium citrate versus oxide, randomized crossover study in 20 men, 2017
Phytate, oxalate and preparation context
Phytate and oxalate are plant compounds that can affect mineral absorption. In two small human studies using tracers to follow magnesium, adding phytate to otherwise matched white-bread meals reduced the proportion absorbed. That finding does not make magnesium-rich whole grains and beans foods to avoid. In a separate laboratory study, soaking several kinds of nuts often reduced their mineral concentrations without improving the balance of phytate to minerals. The study did not measure absorption in people. It offers no support for a general claim that nuts must be soaked, sometimes called “activated,” to improve mineral uptake.
Bohn et al.: added phytate and magnesium absorption from bread, human isotope studies, 2004 · Kumari et al.: Does activating nuts affect nutrient bioavailability?, food-analysis study, 2020 · National Academies: Dietary Reference Intakes, magnesium chapter, 1997
Gut effects, kidneys and limits of self-assessment
Magnesium left unabsorbed in the gut draws water into the bowel, explaining diarrhea and some laxative uses. Impaired kidneys remove less magnesium, allowing it to build up dangerously. The supplemental upper limit was based on digestive side effects in generally healthy people; it does not guarantee safety with kidney disease. A blood test is useful but does not show all the magnesium stored in the body. Clinicians interpret it alongside symptoms and medical history before deciding whether replacement is needed.
NIH ODS: Magnesium, health professional fact sheet · National Academies: Dietary Reference Intakes, magnesium chapter, 1997
Medicine interactions and timing
Magnesium can reduce absorption of some antibiotics, including quinolones and tetracyclines, and oral bisphosphonates, medicines used for osteoporosis. CIPRO, the antibiotic ciprofloxacin, should be taken at least two hours before or six hours after the mineral products listed on its label. SYNTHROID, a brand of the thyroid medicine levothyroxine, also requires separation from products that interfere with absorption, including magnesium-containing antacids. Timing depends on the exact medicine. Diuretics, often called water pills, and prolonged use of acid-suppressing proton-pump inhibitors can affect magnesium levels; a clinician decides whether testing or a treatment change is needed.
DailyMed: CIPRO prescribing information, administration with minerals and dairy, sections 2.4 and 7 · DailyMed: SYNTHROID prescribing information, sections 2.1, 7.1 and patient counseling · NIH ODS: Magnesium, consumer fact sheet
Related minerals and combination limits
Calcium and magnesium both support bones and muscles, but their requirements and absorption differ. Potassium is another electrolyte, a mineral that carries an electrical charge in body fluids, with its own functions and kidney-related cautions. Combining these minerals in one product does not show that all three are needed, and one cannot safely replace another.
NCCIH: Magnesium supplements for sleep disorders · NIH ODS: Calcium, health-professional fact sheet · NIH ODS: Potassium, health-professional fact sheet
The bitter waters of Epsom
In his nineteenth-century history of Surrey, England, Edward Wedlake Brayley repeated a local story: in 1618, farmer Henry Wicker noticed that his cattle refused a pool’s water. Brayley cautioned that the spring’s actual discovery date was uncertain. Visitors came seeking bowel-clearing and restorative effects. Lodging houses, music and public breakfasts made Epsom a social destination as well as a spa. Brayley also reported earlier use of the water on sores and skin eruptions.
Edward Wedlake Brayley: A Topographical History of Surrey, Epsom Wells extract
Epsom salt and chemical discovery
The spring’s bowel-clearing salt was identified as magnesium sulfate, now familiar as Epsom salt. In Edinburgh in 1755, Joseph Black distinguished magnesia, magnesium oxide, from lime, calcium oxide. Humphry Davy isolated a small amount of magnesium metal in 1808. Later, Potter’s pharmacy manual listed magnesium sulfate among saline purgatives, salts used to empty the bowel. This history concerns particular magnesium compounds, not every modern supplement.
Royal Society of Chemistry: Magnesium, history and medicinal salts · Potter: A Compend of Materia Medica, cathartics, historical transcription
Milk of magnesia
Magnesium hydroxide is the compound in milk of magnesia. It is used to neutralize stomach acid and as a laxative, two medicine uses distinct from replacing a nutritional shortfall.
National Research Council, 2000: Magnesium Hydroxide, antacid and milk-of-magnesia uses · NIH ODS: Magnesium, health professional fact sheet
Baths, sore muscles and tired feet
Dr Teal’s markets its magnesium-sulfate bath product for sore muscles, tired feet and relaxation. These claims show how Epsom-salt bathing continues as a contemporary home remedy.
Dr Teal’s: Therapeutic Fragrance Free Pure Epsom Salt Soak (manufacturer claims)
Sleep drinks in wellness culture
The National Center for Complementary and Integrative Health (NCCIH) describes the online “sleepy girl mocktail” trend, in which magnesium is added to a drink to promote sleep. Studies of magnesium for insomnia remain too limited and inconsistent to establish reliable benefits. Adding tart cherry, herbs or other ingredients does not establish that the mixture works.
Migraine prevention
Oral magnesium has been studied for reducing how often migraines occur. NCCIH describes limited evidence: some small studies are encouraging, but stronger research is needed.
Health topics: evidence and cautions
These notes describe a specific research context and preparation. A topic link is not a treatment recommendation.
Cardiovascular health · Support during care
Form and route: Oral mineral supplements · oral
Magnesium supplements may have a small blood-pressure effect.
Evidence: limited_risk_factor_evidence
ODS describes small reductions in trials; cardiovascular-event prevention remains unproven.
Limits
Correcting deficiency is separate from routine heart-disease prevention.
Cautions
- Excess can cause diarrhea; impaired kidney function increases toxicity risk.
Diabetes and prediabetes · No benefit or possible harm
Form and route: Oral mineral supplement · oral
Routine magnesium pills are not established glucose treatment.
Evidence: insufficient_clinical_evidence
ODS separates favorable dietary associations from inconsistent supplement trials.
Limits
Treating a confirmed deficiency is a different goal.
Cautions
- Kidney impairment raises toxicity risk; excess causes diarrhea.
Colon and bowel health · Symptom support
Form and route: Oral magnesium oxide · oral
May help chronic constipation under suitable guidance.
Evidence: Guideline; very-low-certainty evidence
AGA–ACG gives a conditional suggestion, based on very-low-certainty evidence.
Limits
Evidence for oxide does not transfer to every magnesium salt; not cancer prevention.
Cautions
- Avoid in kidney impairment unless your clinician directs it; diarrhea can occur.
Identity & detailed reference
Identity
Magnesium is an essential mineral used in enzyme reactions, energy metabolism, protein production and normal muscle and nerve function. Its nutritional role does not prove that every cramp, poor night’s sleep or fatigue is a deficiency.
Ingredient details, preparation and research
Source plant or material
No single plant source. Pumpkin seeds, almonds, beans, whole grains and leafy greens supply magnesium, as do some animal foods and waters; supplement compounds have product-specific origins.
Plant family / material: Not applicable to the nutrient: magnesium is a mineral element. Its food sources include many unrelated plants.
Forms and route
Oral magnesium citrate, oxide, chloride, lactate, aspartate, glycinate and other compounds; some salts also occur in laxatives and antacids. Supplement Facts states elemental magnesium per serving, not the weight of citrate, glycinate or another whole compound.
Food sources
Pumpkin-seed kernels, almonds, cooked beans, whole grains and leafy greens. A food can remain a useful magnesium source despite containing phytate or oxalate. Water contributes variable amounts depending on the source.
Combination context
Beans, whole grains and seeds can share a meal and contribute magnesium without a special supplement blend. Soaking nuts is not a proven mineral-absorption upgrade. Mixing magnesium with tart cherry, herbs or other sleep ingredients does not establish better absorption or reliable treatment of insomnia.
Nutritional role and uses
Nutritional use: meeting intake needs and treating a clinically assessed deficiency when indicated. Certain magnesium medicines relieve constipation or acid indigestion. Clinician-directed migraine prevention is a separate use. Sleep and relaxation claims are popular, but benefits remain uncertain and are not guaranteed by choosing a particular salt.
Contraindications and cautions
- Supplements and magnesium medicines can cause diarrhea, nausea and cramps. Impaired kidney function raises the risk of dangerous magnesium accumulation.
- The U.S. adult 350 mg/day UL applies to magnesium from supplements and medicines, not naturally occurring magnesium in food and beverages. The RDA counts all sources, so it can be higher than this supplemental limit.
- Check antibiotic, oral bisphosphonate and thyroid-medicine instructions. Acid-suppressing drugs and diuretics can affect magnesium status; do not stop a prescription or automatically add magnesium.
- Count antacids, laxatives, multivitamins, electrolyte powders and sleep blends together. Persistent symptoms need assessment rather than escalating the dose.
Similar items and how they compare
- Calcium
Both are involved in bone structure, nerve signaling and muscle activity, making combined mineral formulas a common presentation.
Calcium contributes more skeletal mineral mass; magnesium is especially important as an enzyme cofactor.
- Potassium citrate
Both supply minerals involved in normal nerve and muscle function, but their ions serve distinct physiological and formulation roles.
Potassium is a major intracellular electrolyte; magnesium is an enzyme cofactor, and citrate adds separate effects.
Evidence limits
- General U.S. adult reference information, not personal dosing, deficiency diagnosis or a treatment plan; pediatric values are outside this review.
- FoodData Central examples are food-specific reference measurements. Brands, fortification, coagulants, cooking and portions vary; content is not the amount absorbed.
- Short-term absorption studies and food-composition studies are distinguished from clinical treatment outcomes. No miracle blend, mandatory ratio or universal drug-spacing rule is inferred.
Entry sources
- NIH ODS: Magnesium, health-professional fact sheet
- NIH ODS: Magnesium, consumer fact sheet
- National Academies: Dietary Reference Intakes, magnesium chapter, 1997
- NCCIH: Magnesium supplements for sleep disorders
- DailyMed: CIPRO prescribing information, administration with minerals and dairy, sections 2.4 and 7
- DailyMed: SYNTHROID prescribing information, sections 2.1, 7.1 and patient counseling
- Kappeler et al.: magnesium citrate versus oxide, randomized crossover study in 20 men, 2017
- Bohn et al.: added phytate and magnesium absorption from bread, human isotope studies, 2004
- Kumari et al.: Does activating nuts affect nutrient bioavailability?, food-analysis study, 2020
- NIH ODS: Calcium, health-professional fact sheet
- NIH ODS: Potassium, health-professional fact sheet
- USDA FoodData Central SR Legacy records 170557, 170158, 173735, 168463; downloadable data
- FDA: Daily Values on Nutrition and Supplement Facts labels
Reference entry 57 · Recorded content review: 2026-10-05 · Review scope and dates


