This document presents an algorithm and guidelines for the comprehensive management of type 2 diabetes from the American Association of Clinical Endocrinologists (AACE). It includes algorithms for glycemic control, cardiovascular risk factor modification, adding or intensifying insulin, and treating prediabetes and overweight/obese patients. It also provides profiles of antidiabetic medications and 10 principles for the treatment of type 2 diabetes focused on individualization, lifestyle optimization, minimizing hypoglycemia and weight gain risks, and frequent evaluation. The algorithms and guidelines are intended to guide treatment decisions based on patient factors and medication attributes.