A cleanout is an access point in a drain, waste, or sewer pipe, usually a wye or tee fitting with a threaded removable plug, that lets a plumber run a drain cable, jetter, or inspection camera into the line without cutting the pipe. A sewer cleanout specifically gives access to the building sewer that runs from the house or building to the public sewer main or septic system.
Plumbing codes such as the IPC and UPC require cleanouts at specific locations: at the base of drainage stacks, near the junction of the building drain and the building sewer, at changes of direction in horizontal drains, and at maximum spacing intervals along long horizontal runs. Cleanouts must stay accessible, with clearance in front of the opening for rodding equipment, so they are finished with floor cleanout covers, wall access plates, or yard cleanout boxes depending on location.