BackgroundHIV-infected persons demonstrate notable disturbances in their intestinal microbiota; however, the impact of intestinal microbiota on HIV susceptibility in men who have sex with men (MSM), as well as the effects of HIV and antiretroviral therapy (ART) on their gut microbiota, remains under active study. Thus, our research focuses on clarifying the distinctions in intestinal microbiota composition among uninfected MSM and non-MSM healthy controls, investigating the alterations in early-stage intestinal microbial communities following HIV infection, and assessing how ART affects the intestinal microbiota.MethodsThis study enrolled four participant groups: uninfected MSM, Recent HIV-1 infection (RHI) MSM, MSM on ART, and non-MSM healthy controls, with 30 individuals in each group. We utilized 16S ribosomal DNA (16S rDNA) amplicon sequencing to analyze fecal microbiota and employed Luminex multiplex assays to measure plasma markers for microbial translocation (LBP, sCD14) and the inflammatory marker CRP.FindingsComparing uninfected MSM to non-MSM healthy controls, no substantial variances were observed in α and β diversity. Uninfected MSM had higher average relative abundances of Bacteroidetes, Prevotella, and Alloprevotella, while Bacteroides, Firmicutes, and Faecalibacterium had lower average relative abundances. MSM on ART had lower intestinal microbiota diversity than RHI MSM and uninfected MSM. In MSM on ART, Megasphaera and Fusobacterium increased, while Faecalibacterium and Roseburia decreased at genus level. Additionally, treatment with a non-nucleoside reverse transcriptase inhibitor (NNRTI) led to significant alterations in intestinal microbiota diversity and composition compared to RHI MSM. The random forest model showed that HIV infection biomarkers effectively distinguished between newly diagnosed HIV-infected MSM and HIV-negative MSM, with an ROC AUC of 76.24% (95% CI: 61.17-91.31%).ConclusionsMSM showed early intestinal microbiota imbalances after new HIV infection. MSM on ART experienced worsened dysbiosis, indicating a combined effect of HIV and ART. NNRTI-based treatment notably changed intestinal microbiota, suggesting a potential direct impact of NNRTI drugs on intestinal microbiota.