We explored whether APOE4 status modulated the effects of midlife and late-life DM on global cognition of non-demented older adults. Here, APOE is linked to diabetes mellitus.