This article presents the results of the thermal processing of sludge from domestic wastewater under laboratory conditions. The pyrolysis process is carried out in a batch reactor with an original design. Gaseous and liquid forms of hydrocarbon compounds, as well as solid carbonaceous residue, were obtained after processing the sludge in a pyrolytic plant. It is established that during pyrolysis of sludge sewage sludge, the output of the process products depends on the heating rate of the raw material.