Diabetic Ketoacidosis
An original StepAtlas teaching article. Last updated 25 Nov 2026.
Introduction
Diabetic ketoacidosis (DKA) is the acute metabolic emergency of absolute or near-absolute insulin deficiency: hyperglycaemia, ketonaemia, and a high-anion-gap metabolic acidosis. It is the classic presentation of new type 1 diabetes in children and a precipitant-driven complication at any age; euglycaemic DKA (with SGLT2 inhibitors, pregnancy, or starvation) breaks the glucose rule and must not be missed.
Pathophysiology
Without insulin, counter-regulatory hormones (glucagon, catecholamines, cortisol, growth hormone) run unopposed: glycogenolysis and gluconeogenesis flood glucose in, while peripheral uptake fails; lipolysis releases free fatty acids, which the liver converts to ketoacids (acetoacetate and β-hydroxybutyrate — the latter predominates and is NOT detected by nitroprusside urine testing). Hyperglycaemia drives an osmotic diuresis (typical deficits: water ~6 L, sodium, and total-body potassium — even though serum potassium may be normal or high because acidosis shifts K⁺ out of cells; insulin therapy will reverse the shift and unmask the deficit). Vomiting compounds the losses.
Etiologies
Precipitants follow the "I"s: infection (commonest — pneumonia, UTI, sepsis), insulin omission or pump failure, infarction/ischaemia (MI, stroke), inflammation (pancreatitis), intoxication, and iatrogenic (steroids, SGLT2 inhibitors). New-onset type 1 diabetes accounts for a large share in the young.
Clinical presentation
Polyuria and polydipsia giving way to dehydration, abdominal pain (sometimes mimicking a surgical abdomen — it resolves with metabolic correction), nausea and vomiting, Kussmaul breathing (deep, sighing hyperventilation compensating for acidosis), fruity/acetone breath, tachycardia, hypotension, and altered consciousness proportional to osmolality and acidosis. In children, cerebral oedema is the feared complication — headache, deteriorating consciousness, bradycardia with hypertension during treatment.
Diagnosis and evaluation
Diagnostic triad: glucose >250 mg/dL (or euglycaemic on an SGLT2 inhibitor), arterial/venous pH <7.3 with bicarbonate <18, and ketones (capillary β-hydroxybutyrate preferred). Calculate the anion gap (Na⁺ − Cl⁻ − HCO₃⁻; normal ~8–12) and the corrected sodium (add ~1.6 mmol/L per 100 mg/dL glucose above 100). Severity by pH/bicarbonate and mental state. Always: potassium before insulin, ECG (hyperkalaemia), renal function, osmolality, and a precipitant screen (cultures, urinalysis, chest imaging, troponin/ECG as indicated). Beware the nitroprusside trap: as treatment works, β-hydroxybutyrate converts to acetoacetate and urine ketones appear to "worsen" while the patient improves.
Differential diagnosis
Hyperosmolar hyperglycaemic state (glucose often >600, osmolality >320, pH preserved, minimal ketones — older type 2 patients, higher mortality), alcoholic ketoacidosis (low/normal glucose, history of binge and starvation), starvation ketosis (mild, bicarbonate rarely <18), lactic acidosis, salicylate poisoning, and toxic alcohol ingestion (osmolar gap).
Management
Three parallel tracks: (1) Fluids — isotonic crystalloid first (e.g., 0.9% saline or balanced solution), typically 1 L rapidly then guided by corrected sodium and haemodynamics; fluids alone lower glucose substantially. (2) Insulin — fixed-rate IV infusion (~0.1 units/kg/h) once potassium is safe: hold insulin if K⁺ <3.3 mmol/L and replace potassium first; if K⁺ 3.3–5.2, add potassium to fluids. When glucose falls below ~200–250 mg/dL, add dextrose to the fluids and CONTINUE insulin until the gap closes and ketones clear — the target is the acidosis, not the glucose. (3) Monitoring — hourly glucose, 2–4-hourly electrolytes and gases; replace phosphate only if very low with organ dysfunction; bicarbonate is reserved for extreme acidosis (pH <6.9) in most protocols. Transition to subcutaneous insulin with a 1–2 hour infusion overlap once the gap has closed and the patient eats. Then find and treat the precipitant and review the diabetes regimen (sick-day rules, ketone testing) to prevent recurrence.
Complications
Hypokalaemia and hypophosphataemia during treatment, cerebral oedema in children, aspiration, thromboembolism (dehydration and inflammation are prothrombotic), and the complications of the precipitant itself.
Prognosis
Mortality is low in the young with protocolised care and concentrated in older patients with serious precipitants (sepsis, MI). Recurrent DKA signals an education, access, or psychosocial problem that must be addressed, not just a metabolic one.
Summary
Insulin deficiency + counter-regulation → glucose up, ketones up, gap up. Fluids first, insulin when potassium allows, dextrose added so insulin can continue until the GAP closes. Serum potassium lies — total body potassium is always depleted. In children, watch for cerebral oedema.
High-Yield Synopsis
- Triad: hyperglycaemia (may be normal on SGLT2i) + pH <7.3/HCO₃ <18 + ketones (β-hydroxybutyrate).
- Kussmaul breathing, abdominal pain, dehydration; precipitants = infection, insulin omission, MI, pump failure.
- Corrected Na⁺ = measured + 1.6 per 100 mg/dL glucose >100. Total-body K⁺ is LOW even when serum K⁺ is high.
- Rx: isotonic fluids → IV insulin 0.1 U/kg/h when K⁺ ≥3.3 (replace K⁺ first if lower) → add dextrose at glucose ~200–250 and keep insulin until the anion gap closes.
- Nitroprusside detects acetoacetate, not β-hydroxybutyrate — urine ketones "worsen" as patients improve.
- Cerebral oedema is the paediatric killer: headache, falling GCS, bradycardia + hypertension.
Practice starts right away in the runner — tutor mode, with explanations — on Diabetic Ketoacidosis.
What the question bank tests on this topic
3 published question(s) in the bank carry this topic. Their learning objectives — the same material the Lessons & Guides view assembles — are:
- In DKA with potassium below 3.3 mEq/L, hold insulin and replace potassium first to avoid life-threatening hypokalemia.
- In resolving DKA, add dextrose when glucose reaches ~200 mg/dL and continue insulin until the anion gap closes.
- In diabetic ketoacidosis, insulin deficiency and glucagon excess drive lipolysis and hepatic ketogenesis, producing a high-anion-gap metabolic acidosis.
