The invention discloses a method for rapidly determining morphine, codeine, thebaine, papaverine and narcotine in hot-pot food and belongs to the field of food safety. The method includes extracting the morphine, the codeine, the thebaine, the papaverine and the narcotine in the hot-pot food by water-acetonitrile (V-V, 1:1), removing oil and fat (food containing oil and fat) by normal hexane, qualitatively and quantitatively analyzing by DART-MS / MS (direct analysis in real time ion source-mass spectrum / mass spectrum), and performing quantitative calculation and methodology validation according to an internal standard method. Conditions of a mass spectrometer include that an ionization mode is a positive ion mode, the DART ion source temperature is 350 DEG C, grid-electrode voltage is 350V, voltage of a mass spectrum-mass analyzer is 4,000V, ion strength of parent ions / quantitative ions / qualitative ions is that the morphine 286 / 181 / 165, the morphine -D3 289 / 165 / 152, the codeine 300-215-165, the codeine -D303 / 215 / 165, the thebaine 312 / 58 / 249, the papaverine 340 / 202 / 171 and the narcotine 414 / 220 / 353 (wherein the thebaine, the papaverine and the narcotine take the codeine -D3 as an internal standard), and secondary scanning serves as a scanning mode.