Wastewaters are contaminated with both biological and chemical pollutants that must be eliminated before reuse and/or disposal to surface waters. This paper proposes a new magnetic CuO-doped silver/polyacrylonitrile/zeolitic imidazolate framework-67 nanocomposite (M-CuO@Ag/PAN/ZIF-67) that has multifunctional behavior for removing acetaminophen (ACT) and paraquat (PQ) residuals from contaminated water while also acting as an antibacterial agent. The antibacterial agent of as-prepared nanocomposite on Gram-positive bacteria, Staphylococcus-aureus (S. aureus), and Bacillus subtilis (B. subtilis), and also Gram-negative bacteria Escherichia coli (E. coli) were studied. To minimize the use of harmful chemicals and solvents, Fe3O4, Ag, and CuO nanoparticles were prepared through plant-mediated green synthesis by renewable, and non-toxic aqueous extracts of aloe vera plant, mulberry leaves, and Gundelia tournefortii L, respectively. The adsorption results showed that the nanocomposite could remove 99.41 ± 2.21 % of the ACT and 99.23 ± 1.83 % of the PQ from the contaminated water. The Langmuir maximum adsorption capacity of ACT and PQ by nanocomposite was calculated as 971.6 and 1143.7 mg g−1, respectively, which surpasses that of most nanocomposite-based adsorbents. Also, the adsorption kinetic data were well described with the pseudo-second-order model and the adsorption thermodynamic results showed the adsorption process was endothermic and spontaneous in nature. The antibacterial properties of nanocomposite were studied by pour plate and disk diffusion methods. It was concluded that bacterial suppression by the nanocomposite was higher in the Gram-positive bacteria than in the Gram-negative bacterium. The antibacterial results also showed that the collective antibacterial effects of the nanocomposite are stronger than its components and copper oxide-doped has also strengthened the antibacterial properties. In addition, the nanocomposite could be easily regenerated by washing with methanol, and chlorination method. Finally, the adsorption efficiency and antibacterial behavior of nanocomposite remained above 80 % and 90 % after six reuse cycles, respectively.