Clinical KnowledgeA–Z topicsExams ▾Start free

Clinical Knowledge › Internal medicine › Basics of internal medicine › Perioperative medicine

Perioperative management of diabetes

About 1 in 6 surgical inpatients has diabetes, and they have more infections, myocardial events, acute kidney injury, longer stays and higher mortality than people without it. Surgical stress raises cortisol, catecholamines and glucagon, causing insulin resistance and hyperglycaemia, while fasting and missed doses risk hypoglycaemia and, in insulin-deficient patients or those taking SGLT2 inhibitors, ketoacidosis. Good care starts in primary care and preoperative clinic: check HbA1c (UK guidance refers for optimisation above 69 mmol/mol, 8.5%), screen for complications, and give a written medicines plan. Patients go first on the list. Most oral agents are continued or omitted only on the day of surgery; sulfonylureas are omitted while fasting, SGLT2 inhibitors are stopped in advance, and basal insulin is continued at about 80% of the usual dose. Patients expected to miss more than one meal, those with poor control and most emergency cases need a variable-rate intravenous insulin infusion with glucose-containing fluid while basal insulin continues. The perioperative glucose target is 6–10 mmol/L (4–12 acceptable). After surgery, usual treatment restarts with eating, and ketones are checked in anyone unwell on an SGLT2 inhibitor.

Full interactive lesson
Patient case, mechanism, investigations, management, flashcards and exam-style questions.
Open the lesson →
Diabetes medicines plan for elective surgery
Diabetes medicines plan for elective surgery Colour-coded CPOC day-before and day-of-surgery plan for oral agents and insulin, the 6–10 mmol/L glucose target, when to use a VRIII, and euglycaemic DKA risk with SGLT2 inhibitors. · MedEd World original teaching diagram

Key facts

Differential diagnosis

ConditionCluesKey test
Stress hyperglycaemia without known diabetesHigh glucose, HbA1c <48 mmol/molHbA1c; treat glucose >10 mmol/L
Undiagnosed diabetesHbA1c ≥48 mmol/mol on admissionHbA1c; plan follow-up
Diabetic ketoacidosisGlucose >11 mmol/L, ketones ≥3 mmol/L, pH <7.3Blood ketones, venous gas
Euglycaemic DKA (SGLT2 inhibitor)Nausea, abdominal pain, normal-ish glucoseBlood ketones and venous pH
Hyperosmolar hyperglycaemic stateGlucose >30 mmol/L, osmolality >320, no significant ketosisSerum osmolality, ketones
Steroid-induced hyperglycaemiaAfternoon/evening rise after dexamethasone or prednisoloneCBG profile; morning NPH/isophane insulin
Hypoglycaemia from residual sulfonylureaConfusion or delayed waking while fastingCBG; IV glucose

Exam pearls

Never stop basal insulin in type 1 diabetes, even when nil by mouth – ketoacidosis develops within hours.
A VRIII without glucose-containing substrate fluid is a hypoglycaemia and hyponatraemia hazard.
Abdominal pain and vomiting after surgery in a patient on an SGLT2 inhibitor: check ketones even if glucose is 8 mmol/L.
Give subcutaneous insulin 30–60 minutes before stopping a VRIII, ideally with a meal.
Dexamethasone for nausea raises glucose for 24–48 hours; anticipate rather than chase it.
Hypoglycaemia under anaesthesia is masked: monitor CBG at least hourly in theatre and recovery.

Guideline

Centre for Perioperative Care (CPOC) guideline for perioperative care of people with diabetes undergoing elective and emergency surgery (2021, with later amendments); ADA Standards of Care in Diabetes 2026, section 16; multisociety GLP-1 receptor agonist perioperative guidance (2024)

References

  1. Centre for Perioperative Care (CPOC) and Diabetes UK. Guideline for perioperative care for people with diabetes mellitus undergoing elective and emergency surgery. CPOC, London 2021.
  2. American Diabetes Association Professional Practice Committee. 16. Diabetes care in the hospital: Standards of Care in Diabetes—2026. Diabetes Care 2026.
  3. Kindel TL, Wang AY, Wadhwa A, et al.. Multisociety clinical practice guidance for the safe use of glucagon-like peptide-1 receptor agonists in the perioperative period. Surg Obes Relat Dis 2024.
  4. Dhatariya K, Levy N, Russon K, et al.. Perioperative use of glucagon-like peptide-1 receptor agonists and sodium-glucose cotransporter 2 inhibitors for diabetes mellitus. Br J Anaesth 2024.
  5. Frisch A, Chandra P, Smiley D, et al.. Prevalence and clinical outcome of hyperglycemia in the perioperative period in noncardiac surgery. Diabetes Care 2010.
  6. Korytkowski MT, Muniyappa R, Antinori-Lent K, et al.. Management of hyperglycemia in hospitalized adult patients in non-critical care settings: an Endocrine Society clinical practice guideline. J Clin Endocrinol Metab 2022.

Related topics

Preoperative assessmentPeriop cardiac riskPeriop lung riskPeriop antithromboticsPeriop steroid coverVTE prophylaxisPostoperative feverPostoperative fluids

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.