On the base of the analysis of CO_2 and N_2 inhibited spontaneous combustion of coal oxidation mechanism,CO_2 and N_2 passed into the coal samples of xinglongzhuang mine respectively,after inerting for 12h,using oil bath temperature-programmed experiment system compared and analyzed CO production rate and oxygen consumption rate parameters variation characteristics during the temperature-programmed experiment.The experiment result showed that the coal samples of adsorping CO_2 produced a small volume CO after desorption,the amount of desorption of the coal was greater with increasing temperature,and the desorption was basically completed when the coal temperature reached 140℃ above,followed by spontaneous combustion of coal properties and not adsorption of the coal samples were basically the same;in dry temperature,the CO production and oxygen consumption rate of the coal sample adsorping CO_2 was smaller than that of adsorbing N_2,So CO_2 was better than N_2 in inhibiting spontaneous combustion of coal sample.