In normal cognition (NC) (n = 1192), metformin use was associated with better memory performance over time, whereas in AD (n = 807), DPP4is use was associated with a slower rate of memory decline. Interaction effects suggested greater benefit associated with DPP4is use among APOE epsilon4 carriers. The gene discussed is APOE; the disease is Alzheimer disease.