When stratifying for APOE ε4 status, associations between type 2 diabetes and all forms of dementia were stronger for non-carriers of APOE ε4. This evidence concerns the gene APOE and type 2 diabetes mellitus.