Clinical Knowledge › Internal medicine › Endocrinology › Diabetes mellitus
Inpatient and perioperative glycaemic management
About one in five hospital beds is occupied by a person with diabetes, and many more patients develop stress or steroid-induced hyperglycaemia. Both high and low glucose in hospital worsen outcomes: hyperglycaemia increases infection, poor wound healing, length of stay and mortality, while hypoglycaemia causes falls, arrhythmia and death. Current guidance aims for glucose of about 7.8–10.0 mmol/L (140–180 mg/dL) for most inpatients (UK perioperative target 6–10 mmol/L, up to 12 acceptable) and treats any value below 4.0 mmol/L (70 mg/dL). Scheduled basal or basal–bolus insulin with correction doses replaces 'sliding scale only' regimens, and a variable-rate intravenous insulin infusion (VRIII) with substrate fluid is used when a patient will miss more than one meal, is critically ill or has poorly controlled diabetes. Before elective surgery the HbA1c is checked and optimised, long-acting insulin is usually reduced to about 80%, metformin and SGLT2 inhibitors are paused according to protocol, and SGLT2 inhibitor users are checked for ketones.
Patient case, mechanism, investigations, management, flashcards and exam-style questions.Open the lesson →

Key facts
- Inpatient glucose target for most adults: 7.8–10.0 mmol/L (140–180 mg/dL); UK perioperative target 6–10 mmol/L with up to 12 mmol/L acceptable
- Start or intensify insulin when glucose is persistently 10.0 mmol/L (180 mg/dL) or more; treat any glucose below 4.0 mmol/L (70 mg/dL)
- Check HbA1c on admission if none in the previous 3 months: it separates undiagnosed diabetes (48 mmol/mol, 6.5% or more) from stress hyperglycaemia
- Basal–bolus (or basal-plus-correction) insulin is preferred; correction-only 'sliding scale' insulin is not recommended as the sole regimen (RABBIT 2 Surgery)
- Tight ICU glucose control (4.5–6.0 mmol/L) increased mortality in NICE-SUGAR; keep critically ill patients at about 7.8–10.0 mmol/L
- VRIII is needed when more than one meal will be missed, in emergency surgery with poor control, in type 1 diabetes without background insulin, or when HbA1c is above 69 mmol/mol (8.5%)
- Continue long-acting basal insulin at about 80% of the usual dose before surgery and during a VRIII in type 1 diabetes, to prevent ketoacidosis
- SGLT2 inhibitors are paused before surgery (UK: day before and day of; US labelling: 3 days, 4 for ertugliflozin) and restarted only when eating and ketones are normal
Differential diagnosis
| Condition | Clues | Key test |
|---|---|---|
| Stress hyperglycaemia | Hyperglycaemia during acute illness with HbA1c below 48 mmol/mol (6.5%) | HbA1c on admission; recheck glucose status 4–12 weeks after recovery |
| Undiagnosed type 2 diabetes | Admission glucose high and HbA1c 48 mmol/mol (6.5%) or more | HbA1c |
| Diabetic ketoacidosis (including euglycaemic DKA) | Vomiting, abdominal pain, acidosis; may occur with glucose below 14 mmol/L on an SGLT2 inhibitor | Capillary ketones, venous gas, anion gap |
| Hyperosmolar hyperglycaemic state | Older patient, glucose above 30 mmol/L, osmolality above 320 mOsm/kg, little ketosis | Serum osmolality, ketones |
| Steroid-induced hyperglycaemia | Afternoon–evening glucose peaks after morning prednisolone | Glucose profile through the day |
| Parenteral or enteral feed-related hyperglycaemia | Glucose rises with feed infusion | Glucose timed against feed regimen |
| New type 1 diabetes or LADA | Lean patient with ketones and weight loss | Ketones, GAD and other islet antibodies, C-peptide |
Exam pearls
Guideline
ADA Standards of Care in Diabetes—2026 (section 16, diabetes care in the hospital); CPOC/Diabetes UK guideline for perioperative care of people with diabetes undergoing elective and emergency surgery (2021, with later amendments); Endocrine Society guideline on hyperglycaemia in non-critical care settings (2022); multisociety GLP-1 RA perioperative guidance (2024)
References
- American Diabetes Association Professional Practice Committee. 16. Diabetes care in the hospital: Standards of Care in Diabetes—2026. Diabetes Care 2026.
- 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.
- 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.
- 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.
- NICE-SUGAR Study Investigators; Finfer S, Chittock DR, Su SY, et al.. Intensive versus conventional glucose control in critically ill patients. N Engl J Med 2009.
- Umpierrez GE, Smiley D, Jacobs S, et al.. Randomized study of basal-bolus insulin therapy in the inpatient management of patients with type 2 diabetes undergoing general surgery (RABBIT 2 surgery). Diabetes Care 2011.
Related topics
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.