We successfully established a predictive model according to four key genes, namely TAP1, MMP9, CFTR, and APOE. This model effectively distinguished between high- and low-risk populations, and identified gene clusters with distinct treatment responses in IBD. This evidence concerns the gene CFTR and inflammatory bowel disease.