The impact of A. palmeri invasion on soil bacterial community under different habitats is unclear. In this work, the influence of A. palmeri invasion on soil bacterial diversity and community structure were investigated using full-length 16S rRNA sequencing technology under four typical habitats of riverbank (A), roadside (B), wasteland (C) and farmland (D). A two-way ANOVA analysis showed that habitat, invasion and the interaction of them had little effect on alpha diversity, expect for habitat factor had a significant effect on Simpson indices (P<0.05). NMDS analysis demonstrated that soil bacterial community structures among different invasive habitats were clearly distinguished. In addition, the most abundant phyla in the non-invasive plots were Proteobacteria, Planctomycetes and Gemmatimonadetes. However, the third predominant phyla converted from Bacteroidetes to Gemmatimonadetes with the invasion of A. palmeri. LEfSe analysis revealed that the core microbiome, Burkholderiaceae and Betaproteobacteriales (riverbank habitat), Gemmatimonadetes and Gemmatimonadaceae (wasteland habitat), Sphingomonas_sediminicola (roadside habitat), Nitrosomonadaceae (farmland habitat), which played important roles in facilitating the establishment of A. palmeri to heterogeneous habitats.