Magnesium Deficiency (Hypomagnesemia)
is a common health condition.
Below you'll find the top 5 causes,
medical treatments,
home remedies,
foods that help and foods to avoid, and
supplements for Magnesium Deficiency (Hypomagnesemia).
Always consult a healthcare professional before starting any treatment.
⚠ When to See a Doctor
Seek medical attention if you experience any of the following
Severe magnesium depletion destabilizes nerve cell membranes and can trigger generalized seizures. This is a medical emergency requiring immediate IV magnesium and emergency department evaluation.
Low magnesium prolongs the QT interval and can cause dangerous arrhythmias including torsades de pointes, atrial fibrillation, and ventricular tachycardia. Palpitations, fainting, or chest pain with known low magnesium need urgent cardiac assessment.
Carpopedal spasm, laryngospasm, or spontaneous twitching of the face indicates neuromuscular irritability from profound deficiency, often with coexisting low calcium. Laryngospasm can obstruct the airway and requires emergency care.
Magnesium depletion affects NMDA receptor regulation in the brain and can produce delirium, agitation, or psychosis. New-onset confusion warrants prompt evaluation to rule out severe electrolyte disturbance.
Ongoing GI losses rapidly deplete magnesium along with potassium and sodium, and oral replacement will not keep pace. Dehydration plus electrolyte loss can precipitate arrhythmias and needs IV correction.
Top 5 Common Causes of Magnesium Deficiency (Hypomagnesemia)
Understanding what triggers this condition
Diets built around refined grains, processed foods, and few vegetables supply far less magnesium than whole-food diets, since refining strips most of the mineral from grains. Many adults consistently fall below the RDA of 310–420 mg per day. Deficiency develops slowly because bone stores buffer blood levels for a long time.
Chronic diarrhea, Crohn's disease, celiac disease, chronic pancreatitis, and bariatric or bowel resection surgery impair magnesium absorption in the small intestine. Fat malabsorption worsens it because magnesium binds unabsorbed fatty acids. Prolonged vomiting or laxative abuse also drains magnesium reserves.
Loop and thiazide diuretics increase renal magnesium excretion, and long-term proton pump inhibitors block intestinal magnesium absorption. Other culprits include aminoglycoside antibiotics, amphotericin B, cisplatin, cyclosporine, and high-dose digoxin. Drug-induced deficiency is one of the most common causes seen clinically.
Alcohol directly increases urinary magnesium excretion while also reducing dietary intake and causing diarrhea and pancreatitis. Up to 30–80% of people with alcohol use disorder are magnesium depleted. This contributes to withdrawal tremor, arrhythmias, and seizures.
Poorly controlled type 2 diabetes causes osmotic diuresis that flushes magnesium out in the urine, and hyperaldosteronism and hyperthyroidism do the same. Rare inherited tubular disorders such as Gitelman and Bartter syndromes cause lifelong renal magnesium wasting. Recovery phase of acute kidney injury also produces heavy losses.
Top 5 Medical Treatments for Magnesium Deficiency (Hypomagnesemia)
Doctor & medicine-based advice linked to each cause
For mild to moderate deficiency from poor intake or diuretics, doctors prescribe magnesium oxide, chloride, lactate, or glycinate, typically 240–1000 mg elemental magnesium daily in divided doses. Divided dosing improves absorption and reduces the laxative effect. Levels are rechecked after a few weeks since repletion of total body stores takes time.
Severe or symptomatic hypomagnesemia with arrhythmia, seizures, or tetany is treated with IV magnesium sulfate, often 1–2 g over 15–60 minutes followed by a continuous infusion. This addresses life-threatening deficiency from GI losses, alcohol withdrawal, or chemotherapy. Dosing is reduced in kidney impairment to avoid toxicity.
Low magnesium causes refractory hypokalemia and hypocalcemia that will not correct until magnesium is replaced, because magnesium is needed for potassium channel function and PTH release. Clinicians routinely check and replace all three. This is essential in patients on diuretics or with chronic diarrhea.
Stopping or stepping down long-term proton pump inhibitors, switching a thiazide to a potassium-sparing diuretic such as amiloride or spironolactone, or adjusting nephrotoxic drugs addresses drug-induced magnesium wasting at its source. Amiloride specifically reduces renal magnesium excretion. Never stop prescribed medications without medical supervision.
Managing celiac disease with a gluten-free diet, controlling Crohn's inflammation, optimizing diabetes glycemic control, or supporting alcohol cessation stops ongoing losses. Without this, supplementation only masks the problem. Specialist referral to gastroenterology, endocrinology, or nephrology may be needed for persistent deficiency.
Top 5 Alternative Home Remedies for Magnesium Deficiency (Hypomagnesemia)
Household items & natural approaches per cause
Dissolving 1–2 cups of Epsom salt (magnesium sulfate) in a warm bath and soaking for 20 minutes is a traditional remedy for muscle cramps and tension linked to low magnesium. Transdermal absorption evidence is weak, but the warm water genuinely relaxes muscle spasm. It is inexpensive and safe for most people without kidney disease.
A quarter cup of pumpkin seeds delivers roughly 190 mg of magnesium and almonds about 100 mg, directly addressing dietary inadequacy. Keeping a jar on the counter makes it an easy habit. Food-based magnesium is better tolerated than supplements and comes with potassium and fiber.
Replacing white bread, white rice, and refined pasta with whole wheat, brown rice, oats, and quinoa restores the magnesium stripped during milling. Milling removes up to 80% of a grain's magnesium. This single swap tackles the most common cause, low dietary intake.
Both increase urinary magnesium excretion, and alcohol additionally damages the gut lining and pancreas. Cutting back to moderate or no alcohol is one of the most effective self-directed steps for magnesium-wasting from drinking. Replacing some coffee with herbal tea or water further reduces losses.
Certain bottled mineral waters contain 50–120 mg of magnesium per liter in a highly bioavailable ionic form. Swapping one or two glasses of tap water a day helps close an intake gap without pills. Check the label for magnesium content, as it varies widely by brand.
Top 7 Foods & Dishes That Help Magnesium Deficiency (Hypomagnesemia)
Ingredients and meals that support recovery or relief
One of the densest sources available, with about 150–190 mg of magnesium per ounce, plus zinc and healthy fats. They are easy to add to yogurt, salads, or eaten as a snack. A single serving supplies nearly half the daily requirement.
Cooked spinach provides around 155 mg of magnesium per cup because magnesium sits at the center of the chlorophyll molecule in dark green leaves. Cooking concentrates the mineral by reducing volume. They also supply potassium and folate, which support the same neuromuscular function.
A cup of cooked black beans offers roughly 120 mg of magnesium alongside fiber and plant protein. Legumes also help stabilize blood sugar, which matters because poorly controlled diabetes causes urinary magnesium loss. Soaking dried beans before cooking reduces phytate and improves mineral absorption.
One ounce contains about 65 mg of magnesium along with flavanols that support blood vessel function. Cacao is naturally one of the richest plant sources of the mineral. Choose minimally sweetened varieties to avoid excess sugar.
A medium avocado provides roughly 58 mg of magnesium plus a large dose of potassium, a pairing that supports normal heart rhythm and muscle contraction. Its monounsaturated fat aids absorption of fat-soluble nutrients eaten with it. It is also well tolerated by people with sensitive digestion.
An ounce of almonds supplies about 80 mg and cashews about 74 mg of magnesium, making nuts a convenient portable source. They also provide vitamin E and arginine. Unsalted versions are preferable if blood pressure is a concern.
Mackerel offers roughly 80 mg of magnesium per fillet together with vitamin D and omega-3 fats. Vitamin D adequacy supports intestinal magnesium absorption, so the combination is synergistic. Two servings of oily fish a week is a reasonable target.
Top 7 Foods & Dishes To Avoid with Magnesium Deficiency (Hypomagnesemia)
What to limit or cut out to avoid making it worse
Alcohol acts as a direct renal tubular toxin, sharply increasing urinary magnesium excretion within hours of drinking. It also irritates the gut and reduces absorption. Chronic drinking is one of the leading causes of clinically significant hypomagnesemia.
Milling removes the bran and germ where almost all the magnesium resides, cutting content by up to 80%. Diets centered on these foods create a persistent intake shortfall. They also spike blood glucose, which increases urinary mineral loss.
High sugar loads drive osmotic diuresis that flushes magnesium through the kidneys, and colas contain phosphoric acid that can bind minerals in the gut. Regular consumption is associated with lower serum magnesium. They also displace nutrient-dense drinks from the diet.
Caffeine has a mild diuretic effect that modestly increases renal magnesium excretion, which matters most when intake is already marginal. More than four or five cups daily may meaningfully add to losses. Moderate intake in someone eating well is generally not a problem.
Calcium and magnesium compete for the same intestinal transport pathways, so large calcium doses taken alongside magnesium-rich meals can reduce magnesium uptake. This is a concern mainly at doses above 500 mg at once. Spacing calcium and magnesium several hours apart avoids the interference.
Excess dietary sodium increases renal magnesium and calcium excretion as the kidney handles the sodium load. Processed meats, canned soups, and salty snacks are the main contributors. These foods are also typically low in magnesium themselves.
Phytic acid in raw bran and unprocessed grains binds magnesium in the intestine and blocks absorption. This matters most for people relying on plant sources alone. Soaking, sprouting, fermenting, or leavening bread substantially reduces phytate and restores availability.
Top 7 Supplements For Magnesium Deficiency (Hypomagnesemia)
Evidence-based supplements with dosage guidance and cautions
Magnesium bound to glycine is well absorbed and markedly less likely to cause diarrhea than oxide, making it the preferred form for long-term repletion. Typical doses are 200–400 mg elemental magnesium daily, often at bedtime since glycine is mildly calming. Evidence for superior tolerability is reasonable, though head-to-head absorption data are limited.
Highly bioavailable and inexpensive, with good evidence for raising serum and red cell magnesium. Doses of 200–400 mg elemental daily are common, but it has a clear laxative effect at higher doses and is in fact used as a bowel prep. Start low and split the dose to limit loose stools.
The cheapest and most widely sold form, but only about 4% of the elemental magnesium is absorbed, so much of it passes through as a laxative. It is still used clinically at doses of 400–800 mg because the dose can simply be increased. Poor choice for anyone with loose stools or who needs efficient repletion.
Reasonably bioavailable and useful for people with low stomach acid or on proton pump inhibitors, since it does not require much gastric acid to dissociate. Typical dosing is 200–400 mg elemental daily. Topical magnesium chloride oils are marketed heavily but transdermal absorption evidence is weak.
Marketed for cognitive benefit based on animal studies showing it raises brain magnesium concentrations, with only small and preliminary human trials. It contains relatively little elemental magnesium per capsule, so it is a poor and expensive choice for correcting systemic deficiency. Evidence is limited; use standard forms for repletion.
Vitamin D is required for efficient intestinal magnesium absorption, and the two nutrients are interdependent since magnesium activates vitamin D metabolizing enzymes. Correcting a vitamin D deficiency, typically 1000–2000 IU daily, supports magnesium status. Note that starting high-dose vitamin D in someone magnesium depleted can worsen symptoms, so replace magnesium alongside it.
Hypokalemia frequently coexists with magnesium deficiency and will not correct until magnesium is replaced, because magnesium regulates renal potassium channels. Food sources are preferred; potassium supplements should only be taken under medical supervision. Potassium supplements are dangerous in kidney disease or with ACE inhibitors, ARBs, or potassium-sparing diuretics.
💊 Supplement Guides
🩺 Related Health Topics
Search another topic
Supplements and health topics — one search box
⚕️ Medical Notice: All health information on ClearOnHealth is carefully researched, reviewed, and fact-checked to ensure accuracy. It is intended for general informational purposes only and does not replace the advice of a qualified healthcare professional. Always consult your doctor or a licensed medical provider for personal health concerns.