Two-sample Mendelian randomization (MR) and two-way MR were used to explore the causal relationship between Interleukin-17 (IL-17) and the risk of IBD and NAFLD using data from GWAS retrieved from an open database. This evidence concerns the gene IL17A and inflammatory bowel disease.