In order to reduce the hazard of coal spontaneous combustion,the cross-linking reaction between O-containing functional groups of coal should be inhibited.So the inhibitory effect of an ionic liquid(IL) on the cross-linking reaction was studied.The O-containing functional groups change the weight loss and H_2O,CO_2,CO yields of bituminous coal before and after[H0Emim][BF_4]and[Amim]Cl pre-treatment and were detected by Fourier Transform Infrared spectroscopy(FT1R) and Thermo Gravimetric(TC) analysis.The results show that | AmimjCI has a weaker ability to inhibit the cross-linking reaction of bituminous coal compared to[HOEmim][BF_4].Besides,based on Quantum Chemistry calculation,it was found that the different inhibiting effects of |H0Emim][BF_4]and[Amim]Cl are greatly related to their anions and the H linked with C2 atom on the imidazole ring.The H-donor ability of coal will be enhanced by[HOEmim][BF_4]leading to a weaker cross-linking reaction of coal.