Our findings suggest an important role of XBP1-mediated adaptive UPR in retinal neuronal survival and function in diabetes. The gene discussed is XBP1; the disease is diabetes mellitus.