As shown in the age- and gender-adjusted Cox proportional hazard regression models, age, male gender, increased level of deprivation, less education, smoking, lack of physical activity, history of hypertension, diabetes and depression, poor overall health status, and the presence of APOE e4 allele were risk factors for developing dementia. This evidence concerns the gene APOE and depressive disorder.