ZnO nanoparticles, well-known for their structural, optical, and antibacterial properties, are widely applied in diverse fields. The doping of different materials to ZnO, such as metals or metal oxides, is known to ameliorate its properties. Here, nanofilms composed of ZnO doped with WS 2 at 5, 15, and 25% ratios are synthesized, and their properties are investigated. Supported by molecular docking analyses, the enhancement of the bactericidal properties after the addition of WS 2 at different ratios is highlighted and supported by the inhibitory interaction of residues playing a crucial role in the bacterial survival through the targeting of proteins of interest.