Finally, our study did not establish a direct causal relationship between the HMGCR inhibitor and the three outcomes, suggesting that there is no direct causality between statins and IBD, UC, and CD. This evidence concerns the gene HMGCR and inflammatory bowel disease.