Invasive plants have already been observed in the understory of mountain forests, which are often considered a safe shelter for most native plants. Microorganisms might be drivers of plant invasions. Nevertheless, the mechanisms determining variations in microbial community composition (beta diversity) during invasion along altitudinal gradients remain to be elucidated. Here, the elevational patterns and the driving ecological processes (e.g., environmental filtering, co-occurrence patterns, and community assembly processes) of soil bacterial beta diversity were compared between invasive and native plants on the Qinling Mountains. The species turnover dominated bacterial compositional dissimilarities in both invasive and native communities, and its contribution to total beta diversity decreased during invasion. Total soil bacterial dissimilarities and turnover exhibited significant binominal patterns over an altitudinal gradient, with a tipping point of 1413 m. Further analysis showed that the contributions of assembly processes decreased in parallel with an increase in contributions of co-occurrence patterns during the invasion process, indicating that species interdependence rather than niche partitioning is strongly correlated with the bacterial biogeography of invasive communities. Plant invasion affects the relative contributions of stochastic processes and co-occurrence interactions through the regulation of the physiochemical characteristics of soil, and ultimately determines compositional dissimilarities and the components of the bacterial community along altitudinal gradients.