Sodium-glucose co-transporter-2 inhibitors are increasingly prescribed for patients with type 2 diabetes. Their use has been associated with life-threatening diabetic ketoacidosis. The risk is increased during times of fasting and intercurrent medical illness, which are common in the perioperative period. Diagnosis can be difficult, so perioperative clinicians must be familiar with preventing and recognising such complications.