T2DM patients homozygous for the APOE-ε3 allele exhibited aberrant brain spontaneous activity and synchronization in brain regions associated with vision-related information processing, executive function, and negative emotions. Here, APOE is linked to type 2 diabetes mellitus.