To investigate the role of the vasculature in pancreatic β-cell regeneration, we crossed a zebrafish β-cell ablation model into the avascular npas4l mutant (i.e. cloche). Surprisingly, β-cell regeneration increased markedly in npas4l mutants owing to the ectopic differentiation of β-cells in the mesenchyme, a phenotype not previously reported in any models. The ectopic β-cells expressed endocrine markers of pancreatic β-cells, and also reduced glucose levels in the β-cell ablation model. Through lineage tracing, we determined that the vast majority of these ectopic β-cells derived from the mesodermal lineage. Notably, ectopic β-cells were found in npas4l mutants as well as following knockdown of the endothelial determinant Etv2. Together, these data indicate that in the absence of endothelial specification, mesodermal cells possess a remarkable plasticity enabling them to form β-cells, which are normally endodermal in origin. Understanding the restriction of this differentiation plasticity will help exploit an alternative source for β-cell regeneration.