The results demonstrated that BMP6 [OR = 1.001002221, 95% confidence interval (CI) = 1.00001099–1.001994429, p < 0.05] and SLC48A1 (OR = 1.000723176, 95%CI = 1.000012434–1.00143442, p < 0.05) were significantly associated with the risk of endometriosis, suggesting that increased levels of these two genes were associated with an elevated risk of endometriosis and that they acted as risk factors for endometriosis according to the IVW algorithm, consistent with their expression trends in the training set (Table 1 and Table S1). This evidence concerns the gene SLC48A1 and endometriosis.