Circulating TonEBP and LCN2 levels were higher in experimental diabetic mice or type 2 diabetic patients with cognitive impairment. Here, NFAT5 is linked to type 2 diabetes mellitus.