In vivo, VE-cadherin Y685F-knockin mice were protected from diabetes- and prediabetes-induced vascular hyperpermeability, exhibited reduced protein O-GlcNAcylation and Ang2 induction, and maintained neuronal function. Here, ANGPT2 is linked to diabetes mellitus.