Moreover, boiled coffee was associated with increased dementia risk in women and ApoE4 non-carriers, and consumption of other types of coffee was associated with decreased dementia risk in men. Here, APOE is linked to dementia.