In this study, biogenic silver nanoparticles (AgNPs) and gold nanoparticles (AuNPs) were synthesized by a green approach using an aqueous extract from Codonopsis pilosula (CP) roots as a reducing and stabilizing agent. The formation of CP-AgNPs and CP-AuNPs was confirmed and optimized by UV-Vis spectroscopy. The CP-AgNPs and CP-AuNPs obtained under optimum conditions of metal ion concentration, reaction temperature, and reaction time were characterized by high-resolution transition electron microscopy (HR-TEM), selected area electron diffraction (SAED) analysis, field-emission scan electron microscopy (FE-SEM), powder X-ray diffraction (XRD) analysis, Fourier transform infrared (FTIR) spectroscopy, dispersive X-ray spectroscopy (EDX), and dynamic light scattering (DLS) method. It has been found that the biosynthesized CP-AgNPs and CP-AuNPs were formed in spherical shape with an average size of 10±2.5 nm and 20±3.2 nm, respectively. The biosynthesized metallic nanoparticles exhibited selective bacterial activity against three bacterial strains including two Gram-positive bacteria of Bacillus subtilis and Staphylococcus aureus and one Gram-negative bacteria of Escherichia coli. Meanwhile, there was no antibacterial activity detected toward Gram-negative Salmonella enteritidis. CP-AgNPs and CP-AuNPs also manifested an excellent catalytic performance in the reduction of 1,4-dinitrobenzene, 2-nitrophenol, 3-nitrophenol, and 4-nitrophenol.