What Magnesium Is
Magnesium is an essential mineral and the fourth most abundant mineral in the human body. About 50-60% of the body's magnesium is stored in bones, while the rest is found in soft tissues, muscles, and bodily fluids. It's a cofactor in over 300 enzymatic reactions in the body, making it crucial for countless biochemical processes. Magnesium is required for energy production, protein synthesis, DNA and RNA synthesis, and proper function of numerous body systems. Your body cannot produce magnesium, so it must be obtained through diet or supplementation.
Functions and Uses in the Body
Magnesium plays an incredibly diverse and vital role in human physiology. It's essential for energy production at the cellular level, as it's required for ATP (adenosine triphosphate) synthesis and utilization. Every cell in your body needs magnesium to produce and use energy effectively.
The mineral is crucial for protein synthesis and cellular repair. It's needed for DNA and RNA synthesis, which means it's essential for cell growth, division, and repair throughout the body. This makes it particularly important for wound healing and tissue maintenance.
Magnesium is vital for proper muscle function, including both contraction and relaxation. It acts as a natural calcium blocker, helping muscles relax after contracting. This is why magnesium deficiency often leads to muscle cramps, spasms, and tension. The mineral is especially important for heart muscle function, helping maintain a regular heartbeat.
In the nervous system, magnesium regulates neurotransmitter function and helps calm nerve activity. It blocks NMDA receptors, which helps prevent excessive nerve stimulation. This makes magnesium important for mood regulation, stress response, and sleep quality. It's often called "nature's relaxant" for this reason.
Magnesium helps regulate blood sugar by influencing insulin secretion and improving insulin sensitivity. It's essential for glucose metabolism and helps cells take up glucose from the bloodstream effectively.
The mineral plays a key role in bone health by regulating calcium metabolism and activating vitamin D. About 60% of the body's magnesium is stored in bones, where it contributes to bone structure and density. It also influences parathyroid hormone secretion, which regulates calcium levels.
Magnesium supports cardiovascular health by helping regulate blood pressure, preventing arterial calcification, and supporting healthy blood vessel function. It helps maintain proper heart rhythm and reduces inflammation in blood vessels.
The mineral is also important for maintaining electrolyte balance, supporting immune function, and helping with detoxification processes in the liver.
Benefits of Adequate Magnesium Intake
Maintaining optimal magnesium levels provides numerous health benefits across multiple body systems. For cardiovascular health, adequate magnesium helps maintain healthy blood pressure levels, reduces the risk of irregular heartbeats (arrhythmias), may lower the risk of stroke and heart disease, and helps prevent arterial calcification and stiffness.
In terms of metabolic health, magnesium improves insulin sensitivity and glucose metabolism, may reduce the risk of type 2 diabetes, supports healthy weight management, and aids in energy production and metabolism.
For bone health, magnesium improves bone mineral density, reduces the risk of osteoporosis, and enhances calcium absorption and utilization. It works synergistically with calcium and vitamin D for optimal bone health.
Magnesium provides significant benefits for mental health and neurological function. It may reduce anxiety and promote calmness, can improve sleep quality and help with insomnia, may help prevent or reduce migraine frequency, supports cognitive function and may protect against cognitive decline, and can help with symptoms of depression.
The mineral provides excellent muscle and physical performance benefits. It reduces muscle cramps, spasms, and tension, supports exercise performance and recovery, may reduce exercise-induced muscle damage, and helps prevent muscle fatigue.
For digestive health, magnesium helps relieve constipation by drawing water into the intestines and has a natural relaxing effect on the digestive tract.
Additional benefits include reducing PMS symptoms, supporting healthy pregnancy outcomes, potentially reducing inflammation throughout the body, and helping manage chronic pain conditions.
Potential Negatives and Risks
The primary risk with magnesium supplementation is digestive upset. Magnesium has a laxative effect, and taking too much can cause diarrhea, nausea, abdominal cramping, and bloating. Different forms of magnesium have varying degrees of this effect, with magnesium oxide being the most likely to cause digestive issues.
Excessive magnesium intake, particularly from supplements, can lead to hypermagnesemia (high blood magnesium levels), though this is rare in people with healthy kidney function. Symptoms include nausea and vomiting, weakness and lethargy, low blood pressure, irregular heartbeat, difficulty breathing, and in severe cases, cardiac arrest.
Very high doses of magnesium can interfere with the absorption of other minerals, particularly calcium, zinc, and iron, though this is primarily a concern with extremely high supplemental doses.
Some people experience drowsiness or sedation from magnesium supplements, which is generally a desired effect when taken before bed but may be unwanted at other times.
In people with kidney disease, magnesium can accumulate to dangerous levels because the kidneys cannot efficiently eliminate excess amounts. This is one of the most serious risks of magnesium supplementation.
Magnesium supplements can interact with various medications, affecting their absorption or effectiveness. This requires careful management when taking certain prescription drugs.
Recommended Intake and Serving Sizes
Daily Recommended Amounts (RDA):
Adult men aged 19-30: 400 mg per day
Adult men aged 31+: 420 mg per day
Adult women aged 19-30: 310 mg per day
Adult women aged 31+: 320 mg per day
Pregnant women: 350-360 mg per day
Breastfeeding women: 310-320 mg per day
Adolescents aged 14-18: 360-410 mg per day (males higher than females)
Children aged 9-13: 240 mg per day
Children aged 4-8: 130 mg per day
Children aged 1-3: 80 mg per day
Upper Tolerable Limit for Supplemental Magnesium:
Adults and children over 9 years: 350 mg per day from supplements only
This limit does NOT include magnesium from food sources
Note: The tolerable upper limit applies only to supplemental magnesium, not dietary magnesium. You cannot get too much magnesium from food sources alone under normal circumstances.
Studies suggest that many people, particularly in Western countries, do not meet the RDA for magnesium through diet alone. Some experts believe that optimal intake may be higher than current RDAs for certain therapeutic purposes.
What to Take With Magnesium
Vitamin D works synergistically with magnesium. Magnesium is required to activate vitamin D, and vitamin D helps with magnesium absorption. Taking them together supports bone health, immune function, and overall wellness.
Vitamin B6 (Pyridoxine) enhances magnesium absorption and helps transport magnesium into cells. Some magnesium supplements include B6 for this reason. This combination may be particularly beneficial for PMS symptoms and mood support.
Calcium should be balanced with magnesium, though they don't necessarily need to be taken at exactly the same time. A common ratio is 2:1 calcium to magnesium, though some experts recommend 1:1. Taking them together is fine, though very high doses of one can interfere with absorption of the other.
Vitamin K2 works with magnesium to support proper calcium metabolism and bone health, helping direct calcium to bones rather than soft tissues.
Taurine (an amino acid) may enhance magnesium's cardiovascular and calming benefits and can support magnesium retention in cells.
Zinc can be taken with magnesium, though very high doses of one may interfere with the other. Moderate doses together are generally fine.
Potassium works with magnesium to support heart health, muscle function, and electrolyte balance. These minerals often work together in cellular processes.
What NOT to Take With Magnesium
Bisphosphonates (osteoporosis medications like alendronate, risedronate) should not be taken with magnesium. These medications must be taken on an empty stomach with water only, and you should wait at least 2 hours before taking magnesium.
Antibiotics including tetracyclines (doxycycline, minocycline) and fluoroquinolones (ciprofloxacin, levofloxacin) can bind to magnesium, reducing effectiveness of both. Separate by at least 2-3 hours, with the antibiotic taken first.
Thyroid medication (levothyroxine) absorption can be significantly reduced by magnesium. Take thyroid medication on an empty stomach and wait at least 4 hours before taking magnesium.
Diuretics (water pills) can either deplete magnesium (loop and thiazide diuretics) or cause magnesium to accumulate (potassium-sparing diuretics). If you're on diuretics, magnesium levels should be monitored by your doctor.
Proton pump inhibitors (PPIs) and H2 blockers (acid-reducing medications like omeprazole, esomeprazole) can reduce magnesium absorption over time. Long-term use may require magnesium monitoring or supplementation.
High-dose zinc supplements (over 50 mg) can interfere with magnesium absorption. If taking high-dose zinc, separate from magnesium by a few hours.
High doses of calcium (over 500 mg at a time) may compete with magnesium for absorption. While they work together, extremely high doses of one can reduce absorption of the other.
Muscle relaxants and certain blood pressure medications can have their effects enhanced by magnesium, potentially causing excessive drowsiness or low blood pressure. Medical supervision is important.
Alcohol impairs magnesium absorption and increases urinary excretion of magnesium. Heavy alcohol use is a risk factor for magnesium deficiency.
Who Should Take Magnesium Supplements
Many people can benefit from magnesium supplementation, as dietary intake is often insufficient. Those who should particularly consider supplementation include:
People with inadequate dietary intake, including those who don't eat enough magnesium-rich foods, individuals on restricted or processed food diets, and those with poor overall nutrition.
Individuals with digestive disorders that impair absorption, such as Crohn's disease, celiac disease, ulcerative colitis, chronic diarrhea, and those who have had gastric bypass surgery.
People with type 2 diabetes or insulin resistance, as magnesium deficiency is common in diabetics and supplementation may improve glucose control and insulin sensitivity.
Those with cardiovascular concerns, including high blood pressure, irregular heartbeats, or those at risk for heart disease.
Individuals experiencing muscle cramps, spasms, or tension, including athletes who lose magnesium through sweat, people with frequent leg cramps (especially at night), and those with fibromyalgia or chronic pain.
People with migraines or frequent headaches, as magnesium deficiency is linked to migraine frequency and supplementation may help prevent attacks.
Those with anxiety, stress, or mood disorders, as magnesium supports nervous system function and has calming effects.
People with sleep problems or insomnia, particularly those who have trouble falling asleep or staying asleep.
Individuals taking medications that deplete magnesium, including PPIs, diuretics, and certain antibiotics.
Older adults, who are at higher risk for deficiency due to reduced absorption, increased excretion, and medication use.
Pregnant and breastfeeding women, who have increased magnesium needs.
People with osteoporosis or low bone density, as magnesium is essential for bone health.
Heavy alcohol users, as alcohol impairs magnesium absorption and increases excretion.
Those with chronic stress, as stress increases magnesium excretion.
Who Should Avoid or Be Cautious With Magnesium Supplements
People with kidney disease or impaired kidney function should be very cautious with magnesium supplements, as their kidneys cannot effectively eliminate excess magnesium. This can lead to dangerous hypermagnesemia. Always consult a nephrologist before supplementing.
Individuals with myasthenia gravis (an autoimmune neuromuscular disorder) should avoid magnesium supplements, as magnesium can worsen muscle weakness.
Those with heart block or slow heart rate (bradycardia) should use magnesium cautiously, as it can further slow heart rate.
People with severe adrenal insufficiency or Addison's disease should be monitored carefully if taking magnesium.
Anyone with bowel obstruction or severe digestive issues should avoid magnesium, particularly forms with strong laxative effects.
Individuals taking certain medications need to consult their healthcare provider, including those on antibiotics, bisphosphonates, muscle relaxants, blood pressure medications, or other medications that interact with magnesium.
People prone to diarrhea or with irritable bowel syndrome (IBS-D) may find magnesium worsens symptoms and should choose forms less likely to cause digestive upset (like magnesium glycinate).
Deficiency Symptoms
Magnesium deficiency (hypomagnesemia) is relatively common, and symptoms can range from subtle to severe. Many symptoms are nonspecific, making deficiency easy to miss.
Early/Mild Symptoms:
Muscle twitches, tremors, or cramps (especially in legs at night)
Fatigue and weakness
Loss of appetite
Nausea
Numbness or tingling in extremities
Personality changes or irritability
Poor concentration or brain fog
Moderate Symptoms:
Frequent muscle spasms or charley horses
Insomnia or difficulty sleeping
Anxiety or nervousness
Depression or mood changes
Constipation
Headaches or migraines
Eye twitches (eyelid spasms)
Restless leg syndrome
Rapid or irregular heartbeat
High blood pressure
Increased PMS symptoms
Severe Deficiency Symptoms:
Severe muscle spasms or tetany
Seizures
Abnormal heart rhythms (potentially life-threatening arrhythmias)
Coronary spasms
Severe personality changes
Confusion or delirium
Hypocalcemia (low calcium levels)
Hypokalemia (low potassium levels)
Long-term Consequences of Deficiency:
Increased risk of osteoporosis
Increased risk of type 2 diabetes
Increased risk of cardiovascular disease
Increased risk of migraines
Potential contribution to chronic inflammation
Increased risk of metabolic syndrome
Populations at Risk:
Older adults
People with type 2 diabetes
Those with gastrointestinal diseases
People with alcohol use disorder
Individuals on certain medications (PPIs, diuretics)
Those with chronic stress
Athletes with high training volumes
Toxicity Symptoms
Magnesium toxicity (hypermagnesemia) is rare in healthy individuals with normal kidney function, as the kidneys efficiently excrete excess magnesium. However, it can occur with excessive supplementation, particularly in people with impaired kidney function.
Mild to Moderate Toxicity:
Diarrhea (often the first sign)
Nausea and vomiting
Abdominal cramping
Facial flushing or warmth
Low blood pressure
Lethargy or drowsiness
Weakness
Dizziness
Severe Toxicity (Blood levels >7 mg/dL):
Severe hypotension (low blood pressure)
Extreme muscle weakness
Difficulty breathing or respiratory depression
Irregular heartbeat or bradycardia (slow heart rate)
Cardiac arrest (at very high levels, >12-15 mg/dL)
Confusion or altered mental state
Loss of reflexes
Coma (in extreme cases)
Risk Factors for Toxicity:
Kidney disease or impaired kidney function
Taking extremely high doses of magnesium supplements
Excessive use of magnesium-containing antacids or laxatives
Intravenous magnesium administration (medical setting)
Combining multiple sources of supplemental magnesium
Important Note: It's nearly impossible to develop magnesium toxicity from dietary sources alone. Toxicity almost always involves supplemental magnesium, particularly in people with compromised kidney function.
Timing: When to Take Magnesium
The optimal timing for magnesium supplementation depends on your goals and the form you're taking:
Evening/Before Bed (Most Popular): This is the most common recommendation for several reasons. Magnesium has natural relaxing and calming properties that can improve sleep quality, help you fall asleep faster, and reduce nighttime muscle cramps. Taking magnesium 30 minutes to 2 hours before bed is ideal for sleep support. The relaxing effect can also help with restless leg syndrome.
Morning: Some people prefer taking magnesium in the morning, particularly if they don't experience drowsiness from it. Morning dosing can help with energy production throughout the day (despite the relaxing effect, magnesium is essential for cellular energy). This timing can also help establish a consistent routine. If taking multiple supplements, morning may be more convenient.
With Exercise: Athletes may benefit from taking magnesium before or after exercise to support muscle function, reduce cramping, prevent deficiency from sweat loss, and support recovery. Some take it 30-60 minutes before workouts for cramp prevention.
Split Dosing: If taking higher doses (300+ mg), splitting into two or three doses throughout the day can improve absorption and reduce digestive side effects. For example, take 150-200 mg in the morning and 150-200 mg before bed.
With or Between Meals: Some forms of magnesium (like magnesium glycinate or citrate) can be taken with or without food. Taking with food may reduce digestive upset, while taking between meals may slightly improve absorption. Magnesium oxide is often better tolerated with food.
Consistency is Key: Whatever time you choose, taking magnesium at the same time daily helps maintain stable levels and makes it easier to remember.
Food vs. Empty Stomach
The answer depends on the form of magnesium and your digestive sensitivity:
Forms That Can Be Taken Either Way:
Magnesium glycinate: Well-absorbed with or without food; gentle on the stomach
Magnesium citrate: Absorbs well either way, though food may reduce laxative effect
Magnesium malate: Generally well-tolerated either way
Magnesium taurate: Can be taken with or without food
Forms Better Taken With Food:
Magnesium oxide: Can cause digestive upset; food helps buffer this
Magnesium chloride: May be easier on the stomach with food
High doses of any form: Food helps reduce potential digestive side effects
Benefits of Taking With Food:
Reduced risk of nausea or stomach upset
Slower release may reduce laxative effect
May improve tolerance for sensitive individuals
Easier to remember when tied to meals
Benefits of Taking Without Food:
Slightly better absorption for some forms
Faster action for immediate needs (like sleep or cramping)
Avoids potential interactions with certain foods
More flexible timing
Foods That May Reduce Absorption:
Very high-fiber foods may slightly reduce absorption
Phytates (in grains and legumes) can bind minerals
However, these effects are generally minor and shouldn't prevent you from taking magnesium with meals if preferred
Practical Recommendation: For most people, taking magnesium with a meal or light snack is fine and may actually be preferable for comfort and consistency. If you experience no digestive issues, either way works well.
Types of Magnesium Supplements
Different forms of magnesium have varying absorption rates, bioavailability, and specific benefits. Understanding these differences helps you choose the right form for your needs:
Magnesium Glycinate (Magnesium Bisglycinate):
Absorption: Excellent (chelated form)
Bioavailability: Very high
Best For: General supplementation, sleep support, anxiety, muscle relaxation
Digestive Effects: Very gentle; least likely to cause diarrhea
Notes: One of the best all-around forms; well-tolerated; the glycine component has its own calming benefits
Typical Dose: 200-400 mg
Magnesium Citrate:
Absorption: Good to excellent
Bioavailability: High
Best For: Constipation relief, general supplementation
Digestive Effects: Moderate laxative effect
Notes: Good balance of absorption and cost; commonly used for bowel preparation
Typical Dose: 200-400 mg (lower for constipation relief)
Magnesium L-Threonate:
Absorption: Good, with special ability to cross blood-brain barrier
Bioavailability: Moderate overall, excellent for brain
Best For: Cognitive function, memory, brain health
Digestive Effects: Generally gentle
Notes: More expensive; specifically researched for brain health and cognitive function
Typical Dose: 1,500-2,000 mg (providing about 144 mg elemental magnesium)
Magnesium Malate:
Absorption: Good
Bioavailability: High
Best For: Energy production, fibromyalgia, chronic fatigue
Digestive Effects: Generally gentle
Notes: Malic acid supports ATP production; may be energizing for some (better for morning use)
Typical Dose: 300-600 mg
Magnesium Taurate:
Absorption: Good
Bioavailability: High
Best For: Cardiovascular health, blood pressure support, heart rhythm
Digestive Effects: Generally gentle
Notes: Taurine provides additional cardiovascular benefits; good for heart health
Typical Dose: 250-500 mg
Magnesium Oxide:
Absorption: Poor (only 4% absorbed)
Bioavailability: Low
Best For: Constipation relief, heartburn/indigestion
Digestive Effects: Strong laxative effect
Notes: Least expensive; not ideal for increasing magnesium levels; commonly used as an antacid
Typical Dose: 400-800 mg (but remember, only 4% is absorbed)
Magnesium Chloride:
Absorption: Good
Bioavailability: Moderate to high
Best For: General supplementation, topical use
Digestive Effects: Moderate laxative effect
Notes: Often used in topical magnesium oil; can be taken orally
Typical Dose: 200-400 mg
Magnesium Sulfate (Epsom Salt):
Absorption: Poor orally, good transdermally (debated)
Bioavailability: Low for oral use
Best For: Topical use (baths), strong laxative effect orally
Digestive Effects: Very strong laxative
Notes: Primarily used in baths for muscle relaxation; not recommended for regular oral supplementation
Typical Use: 1-2 cups in bath water
Magnesium Orotate:
Absorption: Good
Bioavailability: Good
Best For: Athletic performance, heart health
Digestive Effects: Generally gentle
Notes: Orotic acid may support DNA/RNA synthesis; less common form
Typical Dose: 250-500 mg
Magnesium Aspartate:
Absorption: Good
Bioavailability: High
Best For: General supplementation, chronic fatigue
Digestive Effects: Generally gentle
Notes: Well-absorbed but less commonly used
Typical Dose: 400-800 mg
Topical Magnesium (Magnesium Oil, Creams, Lotions):
Applied directly to skin
May help with localized muscle soreness
Absorption through skin is debated but many users report benefits
Good option for those with digestive sensitivity
May cause tingling sensation initially
Food Sources of Magnesium
Getting magnesium from food sources is ideal, as it's impossible to get too much from diet alone and food provides other beneficial nutrients:
Excellent Sources (>100 mg per serving):
Pumpkin seeds (1 oz/28g): 150 mg
Chia seeds (1 oz): 95 mg
Almonds (1 oz): 80 mg
Spinach, cooked (½ cup): 78 mg
Cashews (1 oz): 74 mg
Black beans, cooked (½ cup): 60 mg
Edamame, cooked (½ cup): 50 mg
Dark chocolate (1 oz, 70-85% cacao): 64 mg
Avocado (1 medium): 58 mg
Good Sources (50-100 mg per serving):
Peanuts (¼ cup): 63 mg
Brown rice, cooked (½ cup): 42 mg
Salmon, cooked (3 oz): 26 mg
Halibut, cooked (3 oz): 24 mg
Banana (1 medium): 32 mg
Yogurt, plain (1 cup): 30 mg
Broccoli, cooked (½ cup): 12 mg
Swiss chard, cooked (½ cup): 75 mg
Lima beans (½ cup): 40 mg
Moderate Sources (25-50 mg per serving):
Potato with skin (1 medium): 48 mg
Quinoa, cooked (½ cup): 60 mg
Oatmeal, cooked (1 cup): 36 mg
Kidney beans (½ cup): 35 mg
Tofu (3.5 oz): 30 mg
Whole wheat bread (1 slice): 23 mg
Beverages:
Soy milk (1 cup): 61 mg
Tap water (varies by location): 1-30 mg per liter
Coffee (8 oz): 7 mg
Tea (8 oz): 5-10 mg
Tips for Maximizing Dietary Magnesium:
Include nuts and seeds daily (great snacks or toppings)
Eat leafy green vegetables regularly
Choose whole grains over refined grains
Include legumes (beans, lentils) several times per week
Snack on dark chocolate (in moderation)
Consider the magnesium content of your water supply (hard water contains more)
Important Considerations
Magnesium Status Testing: Standard blood tests (serum magnesium) may not accurately reflect magnesium status, as only 1% of magnesium is in blood. Better tests include RBC (red blood cell) magnesium test or magnesium loading test, though these are not commonly ordered. Many practitioners treat based on symptoms and dietary assessment.
Stress and Magnesium: Chronic stress increases magnesium excretion through urine, creating a vicious cycle where stress depletes magnesium, and low magnesium makes you more susceptible to stress. Managing stress while ensuring adequate magnesium intake is important.
Exercise and Magnesium: Athletes may need more magnesium due to increased losses through sweat and increased metabolic demands. Magnesium deficiency can impair athletic performance.
Medication Interactions: Many medications can affect magnesium levels or interact with magnesium supplements. Always inform your healthcare provider about magnesium supplementation.
Calcium-Magnesium Balance: While both are important, excessive calcium supplementation without adequate magnesium can be problematic. Some experts suggest that magnesium deficiency may be more common than calcium deficiency in modern diets.
Kidney Function: If you have any kidney issues, consult your healthcare provider before supplementing with magnesium. Impaired kidney function is the primary risk factor for magnesium toxicity.
Digestive Tolerance: If you experience diarrhea from magnesium, try reducing the dose, splitting the dose throughout the day, switching to a gentler form (glycinate), or taking with food.
Pregnancy and Breastfeeding: Magnesium needs increase during pregnancy and lactation. Magnesium supplementation is generally considered safe during pregnancy but should be discussed with your healthcare provider. Adequate magnesium may help reduce the risk of preeclampsia and leg cramps during pregnancy.
Children: Children can benefit from magnesium supplementation in some cases (ADHD, constipation, growing pains), but doses should be age-appropriate and supervised by a pediatrician.
Quality Matters: Choose reputable brands that test for purity and potency. Third-party testing (USP, NSF, ConsumerLab) provides additional assurance of quality.
Bottom Line
Magnesium is one of the most important minerals for human health, involved in hundreds of biochemical reactions throughout the body. Many people have inadequate intake from diet alone, making supplementation beneficial for numerous individuals. The key is choosing the right form for your specific needs, timing it appropriately, and ensuring you don't have contraindications like kidney disease.
For general health, magnesium glycinate taken in the evening is often the best choice due to its excellent absorption, gentle digestive profile, and sleep-supporting properties. However, other forms may be more appropriate depending on specific health goals.
Focus first on getting magnesium from whole food sources including nuts, seeds, leafy greens, and whole grains. If supplementing, start with lower doses and increase gradually to assess tolerance. Work with a healthcare provider if you have any health conditions or take medications.
