In a conclusion, ER stress-mediated brain inflammation via activation of JNK signaling is essential for cognitive disorder in T2DM. This evidence concerns the gene MAPK8 and Cognitive impairment.