Magnesium is involved in more than 300 processes in the body: muscle and nerve function, energy production, blood sugar control, heart rhythm and bone strength. Yet many people don’t get enough from their diet. A mild shortage often goes unnoticed, because blood tests don’t always show it – most magnesium is stored in bones and cells, not in the blood.
Common signs of low magnesium
1. Muscle cramps and twitches
Night-time leg cramps, eyelid twitches and muscle spasms are among the most typical signs, because magnesium helps muscles relax.
2. Tiredness and weakness
Magnesium is needed to produce energy in your cells. Low levels can leave you feeling drained.
3. Poor sleep
Magnesium supports the calming nervous system and melatonin. A shortage can make it harder to fall and stay asleep.
4. Anxiety and irritability
Low magnesium is linked to higher stress responses and low mood.
5. Headaches and migraines
People with frequent migraines often have lower magnesium levels, and supplements are sometimes recommended for prevention.
6. Irregular heartbeat
Palpitations or a “fluttering” heart can be related to low magnesium. Any heart rhythm problem should be checked by a doctor.
7. Constipation
Magnesium draws water into the intestines and relaxes the gut muscles.
Who is at risk?
- People with type 2 diabetes
- Those who drink a lot of alcohol
- Older adults
- People with digestive conditions (Crohn’s, celiac disease)
- Those taking diuretics or long-term acid-reducing medicine (PPIs)
- People who eat mostly processed food
What to do about it
Eat magnesium-rich foods
- Pumpkin seeds, almonds, cashews
- Spinach and other dark leafy greens
- Black beans, lentils, chickpeas
- Whole grains, oats, brown rice
- Avocado, bananas
- Dark chocolate (70% or more)
Adults need roughly 310–420 mg per day, depending on age and sex.
Consider a supplement
Magnesium glycinate is gentle on the stomach and popular for sleep and relaxation; magnesium citrate is well absorbed and helps with constipation; magnesium oxide is cheap but poorly absorbed. Too much can cause diarrhea. If you have kidney disease or take medicines, ask your doctor first, because magnesium can interact with antibiotics and other drugs.
Reduce what drains it
Cut down on alcohol, sugary drinks and too much coffee, and manage stress – all of them increase magnesium loss.
This article is for general information and does not replace medical advice.



