The rule
The vent goes through the roof in a flashing and ends vertically, open to the air. It has to stick up at least 6 inches above the roof and be at least 1 foot from any vertical surface, like a parapet, dormer wall or chimney.
ABS and PVC vent pipe exposed to sunlight has to be protected with water-based synthetic latex paint. It keeps the UV from breaking down the plastic over the years.
Where a vent ends relative to windows, doors and property lines is a separate rule in Section 906.2, and flashing details are in Section 906.5.
On the job
- Measure the 6 inches from the roof surface at the pipe.
- Keep the vent off a parapet or a wall face. Inspectors check the 1 foot from the nearest vertical surface, including a dormer wall.
- Paint exposed plastic before the final. Use water-based latex, not an oil paint or solvent-based coating.
The inspector and your city's adopted edition have the final word.