Significance Mechanical forces are important for normal gastrointestinal tract function. The enterochromaffin cells in the gastrointestinal epithelium have been proposed, but not previously shown, to be specialized sensors that convert forces into serotonin release, and serotonin released from these cells is important for normal gastrointestinal secretion and motility. The findings in this study show that some enterochromaffin cells are indeed mechanosensitive, and that they use mechanosensitive Piezo2 channels to generate an ionic current that is critical for the intracellular Ca 2+ increase, serotonin release, and epithelial fluid secretion.