The association between gut microbiota and immunologic nonresponse among people living with HIV (PLHIV) on antiretroviral therapy (ART) is not well documented. This study aimed to characterize gut microbiota among HIV-infected men who have sex with men (MSM) with different immunologic responses. We recruited HIV-infected MSM and HIV-uninfected MSM (healthy controls, HC) in Guangzhou, June-October 2021. HIV-infected MSM were grouped into good immunological responders (GIR) (CD4 + T cell count ≥ 350 cells/μL) and poor immunological responders (PIR) (<350 cells/μL). Blood and stool samples were collected. Microbial translocation in serum was performed using enzyme-linked immunosorbent assay (ELISA). Bacterial 16S ribosomal DNA sequencing was performed on stool samples, and microbial metabolites were obtained through gas chromatography-mass spectrometry. 56 GIR, 41 PIR, and 51 HC were included. Microbial translocation marker soluble cluster of differentiation 14 (sCD14) in both GIR and PIR groups was significantly higher than that in HC. Compared with PIR or HC groups, the genera of Coprococcus, Blautia, Clostridium, and SMB53 were decreased, whereas Megamonas and Megasphaera were more abundant in GIR group. Compared with GIR or PIR groups, Bifidobacterium, Collinsella, Faecalibacterium, Oscillospira, and Roseburia were more abundant, whereas