Exocrine-to-endocrine crosstalk in the pancreas is crucial to maintain beta cell function. However, the molecular mechanisms underlying this crosstalk are largely undefined. Trefoil factor 2 (Tff2) is a secreted factor known to promote the proliferation of beta cells in vitro, but its physiological role in vivo in the pancreas is unknown. Also, it remains unclear which pancreatic cell type expresses Tff2 protein. We therefore created a mouse model with a conditional knockout of Tff2 in the murine pancreas. We find that the Tff2 protein is preferentially expressed in acinar but not ductal or endocrine cells. Tff2 deficiency in the pancreas reduces beta cell mass on embryonic day 16.5. However, homozygous mutant mice are born without a reduction of beta cells and with acinar Tff3 compensation by day 7. When mice are aged to 1 year, both male and female homozygous and male heterozygous mutants develop impaired glucose tolerance without affected insulin sensitivity. Perifusion analysis reveals that the second phase of glucose-stimulated insulin secretion from islets is reduced in aged homozygous mutant compared to controls. Collectively, these results demonstrate a previously unknown role of Tff2 as an exocrine acinar cell-derived protein required for maintaining functional endocrine beta cells in mice.