Low magnesium due to omeprazole and other stomach protectors: causes and what to do
Omeprazole and other proton pump inhibitors (PPIs) can reduce intestinal absorption of magnesium when taken for a long time, especially for more than a year. The AEMPS warned of this risk in 2011 and recommends checking blood magnesium levels during prolonged treatment, particularly if digoxin or diuretics are also being taken.
Also known as: PPI-induced hypomagnesaemia, omeprazole-induced hypomagnesaemia, magnesium deficiency due to stomach protectors
On this page · 11
What it is
PPI-induced hypomagnesaemia is a fall in blood magnesium associated with prolonged use of proton pump inhibitors (PPIs): omeprazole, pantoprazole, lansoprazole, esomeprazole and the other medicines in this group, which are widely prescribed in Spain as stomach protectors and for reflux or ulcers.
Causes: the AEMPS alert
Cases of hypomagnesaemia associated with prolonged PPI use have been identified, and healthcare professionals are advised to bear in mind this adverse reaction, which, although uncommon, may be clinically relevant. The Spanish Agency of Medicines and Medical Devices (AEMPS) published its information note on this risk in 2011 (reference MUH (FV), 27/2011), in line with other international agencies that issued statements around the same time.
It is a class effect: it affects PPIs as a group, not one specific active substance. In published studies on impaired magnesium absorption with PPI use, patients had been taking PPIs for at least one year, from which it was inferred that taking them for short periods does not lower magnesium levels.
Mechanism: intestinal, not renal
The problem lies not in the kidney but in the intestine. PPIs raise gastric and intestinal pH, which reduces the activity of the active magnesium transport channels (TRPM6/TRPM7) in the intestinal wall that are responsible for its absorption. With these channels less active, less magnesium enters the blood even when the diet is adequate and the kidneys are working normally.
Hypomagnesaemia may be asymptomatic or may cause vomiting, diarrhoea, and even tetany, confusion and seizures. It is also associated with QT interval prolongation on the ECG and with electrolyte disturbances such as hypocalcaemia and hypokalaemia.
Early signs
Before noticeable symptoms appear, blood magnesium may begin to fall silently, detectable only through a blood test. That is why, during long courses of treatment, it is advisable to have regular monitoring rather than waiting for cramps or palpitations to appear.
- People who have been taking PPIs for more than a year, which is when prolonged use, unlike short-term use, has been associated with low magnesium levels.
- People who combine a PPI with digoxin, loop or thiazide diuretics or other medicines that can also lower magnesium: the AEMPS and the FDA recommend checking serum magnesium at the start of treatment and considering monitoring, especially with prolonged PPI use and in patients taking PPIs alongside other medicines with a risk of hypomagnesaemia, such as loop or thiazide diuretics, or medicines that may be affected by serum magnesium levels, such as digoxin.
It is confirmed with a blood magnesium test. In 2011 the AEMPS, the FDA and also the Australian medicines agency published an information note advising that this diagnostic possibility be considered if compatible symptoms appear during prolonged PPI treatment, and that magnesium levels be measured at the start and periodically in certain situations. Laboratory tests can also help distinguish whether the loss is intestinal in origin (due to the PPI) or renal, differentiating between hypomagnesaemia caused by intestinal magnesium loss and that caused by renal magnesium loss.
- Do not stop omeprazole or the relevant PPI on your own: it is usually prescribed for a specific clinical reason (reflux, ulcer, stomach protection alongside other medicines).
- Speak to your family doctor or specialist if the treatment is going to continue long-term, to consider a magnesium blood test, especially if you take digoxin or diuretics.
- Bear in mind that the possibility of this and other adverse effects is one more reason to review long-term proton pump inhibitor treatment periodically, that is, to check from time to time whether it still needs to be continued.
- Withdrawing the medicine, if it comes to be considered, is a medical decision: stopping treatment is reserved for cases of severe unexplained hypomagnesaemia, and must be done weighing up the digestive risk for which the PPI was prescribed.
If tremors, muscle spasms, palpitations or seizures occur during prolonged PPI treatment, seek medical assessment without delay: these are the symptoms that regulatory agencies have linked to this condition.
If left untreated
It can progress to secondary hypocalcaemia and hypokalaemia. The most serious cases described in the Spanish literature include tetany, seizures and significant arrhythmias, such as atrial fibrillation, supraventricular tachycardia and QT abnormalities.
Frequently asked questions
Does everyone who takes omeprazole end up with low magnesium?
No. Impaired magnesium absorption with PPI use has been described in patients who have had at least one year of treatment, and taking them for short periods does not appear to lower magnesium levels. It is not something that happens to most people who take the medicine for a few weeks or months.
If omeprazole does not damage the kidneys, why does magnesium fall?
Because the mechanism is intestinal, not renal: the medicine reduces magnesium absorption in the intestine; it does not increase its excretion in urine. In fact, a laboratory test can help differentiate between hypomagnesaemia caused by intestinal magnesium loss and that caused by renal magnesium loss.
Can I stop taking omeprazole on my own if I am worried about magnesium?
It is not recommended. It is a decision for your doctor, weighing up the reason the PPI was prescribed and the actual risk of hypomagnesaemia; in fact, the possibility of this adverse effect is a reason to review periodically with your doctor whether long-term PPI treatment is still needed, not to stop it without supervision.
Sources
- Agencia Española de Medicamentos y Productos Sanitarios (AEMPS). Information note MUH (FV), 27/2011: Risk of hypomagnesaemia associated with proton pump inhibitor (PPI) medicines.
- Sociedad Española de Patología Digestiva. Adverse effects of proton pump inhibitors: evidence review and position statement (SciELO España).
- Severe hypomagnesaemia secondary to proton pump inhibitors: two clinical cases (Dialnet / Revista del Laboratorio Clínico).
- INFAC — Proton pump inhibitors: recommendations for use, Osakidetza.
- Agencia Española de Seguridad Alimentaria y Nutrición (AESAN) / EFSA — Dietary reference intakes and tolerable upper intake levels for minerals.
By the Bright Naturo editorial team · Updated: September 2026
Other deficiencies
- Folic acid before pregnancy: why it is best to start before a positive test
- Acrodermatitis enteropathica: symptoms, causes and zinc treatment in babies
- Anaemia in pregnancy: causes, symptoms and haemoglobin levels
- Iron-deficiency anaemia in children
- Pernicious anaemia: causes, symptoms and treatment of autoimmune B12 deficiency
- Sideroblastic anaemia and vitamin B6: causes, symptoms and when to see a doctor
- Low arginine in premature babies (neonatal hypoargininaemia)
- Bariatric beriberi: vitamin B1 deficiency after weight-loss surgery
