BackgroundInterleukin-17A (IL-17A), a proinflammatory cytokine primarily secreted by Th17 cells, γδT cells and natural killer T (NKT) cells, performs essential roles in the microenvironment of certain inflammation-related tumours by regulating cancer growth and tumour elimination proved in previous literature. In this study, the mechanism of IL-17A that induces mitochondrial dysfunction promoted pyroptosis has been explored in colorectal cancer cells.MethodThe records of 78 patients diagnosed with CRC were reviewed via the public database to evaluate clinicopathological parameters and prognosis associations of IL-17A expression. The colorectal cancer cells were treated with IL-17A, and the morphological characteristics of those cells were indicated by scanning electron microscope and transmission electron microscope. After IL-17A treatment, mitochondrial dysfunction was tested by mitochondrial membrane potential (MMP) and reactive oxygen species (ROS). The expression of pyroptosis associated proteins including cleaved caspase-4, cleaved gasdermin-D (GSDMD), IL-1β, receptor activator of nuclear NOD-like receptor family pyrin domain containing 3 (NLRP3), apoptosis-associated speck like protein containing a card (ASC), and factor-kappa B was measured through western blotting.ResultsPositive IL-17A protein expression was observed in CRC compared to the non-tumour tissue. IL-17A expression indicates a better differentiation, earlier stage, and better overall survival in CRC. IL-17A treatment could induce mitochondrial dysfunction and stimulate intracellular reactive oxygen species (ROS) production. Furthermore, IL-17A could promote pyroptosis of colorectal cancer cells and significantly increase the secretion of inflammatory factors. Nevertheless, the pyroptosis induced by IL-17A could be inhibited through the pre-treatment with Mito-TEMPO (a mitochondria-targeted superoxide dismutase mimetic with superoxide and alkyl radical scavenging properties) or Z-LEVD-FMK (caspase-4 inhibitor, fluoromethylketone). Additionally, after being treated with IL-17A, an increasing number of CD8 + T cells showed in mouse-derived allograft colon cancer models.ConclusionIL-17A, as a cytokine mainly secreted by γδT cells in the colorectal tumour immune microenvironment, can regulate the tumour microenvironment in multiple ways. IL-17A could induce mitochondrial dysfunction and pyroptosis through the ROS/NLRP3/caspase-4/GSDMD pathway, and promote intracellular ROS accumulation. In addition, IL-17A can promote the secretion of inflammatory factors such as IL-1β、IL-18 and immune antigens, and recruit CD8 + T cells to infiltrate tumours.Graphical AbstractSupplementary InformationThe online version contains supplementary material available at 10.1186/s12967-023-04187-3.