The influencing factors of oscillation chemical reaction and application in food safety detection were studied. The results showed that oscillation chemical reaction was related to many factors. Taking the melamine in infant formula as tested samples, click the menu to collect data. Inductive time value and the content of melamine in infant formula had a linear relationship in the range of 0-40 μg/g. A detection limit of 0.08 μg/g was obtained. When the maximum dosage of magnesium sulfate, sodium nitrate, potassium iodide, calcium carbonate and urea reagent was 1×10 -3 ug/mL, respectively, there was no effect on the signal of the spectrum. The proposed method in this study did not need pretreatment for analysis of sample, and was with some antiinterference, simple and effective. At the same time, this study provided a reference for the food safety detection by nonlinear chemical oscillation system.