Sox5 knockdown induces gene expression changes similar to those observed in T2D and diabetic animals and has profound effects on insulin secretion, including reduced depolarization-evoked Ca2+-influx and β-cell exocytosis. Here, SOX5 is linked to type 2 diabetes mellitus.