To contribute to devise successful beta-cell differentiation strategies for the cure of Type 1 diabetes we sought to uncover barriers that restrict endocrine fate acquisition by studying the role of the transcriptional repressor REST in the developing pancreas. Rest expression is prevented in neurons and in endocrine cells, which is necessary for their normal function. During development, REST represses a subset of genes in the neuronal differentiation program and Rest is down-regulated as neurons differentiate. Here, we investigate the role of REST in the differentiation of pancreatic endocrine cells, which are molecularly close to neurons. We show that Rest is widely expressed in pancreas progenitors and that it is down-regulated in differentiated endocrine cells. Sustained expression of REST in Pdx1(+) progenitors impairs the differentiation of endocrine-committed Neurog3(+) progenitors, decreases beta and alpha cell mass by E18.5, and triggers diabetes in adulthood. Conditional inactivation of Rest in Pdx1(+) progenitors is not sufficient to trigger endocrine differentiation but up-regulates a subset of differentiation genes. Our results show that the transcriptional repressor REST is active in pancreas progenitors where it gates the activation of part of the beta cell differentiation program