Since we could not detect a significant association between type 2 diabetes and all-cause dementia in APOE ε4 carriers, we hypothesized that this might be because carriers of APOE ε4 have a competing risk of Alzheimer’s disease and are therefore exposed to a relatively lower risk of diabetes-associated dementia. Here, APOE is linked to diabetes mellitus.