In this paper, the synthesis of three types of porous materials (PMs) (porous Fe 3 O 4 , MIL-101 metal-organic framework (MOF), and MCM-41 mesoporous silica) by hydrothermal method was performed. The incorporation of Ag nanoparticles (Ag NPs) was carried out after the synthesis reaction of supports in MCM-41 and MIL-101 MOF. Ag core@ porous Fe 3 O 4 core-shell system was prepared via a one-pot hydrothermal method. Ag-MIL-101 was obtained using Urtica dioica leaf extract as the green solvent and reducing agent. The antibacterial activity of Ag-PM nanocomposites (NCs) was investigated on both Gram-negative and Gram-positive bacteria. The size of the silver NPs was determined to be 12 and 30 nm in MCM-41 and MIL-101 MOF, respectively. The diameter of Ag core in Ag@Fe 3 O 4 shell was~135 nm. The antibacterial activity of Ag-PMs was in the order Ag-MCM-41 > Ag-MIL-101 > Ag core@Fe 3 O 4 shell. The loading percent of Ag NPs in MCM-41 (84%) was more than that in MIL-101 (53%) and Fe 3 O 4 (31%). The release of Ag + ions from Ag-MCM-41, Ag-MIL-101, and Ag@Fe 3 O 4 NCs was 46, 2, and 1 ppm, respectively. The release of the Ag + ions and, consequently, the antibacterial activity of NCs depend on the uniform distribution, particles size, and the absence of aggregation of Ag NPs in PMs.