Objective:To achieve rapid on-site detection of benzoic acid and sorbic acid,two common preservatives in cosmetics,and improve detection efficiency and on-site detection capabilities.Methods:A portable Raman spectrometer which used silver nanoparticles as the enhancement substrate for surface enhanced Raman spectroscopy(SERS)was used to detect benzoic acid and potassium sorbate in cosmetics.Results:Benzoic acid and sorbic acid had characteristic Raman peaks at 1157 cm-1 and 871 cm-1,respectively.Further research showed that the concentrations of benzoic acid and sorbic acid were linearly correlated with the intensity of their characteristic Raman peaks,making quantitative detection possible.This was confirmed by traditional liquid chromatography,and the quantitative results were consistent.Conclusion:This SERS method has the advantages of simplicity,speed,and efficiency,and is expected to achieve rapid on-site detection of preservatives.