IntroductionOver the past few years, multiple observational studies have speculated a potential association between inflammatory bowel disease (IBD), which includes ulcerative colitis (UC) and Crohn’s disease (CD), and osteoporosis. However, no consensus has been reached regarding their interdependence and pathogenesis. Herein, we sought to further explore the causal associations between them.MethodsWe validated the association between IBD and reduced bone mineral density in humans based on genome-wide association studies (GWAS) data. To investigate the causal relationship between IBD and osteoporosis, we performed a two-sample Mendelian randomization study using training and validation sets. Genetic variation data for IBD, CD, UC, and osteoporosis were derived from published genome-wide association studies in individuals of European ancestry. After a series of robust quality control steps, we included eligible instrumental variables (SNPs) significantly associated with exposure (IBD/CD/UC). We adopted five algorithms, including MR Egger, Weighted median, Inverse variance weighted, Simple mode, and Weighted mode, to infer the causal association between IBD and osteoporosis. In addition, we evaluated the robustness of Mendelian randomization analysis by heterogeneity test, pleiotropy test, leave-one-out sensitivity test, and multivariate Mendelian randomization.ResultsGenetically predicted CD was positively associated with osteoporosis risk, with ORs of 1.060 (95% CIs 1.016, 1.106; p = 0.007) and 1.044 (95% CIs 1.002, 1.088; p = 0.039) for CD in the training and validation sets, respectively. However, Mendelian randomization analysis did not reveal a significant causal relationship between UC and osteoporosis (p > 0.05). Furthermore, we found that overall IBD was associated with osteoporosis prediction, with ORs of 1.050 (95% CIs 0.999, 1.103; p = 0.055) and 1.063 (95% CIs 1.019, 1.109; p = 0.005) in the training and validation sets, respectively.ConclusionWe demonstrated the causal association between CD and osteoporosis, complementing the framework for genetic variants that predispose to autoimmune disease.