The results of the MR analysis in this study suggest that IL-17A and IL-17B may be protective factors for IBD. Here, IL17A is linked to inflammatory bowel disease.