In order to analyze the origin of carbon monoxide (CO) in coal seams, stress-strain experiments under temperature of 50, 150 and 250 ℃ were conducted using lignite from Kailuan mining area. Fourier transform infrared spectroscopy and elemental analysis were carried out before and after deformation of the samples. The results indicated that CO generated at 150 and 250 ℃; the gas component was mostly oxygen (O 2), with small amount of carbon dioxide (CO 2), methane (CH 4) and hydrogen (H 2). At 50 ℃, O 2 and a little CO 2 were observed and no CO was found. The carbon content of the coal samples increased slightly after deformation, and the oxygen content, H/C ratio, and O/C ratio decreased. The molecular structure of coal displayed different evolution characteristics at various temperatures. At 50 and 150 ℃, the falling off of side chains, broken of ether bond and directional realignment of the aliphatic chains resulting in the formation of long chains were the main performance of coal molecular structure evolution. While at 250 ℃, the side chains fell off and short chains formed. Furthermore, at both 150 and 250 ℃, condensed degree of aromatic ring increased. Under the action of temperature and pressure, CO forms in two ways. The first is that ether bond breaks, oxygen and carbon atoms combine together and forms CO, or O 2 forming in the broken of ether-oxygen bond leads to the oxidation of free radicals and resulting in the formation of CO. And the second is that CO derives from falling off of C=O group.