One goal of regenerative medicine is to instructively convert adult cells into other cell types for tissue repair and regeneration. Although isolated examples of adult cell reprogramming are known, there is no general understanding of how to turn one cell type into another in a controlled manner. Here, using a strategy of re-expressing key developmental regulators in vivo, we identify a specific combination of three transcription factors (Ngn3 (also known as Neurog3) Pdx1 and Mafa) that reprograms differentiated pancreatic exocrine cells in adult mice into cells that closely resemble beta-cells. The induced beta-cells are indistinguishable from endogenous islet beta-cells in size, shape and ultrastructure. They express genes essential for beta-cell function and can ameliorate hyperglycaemia by remodelling local vasculature and secreting insulin. This study provides an example of cellular reprogramming using defined factors in an adult organ and suggests a general paradigm for directing cell reprogramming without reversion to a pluripotent stem cell state.