In the gastrointestinal tract, serotonin (5-hydroxytryptamine, 5-HT) is an important monoamine that regulates intestinal dynamics. QGP-1 cells are human-derived enterochromaffin cells that secrete 5-HT and functionally express Piezo ion channels associated with cellular mechanosensation. Piezo ion channels can be blocked by Grammostola spatulata mechanotoxin 4 (GsMTx4), a spider venom peptide that inhibits cationic mechanosensitive channels. The primary aim of this study was to explore the effects of GsMTx4 on 5-HT secretion in QGP-1 cells in vitro. We investigated the transcript and protein levels of the Piezo1/2 ion channel, tryptophan hydroxylase 1 (TPH1), and mitogen-activated protein kinase signaling pathways. In addition, we observed that GsMTx4 affected mouse intestinal motility in vivo. Furthermore, GsMTx4 blocked the response of QGP-1 cells to ultrasound, a mechanical stimulus.The prolonged presence of GsMTx4 increased the 5-HT levels in the QGP-1 cell culture system, whereas Piezo1/2 expression decreased, and TPH1 expression increased. This effect was accompanied by the increased phosphorylation of the p38 protein. GsMTx4 increased the entire intestinal passage time of carmine without altering intestinal inflammation. Taken together, inhibition of Piezo1/2 can mediate an increase in 5-HT, which is associated with TPH1, a key enzyme for 5-HT synthesis. It is also accompanied by the activation of the p38 signaling pathway. Inhibitors of Piezo1/2 can modulate 5-HT secretion and influence intestinal motility.