Skip to content
All lessons
Clinical Specialties · Clinical Management

Management of Diabetic Ketoacidosis

A Step 2 CK management lesson on diabetic ketoacidosis built around the ordered algorithm — fluids first, potassium before insulin, insulin drip continued with dextrose until the anion gap closes — with two \"next best step\" vignettes and the classic pitfalls (hypokalemia, stopping insulin too early, cerebral edema, euglycemic DKA).

11 min readHigh yield

Overview: the four pillars and the one rule

Diabetic ketoacidosis (DKA) is an emergency of absolute or relative insulin deficiency producing hyperglycemia, ketoacidosis (rising β-hydroxybutyrate), and an anion-gap metabolic acidosis. Management runs on four simultaneous pillars — Fluids, Potassium, Insulin, and treating the Precipitant — plus the single rule that dominates Step 2 CK questions: you treat the anion gap, not the glucose.

Order matters. Isotonic IV fluid comes first, potassium is checked and corrected before insulin is started, and the insulin drip is continued (with dextrose added once glucose falls) until the gap closes and acidosis resolves — never stopped simply because the sugar normalized. Most deaths come from the precipitating illness, from hypokalemia, or (in children) from cerebral edema, so anticipating these three drives every downstream decision.

Diagram of DKA pathophysiology: insulin deficiency mobilizing fatty acids and amino acids into hepatic glucose and ketone production
Pathophysiology of DKA — why fluids and insulin are the corrective levers. · Wikimedia Commons — Gblanchard16 — CC BY-SA 4.0, via Wikimedia Commons
Must-know management bullets
  • Fluids first: 0.9% NaCl ~15–20 mL/kg (≈1–1.5 L) in the first hour; then switch to 0.45% NaCl if corrected Na⁺ is normal/high, or continue 0.9% if Na⁺ is low.
  • Check K⁺ before insulin. If K⁺ < 3.3 mEq/L → HOLD insulin and replete potassium first — insulin drives K⁺ intracellularly and can cause fatal arrhythmia.
  • Insulin: IV regular insulin 0.1 U/kg/hr continuous infusion; a routine bolus is no longer recommended. Target a glucose fall of ~50–75 mg/dL/hr.
  • Add dextrose when glucose ≈ 200 mg/dL — do NOT stop insulin; keep it running to clear ketones while dextrose prevents hypoglycemia.
  • Treat the gap, not the glucose: continue insulin until the anion gap normalizes / DKA resolves, then overlap SC insulin with the drip by 1–2 hr before stopping.
  • Bicarbonate only if pH < 6.9; not recommended otherwise.
  • Always hunt the precipitant (infection, MI, missed insulin, SGLT2 inhibitor, pregnancy).
  • Euglycemic DKA (SGLT2 inhibitors, pregnancy, starvation): anion-gap acidosis with glucose that may be < 250 mg/dL — treat the same way and stop the SGLT2 inhibitor.

Step-by-step management algorithm

StepActionKey detail / target
1IV fluids — 0.9% NaCl~15–20 mL/kg (≈1–1.5 L) over first hour; then reassess volume + corrected Na⁺
2Check serum K⁺Determines whether insulin is safe to start (see next table)
3Start insulin — regular 0.1 U/kg/hr IV infusionOnly if K⁺ ≥ 3.3; goal glucose fall 50–75 mg/dL/hr
4Add K⁺ to fluids20–30 mEq/L when K⁺ is 3.3–5.2, to keep K⁺ 4–5
5Add dextrose (D5) when glucose ≈ 200 mg/dLContinue insulin; reduce rate to 0.02–0.05 U/kg/hr as needed
6Bicarbonate only if pH < 6.9Not indicated for pH ≥ 6.9
7Monitor: glucose hourly; K⁺, HCO₃⁻, anion gap q2–4hTrack closure of the gap, not just the sugar
8Transition to SC insulin once DKA resolvesOverlap SC + IV by 1–2 hr; patient must be able to eat
Concept map linking the causes, pathophysiology, diagnosis, and management of diabetic ketoacidosis
DKA concept map tying the management steps to the underlying pathophysiology. · Wikimedia Commons — Mahatef — CC BY 3.0, via Wikimedia Commons

