Diabetic ketoacidosis (DKA) is a serious complication of diabetes that can be life-threatening. DKA is most common among people with type 1 diabetes. People with type 2 diabetes can also develop DKA. DKA develops when your body doesn't have enough insulin to allow blood sugar into your cells for use as energy.