In this study, we investigated the association of long-term use of a dipeptidyl peptidase-4 inhibitor (DPP-4i) with the risk of diabetic retinopathy (DR) in patients with diabetes mellitus (DM). Here, DPP4 is linked to diabetic retinopathy.