The invention discloses an oil pollution retaining valve, which comprises a handwheel, a top cover, a guide sleeve, a valve core, a valve body, an angle adjustment ruler, a filter element adjustment ruler, a valve cavity, a coarse filter membrane, a fine filter membrane, a water inlet, and a water outlet , core cavity, sewage outlet, oil outlet and bottom cover, the upper end of the valve body is provided with a hand wheel, the valve core is provided below the hand wheel; the angle adjustment ruler is provided on the hand wheel; the valve body is provided with The valve cavity, the valve core is installed in the valve cavity, the lower end of the valve body is provided with a bottom cover; one side of the valve body is provided with a water inlet. The oil pollution shut-off valve realizes the adjustment of the position of the filter port through the set angle adjustment ruler and the filter element adjustment ruler, thereby realizing the filtration of oily sewage with different densities; through the set sewage outlet and oil outlet, it realizes the pollution control Oil cleanup. The oil pollution retaining valve solves the problems of dirty oil corrosion and pipeline blockage, and has the advantages of convenient use, reasonable structure and good sewage discharge effect.