A method for accurately detecting temperature based on surface-enhanced Raman scattering effect, comprising the following steps: (1) loading a plasmonic nanoparticle monolayer film on a support substrate; (2) soaking the monolayer film substrate in a probe In the molecular solution, it is dried to make a hard substrate temperature sensor or a flexible substrate temperature sensor; (3) The hard substrate temperature sensor or flexible substrate temperature sensor is placed under a gradient working temperature to collect the Raman spectrum of its surface, and the characteristic temperature is established. and the standard curve between the corresponding characteristic peak intensity; (4) place the hard substrate temperature sensor or flexible substrate temperature sensor in the detection range, collect the Raman spectrum of its surface, read the characteristic peak intensity and the temperature The standard curve comparison of the interval can realize the detection of unknown ambient temperature. The invention is simple to operate, and can realize reproducible, high-stability and high-precision temperature detection based on the temperature-dependent SERS effect of the plasmonic nanoparticle monolayer film.