Additionally, our research provides a theoretical basis for refined conclusions and future precision medicine by analyzing the associations between IBD and its subtypes with various breast cancer subtypes characterized by differing estrogen receptor expression statuses using bidirectional Mendelian randomization. This evidence concerns the gene ESR1 and inflammatory bowel disease.