The biosynthesis of silver nanoparticles (AgNPs) using plant extracts has become a safe replacement for conventional chemical synthesis methods to fight plant pathogens. In this study, the antifungal activity of biosynthesized AgNPs was evaluated both in vitro and under greenhouse conditions against root rot fungi of common beans (Phaseolus vulgaris L.), including Macrophomina phaseolina, Pythium graminicola, Rhizoctonia solani, and Sclerotium rolfsii. Among the eleven biosynthesized AgNPs, those synthesized using Alhagi graecorum plant extract displayed the highest efficacy in suppressing those fungi. The findings showed that using AgNPs made with A. graecorum at a concentration of 100 μg/mL greatly slowed down the growth of mycelium for R. solani, P. graminicola, S. rolfsii, and M. phaseolina by 92.60%, 94.44%, 75.93%, and 79.63%, respectively. Additionally, the minimum inhibitory concentration (75 μg/mL) of AgNPs synthesized by A. graecorum was very effective against all of these fungi, lowering the pre-emergence damping-off, post-emergence damping-off, and disease percent and severity in vitro and greenhouse conditions. Additionally, the treatment with AgNPs led to increased root length, shoot length, fresh weight, dry weight, and vigor index of bean seedlings compared to the control group. The synthesis of nanoparticles using A. graecorum was confirmed using various physicochemical techniques, including UV spectroscopy, Fourier-transform infrared spectroscopy (FTIR), transmission electron microscopy (TEM), X-ray diffraction (XRD), scanning electron microscopy (SEM), and energy-dispersive X-ray spectroscopy (EDS) analysis. Collectively, the findings of this study highlight the potential of AgNPs as an effective and environmentally sustainable approach for controlling root rot fungi in beans.