Magnesium Deficiency Symptoms: 9 Signals From Cramps to Eye Twitching and What to Do

Magnesium deficiency shows itself through night leg cramps, eyelid twitching, fatigue that rest does not fix, trouble falling asleep and irritability. Only 1% of the body's total magnesium sits in the blood, so a normal serum result does not rule the deficiency out; the assessment combines symptoms, dietary history and current medications. Adults need 310-420 mg a day, and the highest-risk groups are long-term users of stomach medication (PPIs) or diuretics, people with type 2 diabetes and anyone with a malabsorption condition.

Two sentences repeat constantly on the complaint lists of the clients I follow online: "I wake up feeling like I never rested" and "a cramp in my calf wakes me at night." When both belong to the same person, I open the dietary history and ask for the medication list. The mineral I am looking for is usually obvious.

From muscle contraction and nerve conduction to blood sugar regulation and bone building, magnesium works across a wide range of jobs, and it sits mostly inside the cell. Refined-grain-heavy meals, long-term medication use and gut problems drain the stores slowly. The shortfall does not announce itself; it touches sleep and muscles first.

The most misleading part of the picture is how poorly it shows up in the lab. Only 1% of the body's magnesium circulates in blood, while the rest waits in bone and inside cells. Once blood levels start to drop, the body borrows from the bone store and keeps the test result inside the normal range.

What Are the Symptoms of Magnesium Deficiency?

The most common symptoms of magnesium deficiency are night leg and foot cramps, eyelid twitching, fatigue that rest does not fix, trouble falling asleep, irritability, poor appetite, constipation, muscle weakness and numbness in the hands and feet. Each complaint looks ordinary on its own; what carries meaning is their arrival together.

  • Night leg and foot cramps: calcium contracts the muscle fibre and magnesium allows the relaxation phase. With less magnesium the fibre stays contracted, which is why the cramp arrives at night, in bed, usually in the calf.
  • Eyelid twitching (fasciculation): nerve membrane excitability rises and small muscle bundles fire on their own. The twitch is painless, can last for days, and nobody but you notices it.
  • Fatigue that rest does not fix: ATP, the energy currency of the cell, has to bind magnesium and works as an Mg-ATP complex. Without enough magnesium the energy you produce stays on the shelf.
  • Trouble falling asleep and night waking: the GABA system that slows the nervous system depends on magnesium. "I am exhausted but I cannot sleep" is born here, and the link between sleep and weight loss belongs to the same chain.
  • Irritability, restlessness and feeling on edge: as stress hormones rise, urinary magnesium loss climbs, and falling magnesium lowers stress tolerance further. A loop forms.
  • Constipation: the rhythm of intestinal smooth muscle and the pull of water into the bowel both need magnesium. If fibre and fluid are adequate yet nothing settles, a constipation nutrition plan deserves a look from the mineral side too.
  • Chocolate and sweet cravings: cocoa is one of the densest known magnesium sources. Craving chocolate before a period is a frequent signal because it overlaps with the phase where losses run high.
  • Muscle weakness and slow recovery: muscles staying sore longer than usual after training can point to a shortfall in people who lose a lot through sweat.
  • Numbness and tingling in hands and feet: the firing threshold of peripheral nerves drops. If numbness is one-sided and comes with neck pain, nerve compression takes priority.

Severe presentations are rarer and carry different urgency: spasms of the hands and face (tetany), heart rhythm disturbance and seizures need hospital assessment. No single symptom makes the diagnosis. A cramp can come from fluid loss alone and fatigue from anaemia alone; the signals only gain meaning once dietary history and the medication list join them.

Why Is Magnesium Deficiency Called a "Hidden Hunger"?

The name hidden hunger fits because the shortfall can continue inside cells while the blood test still reads normal. Roughly half of the body's magnesium is stored in bone and most of the remainder inside muscle and organ cells, leaving about 1% in circulation. As blood levels start to fall, the body pulls magnesium out of bone to protect that balance.

The result is simple: the store empties while the test stays normal for a long stretch. Literature calls that in-between stage subclinical or latent deficiency, and it is exactly what turns up most often in practice. The mistake I correct most in consultations is closing the subject after reading one line on a report; a test does not erase a symptom, it shows one cross-section.

Risk Screening

Magnesium Deficiency Symptom Screening

5 questions, 1 minute to check magnesium deficiency symptoms.

Question 1 / 5

Do you experience frequent muscle cramps? (Especially night leg/foot)

*This screening is informational; a definitive diagnosis requires clinical evaluation and laboratory testing.

Would you like to receive professional diet counseling?

Yes, I Do

How Is Magnesium Deficiency Diagnosed? Which Test Should Be Requested?

