IMPORTANCE Understanding cardiovascular outcomes of initiating second-line antidiabetic medications (ADMs) may help inform treatment decisions after metformin alone is not sufficient or not tolerated. To date, no studies have compared the cardiovascular effects of all major second-line ADMs during this early decision point in the pharmacologic management of type 2 diabetes. OBJECTIVE To examine the association of second-line ADM classes with major adverse cardiovascular events. DESIGN, SETTING, AND PARTICIPANTS Retrospective cohort study among 132 737 insured adults with type 2 diabetes who started therapy with a second-line ADM after taking either metformin alone or no prior ADM. This study used 2011-2015 US nationwide administrative claims data. Data analysis was performed from January 2017 to October 2018. EXPOSURES Dipeptidyl peptidase 4 (DPP-4) inhibitors, glucagon-like peptide-1 (GLP-1) receptor agonists, sodium-glucose cotransporter 2 (SGLT-2) inhibitors, thiazolidinediones (TZDs), basal insulin, and sulfonylureas or meglitinides (both referred to as sulfonylureas hereafter). The DPP-4 inhibitors served as the comparison group in all analyses. MAIN OUTCOMES AND MEASURES The primary outcome was time to first cardiovascular event after starting the second-line ADM. This composite outcome was based on hospitalization for the following cardiovascular conditions: congestive heart failure, stroke, ischemic heart disease, or peripheral artery disease. RESULTS Among 132 737 insured adult patients with type 2 diabetes (men, 55%; aged 45-64 years, 58%; white, 63%), there were 3480 incident cardiovascular events during 169 384 person-years of follow-up. Patients were censored after the first cardiovascular event, discontinuation of insurance coverage, transition from International Classification of Diseases, Ninth Revision (ICD-9) to end of ICD-9 coding, or 2 years of follow-up. After adjusting for patient, prescriber, and health plan characteristics, the risk of composite cardiovascular events after starting GLP-1 receptor agonists was lower than DPP-4 inhibitors (hazard ratio [HR], 0.78; 95% CI, 0.63-0.96), but this finding was not significant in all sensitivity analyses. Cardiovascular event rates after starting treatment with SGLT-2 inhibitors (HR, 0.81; 95% CI, 0.57-1.53) and TZDs (HR, 0.92; 95% CI, 0.76-1.11) were not statistically different from DPP-4 inhibitors. The comparative risk of cardiovascular events was higher after starting treatment with sulfonylureas (HR, 1.36; 95% CI, 1.23-1.49) or basal insulin (HR, 2.03; 95% CI, 1.81-2.27) than DPP-4 inhibitors.