Clinical KnowledgeA–Z topicsExams ▾Start free

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.

Full interactive lesson
Patient case, mechanism, investigations, management, flashcards and exam-style questions.
Open the lesson →
CGM sensor being scanned
CGM sensor being scanned A reader scans an arm glucose sensor; in hospital, CGM can supplement but not yet replace capillary checks, especially in critical illness or hypoglycaemia. · Thirunavukkarasye-Raveendran · CC BY 4.0 · Wikimedia Commons

Key facts

Differential diagnosis

ConditionCluesKey test
Stress hyperglycaemiaHyperglycaemia 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 diabetesAdmission glucose high and HbA1c 48 mmol/mol (6.5%) or moreHbA1c
Diabetic ketoacidosis (including euglycaemic DKA)Vomiting, abdominal pain, acidosis; may occur with glucose below 14 mmol/L on an SGLT2 inhibitorCapillary ketones, venous gas, anion gap
Hyperosmolar hyperglycaemic stateOlder patient, glucose above 30 mmol/L, osmolality above 320 mOsm/kg, little ketosisSerum osmolality, ketones
Steroid-induced hyperglycaemiaAfternoon–evening glucose peaks after morning prednisoloneGlucose profile through the day
Parenteral or enteral feed-related hyperglycaemiaGlucose rises with feed infusionGlucose timed against feed regimen
New type 1 diabetes or LADALean patient with ketones and weight lossKetones, GAD and other islet antibodies, C-peptide

Exam pearls

Never stop all insulin in a person with type 1 diabetes, even when nil by mouth: background insulin prevents DKA within hours.
When converting a VRIII to subcutaneous insulin, give the basal or first mealtime dose and stop the infusion 30–60 minutes later (longer, about 2 hours, if only basal insulin is given).
Corticosteroid hyperglycaemia peaks 4–8 hours after a morning dose, so a morning NPH insulin or morning gliclazide matches it; fasting glucose may be normal.
A capillary ketone check before and after surgery is mandatory in anyone taking an SGLT2 inhibitor; ketones of 1.5 mmol/L or more with a normal glucose need an urgent venous gas to look for euglycaemic DKA (DKA if 3.0 mmol/L or more with acidosis).
Point-of-care meters can mislead in shock, severe anaemia, high oxygen tension or with some interfering substances; confirm unexpected values with a laboratory glucose.
Insulin is a high-alert medicine: write 'units' in full, never 'U' or 'IU', and use a dedicated insulin syringe or pen.

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

  1. American Diabetes Association Professional Practice Committee. 16. Diabetes care in the hospital: Standards of Care in Diabetes—2026. Diabetes Care 2026.
  2. 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.
  3. 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.
  4. 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.
  5. 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.
  6. 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

Type 1 diabetesType 2 diabetesPrediabetes and screeningGestational diabetesPre-existing DM pregnancyMODYLADASecondary diabetesMetabolic syndrome

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.