Magnesium deficiency is screened first with a serum magnesium test; the typical adult reference range is 1.8-2.4 mg/dL (0.75-0.95 mmol/L), and values below 1.8 mg/dL are defined as hypomagnesemia. Reference ranges shift slightly between laboratories, so compare your result with the range printed on your own report.

A normal serum result does not rule the deficiency out. If symptoms persist, a physician may request red blood cell (RBC) magnesium, which reflects intracellular status better, a 24-hour urinary magnesium excretion or a magnesium loading test. Low urinary excretion suggests the body is holding on to the mineral, while high excretion points to renal loss.

A magnesium value is never read alone. Potassium, calcium, albumin and vitamin D belong in the same panel; when albumin runs low, measured total magnesium can look lower than it truly is. One of the most useful clues in practice: hypokalemia or hypocalcemia that stays refractory despite replacement often hides an underlying magnesium deficiency. Ordering tests belongs to the physician; my job as a dietitian is to assess dietary history, loss routes and symptom burden.

What Causes Magnesium Deficiency? Medications, Illness and Risk Groups

Magnesium deficiency develops along three routes: taking in too little, absorbing too little of what arrives, and excreting too much of what is absorbed. In most clients two of the three run at the same time rather than one alone.

Low Intake: A Refined Table

Grain holds its magnesium in the bran and germ, so most of the mineral leaves during milling when flour is whitened. On a table built around white flour and sugar with little vegetable intake, daily supply lands well under target. Digesting processed carbohydrate also draws on magnesium, which spoils the arithmetic from both ends.

Poor Absorption: Stomach Medication and Bowel Disease

Long-term proton pump inhibitor use (pantoprazole, omeprazole and similar drugs) suppresses stomach acid and reduces magnesium absorption from the small intestine; risk usually becomes clear beyond a year of use. Coeliac disease, Crohn's disease and inflammatory bowel conditions shrink the absorbing surface. After bariatric surgery, mineral absorption is monitored for life. Past sixty, absorption declines and appetite drops, so the two effects stack.

Increased Loss: Diuretics, Diabetes, Alcohol and Stress

Thiazide and loop diuretics used for blood pressure or oedema raise renal magnesium loss. In uncontrolled type 2 diabetes, high blood sugar drives osmotic diuresis and the mineral escapes in urine; falling magnesium deepens insulin resistance, and deepening resistance speeds the loss. Regular alcohol intake and chronic stress also raise urinary excretion. Athletes training hard lose more through sweat, which lifts the daily requirement, though not by any dramatic multiple.

If you belong to one of these groups, a normal standard blood test does not close the case; because blood magnesium represents only 1% of the total reserve, your dietary history and clinical symptoms have to be read alongside the result.

Is Every Cramp and Every Bout of Fatigue Magnesium Deficiency?

Cramps, fatigue and numbness are not exclusive to magnesium deficiency; iron deficiency anaemia, low B12, low vitamin D, hypothyroidism, potassium and calcium disturbances and sleep apnoea produce almost the same complaint list. Starting a supplement before drawing the distinction only delays the real cause.

  • Iron deficiency anaemia: fatigue arrives with palpitations, breathlessness, pallor and brittle nails. When climbing stairs becomes hard, iron takes priority, and the iron deficiency and anaemia picture is assessed separately.
  • Low vitamin B12: numbness and tingling are symmetrical in a glove-and-stocking pattern, sometimes with forgetfulness and balance problems.
  • Low vitamin D: muscle pain is diffuse and deep, with bone tenderness alongside. People describe aching everywhere rather than a discrete cramp.
  • Hypothyroidism: fatigue comes with cold intolerance, constipation, dry skin, a deeper voice and weight gain, and nutrition for hypothyroidism follows its own route.
  • Potassium and calcium disturbances: cramping dominates the picture and rhythm disturbance becomes a risk. Potassium often refuses to correct until magnesium does.
  • Sleep apnoea: with snoring and witnessed pauses in breathing, daytime fatigue comes from fragmented sleep rather than any mineral.

The order I follow in practice is straightforward: when the complaint cluster touches several systems instead of one mineral, a full blood count, ferritin, B12, vitamin D and a thyroid panel come first. Magnesium is read as part of the whole picture, never on its own.

Consequences of Long-Term Magnesium Deficiency

A shortfall that shows itself in the short term as cramps, twitching and fatigue lays the ground for deeper problems once it runs for years. Insufficient magnesium makes it harder for insulin to work properly in cells and can worsen a picture that needs nutrition for insulin resistance. Because the mineral takes part in relaxing vascular smooth muscle, a chronic gap is associated with higher blood pressure.

