The relevance of this work is of exceptional importance and is widely used in technological processes at most industrial enterprises, including oil refineries. Industrial enterprises of the oil industry are subject to strict controls on environmental protection, water consumption, and the quantity and quality of wastewater discharged. This article presents data on the treatment of recycled water before the clarification section by reverse osmosis using an electromagnetic treatment device. The authors made a pilot reverse osmosis unit with a capacity of 0.370 m3/h, the permeate output (for purified water) was 0.3 m3/h, the concentrate discharge was 0.07 m3/h. The test bench operates in a closed circuit, i.e. the permeate and brine are returned to the original container. The technological scheme of purification to the standards that meet the requirements of makeup water, as well as the technical specification for the design of industrial recycling water supply systems, has been developed.