The purpose of our research was to improve the efficiency of oil refining wastewater treatment through the use of new reagents, materials and technologies. To achieve this goal, it was necessary to solve problems of how to study the water consumption and water disposal systems of an oil refinery, determine the composition of wastewater, and analyze the sources of pollution of industrial waters with toxic impurities.