The present study reported a single step synthesis of silver nanoparticles using ampicillin (Amp-AgNps), a second-generation β lactam antibiotic to get nanoformulation having dual properties that of antibiotic and silver. The Amp-AgNps was characterized by UV-VIS spectroscopy, TEM, XRD, FTIR and TGA. FTIR and TGA results suggested that amine group of Ampicllin reduce the metalic silver into nano form. These results were further validated by computational molecular dynamics simulation. The antibacterial potential of Amp-AgNps was investigated against sensitive and drug resistant bacteria. MIC of Amp-AgNps against 6 different bacterial strains were in the range of 3-28 µg/ml which is much lower than the MIC of ampicillin (12-720 µg/ml) and chemically synthesized silver nanoparticles (280-640 µg/ml). The repeated exposure to drugs may lead to development of resistance mechanism in bacteria against that drug, so the efficacy of Amp-AgNps after repeated exposure to bacterial strains were also studied. The results indicate that bacterial strains do not show any resistance to these Amp-AgNps even after exposure up to 15 successive cycles. The biocompatibility of these Amp-AgNps was checked against cell lines by using Keratinocytes cell lines (HaCaT).