Mercury is an important pollutant, which has attracted wide attention in recent years. Up to now, based on surface enhanced raman spectroscopy (SERS) strategy for detection of Hg 2+ is very attractive due to its high sensitivity among various detection methods. Based on the "turn-off" mechanism, we synthesized a magnetic Fe 3 O 4 @Ag nanomaterial for SERS detection of Hg 2+. The magnetic-plasma resonance nanoparticles, which combine magnetic and plasma resonance properties, can be used for SERS detection of mercury ions with high sensitivity and selectivity. Firstly, the magnetic nanoparticles were prepared by solvothermal reaction, and silver nanoparticles were coated on the surface of magnetic nanoparticles after modification of amino groups. By modifying the positively charged PDADMAC, polyDADMAC (PDDA) layer, the negatively charged methyl orange probe molecule is adsorbed on the surface of Fe 3 O 4 @Ag, and in the presence of Hg 2+ , a significant decrease in SERS signal can be observed. Due to the short-time reaction of Hg 2+ and Ag nanoparticles, an amalgam is formed on the surface of the Ag particles, which affects the surface plasmon resonance (SPR) characteristics of the Ag nanoparticles, resulting in enhanced attenuation of the electromagnetic field. And the short-time reaction of Hg 2+ and Ag nanoparticles also leads to a decrease in the surface zeta potential of the Ag nanoparticles and affects the adsorption of the Raman probe molecules on the surface, resulting in a decrease in the SERS signal. Therefore, the decrease of SERS intensity in the presence of Hg 2+ is mainly attributed to the interaction between Hg 2+ and Ag nanoparticles. Through our experiments, it can be proved that the detection limit of the method based on "turn-off" mechanism for detecting Hg 2+ ions can be as low as 10-10 mol/L. In addition, this method also shows high selectivity for divalent mercury ions. The SERS nanosensor designed in this experiment can be used to detect the specificity and ultra-sensitivity of Hg 2+ in the environment, and it also provides great potential for the construction of SERS nanosensor for heavy metal ions. Keywords surface enhanced Raman spectroscopy (SERS); mercury(II) ion; magnetic nanomaterial; rapid detection; silver