AbstractThe effect of fungicides on the plant-rhizosphere microbiome is a subject of ongoing debate, but whether any alteration in the rhizosphere microbiome could affect plant health is an issue that has not been thoroughly investigated. To address this deficiency, we analyzed the rhizosphere microbiome of wilt disease—resistant and disease-susceptible cucumber cultivars to determine whether (and which) plant-associated microorganisms have a role in disease resistance. We further assessed whether the fungicides thiophanate-methyl and carbendazim affect the rhizosphere microbiome, which may contribute to the plant’s immune response. Based on results acquired with both radicle-inoculation and soil-inoculation methods, cultivars Longyuanxiuchun (LYXC) and Shuyan2 (SY2) were identified as being disease resistant, whereas Zhongnong6 (ZN6) and Zhongnong38 (ZN38) were susceptible. The microbiome structure differed substantially between the resistant and susceptible plants, with LYXC and SY2 each having a significantly greater Shannon index than Zhongnong38. These results revealed that the disease-resistant cucumber cultivars recruited more beneficial bacteria, i.e., Bacillus, in their rhizosphere soil; as such, Bacillus was identified as a keystone genus in the microbial co-occurrence network. Thus, the presence of Bacillus may help cucumbers defend against fungal pathogens within the rhizosphere. Bacillus subtilis strain LD15, which was isolated from LYXC rhizosphere soil, could suppress pathogen growth, in vitro, and reduce disease severity in pot assays. Moreover, evidence also confirmed the accumulation of LD1 in the rhizosphere soil of resistant cucumber cultivars. For LYXC, application of thiophanate-methyl or carbendazim altered the microbiome structure, decreased bacterial diversity, and reduced the abundance of Bacillus species. Finally, pot assays verified that fungicide application decreased the proportion of LD15 in rhizosphere soil. From a microbial perspective, thiophanate-methyl and carbendazim may weaken the rhizobacteria-mediated defense response of cucumbers against cucumber Fusarium wilt disease. Our findings reveal a role for the rhizosphere microbiome in protecting plants from pathogens and constitute a reference for assessing the ecotoxicological risk of pesticides to non-target soil microorganisms.