In the present study, LoxP/Cre strategy was used to generate endothelial‐specific CDK5 knockout mice, and our data indicated that the mice exhibited spontaneous epilepsy accompanied by memory impairment at 6 months old. Here, CDK5 is linked to memory impairment.