The bone side is what usually gets missed. More than half of the body's magnesium is stored in bone and contributes to the strength of its crystal structure, so a long-running shortfall can lower bone density and raise osteoporosis risk. Low magnesium has also been linked with migraine attacks, heart rhythm irregularities and poorer sleep quality. The deficiency is not passing tiredness but a condition that deserves early action once spotted.

Personalized online diet program. Start now!

Book Online

How Is Magnesium Deficiency Corrected? A Three-Step Approach

Magnesium deficiency is corrected in three steps: repairing the diet, supplementing when needed, and treating the underlying cause. Skipping straight to a supplement hides where the loss is coming from.

Step one is the table. Adults need 310-420 mg a day, and pumpkin seeds, leafy greens, legumes, whole grains and nuts carry magnesium densely enough to close that gap. For portion and milligram detail on which food delivers how much, the list of magnesium-rich foods covers it, so I am not repeating it here.

Step two is supplementation. For elemental magnesium from supplements, the adult daily upper limit is given as 350 mg, and magnesium from food is not counted toward that limit. Doses above it can cause diarrhoea, nausea, abdominal cramping and low blood pressure. In kidney failure, magnesium excretion is impaired, so supplements should not be used without physician approval. Forms (citrate, glycinate, malate, oxide) differ in absorption and tolerance, yet dose and form are decided only after the test result is seen.

Step three is the physician. With severe findings such as tetany, rhythm disturbance or seizures, in refractory hypokalemia, and during long-term PPI or diuretic use, the subject moves beyond nutrition. Severe hypomagnesemia is treated in hospital with intravenous magnesium sulfate; it is not a picture to manage at home with capsules.

How Long Does a Magnesium Supplement Take to Work?

Blood magnesium can recover within a few days of consistent intake, but filling intracellular and bone stores takes weeks. For cramps, twitching and sleep complaints, a two to four week observation window is usually allowed before judging the effect; correcting through food alone takes longer still.

Impatience is the most common mistake here. Raising the dose because nothing changed in a few days causes diarrhoea, and diarrhoea increases mineral loss, which reverses the whole process. If the window closes with no change, two possibilities remain: the loss is ongoing, or magnesium was never the source of the complaint. The second sends you back to the differential section above.

Which Medications and Foods Should Not Be Taken With Magnesium?

Magnesium supplements lower the absorption of certain drugs, so they should not share the same hour. The spacing below covers the arrangements that work best in practice for protecting the medication's effect.

Do not take together Why Practical spacing
Levothyroxine (thyroid hormone) Minerals reduce absorption of the hormone from the gut Leave at least 4 hours between them
Tetracycline and quinolone antibiotics Magnesium binds the antibiotic and both lose effect Take 2-4 hours before or after the antibiotic
Bisphosphonates (osteoporosis drugs) Taken together, absorption of the drug drops markedly Follow the fasting rule your physician gave, never combine
Iron and calcium supplements They compete through similar transporters and both absorb poorly Split them across different meals
Dairy-heavy meals A high calcium load can suppress magnesium absorption Take the supplement away from your dairy meal

There is a helpful side as well. When vitamin D is low, magnesium absorption from the gut falls, which is why the two shortfalls so often travel together; checking the foods rich in vitamin D side is worth the effort. Taking the supplement in divided doses with meals improves both absorption and tolerance compared with one large dose. If you use prescription medication, speak with your physician or pharmacist before starting any supplement.

If your symptoms continue despite changes to your eating pattern, let us open your history together instead of trying to solve the deficiency alone. To learn how personalised follow-up works through online diet counselling, you can fill out the form below.


Frequently Asked Questions

