KLF4 interacts with TXNIP to modulate the pyroptosis in ulcerative colitis via regulating NLRP3 signaling. Here, NLRP3 is linked to ulcerative colitis.