Diabetic ketoacidosis (DKA)
Diabetic ketoacidosis is an emergency caused by absolute or relative insulin deficiency plus excess counter-regulatory hormones: hyperglycemia (or known diabetes), ketosis (β-hydroxybutyrate ≥3.0 mmol/L) and anion-gap metabolic acidosis (pH <7.3 and/or HCO₃⁻ <18). Treat in this order: IV fluids, check potassium (hold insulin if K⁺ <3.5), insulin 0.1 U/kg/h, add dextrose when glucose <250 mg/dL and keep insulin until ketoacidosis resolves, then overlap subcutaneous basal insulin 1–2 h before stopping the drip. Always look for the trigger.
🎯 What to know by level
Sections marked 🎓 Advanced are residency/board level — for Step 1–2 the core sections are enough.
Overview & triggers
DKA is one of the two hyperglycemic crises (the other is HHS). It is the classic presentation of new type 1 diabetes but also occurs in type 2 diabetes under stress (ketosis-prone T2D, often in Black and Hispanic adults) and with SGLT2 inhibitors. Mortality is <1% in adults with modern care but is higher in older patients and with severe comorbidity.
Triggers — the 5 I's: Infection (most common: pneumonia, UTI, COVID-19), Insulin omission/pump failure (very common, especially with cost barriers or psychological factors), Infarction (MI, stroke, mesenteric ischemia), Intoxication/drugs (glucocorticoids, thiazides, atypical antipsychotics, cocaine, SGLT2 inhibitors, immune checkpoint inhibitors), and Initial presentation of diabetes. Also pancreatitis, pregnancy, trauma and surgery.
Pathophysiology
Low insulin + high glucagon, cortisol, catecholamines and growth hormone cause three things:
- Hyperglycemia: ↑ glycogenolysis and gluconeogenesis, ↓ peripheral glucose uptake → glucosuria → osmotic diuresis → loss of water, Na⁺, K⁺, phosphate and Mg²⁺ (typical deficits: water 6 L, K⁺ 3–5 mEq/kg).
- Ketosis: lipolysis releases free fatty acids; glucagon lowers malonyl-CoA so carnitine acyltransferase I is disinhibited → fatty acids enter mitochondria → β-oxidation → acetoacetate and β-hydroxybutyrate (ratio up to 10:1 in DKA). Acetone (spontaneous decarboxylation) gives the fruity breath.
- Acidosis: ketoacids are strong acids → HCO₃⁻ consumed → high anion-gap metabolic acidosis → Kussmaul respiration (respiratory compensation).
Potassium paradox: insulin deficiency, hyperosmolality and acidosis move K⁺ out of cells, so the serum K⁺ is normal or high at presentation even though total body K⁺ is depleted. Insulin drives K⁺ back into cells → dangerous hypokalemia if potassium is not replaced.
Why ketosis in DKA but not HHS? In HHS some insulin is still secreted — enough to suppress lipolysis and ketogenesis (which need much less insulin) but not enough to control glucose.
Clinical presentation
Develops over hours to a day (HHS: days to weeks). Polyuria, polydipsia, weight loss, weakness, then nausea, vomiting and diffuse abdominal pain (correlates with the severity of acidosis; can mimic an acute abdomen). Signs: tachycardia, dry mucosa, poor skin turgor, hypotension, Kussmaul respirations (deep, rapid), fruity (acetone) breath, altered mental status in severe cases (correlates with osmolality). Temperature is often normal or low even with infection — hypothermia is a poor sign.
Diagnosis
2024 consensus criteria — all three (D, K, A):
| Criterion | Threshold |
|---|---|
| D — diabetes/hyperglycemia | Glucose ≥200 mg/dL (11.1 mmol/L) or known diabetes (any glucose → covers euglycemic DKA) |
| K — ketosis | β-hydroxybutyrate ≥3.0 mmol/L (preferred) or urine ketones ≥2+ |
| A — acidosis | pH <7.3 and/or bicarbonate <18 mmol/L (venous gas is enough) |
Severity (2024)
| Severity | BHB | pH | HCO₃⁻ | Mental status | Where |
|---|---|---|---|---|---|
| Mild | ≤6 | 7.25–7.30 | 15–18 | Alert | Ward / observation |
| Moderate | ≤6 | 7.00–7.24 | 10–<15 | Alert or drowsy | Step-down |
| Severe | >6 | <7.00 | <10 | Stupor/coma | ICU |
Initial work-up: glucose, BMP (Na⁺, K⁺, Cl⁻, HCO₃⁻, BUN, creatinine), anion gap = Na⁺ − (Cl⁻ + HCO₃⁻), venous blood gas, serum β-hydroxybutyrate, phosphate, Mg²⁺, calculated osmolality = 2[Na⁺] + glucose/18 + BUN/2.8, CBC, urinalysis, ECG (potassium effects, MI as trigger), lipase, hCG in women, cultures/chest X-ray as indicated, HbA1c.
Lab traps
- Sodium is falsely low from hyperglycemia: corrected Na⁺ = measured Na⁺ + 1.6 × (glucose − 100)/100 (some use 2.4). A normal or high corrected Na⁺ means severe free-water loss.
- Potassium is usually normal or high at first despite a total-body deficit; a low K⁺ at presentation means a very large deficit.
- Nitroprusside urine/serum ketone tests detect acetoacetate, not β-hydroxybutyrate → can underestimate ketosis, and the test can look worse during treatment as β-OHB is converted back to acetoacetate. Measure β-OHB instead.
- Leukocytosis (stress) is common; WBC >25,000 or bands suggest infection. Amylase and lipase can be high without pancreatitis. Creatinine may be falsely high with some assays (acetoacetate interference). Hypertriglyceridemia can cause pseudohyponatremia.
Differential diagnosis
| Condition | Glucose | Ketones | pH / gap | Clue |
|---|---|---|---|---|
| DKA | ≥200 (or known DM) | High (BHB ≥3) | <7.3, high gap | Hours, Kussmaul, abdominal pain |
| HHS | ≥600 | Low (BHB <3) | ≥7.3, HCO₃⁻ ≥15 | Days–weeks, osmolality >320, confusion, older T2D |
| DKA + HHS | High | High | Acidosis | ~1/3 of cases overlap — treat as DKA |
| Euglycemic DKA | <250 | High | Acidosis | SGLT2 inhibitor, pregnancy, fasting, low-carb diet |
| Alcoholic ketoacidosis | Low/normal/mildly ↑ | High (mostly BHB) | Gap acidosis | Binge then stop drinking, vomiting; treat with dextrose + thiamine, not insulin |
| Starvation ketosis | Normal/low | Mild | HCO₃⁻ usually ≥18 | Fasting; mild |
| Other gap acidosis | Variable | Negative | High gap | Lactate, toxic alcohols (osmolar gap), salicylates, uremia |
Treatment
1. Fluids first (most important early therapy): isotonic saline or a balanced crystalloid (lactated Ringer's, Plasma-Lyte; preferred — less hyperchloremic acidosis) at 500–1,000 mL/h for the first 2–4 h (about 1–1.5 L in hour 1); smaller boluses (250 mL) in elderly, heart or kidney failure. Then adjust to hemodynamics, urine output and corrected sodium (0.45% saline if corrected Na⁺ is normal/high).
2. Potassium before insulin. Check K⁺ at baseline, 2 h after starting insulin, then every 4 h.
3. Insulin: regular insulin IV infusion 0.1 U/kg/h (fixed rate; a bolus is not needed). Aim for glucose to fall ~50–75 mg/dL/h. Mild or uncomplicated moderate DKA can be treated with subcutaneous rapid-acting insulin every 1–2 h on a regular ward. Patients already on long-acting basal insulin can continue it.
4. Dextrose: when glucose falls <250 mg/dL, add D5–D10 to the fluids and keep the insulin running (reduce to ~0.05 U/kg/h if needed) to keep glucose ~150–200 mg/dL. Insulin treats the ketoacidosis, not just the glucose — never stop the drip because the glucose is normal.
5. Bicarbonate: not routine; consider only if pH <7.0. Phosphate: only for severe hypophosphatemia (e.g. <1.0 mg/dL) or with weakness, respiratory or cardiac dysfunction. Magnesium if low.
6. Resolution (2024): β-hydroxybutyrate <0.6 mmol/L and venous pH ≥7.3 or bicarbonate ≥18 mmol/L (if BHB is unavailable, a normal anion gap is a reasonable surrogate). Glucose alone never defines resolution.
7. Transition to subcutaneous insulin: once resolved and the patient can eat, give basal insulin 1–2 h before stopping the IV infusion (prevents rebound ketoacidosis). Insulin-naive: about 0.5–0.6 U/kg/day total, half basal and half prandial (0.3–0.4 U/kg/day in older or renal patients). Before discharge: insulin access and cost, sick-day rules, ketone testing, diabetes education and follow-up.
Monitoring: capillary glucose every 1–2 h; electrolytes, phosphate, creatinine, β-OHB and venous pH every 4 h until resolution.
Source: ADA/EASD/JBDS/AACE/DTS consensus report — Hyperglycemic crises in adults with diabetes (Diabetes Care 2024); ISPAD 2022 guideline — DKA in children and adolescents.
🧭 Algorithm: Suspected DKA
Hyperglycemia or known diabetes + vomiting, abdominal pain, Kussmaul breathing, fruity breath, dehydration, confusion; on SGLT2 inhibitor even with normal glucose.
Glucose ≥200 or known DM · BHB ≥3.0 mmol/L (or urine ketones ≥2+) · pH <7.3 and/or HCO₃⁻ <18. Classify severity → choose ward vs step-down vs ICU.
Balanced crystalloid or 0.9% saline 500–1,000 mL/h for 2–4 h (≈1–1.5 L first hour).
Hold insulin; give IV K⁺; recheck; start insulin when ≥3.5.
Insulin 0.1 U/kg/h + 20–30 mEq K⁺ per liter.
Insulin 0.1 U/kg/h; no K⁺; recheck in 2 h.
Add D5–D10, keep insulin (lower rate if needed) until ketoacidosis resolves.
Bicarbonate only if pH <7.0. Phosphate if severe hypophosphatemia or weakness/cardiorespiratory compromise. Treat the trigger (cultures, ECG, lipase).
BHB <0.6 mmol/L and pH ≥7.3 or HCO₃⁻ ≥18 → eat → basal SC insulin 1–2 h before stopping the drip.
Key thresholds
- Diagnosis: glucose ≥200 (or known DM), BHB ≥3.0, pH <7.3 / HCO₃⁻ <18
- Hold insulin if K⁺ <3.5 (older sources: 3.3)
- Insulin 0.1 U/kg/h; dextrose when glucose <250
- Bicarbonate only if pH <7.0
- Resolution: BHB <0.6 and pH ≥7.3 or HCO₃⁻ ≥18
- Overlap basal insulin 1–2 h before stopping IV insulin
📚 Source: ADA/EASD/JBDS/AACE/DTS consensus report — Hyperglycemic crises in adults with diabetes (Diabetes Care 2024); ISPAD 2022 guideline — DKA in children and adolescents.
Euglycemic DKA
Euglycemic DKA = DKA with glucose <250 mg/dL. Causes: SGLT2 inhibitors (empagliflozin, dapagliflozin, canagliflozin; also off-label in type 1 diabetes), pregnancy, prolonged fasting or very-low-carbohydrate diet, alcohol, insulin given before arrival. Easy to miss because glucose looks fine — check ketones and a blood gas in any patient on an SGLT2 inhibitor with nausea, vomiting, malaise or dyspnea.
Treatment differs in one point: give dextrose-containing fluids from the start together with insulin, so insulin can clear ketones without hypoglycemia; stop the SGLT2 inhibitor. Prevention: hold SGLT2 inhibitors 3 days before surgery (ertugliflozin 4 days) and during acute illness.
Children & cerebral edema
Children (ISPAD 2022): DKA is the first presentation of type 1 diabetes in about a third of children. Fluids: 10–20 mL/kg bolus if needed, then deficit replacement over 24–48 h. Start insulin 0.05–0.1 U/kg/h 1 h after fluids are started, with no bolus.
Cerebral edema (~0.5–1% of pediatric DKA, the main cause of death): usually 4–12 h after treatment starts — headache, vomiting, bradycardia + hypertension, falling consciousness, incontinence. Risk: young age, new-onset diabetes, severe acidosis, low PaCO₂, high BUN, bicarbonate therapy, failure of sodium to rise as glucose falls. Treat immediately (do not wait for CT): mannitol 0.5–1 g/kg or 3% saline 2.5–5 mL/kg, raise the head, reduce fluid rate.
Complications
- Hypoglycemia — most common treatment complication (insulin without dextrose).
- Hypokalemia — arrhythmias, weakness; the reason K⁺ is checked before insulin.
- Hyperchloremic non-gap acidosis during recovery (large saline volumes + loss of ketoanions in urine) — benign; the gap closes but HCO₃⁻ stays low.
- Rebound DKA when the drip is stopped without basal insulin overlap.
- Cerebral edema (children, young adults), fluid overload / ARDS, hypophosphatemia (weakness, rhabdomyolysis, respiratory failure), thrombosis, mucormycosis (ketoacidosis favors Rhizopus).
Prevention & discharge
Sick-day rules: never stop basal insulin, check glucose every 2–4 h and ketones when glucose >250 mg/dL or when ill, drink fluids, take extra rapid-acting insulin per plan, seek care for vomiting, ketones ≥1.5 mmol/L or abdominal pain. Hold SGLT2 inhibitors when ill or fasting. Address insulin cost and access, pump malfunction education, and mental health (recurrent DKA).
🔥 Exam pearls
- Order: fluids → potassium → insulin (then dextrose when glucose <250).
- Normal or high K⁺ at presentation hides a total-body K⁺ deficit; insulin unmasks it.
- Never stop insulin because glucose normalized — stop when the ketoacidosis resolves (BHB <0.6, pH ≥7.3 / HCO₃⁻ ≥18).
- Patient on an SGLT2 inhibitor with vomiting and normal glucose → check ketones: euglycemic DKA.
- Nitroprusside test misses β-hydroxybutyrate.
- Child with DKA, headache and bradycardia during treatment → cerebral edema → mannitol/3% saline.
- Fruity breath + Kussmaul + abdominal pain in a young patient = new type 1 diabetes until proven otherwise.
- Black eschar on the palate/nose in DKA → mucormycosis (Rhizopus): emergency debridement + amphotericin B.
