The invention relates to a fluorescence-detecting and spectrum pre-processing method for lubricating oil metal X-rays. The fluorescence-detecting and spectrum pre-processing method comprises the following steps: primary X-ray excitation and control, lubricating oil metal X-ray fluorescence spectrum detection, environment gas regulation, and detected spectrum pre-processing. According to the fluorescence-detecting and spectrum pre-processing method, the optimal excitation voltage and current are determined according to the critical excitation energy of a detected metal component, so that scattering spectrum influences caused by characteristic spectrum of a target material are the smallest, and the characteristic peak type and the energy spectrum with the best strength can be obtained; the performances of the detected whole spectrum and the characteristic spectrum are changed by designing pulse shaping time, pulse width, pulse signal recording time, a quick threshold value, an energy spectrum correction coefficient and the like, so that the requirements of simultaneously recording a strong characteristic peak and a weak characteristic peak are met; the gas environment of a measuring light path is flexibly regulated according to the measuring requirements, so that the accurate measurement on light metal elements in a low-energy-spectrum area is realized; and by adopting background baseline self-adaptive correction based on multi-scale decomposition is adopted, so that the requirements of directly measuring lubricating oil metal of an aero-engine are met.