Hypomagnesemia (Low Magnesium): Fatigue and Headaches
Two of the earliest and most common complaints of low magnesium are also two of the vaguest: a fatigue that sleep doesn't fix, and headaches — often pounding, one-sided migraines — that arrive more often than they used to. Neither is dramatic, neither shows up on a routine exam, and both have dozens of unrelated causes, which is exactly why low magnesium so often goes unnamed. But magnesium sits at the center of how your cells make energy and how your nervous system stays calm, so when it runs low, “tired and headachy” is a very logical place for the body to start complaining. This page explains why low magnesium produces these two symptoms, is honest about the many other things that cause them, lays out the clues that point toward magnesium, and walks through testing and correcting it safely.
Table of Contents
- What Low-Magnesium Fatigue and Headaches Feel Like
- The Mechanism: Cellular Batteries and an Over-Excited Nervous System
- An Honest Word: These Symptoms Are Not Proof of Low Magnesium
- Clues That Point Toward Magnesium
- Common Situations That Cause Low Magnesium
- Getting Tested — and Why the Blood Test Misleads
- Correcting Low Magnesium Safely
- When to Seek Care / Red Flags
- Key Research Papers
- Connections
- Featured Videos
What Low-Magnesium Fatigue and Headaches Feel Like
The fatigue of low magnesium is the kind people struggle to describe to a doctor. It is not sleepiness and it is not the pleasant tiredness that follows a hard day's work — it is a flat, drained, “running on empty” feeling that a full night's sleep doesn't repair. Many people use words like:
- “Wiped out” despite sleeping — waking unrefreshed, as though the night never recharged anything.
- Low stamina — everyday effort, climbing stairs, carrying groceries, a brisk walk, costs more than it used to and leaves you needing to sit down.
- Mental fog alongside the physical drain — difficulty concentrating, a slow, “heavy” head, and reduced motivation that often travel with the bodily tiredness.
- Muscles that tire and feel weak — a sense that the muscles fatigue quickly, sometimes overlapping with the twitches and cramps covered on the muscle cramps and twitches page.
The headaches have their own character. Low magnesium is most strongly tied to migraine — a throbbing or pulsing pain, often on one side of the head, frequently with light sensitivity, sound sensitivity, nausea, and sometimes a visual “aura” of shimmering or zig-zag lines beforehand. People prone to migraine who are low in magnesium often notice their attacks become more frequent rather than simply more painful. Tension-type headaches — a duller, band-like tightness around the head — can also occur, but it is the migraine link that the research most consistently supports.
Crucially, these two symptoms frequently arrive together and alongside other small signals — eyelid twitches, calf cramps at night, a racing or skipping heartbeat (see heart palpitations), poor sleep, low mood, or unusual irritability (see anxiety and insomnia). One symptom alone rarely points anywhere; a cluster of them in someone with a reason to be low is what makes magnesium worth a look.
The Mechanism: Cellular Batteries and an Over-Excited Nervous System
Magnesium does an extraordinary number of jobs in the body — it is a required helper (cofactor) for more than 300 enzyme reactions and is involved in some estimates of more than 600. Two of those jobs explain fatigue and headaches almost completely: making energy and keeping the nervous system from over-firing.
Why low magnesium causes fatigue. The energy currency of every cell is a molecule called ATP. Here is the detail most people never hear: ATP is biologically active only when it is bound to magnesium — the working form is literally Mg-ATP. Magnesium is the partner that lets ATP be made in the mitochondria and lets it be spent by the enzymes that power muscle contraction, nerve signalling, and basic cellular housekeeping. When magnesium is scarce, the cell still has fuel, but it can't use it efficiently — the result is a body-wide sense of being low on energy that rest doesn't fix.
An analogy. Think of ATP as the cash in your wallet and magnesium as the bank card's PIN. You can be holding plenty of cash, but without the PIN you can't actually spend it. Low magnesium is a missing PIN: the energy is sitting right there, but the body can't draw on it. That is why low-magnesium fatigue feels so frustrating — you've slept, you've eaten, and you're still “locked out” of your own energy.
Why low magnesium causes headaches. Magnesium is the nervous system's natural brake. It physically plugs a channel on nerve cells called the NMDA receptor — one of the main “go” switches for nerve excitation. When magnesium is plentiful, it sits in that channel and keeps excitatory signalling in check. When magnesium falls, the brake comes off: nerve cells become more easily excited, and the brain becomes more prone to a wave of over-excitation followed by depressed activity that spreads slowly across its surface — a phenomenon called cortical spreading depression, which is widely thought to set off the migraine aura and attack. Low magnesium also makes blood vessels in the head more reactive and lets more calcium flood into cells, and it lowers the threshold for the release of pain-signalling chemicals. The net effect: a brain with less magnesium is a brain that is easier to tip into a migraine.
This is also why magnesium is one of the few supplements with a genuine evidence base for migraine prevention — major neurology guidelines have rated it as “probably effective.” It is not a painkiller for an attack already underway; it works over weeks by restoring the missing brake.
An Honest Word: These Symptoms Are Not Proof of Low Magnesium
Fatigue and headaches are two of the most common complaints in all of medicine, and the overwhelming majority of the time they are not caused by low magnesium. It would be misleading — and potentially dangerous — to treat “tired and headachy” as a magnesium diagnosis. Both symptoms have long lists of far more common explanations that deserve to be considered first or alongside:
- Other causes of fatigue: poor or insufficient sleep and sleep apnea; iron-deficiency anemia and other anemias; an underactive thyroid (hypothyroidism); diabetes and blood-sugar swings; depression and chronic stress; viral and post-viral illness; heart, kidney, or liver disease; medication side effects; and simply doing too much on too little rest.
- Other causes of headache: primary migraine and tension headache in their own right; dehydration; caffeine (too much, or withdrawal); skipped meals; eye strain and screen time; poor sleep; stress and jaw clenching; sinus problems; alcohol; medication-overuse (“rebound”) headache from frequent painkiller use; and high blood pressure.
So the honest framing is this: low magnesium is a real, treatable, and under-recognized contributor to both symptoms, but it is one possibility among many. The value of knowing about it is not to self-diagnose, but to make sure it is on the list — because it is cheap to address, often overlooked, and easy for a clinician to forget. The next section covers the clues that raise magnesium up that list.
Clues That Point Toward Magnesium
Magnesium becomes a more plausible explanation for fatigue and headaches when the picture has certain features. None of these is proof, but together they tilt the odds:
- A cluster, not a single symptom. Fatigue and headaches plus muscle cramps or eyelid twitches, palpitations, or poor sleep and anxiety is a more magnesium-suggestive pattern than tiredness on its own.
- A reason to be depleted. A diet light on whole foods; heavy use of alcohol; chronic diarrhea, vomiting, or a gut condition that impairs absorption; type 2 diabetes; or long-term use of acid-suppressing PPI medications, diuretics, or certain other drugs (see the next section).
- Migraine that has crept up in frequency in someone who otherwise fits a depletion profile — magnesium's clearest headache link is to migraine, especially migraine that is becoming more frequent.
- A low-normal or low magnesium level on testing, or an accompanying low potassium or low calcium that won't correct — both can be a downstream sign of magnesium deficiency.
- Other deficiencies don't explain it. Normal thyroid, normal iron, adequate sleep, no depression — yet the fatigue and headaches persist.
For migraine specifically, the research is strong enough that many headache specialists trial magnesium even without a blood test, because the standard blood test for magnesium is unreliable (explained below) and a trial is low-risk. That pragmatic approach — treat and observe — is itself a reasonable “clue test.”
Common Situations That Cause Low Magnesium
True magnesium deficiency severe enough to cause symptoms usually has an explanation. The common ones fall into three groups — too little coming in, too much going out, and medications:
- Low intake. Modern diets heavy in refined and processed foods are often low in magnesium, because refining strips it out. National surveys repeatedly find that a large share of people consume less than the recommended amount. Diets short on leafy greens, nuts, seeds, legumes, and whole grains are the usual culprit.
- Gut losses and poor absorption. Chronic diarrhea, prolonged vomiting, inflammatory bowel disease, celiac disease, and other malabsorption conditions deplete magnesium directly, because most of it is absorbed and recycled through the gut.
- Alcohol. Regular heavy drinking is one of the most common causes of low magnesium — it increases urinary losses and often travels with a poor diet.
- Type 2 diabetes and insulin resistance. High blood sugar pulls magnesium out through the urine, and low magnesium in turn worsens insulin resistance — a two-way street that makes deficiency common in diabetes.
- Medications. Several widely used drugs waste magnesium. Proton-pump inhibitors (PPIs, for reflux) can cause low magnesium with long-term use — enough that regulators have issued warnings. Diuretics (“water pills”) increase urinary magnesium loss, and so do some antibiotics, antifungals, and chemotherapy agents.
Because the same situations that drain magnesium also drain potassium, the two deficiencies frequently travel together, and stubbornly low potassium often won't correct until magnesium is restored. Identifying which cause is at work matters, because the fix differs — changing a medication is very different from treating a gut disease or cutting back on alcohol.
Getting Tested — and Why the Blood Test Misleads
Magnesium can be measured on a blood test, and a Comprehensive Metabolic Panel (CMP) does not include it — magnesium has to be ordered separately. The normal serum range is roughly 1.7–2.2 mg/dL (about 0.7–0.9 mmol/L). So far so simple. But there is a catch every patient should understand.
Only about 1% of the body's magnesium is in the blood. The vast majority is locked inside cells and bone. The body works hard to keep the blood level steady — if blood magnesium starts to fall, it pulls magnesium out of storage to top it up. This means a person can be genuinely depleted in their tissues while the serum level still reads “normal.” A normal blood magnesium does not rule out deficiency, and researchers describe a widespread state of subclinical (chronic latent) magnesium deficiency that the standard test simply misses.
What this means in practice:
- A low serum magnesium is meaningful — it confirms deficiency and usually signals that tissue stores are quite depleted.
- A low-normal result (near the bottom of the range) in someone with symptoms and a reason to be deficient is a real clue, not reassurance.
- A normal result does not exclude deficiency, which is why clinicians weigh the whole picture — diet, medications, accompanying low potassium or calcium, and the symptom cluster — rather than the single number.
More specialized tests (red-blood-cell magnesium, a magnesium “loading” or retention test, or ionized magnesium) try to capture tissue status better, but they are not routine and have their own limitations. Because the downside of a careful magnesium trial is so low, many clinicians treat a strong clinical picture even when the blood test looks unremarkable. A separate magnesium level is still worth requesting, especially alongside potassium and calcium, when fatigue or migraine are being worked up.
Correcting Low Magnesium Safely
The good news is that correcting magnesium is usually straightforward, inexpensive, and — in people with healthy kidneys — quite safe. The approach is food first, then supplements if needed, while fixing the underlying cause.
- Food first. The richest sources are leafy greens like spinach (where magnesium sits at the center of the chlorophyll molecule), pumpkin seeds and other seeds, almonds and nuts, legumes, whole grains, and dark chocolate. A diet built around these is the foundation, and whole-food magnesium comes packaged with potassium, fiber, and other nutrients. See the magnesium food sources page for a fuller list.
- Supplements, when diet isn't enough. Common, well-absorbed forms include magnesium glycinate (gentle on the stomach, often chosen for sleep, mood, and general repletion) and magnesium citrate (well absorbed but more likely to loosen the bowels). Magnesium oxide is cheap and high in elemental magnesium but poorly absorbed and the most likely to cause diarrhea. For migraine prevention, the doses studied are typically in the range of a few hundred milligrams of elemental magnesium daily, taken consistently for weeks to months — it is a preventive, not a quick fix, and patience is required.
- Expect a gradual effect. Because most magnesium lives inside cells, refilling tissue stores takes time. Fatigue and migraine frequency, if magnesium is genuinely the issue, tend to improve over weeks, not overnight.
- Fix the cause. Reducing alcohol, reviewing a long-term PPI or diuretic with the prescriber, treating a gut condition, or improving blood-sugar control addresses the leak rather than just topping up the tank.
- The potassium connection. If potassium is also low and won't come up, magnesium is often the missing piece — correcting magnesium is what finally lets potassium normalize. See Magnesium Replenishment for more on restoring stores.
A genuine safety caution. Magnesium is cleared by the kidneys. People with reduced kidney function can build up dangerously high magnesium levels from supplements and should only take magnesium under medical guidance. The most common side effect in everyone else is diarrhea from taking too much at once — a signal to lower the dose or switch forms. Oral magnesium can also reduce the absorption of certain medications (some antibiotics, thyroid hormone, bisphosphonates), so separating doses and checking with a pharmacist is wise.
When to Seek Care / Red Flags
Most fatigue and most headaches are benign and can be discussed at a routine appointment. But certain features mean a headache or fatigue should not be brushed off as “probably just low magnesium” — some need urgent or emergency attention:
- A sudden, severe “worst headache of your life,” or a headache that peaks within seconds to a minute (“thunderclap”) — call emergency services.
- Headache with neurological signs — weakness or numbness on one side, trouble speaking, confusion, vision loss, a drooping face, fever with a stiff neck, or a seizure.
- A clearly new or changed headache pattern, a headache after a head injury, or new headaches starting after age 50.
- Headache that is steadily worsening, that is worse in the morning or with coughing/straining, or that wakes you from sleep.
- Fatigue with alarm features — unexplained weight loss, breathlessness, chest pain, fainting, drenching night sweats, or fatigue that is rapidly disabling.
- Symptoms of severe magnesium deficiency itself — muscle spasms or tetany, numbness and tingling, confusion, or an irregular/racing heartbeat — warrant prompt medical assessment, because very low magnesium can disturb heart rhythm (see arrhythmia).
The takeaway: low magnesium is worth considering for ordinary, slowly building tiredness and for migraines that are creeping up in frequency — but a headache or fatigue with any of the features above is a reason to be seen promptly and to look beyond magnesium. When in doubt, get checked; confirming or ruling out the serious causes is what lets you treat the ordinary ones with confidence.
Key Research Papers
- de Baaij JHF, Hoenderop JGJ, Bindels RJM (2015). Magnesium in Man: Implications for Health and Disease. Physiological Reviews;95(1):1-46. — DOI: 10.1152/physrev.00012.2014
- Gröber U, Schmidt J, Kisters K (2015). Magnesium in Prevention and Therapy. Nutrients;7(9):8199-8226. — DOI: 10.3390/nu7095388
- Volpe SL (2013). Magnesium in Disease Prevention and Overall Health. Advances in Nutrition;4(3):378S-383S. — DOI: 10.3945/an.112.003483
- DiNicolantonio JJ, O'Keefe JH, Wilson W (2018). Subclinical magnesium deficiency: a principal driver of cardiovascular disease and a public health crisis. Open Heart;5(1):e000668. — DOI: 10.1136/openhrt-2017-000668
- Workinger JL, Doyle RP, Bortz J (2018). Challenges in the Diagnosis of Magnesium Status. Nutrients;10(9):1202. — DOI: 10.3390/nu10091202
- Nielsen FH (2010). Magnesium, inflammation, and obesity in chronic disease. Nutrition Reviews;68(6):333-340. — DOI: 10.1111/j.1753-4887.2010.00293.x
- Mauskop A, Varughese J (2012). Why all migraine patients should be treated with magnesium. Journal of Neural Transmission;119(5):575-579. — DOI: 10.1007/s00702-012-0790-2
- Peikert A, Wilimzig C, Köhne-Volland R (1996). Prophylaxis of Migraine with Oral Magnesium: Results From a Prospective, Multi-Center, Placebo-Controlled and Double-Blind Randomized Study. Cephalalgia;16(4):257-263. — DOI: 10.1046/j.1468-2982.1996.1604257.x
- von Luckner A, Riederer F (2018). Magnesium in Migraine Prophylaxis—Is There an Evidence-Based Rationale? A Systematic Review. Headache;58(2):199-209. — DOI: 10.1111/head.13217
- Holland S, Silberstein SD, Freitag F, et al. (2012). Evidence-based guideline update: Pharmacologic treatment for episodic migraine prevention in adults. Neurology;78(17):1346-1353. — DOI: 10.1212/WNL.0b013e3182535d20
- Boyle NB, Lawton C, Dye L (2017). The Effects of Magnesium Supplementation on Subjective Anxiety and Stress—A Systematic Review. Nutrients;9(5):429. — DOI: 10.3390/nu9050429
- Pickering G, Mazur A, Trousselard M, et al. (2020). Magnesium Status and Stress: The Vicious Circle Concept Revisited. Nutrients;12(12):3672. — DOI: 10.3390/nu12123672
- Tarleton EK, Littenberg B, MacLean CD, et al. (2017). Role of magnesium supplementation in the treatment of depression: A randomized clinical trial. PLoS One;12(6):e0180067. — PubMed
PubMed Topic Searches
- PubMed — Magnesium deficiency and fatigue
- PubMed — Magnesium for migraine prophylaxis
- PubMed — Subclinical magnesium deficiency and the serum test
- PubMed — Magnesium, ATP, and energy metabolism
- PubMed — Proton-pump inhibitors and hypomagnesemia
Connections
- Hypomagnesemia Symptom Hub
- Low Magnesium and Muscle Cramps & Twitches
- Low Magnesium and Heart Palpitations
- Low Magnesium, Anxiety & Insomnia
- Magnesium Overview
- Magnesium and Migraines
- Magnesium Benefits
- Magnesium Food Sources
- Potassium
- Calcium
- Magnesium Replenishment
- Comprehensive Metabolic Panel
- Migraine
- Fatigue
- Diabetes
- Spinach
- Pumpkin Seeds
- Almonds