Dietary magnesium-rich foods High Mg content: dark leafy greens (spinach about 80 mg/100g), seeds (pumpkin seeds 534 mg/100g — highest), nuts (almonds 270 mg/100g, cashews), legumes (black beans 60 mg/100g, lentils), wholegrains (brown rice, oats, quinoa), dark chocolate (64 mg per 30g), fish (mackerel, salmon), bananas (27 mg each). UK RNI: 300 mg/day (men), 270 mg/day (women). Dietary advice is supportive, not a treatment for clinically significant deficiency.
PPI review and Mg monitoring Review the indication and dose of every long-term PPI; use the lowest effective dose. Consider Mg measurement before and periodically during prolonged therapy (MHRA), particularly with diuretics, digoxin, previous hypomagnesaemia, CKD, diarrhoea or malabsorption, or other Mg-wasting medicines; repeat according to risk and previous result. Code Mg result in clinical record. If Mg persistently low: PPI step-down attempt where the indication allows, or oral Mg supplementation. Document PPI indication at every annual review — many patients continue PPIs for years without a current indication.
Diuretic monitoring Monitor electrolytes according to the diuretic indication; check Mg according to clinical risk (symptoms, hypokalaemia, digoxin, previous hypomagnesaemia) rather than routine 6-monthly Mg in every patient. Amiloride only for persistent renal Mg wasting, with specialist advice or a clear local protocol. Advise Mg-rich diet (particularly nuts, seeds, wholegrains) alongside diuretic therapy.
Alcohol moderation Alcohol <14 units/week (UK CMO guidance). Assess Mg, K⁺, phosphate, Ca²⁺, glucose, renal function and nutritional risk in significant alcohol dependence, withdrawal, vomiting or malnutrition; treat documented hypomagnesaemia, not nonspecific symptoms — and treat alcohol use disorder. AUDIT-C screening at every relevant GP review.
Cramps and Mg Do not prescribe magnesium to treat nonspecific or exercise-related cramps unless hypomagnesaemia is documented or there is a specialist indication. A balanced diet including Mg-rich foods is reasonable supportive advice.
Diabetes and Mg Optimise diabetes control, nutrition and alcohol intake where relevant. Check Mg if symptoms, marked glycosuria, diuretics or other risk factors. Do not prescribe magnesium solely to improve glycaemic control or prevent diabetes unless hypomagnesaemia is documented or there is a specialist indication.
Pre-eclampsia and obstetric Mg use IV MgSO₄ is the standard treatment for eclampsia and severe pre-eclampsia in the UK (Magpie Trial evidence). Pregnancy: manage confirmed hypomagnesaemia in conjunction with the obstetric team, particularly if symptomatic, severe or requiring parenteral treatment. Do not use serum magnesium thresholds from this guide to direct obstetric magnesium sulfate therapy for pre-eclampsia/eclampsia. Prolonged maternal magnesium sulfate (more than 5–7 days) has potential fetal/neonatal skeletal and calcium effects (SPC). Breastfeeding: oral magnesium glycerophosphate is compatible according to its SPC, but check the individual product information; parenteral magnesium only where clinically indicated and under medical supervision.
Osteoporosis connection Long-term hypomagnesaemia contributes to osteoporosis through multiple mechanisms (reduced PTH function, impaired vitamin D activation, direct effects on osteoblasts). Do not prescribe magnesium to prevent osteoporosis unless hypomagnesaemia is documented or there is a specialist indication; dietary advice is supportive.