ABSTRACTStudying the effect of oxygen in coal oxidation is very important for understanding and controlling coal spontaneous combustion. However, the oxygen effect is not very easy to determine clearly due to the large effect of heat source on coal oxidation in temperature rising experiments. Here, focused on sub-bituminous coal, the oxygen effect was separated from coal oxidation by continuously measuring FTIR spectra of coal with respect to varying temperatures and under oxygen and nitrogen. The active groups’ real-time changes of coal oxidation, thermal treatment and oxygen effect were measured. The carboxylic ester and carboxyl units are the main functional groups that increase with temperatures increasing under oxygen and nitrogen, while the other functional groups decrease in quantity. The oxygen effect promoted the consumption of aliphatic hydrocarbons and hydroxyl groups and also promoted the formation of oxygen-containing groups (except hydroxyl). Four characteristic temperature stages involved in the oxygen effect and their key functional groups were identified. Simultaneously, the relationship of oxygen consumption and chemisorption in oxygen effect was analyzed. The starting temperature of oxygen chemisorption is between 50 and 60°C. The maximum contribution of oxygen effect was observed in methyl and methylene groups. These results are important for chemical control of coal spontaneous combustion. The oxidation of aliphatic hydrocarbon should be controlled before oxygen chemisorption. The value of oxygen consumption between 70 and 80°C can be measured accurately due to the constant chemisorption rate, which help to identify the tendency for spontaneous combustion. These results will help in better understanding of the reaction mechanism of coal oxidation, especially the oxygen effect.