Background: The aim of this study is to compare the effect of sodium–glucose cotransporter-2 inhibitors (SGLT-2i), glucagon-like peptide-1 receptor agonists (GLP-1RA), and dipeptidyl peptidase-4 inhibitors (DPP-4i) on the risk of diabetic retinopathy (DR) in patients with type 2 diabetes (DM2). This evidence concerns the gene DPP4 and diabetic retinopathy.