In this paper, we propose a fast detection and identification algorithm of chemical gases with a passive FTIR spectrometer. We use a pre-detection algorithm that can reduce the spatial region effectively for gas detection and the candidates of the target. It is possible to remove background spectra effectively from measured spectra with the least-squares method. The CC(Correlation Coefficients) and the SNR(Signal-to-Noise Ratio) methods are used for the detection of target gases. The proposed pre-detection algorithm allows the total process of chemical gas detection to be performed with lower complexity compared with the conventional algorithms. This paper can help developing real-time chemical detection instruments and various applications of FTIR spectrometers.