
A Fun (and Surprisingly Important) Guide to a Mineral You Probably Ignore
Meet Magnesium: Your Body's Busiest Worker
Imagine you have a coworker who shows up every single day, quietly handles over 600 different jobs, never complains, and yet somehow never gets invited to the office party. That coworker is magnesium. It is the fourth most abundant mineral in the human body, and it keeps your heart beating, your muscles moving, your nerves firing, and your energy levels from crashing into the floor.
Magnesium is a mineral, which means your body cannot make it on its own. You have to get it from food or supplements. And here is the kicker: many people in the United States do not get enough of it. About 3 to 10 percent of the general population has low magnesium levels. In hospitals and intensive care units, that number shoots up to between 10 and 65 percent. If magnesium were a superhero, it would be the one everyone keeps forgetting to credit after the big battle.
Where Does Magnesium Live in Your Body?
About 60 percent of the magnesium in your body is tucked inside your bones, like a backup battery stored in a cabinet. Another 39 percent is inside your cells doing all kinds of important work. Less than 1 percent floats around in your blood. This is actually a really important detail, and we will come back to it when we talk about testing.
Normal magnesium levels in the blood range from 1.7 to 2.4 mg/dL. When levels drop below that range, the condition is called hypomagnesemia (say that five times fast). When levels get too high, usually from taking too many supplements or from kidney problems, it is called hypermagnesemia. Both can cause serious trouble.
What Does Magnesium Actually Do?
Great question. Here is the short version:
Helps make energy in every cell of your body
Keeps your heart rhythm steady
Allows muscles to contract and relax (including your heart muscle)
Helps nerves send signals
Regulates blood pressure
Controls blood sugar
Helps build protein and DNA
Keeps bones strong alongside calcium
Without enough magnesium, your body starts sending distress signals. At first they are quiet, like muscle cramps, fatigue, and feeling generally blah. If the deficiency gets serious, things escalate to tremors, irregular heartbeat, seizures, and a whole lot of medical drama.
Natural Food Sources: Where to Find Magnesium on Your Plate
Here is some good news: magnesium is found in a lot of delicious foods. Green vegetables get their color from chlorophyll, and the center of every chlorophyll molecule is made of magnesium. So the next time someone tells you to eat your greens, they are essentially saying, "Please get your magnesium."
Food Source | Examples | Fun Fact |
Green leafy vegetables | Spinach, kale, Swiss chard | Magnesium is literally the center of every chlorophyll molecule |
Nuts | Almonds, cashews, Brazil nuts | A one-ounce handful of almonds gives you about 80 mg |
Legumes | Black beans, lentils, chickpeas | Also a great source of fiber and protein |
Whole grains | Brown rice, oats, whole wheat bread | Refined grains lose most of their magnesium in processing |
Seeds | Pumpkin seeds, sunflower seeds, flaxseed | Pumpkin seeds are one of the highest sources per ounce |
Dairy products | Milk, yogurt | Lower in magnesium than greens, but still counts |
Dark chocolate | 70 percent or higher cocoa | Yes, this is real. You are welcome. |
How much do you need each day? The Recommended Daily Allowance (RDA) is about 420 mg per day for adult men and 320 mg per day for adult women. Some researchers think these numbers may need to be updated because people weigh more on average today than when the guidelines were first written, but for now these are the official targets.
Magnesium Deficiency: When Things Go Wrong
Who Is Most at Risk?
Not everyone is equally likely to run low on magnesium. The groups with the highest risk include:
People in the ICU or hospital (up to 65 percent may be deficient)
People with type 2 diabetes (10 to 30 percent are deficient)
People who drink alcohol heavily (almost one in three are deficient)
People taking certain medications (see below for the long list of culprits)
People with gut problems like chronic diarrhea, short bowel syndrome, or bowel surgery
Older adults who take many medications
Symptoms: What Low Magnesium Feels Like
This is where things get a little tricky. Most people with mildly low magnesium feel nothing dramatic. They might just feel tired, achy, or a little off. Doctors call these "nonspecific symptoms," which is a polite way of saying they could be caused by almost anything.
Mild to Moderate Deficiency (serum magnesium 1.2 to 1.7 mg/dL)
Fatigue and low energy
Muscle cramps or spasms
Muscle weakness
General feeling of blah
Severe Deficiency (serum magnesium below 1.2 mg/dL): Time to Call the Doctor
Tremors and muscle twitching
Carpopedal spasm (hand and foot cramping that will not stop)
Seizures
Abnormal heart rhythms including a dangerous one called torsades de pointes
Dangerously low calcium or potassium that will not improve until magnesium is fixed first
Here is a sneaky fact: magnesium deficiency often drags other electrolytes down with it. Low magnesium is one of the leading causes of potassium and calcium that keep dropping no matter what doctors do. If your doctor cannot get your potassium to stay up, there is a good chance low magnesium is the real culprit hiding behind the curtain.
The Testing Problem
Here is a frustrating truth: the blood test for magnesium is actually not very accurate. Less than 1 percent of your body's total magnesium is in your blood, so a normal blood level does not mean your cells are well stocked. You could have completely normal numbers on paper and still have depleted magnesium inside your cells.
A better approach is to look at both the blood level and the urine magnesium level together. If your kidneys are releasing too much magnesium into the urine (called renal wasting), that is a sign something is actively pulling it out of your body. Doctors can also measure the fractional excretion of magnesium, which tells them what percentage of filtered magnesium is being lost in the urine instead of being saved.
Medications That Steal Your Magnesium (a Surprisingly Long Lineup)
Several common drug classes are magnesium thieves. Most of them do their dirty work in the kidneys, making the kidneys dump magnesium into the urine instead of keeping it. One notable exception works in the gut.
Proton Pump Inhibitors (PPIs)
These are the heartburn and acid reflux medications: omeprazole, pantoprazole, esomeprazole, and their relatives. About 20 percent of long-term PPI users develop low magnesium levels. Unlike the kidney-based thieves, PPIs work by raising the pH in the gut, which reduces how much magnesium the intestines can absorb.
The risk is higher when someone also uses diuretics. The combination of PPI plus loop diuretic has been linked to a more than sevenfold increase in the risk of low magnesium. The FDA now recommends doctors consider checking magnesium levels before starting a PPI and periodically while someone is on one, especially if they also take digoxin.
There is an interesting fix: a prebiotic fiber called inulin has been shown to help improve magnesium absorption in the gut for people with PPI-induced deficiency. It works by changing the gut bacteria in a helpful way. So eating foods rich in inulin like garlic, onions, leeks, bananas, and asparagus may actually help counteract this particular side effect.
Diuretics (Water Pills)
Both thiazide diuretics (like hydrochlorothiazide) and loop diuretics (like furosemide) cause the kidneys to waste magnesium. Thiazides appear to be especially problematic in population studies. People on thiazides for more than a year have been found to have two to three times the risk of developing low magnesium.
Interestingly, adding a potassium-sparing diuretic like amiloride or triamterene to the mix appears to protect against magnesium loss. These medications are sometimes used specifically to help patients keep their magnesium levels up.
Other Magnesium-Stealing Medications
Drug Class | Examples | Who Is Affected |
Calcineurin inhibitors | Tacrolimus, cyclosporine | 20 to 40 percent of transplant recipients |
Platinum-based chemotherapy | Cisplatin, carboplatin | Up to 90 percent of cisplatin patients |
EGFR inhibitors (cancer therapy) | Cetuximab, erlotinib | 20 to 40 percent develop significant deficiency |
mTOR inhibitors | Sirolimus, everolimus | Cancer and transplant patients |
Aminoglycoside antibiotics | Gentamicin, tobramycin | Patients on IV antibiotics |
Antifungals | Amphotericin B | Hospitalized patients with fungal infections |
Metformin | Metformin | People with type 2 diabetes |
Bisphosphonates | Alendronate, risedronate | People on osteoporosis medications |
One more disturbing trend: the more medications a person takes overall, the lower their magnesium tends to be. Each additional drug added to the list is linked with slightly lower magnesium levels. This is a real concern for older adults who may be taking five, ten, or even more medications daily.
When Magnesium Is the Treatment: Medical Uses
Magnesium is not just something to correct when it runs low. In certain medical situations, giving extra magnesium is the actual treatment.
Definite Indications (Magnesium Is the Go-To)
Torsades de pointes: This is a specific dangerous heart rhythm where the electrical activity of the heart spins out of control. Intravenous magnesium is the treatment of choice.
Severe asthma attacks: When a patient with asthma is not improving with inhaled medications, intravenous magnesium sulfate can help relax the airways.
Eclampsia and preeclampsia during pregnancy: Magnesium sulfate has been used for decades to prevent and stop seizures in pregnant women with dangerously high blood pressure. It is considered standard of care worldwide.
Conditions That May Benefit from Magnesium
Migraine prevention
Depression
Coronary artery disease
Metabolic syndrome
Painful menstrual cramps
Leg cramps during pregnancy
Magnesium Supplements: Picking the Right One
Walk into any pharmacy and you will find a wall of magnesium products with confusingly similar names. Here is how they differ:
The Better Absorbed Forms (Organic Salts)
Magnesium citrate: Well absorbed, often used for constipation relief at higher doses
Magnesium glycinate: Gentle on the stomach, good for sleep and muscle relaxation
Magnesium aspartate: Well absorbed, less commonly found
Magnesium gluconate: Good absorption, often used for correcting deficiency
Magnesium lactate: Well absorbed, sometimes used for general supplementation
The Less Absorbed Forms (Inorganic Salts)
Magnesium oxide: The most common and cheapest form, but poorly absorbed. Mostly used as a laxative.
Magnesium chloride: Moderately absorbed, sometimes used in topical products
Magnesium carbonate: Less well absorbed, sometimes causes digestive upset
How Much Is Too Much? The Upper Limit for Supplements
The official safe upper limit from supplements alone is 350 mg per day for adults.
Recent research suggests higher doses may be tolerable for most healthy adults.
The main limiting factor is diarrhea: if you take too much oral magnesium, your bowels will let you know.
Typical supplementation doses range from 200 to 400 mg of elemental magnesium daily.
Note: The upper limit applies to supplements only, not magnesium naturally found in food.
When Pills Are Not Enough: Intravenous Magnesium
Some patients cannot absorb magnesium through the gut, or their deficiency is too severe to wait for supplements to work. In those cases, magnesium is given through an IV (intravenous) or IM (intramuscular) injection. This is common in hospitals for patients with severe deficiency, seizures, life-threatening arrhythmias, or those on chemotherapy that causes heavy magnesium loss.
Contraindications: When NOT to Give Magnesium
Magnesium is generally safe, but there are situations where giving it can cause serious harm.
Absolute Contraindications (Do Not Use)
Severe kidney disease: The kidneys are responsible for removing excess magnesium from the body. If they are not working well, magnesium builds up and can reach toxic levels.
Heart block or significant heart muscle damage: Magnesium slows electrical conduction in the heart, which can be dangerous in people who already have problems with their heart's electrical system.
Relative Contraindications (Use with Caution)
Mild to moderate kidney impairment: Can still use magnesium, but at lower doses with close monitoring \
Myasthenia gravis: Magnesium can worsen muscle weakness in this condition
Patients on sedatives, narcotic pain medications, or anesthesia: Magnesium adds to sedative effects
Maximum dose in kidney impairment: No more than 20 grams over 48 hours
Signs of Too Much Magnesium (Hypermagnesemia)
If you give too much magnesium, the body starts shutting down in a very predictable sequence:
Magnesium Level | What Happens |
Above 4 mEq/L | Flushing, sweating, low blood pressure, nausea |
Around 7 to 10 mEq/L | Loss of deep tendon reflexes (the knee jerk disappears) |
Above 10 mEq/L | Flaccid paralysis, difficulty breathing, cardiac arrest |
The disappearance of the patellar reflex (knee jerk) is used as a warning sign during IV magnesium therapy. Nurses check it regularly. If the reflex disappears, the infusion is stopped immediately. The antidote for magnesium toxicity is calcium gluconate, which is kept at the bedside during IV magnesium therapy.
A Quick Word About Monitoring
If you or someone you care for is in one of the high-risk groups, regular magnesium monitoring makes sense. This is especially true for people on any of the medications listed above, people who have been hospitalized, people with diabetes, and people who drink alcohol heavily.
Remember that a normal blood magnesium level does not guarantee adequate magnesium in the cells. If symptoms suggest deficiency but the blood level is normal, a 24-hour urine collection can give much better information about whether the body is losing too much magnesium through the kidneys.
The Bottom Line
Magnesium is one of those nutrients that nobody talks about until something goes wrong. It supports hundreds of chemical reactions in the body, keeps the heart and muscles working properly, and plays a quiet but critical role in dozens of health conditions.
Eating a diet rich in green vegetables, nuts, legumes, seeds, and whole grains is the best way to keep magnesium levels healthy. If you are at risk for deficiency due to medications or medical conditions, choosing a well-absorbed form of magnesium like magnesium glycinate or citrate is a smart move.
And if your doctor ever suggests checking your magnesium levels, take them seriously. It is one of the most underappreciated tests in medicine, and a low result can explain symptoms that have been puzzling everyone for months.
Magnesium may not be flashy. It may not be the supplement on every influencer's shelf. But deep in your cells, it is doing more work than almost any other mineral you have ever heard of. Give it some credit.
Key Takeaways
Magnesium supports over 600 chemical reactions in the body.
Best food sources: leafy greens, nuts, legumes, seeds, whole grains, and yes, dark chocolate.
RDA: 420 mg/day for men, 320 mg/day for women.
Many common medications deplete magnesium, including heartburn drugs, water pills, and certain cancer treatments.
Best absorbed supplement forms: magnesium glycinate, citrate, aspartate, or gluconate.
Avoid supplements if you have severe kidney disease.
Blood tests alone can miss deficiency. Urine magnesium levels provide a fuller picture.
If your potassium or calcium keeps dropping for no good reason, check magnesium first.
This article is for educational purposes only and does not replace advice from your healthcare provider. Always consult a qualified medical professional before starting, stopping, or changing any medication or supplement.
HSA/FSA Eligible
Doctors Are Human.
That's Why There's Medome.
Start your free trial today. No credit card required.
Start Your Free Trial
Join thousands protecting their health with AI that never forgets

Critical details get missed when your health information is scattered. Medome connects the dots across your complete record.
Start Your Free Trial
Get In Touch
Email: service@medome.ai
Phone: (617) 319-6434
This is Dr. Steven Charlap's cell. Please text him first, explaining who you are and how he can help you. Use WhatsApp outside the US.
Hours: Mon-Fri 9:00AM - 9:00PM ET