On the basis of the present data we propose a model for T2D in which decreased Sox5 expression contributes to reduced expression of genes with islet-selective open chromatin and loss of β-cell secretory function, due to both metabolic and distal secretory defects involving reduced Ca2+ influx. The gene discussed is SOX5; the disease is type 2 diabetes mellitus.