Together, these data demonstrate a critical new role for SOX17 in regulating insulin trafficking and secretion and that modulation of Sox17-regulated pathways might be used therapeutically to improve cell function in the context of diabetes. This evidence concerns the gene SOX17 and diabetes mellitus.