Mechanical forces are important for normal gastrointestinal development and function. Now, He et al. have discovered a population of Drosophila midgut epithelial enteroendocrine cell (EEC) precursors that express the mechanosensitive ion channel Piezo, which generates a calcium influx that drives EEC differentiation and proliferation in response to physiological mechanical stimuli.