Diabetic ketoacidosis (DKA) is an acute metabolic complication of diabetes caused by absolute or relative deficiency of insulin. It is more likely to occur in patients with type 1 diabetes mellitus but can occur in some patients with type 2 diabetes mellitus.