Objective The intestinal flora distribution of perianal abscess patients before and after surgery was detected by 16S rDNA gene sequencing to explore whether the flora distribution was different from that of healthy people.Methods Clinical data of 15 patients with perianal abscess(observation group)and 15 healthy individuals(control group)who visited the Department of Anorectal of Jiaxing Hospital of Traditional Chinese Medicine Affiliated to Zhejiang Chinese Medicine University between August and November 2022 were collected,their fecal DNA was extracted,and their data including alpha diversity,beta diversity were analyzed by PCR amplification and 16S rDNA gene sequencing,and possible major hallmark flora of perianal abscess were screened.Results Alpha diversity analysis showed that com-pared to the control group,the observation group had preoperative levels of Chao1 and Observed_species increased,while the postoperative Shannon and Simpson indicesdecreased,with significant differences(P<0.05).Compared with opera-tive,postoperative Chao1,Shannon,Simpson,Observed_species in the observation decreased(P<0.05).The relative abundance of Bacillota,Pseudomonadota,Actinomycetota and Bacteroidota was significantly different between the control group and the observation group before and after surgery(P<0.05).Compared with the control group,the relative abun-dance of Actinomycetota in the observation group before surgery was reduced(P<0.05),and the relative abundance of Pseudomonadota after surgery was increased(P<0.05).Compared with operative,the relative abundance of Pseudo-monadota in the observation increased after operation(P<0.05).The main marker flora of perianal abscess was screened,and receiver operating characteristic analysis showed that Bilophila wadsworthia had the max AUC(AUC=0.831).Conclusion The intestinal flora of patients with perianal abscess differs significantly from that of healthy indi-viduals before and after surgery,and the abundance of intestinal flora changes significantly after surgical treatment.Bilo-phila may be a major marker of perianal abscess.