These observations reveal a novel molecular mechanism regulating beta cell survival during stress and suggest the targeting of the Xbp1-Phlda3 axis as a potential therapeutic strategy in diabetes. The gene discussed is PHLDA3; the disease is diabetes mellitus.