Parthenium hysterophorus L., as an invasive plant, has negatively impacted the ecosystem functioning and stability of the terrestrial ecosystem in China. However, little information was available for its effects on microorganisms in the Yellow River Delta (YRD), the biggest newly-formed wetland in China. In the present study, high-throughput sequencing technology was used to obtain the bacterial community in soils and roots of different plant species, including P. hysterophorus and some native ones in the YRD. Our results showed that the Proteobacteria, Acidobacteriota, Gemmatimonadota, and Actinobacteriota were dominant in the rhizosphere soils of P. hysterophorus (84.2%) and Setaria viridis (86.47%), and the bulk soils (80.7%). The Proteobacteria and Actinobacteriota were dominant within the root of P. hysterophorus. A total of 2468 bacterial OTUs were obtained from different groups among which 140 were observed in all the groups; 1019 OTUs were shared by P. hysterophorus non-rhizosphere soil bacteria (YNR) P. hysterophorus rhizosphere soil bacteria (YRR) groups. The indexes of the ACE (823.1), Chao1 (823.19), Simpson (0.9971), and Shannon (9.068) were the highest in the YRR groups, showing the greatest bacterial community diversity. Random forest analysis showed that the Methylomirabilota and Dadabacteria (at the phylum level) and the Sphingomonas, and Woeseia (at the genus level) were identified as the main predictors among different groups. The LEfSe results also showed the essential role of the Acidobacteriota in the YRR group. The SourceTracker analysis of the bacterial community of the YRR group was mainly from GBS groups (average 53.14%) and a small part was from YNR groups (average 6.56%), indicating that the P. hysterophorus invasion had a more significant effect on native plants’ rhizosphere microorganisms than soil microorganisms. Our observations could provide valuable information for understanding the bacterial diversity and structure of the soil to the invasion of P. hysterophorus.