Potassium-first decision (before starting insulin)

Serum K⁺ (mEq/L)Insulin?Potassium action
< 3.3HOLD insulinGive IV KCl (~10–20 mEq/hr) until K⁺ ≥ 3.3, then start insulin
3.3 – 5.2Give insulinAdd 20–30 mEq K⁺ per liter of fluid; keep K⁺ 4–5
> 5.2Give insulinNo potassium yet; recheck q2h, confirm adequate urine output
Vignette → next best step (potassium)

Vignette: A 22-year-old woman with type 1 diabetes presents with nausea, vomiting, and Kussmaul respirations. Labs: glucose 610 mg/dL, venous pH 7.06, HCO₃⁻ 7 mEq/L, anion gap 29, K⁺ 3.1 mEq/L. You have already started 0.9% NaCl.

Next best step: Do NOT start the insulin drip yet — give IV potassium first. With K⁺ < 3.3, insulin would shift potassium into cells and precipitate life-threatening hypokalemia and arrhythmia. Continue isotonic fluids, replete KCl until K⁺ ≥ 3.3, then begin regular insulin at 0.1 U/kg/hr.

Why the trap works: the severe acidosis makes serum K⁺ look acceptable, but total-body potassium is markedly depleted — treating the number instead of the physiology is the mistake being tested.

Two memory hooks worth keeping
  • "Treat the GAP, not the glucose." The insulin infusion keeps running — with dextrose added once glucose ≈ 200 mg/dL — until the anion gap closes, not when the sugar normalizes.
  • The "I's" — precipitants of DKA:
  • Infection (pneumonia, UTI — the most common overall)
  • Infarction / ischemia (MI, stroke — check an ECG)
  • Insulin lack (missed doses or new-onset T1DM — the leading cause in known diabetics)
  • Iatrogenic (glucocorticoids, thiazides, SGLT2 inhibitors → euglycemic DKA)
  • Infant on board (pregnancy)

Resolution, transition, and the classic pitfalls

DKA is resolved when glucose < 200 mg/dL plus at least two of: serum HCO₃⁻ ≥ 15 mEq/L, venous pH > 7.3, or anion gap ≤ 12. Only then transition to subcutaneous insulin, overlapping it with the IV infusion by 1–2 hours — IV insulin has a half-life of minutes, so stopping the drip abruptly causes rebound ketoacidosis.

High-yield pitfalls:

  1. Stopping insulin when glucose normalizes but the gap is still open — instead add dextrose and keep the drip running.
  2. Giving insulin before repleting potassium (K⁺ < 3.3).
  3. Failing to overlap SC insulin before discontinuing the drip → rebound DKA.
  4. Overzealous fluids / rapid osmolar shifts in childrencerebral edema (new headache, lethargy, bradycardia; the leading cause of pediatric DKA death — treat with mannitol or hypertonic saline).
  5. Missing euglycemic DKA on SGLT2 inhibitors or in pregnancy, where glucose may be only mildly elevated.
  6. Overusing bicarbonate (reserve for pH < 6.9).
Vignette → next best step (treat the gap)

Vignette: Six hours into treatment, the same patient's repeat labs show glucose 190 mg/dL, but anion gap 17 and HCO₃⁻ 12 mEq/L. The intern asks whether to stop the insulin infusion now that the glucose is nearly normal.

Next best step: Do not stop insulin — add dextrose (switch to a D5-containing fluid) and continue the infusion. The anion gap is still elevated, so ketoacidosis is unresolved and insulin must keep running to clear ketones. Reduce the insulin rate (e.g., to 0.02–0.05 U/kg/hr) to avoid hypoglycemia, and continue until the gap normalizes and resolution criteria are met.

Board point: this is the exam's favorite DKA trap — treat the gap, not the glucose.

Practice Clinical Management now

Board-style questions, spaced-repetition flashcards, and a Socratic AI tutor — free to start.