Background: Microbes benefit plants by increasing nutrient availability, producing plant growth hormones, and protecting against pathogens. However, it is largely unknown how plants change root microbial communities. Results: In this study, we used a multi-cycle selection system and infection by the soilborne fungal pathogen Rhizoctonia solani AG8 (hereafter AG8) to examine how plants impact the rhizosphere bacterial community and recruit beneficial microorganisms to suppress soilborne fungal pathogens and promote plant growth. Successive plantings dramatically enhanced disease suppression on susceptible wheat cultivars to AG8 in the greenhouse. Accordingly, analysis of the rhizosphere soil microbial community using deep sequencing of 16S rRNA genes revealed distinct bacterial community profiles assembled over successive wheat plantings. Moreover, the cluster of bacterial communities formed from the AG8-infected rhizosphere was distinct from those without AG8 infection. Interestingly, the bacterial communities from the rhizosphere with the lowest wheat root disease gradually separated from those with the worst wheat root disease over planting cycles. Successive monocultures and application of AG8 increased the abundance of some bacterial genera which have potential antagonistic activities, such as Chitinophaga, Pseudomonas, Chryseobacterium, and Flavobacterium, and a group of plant growth-promoting (PGP) and nitrogen-fixing microbes, including Pedobacter, Variovorax, and Rhizobium. Furthermore, 47 bacteria isolates belong to 35 species were isolated. Among them, eleven and five exhibited antagonistic activities to AG8 and Rhizoctonia oryzae in vitro, respectively. Notably, Janthinobacterium displayed broad antagonism against the soilborne pathogens Pythium ultimum, AG8, and R. oryzae in vitro, and disease suppressive activity to AG8 in soil. Conclusions: Our results demonstrated that successive wheat plantings and pathogen infection can shape the rhizosphere microbial communities and specifically accumulate a group of beneficial microbes. Our findings suggest that soil community selection may offer the potential for addressing agronomic concerns associated with plant diseases and crop productivity.