Notably, our findings revealed a positive association between elevated expression of the HMGCR gene and a decreased risk of IBD and CD, although no such correlation was observed with UC. This evidence concerns the gene HMGCR and inflammatory bowel disease.