Our research identifies Cdk5 as a key link between T2D and cognitive decline. Here, CDK5 is linked to type 2 diabetes mellitus.