NutriSeek

How long does it take to correct a magnesium deficiency?

General nutrition researchAnswered by NutriSeek AI · October 24, 2026

There's no single timeline. Mild low magnesium from diet alone often improves over weeks to a few months with better intake, while a true deficiency confirmed by a doctor can take longer and sometimes needs supplements or medical treatment. Studies of supplementation typically report changes over roughly 1 to 3 months, but this varies a lot between people, and the evidence is not precise enough to promise a specific number of days.

Why it's hard to give an exact answer

  • Blood tests are imperfect. Only about 1% of the body's magnesium is in the blood. Most is stored in bones and inside cells, so blood levels can look normal even when stores are low, and they can recover before the stores do.
  • The cause matters. Poor intake is relatively easy to fix. Ongoing losses from certain medications (such as some diuretics and acid-reducing drugs), heavy alcohol use, diabetes, or digestive conditions like Crohn's or celiac disease can keep levels low until the underlying cause is addressed.
  • Severity matters. Severe deficiency, with symptoms like muscle cramps, irregular heartbeat, or numbness, is treated medically, sometimes with intravenous magnesium.

Food sources that can help

Here are some magnesium-rich foods from USDA data (per 100 g, plus a practical portion):

Food Magnesium per 100 g Typical portion
Pumpkin seeds 592 mg 28 g ≈ 166 mg (my calculation from the per-100 g figure)
Chia seeds 335 mg 1 oz (28 g) ≈ 94 mg
Almonds 270 mg 1 oz (28 g) ≈ 76 mg
Spinach, raw 79 mg 1 cup (30 g) ≈ 24 mg

Adult daily needs are generally around 310 to 420 mg depending on age and sex, so a small handful of pumpkin seeds and almonds covers a good share of that. Note that cooked spinach packs more into a cup than raw, since it shrinks, but the raw figures above are what USDA lists here.

What to do in practice

  • Eat magnesium-rich foods daily. Seeds, nuts, leafy greens, legumes, and whole grains all contribute. Consistency matters more than any single food.
  • Don't self-treat with high-dose supplements. Supplemental magnesium above about 350 mg a day (the commonly cited upper limit for supplements, not food) can cause diarrhea and stomach upset. Different forms (citrate, glycinate, oxide) are absorbed differently, and the evidence on which is best is limited.
  • Check with a doctor, pharmacist or registered dietitian if you suspect a deficiency, take medications regularly, are pregnant, or have kidney disease. Kidneys clear excess magnesium, so supplements can build up to harmful levels when kidney function is reduced.
  • Get retested if you're being treated. A clinician can tell you when to recheck, and will usually adjust the plan based on symptoms and results rather than a fixed schedule.

Bottom line

For most people eating too little magnesium, noticeable improvement usually takes weeks to a few months of steady changes. If a test or symptoms point to a real deficiency, a healthcare professional should guide treatment and follow-up, since the cause determines how long recovery takes.

Further reading from the NIH

Ask next

More in this topic

Vitamins & Supplements

Foods in this answer

Full nutrition facts