Our results suggested that absence of Sox17 in adult pancreatic β cells results in mice with prediabetic symptoms including improper secretion of proinsulin, abnormal secretory organelles, and development of diabetes when aged and in response to a high fat diet. Here, SOX17 is linked to diabetes mellitus.