The most common findings are night leg and foot cramps, eyelid twitching, fatigue that rest does not fix, trouble falling asleep, irritability, poor appetite and constipation. Muscle weakness, numbness in hands and feet and headaches may join them. Tetany, heart rhythm disturbance and seizures point to a severe picture and need medical assessment. No symptom diagnoses on its own; each is read with dietary history and the medication list.
Serum magnesium is used for screening, yet it is not sufficient on its own. Only 1% of body magnesium sits in blood, and once levels start to fall the body borrows from bone to hold the value inside the normal range. A cellular shortfall can continue while the report looks normal. Assessment weighs symptom burden, dietary history and current medications alongside the result.
The typical adult serum magnesium reference range is 1.8-2.4 mg/dL, that is 0.75-0.95 mmol/L. Values under 1.8 mg/dL are defined as hypomagnesemia. Ranges vary slightly between laboratories, so compare your result with the range printed on your own report. Values close to the lower limit are reviewed for insufficiency when symptoms are present.
Serum magnesium comes first. If the result reads normal while symptoms persist, a physician may order red blood cell (RBC) magnesium, 24-hour urinary magnesium excretion or a magnesium loading test. Potassium, calcium, albumin and vitamin D are checked together because these values influence one another. Ordering belongs to the physician; a dietitian assesses dietary history and symptom burden.
Three mechanisms are counted: low intake, reduced absorption and increased loss. Eating built around refined grain and sugar lowers intake. Long-term stomach medication, coeliac disease, Crohn's disease, inflammatory bowel conditions and bariatric surgery reduce absorption. Thiazide and loop diuretics, uncontrolled type 2 diabetes, regular alcohol intake and chronic stress raise urinary excretion.
Eyelid twitching (fasciculation) is a recognised finding in magnesium deficiency, though it never diagnoses alone. Poor sleep, heavy caffeine intake, eye strain and stress produce the same twitch. When the complaint lasts for weeks and travels with cramps and fatigue, magnesium status is worth assessing. See a physician if one eye stays in spasm or the movement spreads across facial muscles.
They can. Calcium contracts the muscle fibre while magnesium allows relaxation, so when magnesium falls the muscle cannot release and the cramp arrives at night. Still, not every night cramp is about magnesium. Fluid loss, low potassium, vascular problems, pregnancy and certain medications also cause cramping. The odds rise when twitching and fatigue accompany the cramp.
Magnesium takes part in the electrical balance of heart muscle, so palpitations and rhythm disturbance can appear in advanced deficiency. In mild insufficiency palpitations are not an expected finding; anaemia, an overactive thyroid, caffeine and anxiety are more frequent causes. If palpitations come with faintness, chest pain or breathlessness, seek medical help without delay.
Magnesium supports the GABA system that slows the nervous system, so a low level can make falling asleep harder and increase feelings of tension. The relationship runs both ways: stress speeds urinary magnesium loss, and falling magnesium lowers stress tolerance. Anxiety and insomnia are never explained by one mineral alone; serotonin balance and sleep hygiene are assessed too.
Long-term proton pump inhibitor use suppresses stomach acid, reduces magnesium absorption from the gut and can lead to hypomagnesemia over time. Risk usually becomes clear beyond a year of use. Never stop the medication on your own decision; if you have used it for a long stretch, discuss periodic magnesium monitoring with your physician. Monitoring runs closer if you also take a diuretic.
Blood values can recover within days, but filling intracellular and bone stores takes weeks. For cramps and sleep complaints, a two to four week observation window is usually allowed before judging the effect. Correcting through food alone runs longer. Raising the dose because nothing changed in a few days leads to diarrhoea and nausea.
Leave at least 4 hours between magnesium and levothyroxine, since minerals reduce thyroid hormone absorption. Allow 2-4 hours around tetracycline and quinolone antibiotics. Never take it at the same time as bisphosphonates. Split iron and calcium supplements across different meals. If you use prescription medication, ask your physician or pharmacist before starting any supplement.
The adult daily upper limit for elemental magnesium from supplements is given as 350 mg, and magnesium from food is not counted toward it. Doses above that limit can cause diarrhoea, nausea, abdominal cramping and low blood pressure. In kidney failure, excretion is impaired, so magnesium supplements should not be used without physician approval.
In children the picture can appear as restlessness, difficulty settling to sleep, muscle cramps, poor appetite and constipation. Telling it apart is harder than in adults, since the same complaints get attributed to growth spurts, iron deficiency or an irregular sleep routine. Supplement doses for children follow age and weight and should never start without medical assessment. Diet comes first.
It can. Magnesium supports insulin working properly inside cells, so a shortfall raises insulin resistance risk and makes abdominal fat storage easier. Low magnesium also disturbs sleep quality, which affects appetite hormones. Fatigue combined with a sugar craving cycle reduces the desire to move. Correcting the deficiency does not cause weight loss by itself, it just clears the path.
Dyt. Şeyda Ertaş

Dyt. Şeyda Ertaş

Expert Author

Dietitian & Nutrition Specialist

BSc in Nutrition and Dietetics, Hacettepe University. Over 7 years of professional experience guiding 2000+ clients toward healthier lives through science-based nutrition.

View Profile

Free Pre-Application

This is a pre-application. No credit card required, payments determined after consultation.

KVKK & GDPR compliant SSL encrypted Reply within ~4 hours

Application Received!

Your message has been sent successfully. We will contact you soon.

Working Hours

Monday - Friday: 09:00 AM - 6:00 PM
Saturday: 10:00 AM - 2:00 PM
Sunday: Closed

Applications received outside working hours or on holidays will be responded to on the next business day.

Have an urgent matter?