This study aimed to evaluate the impact of XBP1 expression on diabetes risk, beta-cell function, glycaemic traits, and treatment response across ancestries. The gene discussed is XBP1; the disease is diabetes mellitus.