With the development of petroleum industry, the environmental pollution caused by waste drilling fluid has begun to appear, which has caused different degrees of influence on the natural environment and human living environment. By using the newly developed integrated treatment equipment for waste drilling fluid while drilling, our company has achieved good environmental protection effects through a series of treatment processes such as waste drilling fluid collection, chemical pretreatment, pressure filtration, oxidation, sewage treatment and recycling after reaching the standard. In this paper, through the introduction of each part of the treatment device, the technical principle and characteristics of the equipment are described, and two key technologies are improved by combining the treatment process. The field test of the integrated treatment equipment in the well Zhang 27-34 shows that the solid phase and liquid phase treated by the integrated treatment equipment can reach the relevant environmental protection standards, and the equipment has a good application effect and prospect.