The article discusses the improvement of the technology of secondary water purification at oil and gas processing enterprises, the main and stages of purification as mechanical, physicochemical, biological, post-treatment, desalination and sludge dehydration. The most optimal and effective methods are offered.