Bacterial infections and the consequent outburst of bactericide-resistance issues are fatal menace to both global health and agricultural produce. Hence, it is crucial to explore candidate bactericides with new mechanisms of action. The filamenting temperature-sensitive mutant Z (FtsZ) protein has been recognized as a new promising and effective target for new bactericide discovery. Hence, using a scaffold-hopping strategy, we designed new 7H-pyrrolo[2,3-d]pyrimidine derivatives, evaluated their antibacterial activities, and investigated their structure-activity relationships. Among them, compound B-6 exhibited the optimal in vitro bioactivity (EC50 = 4.65 mu g/mL) against Xanthomonas oryzae pv. oryzae (Xoo), which was superior to the references (bismerthiazol [BT], EC50 = 48.67 mu g/mL; thiodiazole copper [TC], EC50 = 98.57 mu g/mL]. Furthermore, the potency of compound B-6 in targeting FtsZ was validated by GTPase activity assay, FtsZ self-assembly observation, fluorescence titration, Fourier-transform infrared spectroscopy (FT-IR) assay, molecular dynamics simulations, and morphological observation. The GTPase activity assay showed that the final IC50 value of compound B-6 against XooFtsZ was 235.0 mu M. Interestingly, the GTPase activity results indicated that the B-6-XooFtsZ complex has an excellent binding constant (K-A = 10(3.24) M-1). Overall, the antibacterial behavior suggests that B-6 can interact with XooFtsZ and inhibit its GTPase activity, leading to bacterial cell elongation and even death. In addition, compound B6 showed acceptable anti-Xoo activity in vivo and low toxicity, and also demonstrated a favorable pharmacokinetic profile predicted by ADMET analysis. Our findings provide new chemotypes for the development of FtsZ inhibitors as well as insights into their underlying mechanisms of action.