Among older adults without cognitive impairment or dementia, both an unfavorable lifestyle and high genetic risk were significantly associated with higher dementia risk. A favorable lifestyle was associated with a lower dementia risk among participants with high genetic risk.