Transient receptor potential melastatin 8 (TRPM8) is a cold sensory receptor in primary sensory neurons that regulates various neuronal functions. Substance P (SP) is a pro-inflammatory neuropeptide secreted by the neurons, and it aggravates colitis. However, the regulatory role of TRPM8 in SP release is still unclear. Our study aimed to investigate TRPM8’s role in SP release from primary sensory neurons during colitis and clarify the effect of SP on colonic epithelium. We analyzed inflammatory bowel disease patients’ data from the Gene Expression Omnibus dataset. Dextran sulfate sodium (DSS, 2.5%)-induced colitis in mice, mouse dorsal root ganglion (DRG) neurons, ND7/23 cell line, and mouse or human colonic organoids were used for this experiment. Our study found that TRPM8, TAC1 and WNT3A expression were significantly correlated with the severity of ulcerative colitis in patients and DSS-induced colitis in mice. The TRPM8 agonist (menthol) and the SP receptor antagonist (Aprepitant) can attenuate colitis in mice, but the effects were not additive. Menthol promoted calcium ion influx in mouse DRG neurons and inhibited the combination and phosphorylation of PKAca from the cAMP signaling pathway and GSK-3β from the Wnt/β-catenin signaling pathway, thereby inhibiting the effect of Wnt3a-driven β-catenin on promoting SP release in ND7/23 cells. Long-term stimulation with SP inhibited proliferation and enhanced apoptosis in both mouse and human colonic organoids. Conclusively, TRPM8 inhibits SP release from primary sensory neurons by inhibiting the interaction between PKAca and GSK-3β, thereby inhibiting the role of SP in promoting colonic epithelial apoptosis and relieving colitis.