Our study found the APOE ε4 carriers had a higher risk of cognitive impairment, and did not benefit from the protective effects of residential greenness, compared with the non-ε4 carriers. Here, APOE is linked to Cognitive impairment.