ApoE4 impairs the cognitive function of aged mice in a sex-dependent manner, and metformin ameliorates cognitive decline in a sex- and APOE-genotype-dependent manner. This evidence concerns the gene APOE and Mental deterioration.