The transcription factor XBP1 supports beta-cell survival by reducing cellular stress, but its role in diabetes risk and glucose regulation remains unclear. The gene discussed is XBP1; the disease is diabetes mellitus.