Among participants without dementia, the cognitive function according to the Mini-Mental State Examination was associated positively with Iba1 (P < 0.001) and negatively with CD68 (P = 0.033), and in participants with dementia and Alzheimer’s pathology, positively with all microglial markers except Iba1. Here, AIF1 is linked to dementia.