Soil microbial communities are often not resistant to the impact caused by microbial invasions, both in terms of structure and functionality, but it remains unclear whether these changes persist over time. Here, we used three strains of Escherichia coli O157:H7 (E. coli O157:H7), a species used for modelling bacterial invasions, to evaluate the resilience of the bacterial communities from four Chinese soils to invasion. The impact of E. coli O157:H7 strains on soil native communities was tracked for 120 days by analysing bacterial community composition as well as their metabolic potential. We showed that soil native communities were not resistant to invasion, as demonstrated by a decline in bacterial diversity and shifts in bacterial composition in all treatments. The resilience of native bacterial communities (diversity and composition) was inversely correlated with invader's persistence in soils (R2 = 0.487, p < 0.001). Microbial invasions also impacted the functionality of the soil communities (niche breadth and community niche), the degree of resilience being dependent on soil or native community diversity. Collectively, our results indicate that bacteria invasions can potentially leave a footprint in the structure and functionality of soil communities, indicating the need of assessing the legacy of introducing exotic species in soil environments.