Sex (women diagnosed earlier), APOE genotype, multimorbidity, early-onset epilepsy, and living situation were found to be independently associated with age at dementia diagnosis. Here, APOE is linked to epilepsy, early-onset.