The minor Keap1 A allele was significantly more frequent in T2DM with retinopathy than T2DM patients without complication and controls. Here, KEAP1 is linked to type 2 diabetes mellitus.