In the present study, we investigated how the loss of XBP1 affects the function and morphology of the retina in a mouse model of type 1 diabetes. Here, XBP1 is linked to type 1 diabetes mellitus.