Silica-based coatings containing biocide silver nanoparticles have been synthesized using low temperature sol-gel method. Two different silane based matrices, phenyltriethoxysilane (PhTEOS) and tetraethyl orthosilicate (TEOS), were selected as precursor to prepare silica-based film. The films were analyzed by using UV-visible spectrophotometry, atomic force microscopy (AFM) and scanning electron microscopy (SEM) for their optical, surface morphological as well as structural properties. Optical properties of nanosilver in these two matrices showed that the peak absorption observed at different wavelength, which is due to the fact that optical absorption of nanoparticles is affected by the surrounding medium. It is also found that the silver absorption has higher intensity in PhTEOS than in TEOS matrix, indicating higher concentration of silver nanoparticles being loaded into the coating. To study silver release property, the films were immersed in water for 12 and 20 days. AFM and SEM analyzes present that higher concentration of silver nanoparticles and smaller particle sizes were synthesis in PhTEOS coating and consequently, more particles remains on the surfaces after 20 days which leads to longer antibacterial activity of PhTEOS coating.