Why magnesium needs CKD-specific awareness
Magnesium is essential for muscle and nerve function, bone health, blood pressure regulation and over 300 enzymatic reactions. In healthy adults, excess dietary magnesium is excreted easily by the kidneys.
In CKD, magnesium handling changes:
- In early CKD (stages 1–3), magnesium balance is usually maintained.
- In stages 3b–5, the kidneys' ability to excrete excess magnesium falls.
- On dialysis, magnesium is removed during sessions but can accumulate between them depending on dialysate composition.
This is why renal dietitians and renal pharmacists routinely flag the four 'added' magnesium sources that drive hypermagnesaemia: high-dose supplements, magnesium-based laxatives, magnesium-based antacids, and certain infusions in hospital. Diet is rarely the cause.
Magnesium content of common foods (per 100 g)
High:
- Pumpkin seeds — 535 mg
- Brazil nuts — 380 mg
- Cashews — 290 mg
- Almonds — 270 mg
- Dark chocolate (70%) — 230 mg
- Peanuts — 170 mg
Moderate:
- Spinach (cooked) — 90 mg
- Wholegrain bread — 75 mg
- Black beans (cooked) — 70 mg
- Brown rice (cooked) — 45 mg
- Quinoa (cooked) — 65 mg
- Avocado — 30 mg
Lower:
- White bread / white rice / white pasta — < 30 mg
- Most fruits — < 25 mg
- Most dairy — 10–25 mg per 100 g
Note that several high-magnesium foods are also high in potassium and phosphate. In advanced CKD, the potassium/phosphate concern usually drives portion control more than the magnesium concern.
Food first. If you are choosing a daily multivitamin alongside a balanced diet, Kidney Vitality was developed by a UK Consultant Nephrologist using renal nutrition principles. See the formulation.
Supplements, laxatives and antacids — the real risks
These are the products that cause clinically significant hypermagnesaemia in CKD:
- Multivitamins with added magnesium — typical doses 100–400 mg/day. Avoid in CKD. Choose a kidney-friendly multivitamin with no added magnesium (e.g. Kidney Vitality).
- Magnesium glycinate, oxide, citrate or malate supplements — taken for sleep, anxiety, muscle cramps. Discuss with your renal team before use.
- Milk of Magnesia (magnesium hydroxide) — laxative; avoid in advanced CKD.
- Magnesium citrate laxatives — avoid.
- Magnesium-based antacids (Maalox, some Rennie variants, Mylanta) — check labels; choose alternatives in advanced CKD.
- Epsom salts orally — avoid.
- Infused magnesium — sometimes used in hospital for arrhythmias or pre-eclampsia; doses are monitored carefully.
Cramps, sleep and 'I read magnesium helps' — the practical answer
Magnesium supplements are widely marketed for muscle cramps, sleep, anxiety and 'general wellness'. For CKD patients:
- Muscle cramps: common in CKD and on dialysis. Magnesium supplements are NOT a standard first-line treatment because of accumulation risk. Stretching, hydration adjustments and (on dialysis) dialysate sodium/calcium adjustment are tried first.
- Sleep: limited evidence for magnesium. Better sleep hygiene, treating restless legs (often iron-related in CKD), and treating sleep apnoea are higher-yield.
- Anxiety: no good evidence for magnesium specifically; address through evidence-based treatments.
If you genuinely have low blood magnesium (your blood test will tell you), your renal team will guide dosing. Don't self-prescribe supplements.
Practical guidance by CKD stage
- Stages 1–3: enjoy magnesium-rich foods normally; avoid added-magnesium multivitamins; magnesium-based laxatives occasionally OK but check with pharmacist if eGFR < 45.
- Stages 3b–4: enjoy normal portions of food magnesium; avoid added-magnesium multivitamins; avoid magnesium-based laxatives and antacids.
- Stage 5 / dialysis: same as above; food magnesium usually fine; supplements and magnesium products avoided unless prescribed; blood magnesium monitored as part of routine bloods.
- Stone-formers with normal kidney function: adequate dietary magnesium may be protective; supplements not standard.






