Silver and nitrogen doped TiO2 nanoparticles (NPs) were synthesized via sol–gel method. The physicochemical properties of the achieved NPs were characterized by various methods including X-Ray diffraction (XRD), scanning electron microscopy (SEM), transmission electron microscopy (TEM), Xray photoelectron spectroscopy (XPS), and ultra violet–visible absorption spectroscopy (UV–vis). Both visible-light photocatalytic activity and antimicrobial properties were successfully demonstrated for the degradation of Rhodamine B (Rh. B.), as a model dye, and inactivation of Escherichia coli (E. coli), as a representative of microorganisms. The concentration of the employed dopant was optimized and the results revealed that the silver and nitrogen doped TiO2 NPs extended the light absorption spectrum toward the visible region and significantly enhanced the photodegradation of model dye and inactivation of bacteria under visible-light irradiation while double-doped TiO2 NPs exhibited highest photocatalytic and antibacterial activity compared with single doping. The significant enhancement in the photocatalytic activity and antibacterial properties of the double doped TiO2 NPs, under visible-light irradiation, can be attributed to the generation of two different electronic states acting as electron traps in TiO2 and responsible for narrowing the band gap of TiO2 and shifting its optical response from UV to the visible-light region.