Dipeptidyl peptidase 4 inhibitors and glucagon-like peptide-1 agonists were associated with a lower risk of myocardial infarction (MI) than were sulfonylureas (odds ratio [95% credible interval] 0.41 [0.24–0.71] and 0.48 [0.27–0.91], respectively). Here, GCG is linked to myocardial infarction.