Abstract. Underground, the pyrolytic conversion of an oil shale in the nearest future may become an alternative source of a fuel gas and a synthetic oil. The main scientific problem in designing this technology is to provide a methodology for determination of the optimal mode of heating the subterranean formation. Such a methodology must allow predicting the composition of the pyrolysis products and the energy consumption at a given heating rate of the subterranean formation. The paper describes the results of heating of the oil shale fragments in conditions similar to the underground. The dynamics of composition of the gaseous products of pyrolysis are presented and analyzed.