The diabetes-induced impairment of retinal function is rescued in RPE-specific Akt2 cKO mice. Here, AKT2 is linked to diabetes mellitus.