The associations of creatinine, testosterone, and ALT with the risk of dementia were stronger among APOE ε4 carriers (P for interaction = 0.0001, 0.0001, and 0.0178) while gamma glutamyltransferase (GGT), cystatin C, total cholesterol, and LDL were stronger among APOE ε4 non-carriers (P for interaction = 0.0001, 0.0004, 0.0042, and 0.0088). Here, CST3 is linked to dementia.