The loss of the XBP1 function in diabetes may enhance IRE1α activity. Here, XBP1 is linked to diabetes mellitus.