Heavy fuels such as coal and coal-derived liquids consist of a complex mixture of aromatic hydrocarbons and heterocyclic aromatic compounds containing nitrogen, oxygen, and sulfur. The combustion of these fuels, used as an energy source in many power plants, results in the formation of many nitrogen oxides (NO{sub x}). Density functional theory and ab initio calculations were carried out to investigate the pyrolysis mechanisms of pyrrole. All equilibrium and transition state structures of the proposed reaction channels were fully optimized by the density functional B3LYP method using the 6-31G(d,p) basis set. Relative energies were evaluated at the QCISD(T)/6-311G(d,p) level of theory. In addition to the mechanism proposed in experimental studies, alternative unimolecular pathways for the formation of cis-crotonitrile and allyl cyanide, major nitrogen-containing isomerization products, were proposed and investigated. The results suggest that a mechanism proposed in the present study is more likely responsible for the formation of allyl cyanide. For the formation of cis-crotonitrile, a mechanism proposed in the present study should also be competitive, especially under low-pressure conditions. Although extensive calculations were carried out, the authors failed to identify a unimolecular decomposition pathway generating HCN, another major nitrogen-containing pyrolysis product, with an activation barrier close to the experimentalmore » value.« less