How to Install Cleanout in Sewer Line: Step-by-Step
Learn how to install a cleanout in a sewer line with a safety-focused, step-by-step approach. Plan, locate the line, select fittings, seal joints, and test for leaks while following local codes and consulting a licensed plumber when needed.

To install a cleanout in a sewer line, start with a safe plan, verify local code requirements, and assemble the right tools. This guide covers selecting a location, preparing the pipe, installing a properly sealed cleanout, and testing for leaks. Follow safety rules and consider hiring a licensed plumber if you’re unsure.
Understanding the purpose of a sewer cleanout
If you’re exploring how to install cleanout in sewer line, the goal is to provide reliable access for clearing blockages and performing maintenance without excavating repeatedly. A properly located cleanout saves time during snaking, maintenance, and emergency response while helping prevent sewer backups. In many jurisdictions, access points must be installed at specific distances from fixtures, exterior walls, and grade level. Cleaning Tips notes that planning with local regulations in mind reduces the risk of noncompliance and costly corrections later.
Planning and code considerations
Before breaking ground, check local plumbing codes and whether a permit is required. Some areas mandate a licensed plumber for main-line installations or required inspections after the work is complete. Consider utilities locate services to avoid striking buried lines, and plan for a cleanout that remains accessible but discreet. Cleaning Tips analysis, 2026, emphasizes documenting measurements and obtaining any necessary approvals to protect your home and investment.
Location and type—where and what to install
A sewer cleanout is typically placed on the main drain line near the exterior wall or at a convenient access point. Choose a location with minimal soil disturbance, good drainage, and a straight run to simplify the installation. The type of cleanout (threaded-cap vs. plug cap, straight-run vs. push-fit adapters) will depend on your pipe material and the existing sewer configuration. Always confirm compatibility with your pipe size and material before purchasing parts.
Safety and preparation
Work in a well-ventilated area, wear protective gear, and confirm that the main shutoff valve is accessible. If you’re performing exterior work, safeguard any landscaping and avoid disturbing underground utilities. Have a plan to safely manage wastewater and keep children/pets away from the work zone. The most important safety tip is to proceed only if you feel confident handling wastewater plumbing tasks.
Tools, materials, and pre-assembly considerations
Gather essential items such as a cleanout body, a removable cap, appropriate couplings, primer and solvent cement (for PVC), sealant, rubber Fernco couplings, and two wrenches. Keep spare parts like extra gaskets and a test plug handy. If you’re unsure about the correct components, consult the product specifications or ask a professional to prevent leaks or misfits.
Step-by-step overview (without duplicating the full sequence)
The steps below outline the high-level process you’ll see in the dedicated STEP-BY-STEP section. They cover locating the correct point on the main line, preparing the pipe, installing the cleanout body, ensuring a watertight seal, and performing a basic leak test. Rushing any of these actions can cause leaks or backups, so proceed deliberately and double-check fit and alignment.
Testing, sealing, and verification
After assembly, perform a thorough leak test by running water through the line and observing for drips around the seal and cap. If any seepage is detected, tighten fittings carefully and reseal using the proper solvent cement or sealant. Finally, confirm that the cleanout cap is easily removable for future maintenance and that the surrounding area remains clean and dry.
Authority sources and compliance
For authoritative guidance, consult official codes and standards. See EPA guidance on safe wastewater handling and ICC code references for installation practices. Cleanout installations should align with local code requirements and best practices to ensure long-term reliability. Links: EPA.gov, ICCSafe.org, OSHA.gov.
Common mistakes to avoid
Avoid working without shutting down the main valve or ignoring code requirements. Don’t force a misfit; choose compatible materials and avoid overtightening which can damage threads. Do not neglect a proper leak test or accessibility of the cleanout cap, which defeats the purpose of the installation.
Tools & Materials
- Cleanout body (PVC/ABS or metal)(Match pipe diameter and main line material)
- Removable cleanout cap(Keep accessible for maintenance)
- Appropriate couplings (Fernco or rubber)(Sealed connection to existing pipe)
- Primer and solvent cement (PVC/ABS)(Only if using cemented joints)
- Teflon tape or thread sealant(Seal threaded connections)
- Pipe cutter or saw(Prepare pipe ends cleanly)
- Wrenches (adjustable)(Tighten fittings without stripping)
- Safety gear (gloves, goggles)(Protect during cutting and cementing)
- Shovel or trenching tool(Needed if exterior trenching is required)
- Water test supply (bucket or hose)(For leak testing in place)
- Marker and measuring tape(Mark location and pipe diameter)
Steps
Estimated time: 2-4 hours
- 1
Identify the location and plan
Assess the main sewer line and determine where the cleanout will be most accessible. Verify distances from fixtures and exterior walls, and confirm that the chosen spot aligns with local code recommendations.
Tip: Double-check existing utilities and obtain any required permits before cutting. - 2
Shut off water and relieve pressure
Locate the main shutoff valve and fully depressurize the system. This reduces the risk of sewer spray and makes joint connections easier.
Tip: Have a bucket ready for any residual wastewater in the line. - 3
Expose the sewer main and prepare ends
Carefully expose a section of the main line at the chosen location. Clean the pipe ends and ensure they are square and free of debris to promote a good seal.
Tip: Use a proper pipe cutter for a clean cut; avoid jagged edges. - 4
Install the cleanout body and adapters
Attach the cleanout body to the prepared pipe using the selected coupling. Tighten fittings to manufacturer torque specifications and ensure threads are clean.
Tip: If cementing joints, apply primer and solvent evenly and allow appropriate cure time. - 5
Seal, then test for leaks
Install the removable cap and perform a water test to confirm a watertight seal. Check all joints for signs of leakage and re-tighten or reseal as needed.
Tip: Watch for slow seepage around the cap, which indicates a need for resealing.
Questions & Answers
Do I need a permit to install a sewer cleanout?
Permit requirements vary by location. Check your municipal code and, if required, obtain approval before starting. Hiring a licensed plumber may simplify the process and ensure inspections are completed.
Permit rules vary by location. Check with your city, or hire a plumber to handle approvals and inspections.
Is it safe to install a cleanout myself?
DIY work can be risky and exposes you to sewage exposure and gas. Only proceed if you feel confident and understand the local code, or hire a licensed professional for major installations.
It can be risky. If you're unsure, hire a professional.
What type of cleanout is best for residential work?
For most homes, a threaded-cap cleanout with a rubber coupling provides a reliable, accessible solution. Compatibility with pipe size and material is essential.
Threaded-cap cleanouts with rubber couplings work well when sized correctly.
How deep should a cleanout be installed?
Depth depends on local codes and the existing line depth. The goal is to keep the cap above grade or accessible through an exterior wall, without compromising the pipe.
Depth varies by code; aim for accessibility and proper drainage.
What should I do if sewer gas smells around the install?
Sewer gas indicates a leak or improper seal. Stop work, ventilate, and recheck all joints with the correct sealant or cement. If odors persist, consult a professional.
Persistent gas odors require immediate attention and possibly a professional check.
How do I test the cleanout after installation?
Run water through the line and inspect joints for leaks. A simple leak test or dye method can help verify a proper seal.
Test by running water and watching for leaks.
Watch Video
The Essentials
- Plan with local codes in mind and obtain permits as required
- Place cleanout at an accessible, code-compliant location
- Use compatible materials and test thoroughly for leaks
- Maintain accessibility of the cleanout cap
- Hire a licensed plumber if unsure about heavy installations
