The invention relates to a method for identifying polyamide 6 or polyamide 66 in blended textiles. The method comprises the following steps: (1) a polyamide 6 or polyamide 66 pure product is taken and a formic acid solution is added for dissolving, filtering is carried out, a solution is taken and placed in a sample cup, or a polyamide 6 or polyamide 66 pure product is directly taken and placed in a sample cup, a pyrolysis gas chromatography-mass spectrometry method is used for carrying out analysis, and a program and a mass spectrogram of a standard sample are obtained; (2) a blended textile sample to be measured is taken, a formic acid solution is added for carrying out immersion treatment, a polyamide component in the sample to be measured is dissolved, filtering is carried out, filtrate of the sample to be measured is placed in a sample cup, the pyrolysis gas chromatography-mass spectrometry method is used for carrying out analysis, and a program and a mass spectrogram of the sample to be measured are obtained; (3) compared with the standard sample, and according to characteristic pyrolysis substances and retention time of the sample to be measured as well as peak area and relative content thereof, identification and analysis of components are carried out. The method has the advantages of simple, sensitive and reliable operation, few reagent and sample amounts, and little influences on body health of test personnel and surrounding environment.