Kidney Diet 8 min read·Updated 22 July 2026 Clinician-reviewed

Magnesium-Rich Foods & Your Kidneys

A UK Consultant Nephrologist on dietary magnesium, magnesium supplements, magnesium-based laxatives and antacids — what's relevant at each stage of chronic kidney disease, and why renal dietitians watch this mineral carefully.

  • Clinically Reviewed
  • NHS & NICE Aligned
  • UK Evidence-Based
  • Last Reviewed 22 July 2026

Professor Mohammed Mahdi Althaf

Consultant Nephrologist & Acute Physician

View Credentials

Professor Mohammed Mahdi Althaf

MD, MSc, PgDip (Clin Ed), FRCP, FHEA, FASN

Consultant Nephrologist & Acute Physician · GMC 7216325

View profile →

Direct answer

Dietary magnesium from food is generally fine in CKD stages 1–3. In stages 4–5 and dialysis, the kidneys excrete magnesium poorly and blood levels can rise (hypermagnesaemia) — usually because of supplements or magnesium-based laxatives, rarely because of food alone. This is why kidney-friendly multivitamins (including Kidney Vitality) deliberately omit added magnesium, and why magnesium-based antacids and laxatives should be avoided in advanced CKD.

Key recommendation: Food magnesium is generally fine in CKD 1–3.

Quick answer

✓ Best choices

  • Vegetables and lower-potassium fruit at every meal
  • Whole grains: oats, basmati rice, pasta, wholegrain bread
  • Lean protein in modest portions: fish, chicken, eggs, tofu
  • Extra virgin olive oil, herbs and spices for flavour

✓ Foods to limit

  • Added salt and salty sauces
  • Processed meats and foods with phosphate additives (E338–E452)
  • Very large portions of bananas, oranges, potatoes if potassium is rising

Key takeaway

Dietary magnesium from food is generally fine in CKD stages 1–3. In stages 4–5 and dialysis, the kidneys excrete magnesium poorly and blood levels can rise (hypermagnesaemia) — usually because of supplements or magnesium-based laxatives, rarely because of food alone. This is why kidney-friendly multivitamins (including Kidney Vitality) deliberately omit added magnesium, and why magnesium-based antacids and laxatives should be avoided in advanced CKD.

Who should be cautious

People on dialysis, post-transplant, pregnant or breastfeeding, or taking prescription medication — confirm with your renal team before changes.

Magnesium-Rich Foods & Your Kidneys

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.
Are Nuts Bad for Your Kidneys?
Related reading: Are Nuts Bad for Your Kidneys?.

Key practical tips

Designed for quick scanning — what to order, what to avoid, sensible portions, common mistakes.

  • Read labels: sodium ≤ 0.3 g per 100 g (low) is the target
  • Cook from scratch when you can — it controls the hidden salt and phosphate
  • Personalise potassium and phosphate targets with your renal dietitian

Clinical guidance

TL;DR summary

Dietary magnesium from food is generally fine in CKD stages 1–3. In stages 4–5 and dialysis, the kidneys excrete magnesium poorly and blood levels can rise (hypermagnesaemia) — usually because of supplements or magnesium-based laxatives, rarely because of food alone. This is why kidney-friendly multivitamins (including Kidney Vitality) deliberately omit added magnesium, and why magnesium-based antacids and laxatives should be avoided in advanced CKD.

Key takeaways
  • Food magnesium is generally fine in CKD 1–3.
  • Advanced CKD: magnesium clearance falls — supplements are the main risk.
  • Avoid: Milk of Magnesia, magnesium citrate laxatives, magnesium-based antacids.
  • Multivitamins for CKD should NOT contain added magnesium.
  • Adequate dietary magnesium may reduce calcium-oxalate stone risk.
Kidney Diet & Nutrition Considerations

On a kidney-friendly diet, single foods matter less than the overall pattern. Build meals around vegetables, lower-potassium fruit, whole grains, sensible protein and olive oil, and watch the three usual suspects — salt, phosphate additives and oversized portions of very high-potassium foods. Targets are individual and should be confirmed with your renal team.

Foods to prioritise

  • Vegetables and lower-potassium fruit at every meal
  • Whole grains: oats, basmati rice, pasta, wholegrain bread
  • Lean protein in modest portions: fish, chicken, eggs, tofu
  • Extra virgin olive oil, herbs and spices for flavour

Foods to limit

  • Added salt and salty sauces
  • Processed meats and foods with phosphate additives (E338–E452)
  • Very large portions of bananas, oranges, potatoes if potassium is rising

Potassium, phosphate and protein needs vary between individuals — please confirm personal targets with your renal team or dietitian. Browse the Kidney Diet Hub for more guides in this cluster.

Frequently asked questions

Is magnesium bad for kidneys?

Dietary magnesium from food is generally fine in CKD stages 1–3. In advanced CKD (stages 4–5) and dialysis, the kidneys lose the ability to excrete magnesium efficiently and blood levels can rise (hypermagnesaemia). This is why renal dietitians flag added magnesium in multivitamins and laxatives, and why high-magnesium foods need awareness — not avoidance — at advanced stages.

What foods are highest in magnesium?

Per 100 g: pumpkin seeds ~ 535 mg, dark chocolate ~ 230 mg, almonds ~ 270 mg, cashews ~ 290 mg, Brazil nuts ~ 380 mg, spinach (cooked) ~ 90 mg, black beans ~ 70 mg, wholegrain bread ~ 75 mg, brown rice ~ 45 mg. Many of these are also high in potassium and phosphate — relevant in CKD.

Should CKD patients take magnesium supplements?

Generally no — not without your renal team's input. Standard adult magnesium supplements (300–400 mg/day) can push blood magnesium above the normal range in CKD stages 4–5. Magnesium-based laxatives (Milk of Magnesia, magnesium citrate) and magnesium-based antacids should be avoided in advanced CKD.

