The article presents the results of the SERS study of fluorine-containing dye 6G (R6G) adsorbed onto quartz surfaces modified with gold nanoparticles (NPs). A new technique for quartz glass modifying with hydrosols of gold NPs of various shapes has been developed. The possibilities of its application to implement SERS effect for R6G molecules have been shown. In this work, we synthesized hydrosols of spherical gold NPs (nanospheres) and rod-shaped NPs (nanorods (NRs)) and studied their optical and morphological properties. The SERS spectra of R6G molecules on NP modified quartz glasses have been obtained as well as the SERS enhancement factor has been calculated.