We examined how APOE alleles interact with social adversity to determine dementia risk. Here, APOE is linked to dementia.