Environmental enrichment preserved scotopic electroretinogram a-wave, b-wave and oscillatory potential amplitude, avoided albumin-Evan's blue leakage, prevented the decrease in retinal synaptophysin and astrocyte glial fibrillary acidic protein levels, the increase in Müller cell glial fibrillary acidic protein, vascular endothelial growth factor and tumor necrosis factor-α levels, as well as oxidative stress induced by diabetes. The gene discussed is TNF; the disease is diabetes mellitus.