In Brief
Magnesium deficiency (hypomagnesemia) is when the magnesium level in the blood falls below normal[2][3]. True deficiency is rare in people who eat a healthy, balanced diet[1]. It mostly develops because of long-lasting diarrhea, alcohol use, uncontrolled diabetes and some medicines[2][3]. It can cause loss of appetite, nausea, weakness, muscle cramps and numbness[1]. Severe deficiency can lead to seizures and heart rhythm disorders[1][2].
- The diagnosis is made with a blood test. However, the body's stores can be low even when the blood level is normal[2][4].
- Magnesium can drop in people who take stomach-protecting medicines (proton pump inhibitors) for a long time[6][7].
- Mild deficiency is mostly corrected with diet and oral supplements. In severe deficiency that needs quick correction, magnesium is given through a vein[3][4].
- In people with kidney disease, magnesium supplements can lead to excess, so they should not be used without asking a doctor[1][4].
What is magnesium deficiency?
Magnesium deficiency is when the amount of magnesium in the blood is below normal. Its medical name is hypomagnesemia[2][3]. It is generally defined as blood magnesium falling below 0.66 mmol/L (1.6 mg/dL)[3].
Magnesium is a mineral that takes part in more than 300 chemical reactions in the body[1]. It supports the work of nerves and muscles, heart rhythm, bone strength and blood sugar balance. It also helps make energy and protein from food[1].
99% of the magnesium in the body is in bones, muscles and other soft tissues. Only about 0.3% is in the blood[4]. For this reason, a blood test does not always reflect the total magnesium in the body accurately[4].
How common is it?
True magnesium deficiency is rare in healthy people who eat a balanced diet[1]. It is more common in patients in the hospital and in intensive care, in older people, in people with diabetes and in people with alcohol use disorder[4]. For the balance of magnesium and other minerals and fluid, you can look at our article on fluid and electrolyte balance in the body.
What are the symptoms of magnesium deficiency?
Magnesium deficiency can cause loss of appetite, nausea, vomiting, tiredness and weakness at the start[1][4]. As the deficiency grows, symptoms appear in the muscles and nerves[1].
- Muscle cramps, muscle twitching and tremor[1][4]
- Numbness and tingling[1]
- Personality changes[1][4]
- Heart rhythm disorder, that is, an irregular heartbeat[1][2]
- At very low levels, seizures (convulsions)[1][2]
In severe deficiency, blood calcium and potassium also fall[1]. Some of the heart rhythm disorders can come from these accompanying low levels[3]. Low magnesium also increases sensitivity to the side effects of the heart medicine digoxin[3].
Can it occur without symptoms?
Yes. Marked symptoms generally appear when blood magnesium falls below 0.5 mmol/L (1.2 mg/dL)[3]. There may be no symptoms even in severe deficiency. A fast drop in magnesium causes more symptoms than a slow drop[4].
Long-lasting low levels have been linked to high blood pressure, bone thinning (osteoporosis), migraine and worsening of blood sugar balance[3]. These links do not mean that magnesium is the only cause of these diseases.
What causes magnesium deficiency?
Magnesium deficiency develops as a result of inadequate intake with food, loss from the bowel, or too much being passed out by the kidneys[2][3]. Some medicines can also lower magnesium[3][4].
- Inadequate intake: Inadequate and unbalanced nutrition, alcohol use disorder, older age[2][4]
- Loss from the bowel: Long-lasting diarrhea, celiac disease, Crohn's disease and removal of part of the bowel[2][3][4]
- Loss through the kidneys: Uncontrolled diabetes, diuretic medicines and diseases of the kidney tubules[2][3][4]
- Other conditions: Acute pancreatitis, refeeding after a long period of fasting, pregnancy and breastfeeding, an underactive parathyroid gland[2][3][4]
Which medicines can lower magnesium?
These include proton pump inhibitors, which reduce stomach acid, and diuretics[4][6]. Antibiotics of the aminoglycoside group, amphotericin B, cisplatin, cyclosporine and tacrolimus can also cause magnesium loss[3][4]. If you take these medicines, do not stop them on your own. Talk to your doctor.
Who is at risk?
- Older people[2][4]
- People with diabetes, especially if blood sugar is not under control[2][4]. You can look at our page on diabetes about this
- People with alcohol use disorder[2][4]
- People with chronic diarrhea or a bowel disease that impairs absorption[2]
- People who take a proton pump inhibitor or a diuretic for a long time[4][7]
Do stomach-protecting medicines cause magnesium deficiency?
Proton pump inhibitors can, rarely, cause magnesium deficiency when used for a long time[7]. These medicines reduce stomach acid and are used in conditions such as reflux and ulcers.
According to a 2011 safety notice from the Spanish Agency of Medicines and Medical Devices, cases were seen in people who had taken the medicine for 3 months or longer, mostly for about 1 year. In some patients, symptoms continued for months before the link with the medicine was noticed[7].
In an analysis published in 2019 that combined observational studies, low magnesium was found more often in people who used proton pump inhibitors. This link is more marked in people who use high doses[6].
The agency recommended considering measuring magnesium before treatment and at intervals in patients who will take the medicine for a long time. This recommendation is especially important for people who take the heart medicine digoxin or a diuretic[7].
How is magnesium deficiency diagnosed?
The diagnosis is made by measuring the magnesium level in a blood sample taken from the arm or inside the cells[2]. This test generally needs no preparation. If other tests will be done at the same time, you may be asked to fast for a few hours[2].
The normal range of blood magnesium in adults is about 0.65 to 1.05 mmol/L[4]. Laboratories may also give the result in mg/dL. Assess your result against the reference range on your report.
If the blood test is normal, can there be no deficiency?
There can be. To protect the level in the blood, the body draws magnesium from the bones. So the blood level can look normal while the stores are low[2][4]. A test that measures magnesium inside red blood cells can sometimes show the deficiency better[2].
How is the cause found?
The doctor asks about diabetes, alcohol use, bowel diseases, family history and all the medicines you take[3]. A urine test may be requested to understand whether magnesium is being lost through the kidneys or through the bowel[3]. Calcium and potassium can also be measured, because they fall too in severe deficiency[1].
Blood tests are run in biochemistry laboratories. Before the test, tell your doctor about the prescription and over-the-counter medicines and supplements you take[2].
How is magnesium deficiency treated?
The basis of treatment is to find and correct the cause that led to the deficiency[3][4]. Your doctor decides how and how much magnesium to give according to the severity of the deficiency.
Treatment aimed at the cause
- If possible, the medicine that lowers magnesium is stopped or changed[3].
- Diarrhea is treated[3].
- Underlying conditions such as diabetes and alcohol use are dealt with[3][4].
In mild deficiency
The magnesium taken with food is increased. If the blood level stays low, an oral magnesium supplement is added[3]. An oral supplement is generally well tolerated in people without other health problems[4]. High doses can cause diarrhea[5]. Your doctor decides on the type and dose of the supplement. Do not use high doses on your own.
In severe deficiency
In situations that need quick correction, for example a serious heart rhythm disorder caused by severe deficiency, magnesium is given through a vein in the hospital[4].
Is too much magnesium harmful?
In healthy people, taking too much magnesium from food alone is rare[2]. Excess is mostly seen with supplements, laxatives that contain magnesium and stomach medicines. In kidney failure, the risk rises because the kidneys cannot remove enough magnesium[1][2].
- Over a short time, a magnesium supplement of more than 400 mg a day can cause diarrhea[5].
- If magnesium in the blood rises, diarrhea, abdominal cramps, muscle weakness, reduced reflexes and drowsiness can be seen[2][4].
- Very high levels can lead to low blood pressure, a slow heartbeat and cardiac arrest[2][4].
Fluid loss, an underactive thyroid gland and Addison's disease are also linked to a rise in blood magnesium[2]. The risk rises in older people, in people with reduced kidney function and when more than one product that contains magnesium is used together[4]. People with chronic kidney failure should use supplements only on a doctor's advice.
In magnesium excess, all products that contain magnesium are first stopped. If symptoms are severe, supportive treatment and calcium are given in the hospital. In very severe cases, dialysis may be needed[4].
How can magnesium deficiency be prevented?
Most people can get the magnesium they need by eating a varied, balanced diet[5]. Most magnesium comes from dark green leafy vegetables[1].
- Dark green leafy vegetables such as spinach[1][5]
- Nuts, seeds and legumes[1]
- Whole grains and whole wheat bread[1][5]
- Fruits such as bananas and avocados, soy products and milk[1]
| Group | Daily amount |
|---|---|
| Ages 1 to 3 | 80 |
| Ages 4 to 8 | 130 |
| Ages 9 to 13 | 240 |
| Ages 14 to 18, male / female | 410 / 360 |
| Ages 19 to 30, men / women | 400 / 310 |
| Over age 31, men / women | 420 / 320 |
| Pregnant (ages 19 to 30 / 31 to 50) | 350 / 360 |
The recommended amounts vary from country to country. For example, in the United Kingdom, 300 mg a day is recommended for men aged 19 to 64 and 270 mg for women[5]. Limiting alcohol, keeping diabetes under control and having the medicines you take for a long time reviewed regularly also help prevent deficiency[2][7]. For a personal nutrition plan, you can go to the nutrition and dietetics department.





