The present invention relates to methods for encapsulating pancreatic progenitors in a biocompatible semi-permeable encapsulating device. The present invention also relates to production of human insulin in a mammal in response to glucose stimulation.