What are the symptoms of high magnesium?

Mild hypermagnesaemia is often asymptomatic. Moderate levels can cause nausea, flushing, low blood pressure and drowsiness. Severe hypermagnesaemia (rare) can cause muscle weakness, loss of reflexes, and cardiac arrhythmias. In CKD it usually develops slowly with long-term high magnesium intake — typically from supplements or laxatives, not food.

Does magnesium help kidney stones?

There is some observational evidence that adequate dietary magnesium reduces the risk of calcium-oxalate kidney stones (magnesium binds oxalate in the gut). For stone-formers with normal kidney function, magnesium from food is helpful. Supplements are not a standard recommended treatment.

What foods are best for kidney health?

A kidney-friendly diet centres on vegetables, lower-potassium fruit (apples, pears, berries), whole grains (oats, basmati rice, pasta), sensible portions of fish, eggs or lean meat, beans and lentils in modest portions, and olive oil as the main cooking fat — broadly a Mediterranean pattern with reduced salt.

Nutritional challenges in kidney disease

Many people living with kidney disease have to limit foods because of potassium, phosphate, diabetes, dialysis, appetite changes or simply the time it takes to cook from scratch every day. That can make it harder to keep daily nutrition balanced — particularly for vitamins and minerals that food alone may not fully cover.

Kidney Vitality is a UK-formulated daily nutritional support product designed by Consultant Nephrologist Professor Mohammed Mahdi Althaf with renal nutrition in mind from the start. It keeps doses moderate, leaves out added potassium, phosphate and magnesium, and avoids megadose vitamin A — sitting alongside a kidney-friendly diet, not replacing it.

Why Kidney Vitality fits this need

Built around UK renal guidance

Aligned with NICE NG203, KDIGO 2024 and BDA Renal Nutrition Group resources.

Designed by a UK Consultant Nephrologist

Formulated and reviewed by Professor Mohammed Mahdi Althaf (GMC 7216325).

Evidence-based by design

No added potassium, phosphate or magnesium; sensible vitamin doses.

Designed by a UK Consultant Nephrologist

Ready to support your kidney health?

If you have been researching kidney health, supplements, CKD nutrition or kidney-friendly living, Kidney Vitality was developed specifically around those principles by Professor Mohammed Mahdi Althaf (GMC 7216325). Nephrologist Developed Daily Multivitamin.

  • No Added Potassium
  • No Added Phosphorus
  • No Added Iron
  • UK Manufactured
  • One capsule daily
  • UK GMP — BRCGS, NSF GMP, Halal

✓ Free UK tracked delivery  ·  ✓ Delivered every 30 days  ·  ✓ Pause or cancel anytime  ·  ✓ Never run out

ComparisonKidney VitalityTypical high-street multivitamin
Added potassiumNoneOften included
Added phosphateNoneOften included (E338–E452)
Vitamin A (retinol)No megadoseOften high-dose retinol
Kidney-focused formulationYesNo — general population
Consultant Nephrologist involvementYes (GMC 7216325)No
UK GMP manufacturedYes (BRCGS, NSF GMP)Varies

Food supplement. Not a medicine and not a treatment for kidney disease. Speak with your GP, pharmacist or renal team before starting any new supplement, especially in advanced CKD, on dialysis, post-transplant, pregnant or breastfeeding.

Clinical reviewer

Professor Mohammed Mahdi Althaf

Consultant Nephrologist

Acute Physician

GMC 7216325

View Full Biography

Professor Mohammed Mahdi Althaf is a UK Consultant Nephrologist and Acute Physician with a special interest in chronic kidney disease, AKI prevention and renal nutrition. He combines hospital practice with patient education and clinical guidance review.

View professional profile →
View Credentials
  • MD
  • MSc
  • PgDip (Clin Ed)
  • FRCP
  • FHEA
  • FASN

About this article

Written for UK patients and based on:

  • NICE guidance
  • NHS resources
  • British Dietetic Association guidance
  • Kidney Care UK resources
View methodology

Each article is researched against current UK clinical guidance (NICE NG203, NG118, NG136), NHS patient resources, KDIGO and KDOQI international guidelines, and the British Dietetic Association Renal Nutrition Group. Drafts are written by the Kidney Vitality editorial team and reviewed by a UK Consultant Nephrologist before publication. Content is reviewed on a rolling basis and updated when guidance changes.

Editorial standards

  • Clinically reviewed
  • NHS-aligned
  • NICE-aligned
  • Evidence-based
  • Reviewed before publication
View full editorial process

Every article is researched and written by the Kidney Vitality editorial team using current UK clinical guidance (NICE NG203, NG118, NG136), NHS patient resources, KDIGO/KDOQI international guidelines, and British Dietetic Association renal nutrition guidance. Drafts are reviewed for clinical accuracy by Professor Mohammed Mahdi Althaf, MD, MSc, PgDip (Clin Ed), FRCP, FHEA, FASN (Consultant Nephrologist & Acute Physician, GMC 7216325) before publication. Content is updated when UK guidance changes.

References (4)View Sources
  1. NICE NG203: Chronic kidney disease — assessment and management
  2. KDIGO 2024 Clinical Practice Guideline for the Evaluation and Management of CKD
  3. KDOQI Clinical Practice Guideline for Nutrition in CKD: 2020 Update
  4. British Dietetic Association — Renal Nutrition Group

Medical disclaimer

This content is educational only and does not replace personalised medical advice.

Read full disclaimer

This page is general information, not personal medical advice. If you have chronic kidney disease, are on dialysis, have had a kidney transplant, are pregnant or breastfeeding, or take prescription medication, please confirm any supplement with your GP, pharmacist or renal team before starting.