The article presents results of research into changes in deformation properties of rocks, under influence of temperature, during the process of underground coal gasification. Samples of carboniferous sedimentary rocks (claystones and sandstones), collected in different areas of Upper Silesian Coal Basin (GZW), were heated at the temperature of between 100 and 1000-1200°C, and then subjected to uniaxial compression tests to obtain a full stress-strain curves of the samples and determine values of residual strain and Poisson's ratio. To compare the obtained values of deformation parameters of rocks, tested in dry-air state and after heating in a given range of temperature, normalised values of residual strain and Poisson's ratio were determined. Based on them, coefficient of influence of temperature on tested deformation parameters was determined. The obtained values of the coefficient can be applied in mining practice to forecast deformability of gangue during underground coal gasification, when in the direct surrounding of a georeactor there are claystones or sandstones. The obtained results were analysed based on classification of uniaxial compression strength of GZW gangue, which formed the basis for dividing claystones and sandstones into very low, low, medium and high uniaxial compression strength rocks. Based on the conducted tests it was concluded that the influence of uniaxial compression strength on the value of residual strain, unlike the influence of grain size of sandstones, is unambiguous within the range of changes in the parameter. Among claystones changes in the value of Poisson's ratio depending on their initial strength were observed. Sandstones of different grain size either increased or decreased the value of Poisson's ratio in comparison with the value determined at room temperature in dry-air conditions.