The results of the MR analysis in this study suggest that IL-17A and IL-17B may be protective factors for IBD. This evidence concerns the gene IL17B and inflammatory bowel disease.