For long runs of piping, a cleanout is required every 100 feet. This measurement is taken from the highest end of the horizontal drainage piping to the point of connection with the building sewer.