We conducted a Mendelian randomization (MR) analysis to investigate the relationship between female sex hormone levels (SHBG, total testosterone, bioavailable testosterone, and estradiol) and inflammatory bowel disease (IBD). The gene discussed is SHBG; the disease is inflammatory bowel disease.