Collectively, our data revealed a crucial role for HDAC2 in inhibiting NLRP3/GSDMD‐mediated pyroptosis in CRC cells and highlighted HDAC2 as a potential therapeutic target for antitumour therapy. Here, HDAC2 is linked to colorectal carcinoma.