
This is where it all comes together: the pipe goes in, the test goes on, the inspector signs. Get the slope, venting, cleanouts and test right – then document and hand over – and you can sleep well at night.
Drain slope: 1/4 inch per foot, and when 1/8 is allowed
| Pipe size | Typical minimum – IPC | Typical rule – UPC |
|---|---|---|
| 2-1/2 in and smaller | 1/4 in per ft | 1/4 in per ft |
| 3 to 6 in | 1/8 in per ft | 1/4 in per ft – 1/8 may be approved for 4 in+ |
| 8 in and larger | 1/16 in per ft | As approved by the AHJ |
Plan the fall before you start – on a long building drain, slope decides whether you reach the sewer at all. Full guide with fall tables: drain pipe slope per foot, or use the drain slope calculator.
Venting and trap arms
Every trap needs a vent. Dry vents rise at least 6 inches above the flood rim before turning horizontal, slope back to the drain and terminate above the roof away from openings. The trap arm – trap to vent – has a maximum length that differs sharply between codes: a 1-1/2 in arm is typically 6 ft under the IPC but 3 ft 6 in under the UPC. See maximum trap arm length.
Fittings at changes of direction
- Horizontal to vertical: a sanitary tee is usually allowed.
- Vertical to horizontal: long-sweep bend or wye with 1/8 bend – never a sanitary tee on its back.
- Horizontal to horizontal: wye, combination wye and 1/8 bend, or long sweep.
Cleanouts that can actually be used
Required at or near the base of stacks, at changes of direction above your code's angle, at intervals on long runs (often every 100 ft) and near the building drain/sewer junction. Size them like the pipe up to 4 in, face them with the flow, and leave room for a machine – under the IPC, 18 in clearance for pipe up to 6 in.
Insulation: three different jobs
- Energy – the IECC commonly requires R-3 on many residential hot water lines (3/4 in and larger, to manifolds, outside heated space, recirculation).
- Freeze protection – insulation slows freezing, it doesn't prevent it. Location comes first: keep pipe on the warm side.
- Condensation – closed-cell or vapor-jacketed insulation with every seam sealed.
Firestopping
Every penetration of a fire-rated wall or floor needs a listed firestop system matched to the assembly, the pipe and the hole – installed exactly as tested. Plastic pipe needs intumescent collars, wraps or sealants that close the hole when the pipe burns away. Never use a metal-pipe system on plastic, and never use ordinary foam or caulk in a rated wall.
Pressure and leak testing
Isolate what can't take the pressure, plug every opening, count your plugs in and out, test by your code's method, and photograph the gauge at start and end. Step by step: how to test a DWV system.
Documentation and handover
A job isn't finished when the inspector signs. Keep permit and test records, before-cover photos with a tape measure in frame, an as-built sketch, products used and equipment settings. Then spend ten minutes showing the customer the shutoffs, cleanouts, access panels and maintenance – and send one PDF with everything.
The Field Kit's Customer Handover Form and Job Checklists turn this section into a five-minute routine.
Guides in this section
Frequently asked questions
What is the minimum slope for a drain pipe?
1/4 inch per foot for 2-1/2 inch and smaller under both codes. Under the IPC, 3–6 inch pipe may slope at 1/8 inch per foot and 8 inch and larger at 1/16. The UPC generally uses 1/4 inch, with 1/8 inch approvable for 4 inch and larger where 1/4 is impractical.
How much clearance does a cleanout need?
Under the IPC, 18 inches in front of cleanouts on pipe up to 6 inches and 36 inches for 8 inches and larger. The UPC and local amendments set their own values.
What's the difference between firestopping and fireblocking?
Firestopping seals penetrations through fire-resistance-rated walls and floors with a tested, listed system. Fireblocking slows fire through concealed cavities in wood-frame construction using approved materials.




