Maintaining activity levels from midlife to late life was also associated with lower cognitive impairment risk in APOE ε4 non-carriers (OR = 0.77, 95%CI = 0.59 ~ 0.99, P-value = 4.48 × 10− 2). The gene discussed is APOE; the disease is Cognitive impairment.