Clinical KnowledgeA–Z topicsExams ▾Start free

Clinical Knowledge › Pharmacology › Endocrine and metabolic drugs

Electrolyte replacement (potassium, magnesium, phosphate)

Potassium, magnesium and phosphate are mainly intracellular ions, so serum levels underestimate total body deficits and replacement must be paced, monitored and matched to kidney function. Oral replacement is preferred when the patient can swallow, the gut works and the deficit is mild or moderate; intravenous replacement is for severe or symptomatic deficiency, arrhythmia, or when oral intake is impossible. IV potassium is a high-risk medicine: use premixed bags, usually no more than 40 mmol/L by peripheral vein and no faster than 10 mmol/hour on a general ward, with cardiac monitoring for faster rates. Mis-selecting concentrated potassium is an NHS never event. Magnesium deficiency causes refractory hypokalaemia and hypocalcaemia, so correct it first; IV magnesium sulfate is also the treatment for torsades de pointes. Phosphate replacement is central to preventing and treating refeeding syndrome, but IV phosphate can cause hypocalcaemia and hyperphosphataemia, particularly in kidney impairment. Safe practice needs accurate unit conversion (mmol, g, %), a cause for every deficit, review of interacting drugs and repeat levels.

Full interactive lesson
Patient case, mechanism, investigations, management, flashcards and exam-style questions.
Open the lesson →

Key facts

Differential diagnosis

ConditionCluesKey test
Gastrointestinal lossVomiting, diarrhoea, high-output stoma or fistula; low K and MgUrine potassium (low if GI loss), volume status
Diuretic-induced lossThiazide or loop diuretic; low K and Mg, alkalosisDrug history; urine K above about 20 mmol/L
Refeeding syndromeLow phosphate, K and Mg after feeding malnourished patientDaily electrolytes; NICE risk criteria
Drug-induced hypomagnesaemiaLong-term proton pump inhibitor, cisplatin, aminoglycosides, CNIsDrug history, urine magnesium
Transcellular shiftInsulin, beta-agonists, alkalosis; total body stores may be normalContext; repeat after shift resolves
Iron infusion hypophosphataemiaFerric carboxymaltose; FGF23-mediated phosphaturia, fatigue, bone painPhosphate after infusion; urine phosphate
Mineralocorticoid excessHypokalaemia with hypertension and alkalosisAldosterone–renin ratio

Exam pearls

A fall of 1 mmol/L in serum potassium below 3.5 may reflect a total deficit of roughly 200–400 mmol, so one bag rarely corrects significant hypokalaemia
Give IV potassium in sodium chloride 0.9%, not glucose 5%: glucose stimulates insulin, shifts potassium into cells and can worsen hypokalaemia initially
Modified-release potassium tablets can cause oesophageal and small bowel ulceration; take upright with plenty of water
Oral magnesium salts cause diarrhoea, which limits dose and can worsen losses; use IV for severe deficiency
Oral magnesium and phosphate binders chelate tetracyclines, quinolones, levothyroxine and bisphosphonates: separate doses by at least 2 hours
In diabetic ketoacidosis potassium falls once insulin starts; add potassium to fluids when it is below 5.5 mmol/L (per JBDS-style protocols)

Guideline

BNF electrolyte replacement guidance (2026 online edition), NICE CG32 nutrition support (2006, updated 2017), UK Kidney Association hyperkalaemia guideline (2023) and NPSA potassium chloride alert

References

  1. Joint Formulary Committee. British National Formulary (BNF), online edition. BMJ Group and Pharmaceutical Press, London 2026.
  2. National Institute for Health and Care Excellence. Nutrition support for adults: oral nutrition support, enteral tube feeding and parenteral nutrition (CG32). NICE, London 2006.
  3. UK Kidney Association. Clinical practice guidelines: treatment of acute hyperkalaemia in adults. UK Kidney Association 2023.
  4. Kraft MD, Btaiche IF, Sacks GS, Kudsk KA.. Treatment of electrolyte disorders in adult patients in the intensive care unit. Am J Health Syst Pharm 2005.
  5. Gennari FJ.. Hypokalemia. N Engl J Med 1998.
  6. Felsenfeld AJ, Levine BS.. Approach to treatment of hypophosphatemia. Am J Kidney Dis 2012.

By Dr Khalid Seidi (B.Sc., M.D.) · MedEd World Clinical Knowledge library. Original teaching content checked against current guidelines (November 2026); confirm the latest local guidance before clinical use. Not a substitute for clinical judgement.