Due to the reported fact that the active functional groups in coal can be dissolved and destroyed by ionic liquids, it is expected that the spontaneous combustion of coal can be affected from a thermodynamic perspective. However, ionic liquids with different thermal stabilities have distinct influences on coal combustion. Here, the thermal stability of long-flame coal in the presence of five pure ionic liquids ([Bmim][BF4], [Bmim][Ac], [Bmim][NO3], [Hoemim][BF4], and [Pmim][BF4]) was analyzed by thermogravimetric analysis, and the flammability of the raw coal, pure ionic liquids, and coal–IL mixtures (mass ratio of 1:1) were tested using a cone calorimeter according to the indexes of the time to ignition (TTI), mass loss rate (MLR), heat release rate (HRR), total heat release rate (THR), specific extinction area (SEA), and CO production. It is shown that the TTIs of mixtures containing coal-[Bmim][BF4], coal-[Hoemim][BF4], and coal-[Pmim][BF4] are relatively long, and the MLR, HRR, THR, and SEA values are relatively low, indicating that these fluorine-containing ionic liquids have a better flame-retardant effect than the other two fluorine-free ones, which may be ascribed to their similar role to halogen inhibitors. In addition, the endothermic process of [Bmim][BF4], [Hoemim][BF4], and [Pmim][BF4] can reduce the temperature of the coal surface and delay the ignition time of coal. In contrast, the TTI of coal-[Bmim][NO3] and coal-[Bmim][Ac] mixtures is much shorter than that of coal alone, and the MLR, HRR, and THR values are larger. This may be caused by the poor thermal stability of the two nonfluorine ionic liquids that began to decompose and release heat prior to coal, providing a large amount of heat for the low-temperature oxidation of coal and thus accelerating coal oxidation and combustion. Although the F-containing ionic liquids show the ability to inhibit spontaneous combustion of coal to some extent, their organic cations are potentially combustible and release large amounts of heat, smoke, and CO under high temperatures.