We demonstrated that Egr1 could regulate vascular endothelial cell function in vitro and diabetes mellitus‐induced retinal vascular dysfunction in vivo through enhancing the transcription and expression of p53. This evidence concerns the gene EGR1 and diabetes mellitus.