Age ≥ 60 years, the female gender, and high level of urinary iAs were correlated with a risk of T2DM, whereas the A allele and AA genotype of the KEAP1 SNP rs11545829 may be a protective factor. Here, KEAP1 is linked to type 2 diabetes mellitus.