The detection and identification of radionuclides has important applications in preventing the proliferation of nuclear materials,anti-nuclear terrorism,customs detection,and nuclear accident emergency,and is the key in the field of nuclear security.Scintillator detectors used for nuclide identification(such as NaI(Tl)and LaBr3(Ce)detectors)will appear peak shift problem when the external working environment changes(such as temperature,magnetic field,etc.),making nuclide identification results appear wrong.To correct the peak shift of the detector at different temperatures,a single peak spectral stabilization algorithm was studied in this paper.The method used the peak of 40K 1 460 keV in natural background as the reference peak,compared the measured background spectrum with the known background spectrum of different temperature 40K peak in the database,and corrected the measured energy spectrum.This method does not need to rely on the crystal's own background characteristic peaks(such as 138La 36 keV of LaBr3(Ce))or external radioactive sources,so it is easy to operate and has good applicability.In this paper,the test experiments at different temperatures prove that the method can effectively stabilize the spectrum and verify the accuracy of nuclide identification.