The invention discloses a method for simultaneously screening and analyzing forbidden and restricted dye in textiles. The method includes steps of (1), stripping colors of samples and extracting the samples to obtain extract liquid; (2), separating the samples by the aid of reversed phase liquid chromatograms, measuring the samples by the aid of high-resolution
mass spectra and acquiring data of chromatogram peak
retention time, accurate
mass numbers of parent ions,
isotope distribution of the parent ions and the like; (3), screening and analyzing the samples, to be more specific, determining that the samples are positive samples if high-resolution
mass spectrum data of the samples simultaneously meet conditions, or determining that the samples are negative samples if the high-resolution
mass spectrum data of the samples do not simultaneously meet the conditions, quantitatively analyzing the samples, to be more specific, extracting the accurate mass numbers of the parent ions of the samples, computing chromatogram peak areas, comparing the chromatogram peak areas to chromatogram peak areas of
standard solution and quantitatively analyzing the samples. The conditions include that the allowable deviation of the
retention time is + / -0.2 min, the allowable deviation of the accurate mass numbers of the parent ions is + / -5 ppm, and matching threshold values of the
isotope distribution of the parent ions are larger than 70%. The method has the advantages that the samples are treated in such detection
modes that the samples are treated at one step and are injected at one step and multiple compound analysis results are obtained at one step, accordingly, the detection efficiency can be greatly improved, and the detection cost can be reduced; the method is simple, convenient and speedy and is high in recycling rate and
operability.