These findings reinforce the need to consider lifestyle and environmental determinants, along with genetic susceptibility factors such as APOE-ε4, when studying microbiota–dementia interactions. Here, APOE is linked to dementia.