In this study we were able to compare the significance of hopelessness in midlife versus later life for cognitive impairment in later life and to relate these associations both to depressive symptoms and to the main genetic risk factor for Alzheimer’s disease, the apolipoprotein E4 allele (ApoE4). The gene discussed is APOE; the disease is Cognitive impairment.