Abstract:Objective This study aims to investigate the causal relationship between gut microbiota and syphilis (both early and late stages) using Mendelian randomization (MR) methodology. Methods A bidirectional two-sample MR analysis was conducted using genome-wide association studies (GWAS) summary data from 211 gut microbiota taxa to assess the association between gut microbiota and syphilis infection. The inverse variance weighted method was used as the primary analysis. Cochran’s Q test was employed for heterogeneity analysis, and MR Egger regression was used to detect and adjust for horizontal pleiotropy. MR-PRESSO (MR pleiotropy residual sum and outlier) was applied to identify and exclude pleiotropic outliers, followed by the recalculation of causal effects. A leave-one-out analysis was performed to systematically remove individual instrumental variables and assess their impact on causal effect estimates, ensuring the robustness and reliability of the results. Additionally, reverse MR analysis was used to evaluate the potential reverse causality of syphilis on gut microbiota. Results For early syphilis, results showed that Eubacterium brachy group (OR = 1.82, 95%CI: 1.05-3.13, P =0.032), Flavonifractor (OR = 3.28, 95% CI: 1.18-9.14, P =0.023), and Lachnospiraceae UCG001 (OR = 2.47, 95% CI: 1.36-4.48, P =0.003) were positively associated with the risk of syphilis infection, while Clostridiales vadinBB60 group (OR = 0.54, 95% CI: 0.30-0.95, P =0.033), Trichospirillaceae NC2004 (OR = 0.50, 95% CI: 0.28-0.92, P = 0.024), and Trichospirillaceae UCG008 (OR = 0.55, 95% CI: 0.31-0.97, P = 0.040) were negatively associated with early syphilis. For late syphilis, Collinsella (OR = 2.63, 95% CI: 1.05-6.59, P = 0.039) and Hungatella (OR = 2.85, 95% CI: 1.52-5.32, P =0.001) were associated with disease progression, while Peptococcaceae (OR = 0.45, 95%CI: 0.23-0.88, P =0.020) and Crosteria wombat(OR = 0.46, 95%CI: 0.22-0.98, P = 0.044) were found to have a protective effect. Reverse MR analysis did not identify any significant reverse causal relationship between syphilis and gut microbiota (P> 0.05). Conclusion Eubacterium brachy group, Flavonifractor and Lachnospiraceae UCG001 may be the risk factors for syphilis infection, while Clostridiales vadinBB60 group, Peptococcaceae, and Crosteria wombat may be the protective factors for syphilis infection.