Installing a Sewer Line
Updated
The building sewer is the pipe that carries everything from the house to the city main or the septic tank. If it's built right, nobody thinks about it for 50 years or more. If it's built wrong, it backs up into the basement, usually on a holiday weekend. Most of a good install is decided before anyone picks up a shovel: the grade, the bedding and the connection point. Whether the house drains to a public sewer or septic system decides where this line ends and who has to approve it.
Start at the street
A sewer line is designed backward, from the main up to the house. Before digging, the crew needs to know two elevations:
- The invert of the tap or the stub at the main (or the inlet of the septic tank). The invert is the inside bottom of the pipe.
- The invert where the building drain leaves the foundation.
The difference between them, divided by the length of the run, is the slope available. If that math doesn't work, no pipe choice will fix it. A low main can mean a deeper, more expensive trench, and in some cases an ejector pump.
Call 811 before any digging. Gas, water, electric and fiber lines often cross the same strip of yard the sewer has to go through.
Slope: the number that matters most
| Pipe size | Common minimum slope | Drop per 10 ft | Drop per 50 ft |
|---|---|---|---|
| 4 in. | 1/4 in. per ft (2%) | 2-1/2 in. | 12-1/2 in. |
| 4 in. (where allowed) | 1/8 in. per ft (1%) | 1-1/4 in. | 6-1/4 in. |
| 6 in. | 1/8 in. per ft (1%) | 1-1/4 in. | 6-1/4 in. |
Many local codes and utilities require 1/4 inch per foot on a 4-inch residential sewer. Some codes allow 1/8 inch per foot on 4-inch and larger pipe, sometimes only when the depth of the main makes 1/4 inch impractical and the inspector approves it. Check the local rule before planning to the lower number.
Uniform slope matters more than steep slope. A belly (a sag in the line) holds water and solids and becomes a permanent clog point. Good crews set grade with a laser or a grade rod every few feet, not by eye.
Pipe choices
| Pipe | Where it's used | Notes |
|---|---|---|
| PVC SDR 35, gasketed | The most common building sewer pipe in many areas | Push-together gasketed joints, usually in 10, 14 or 20 ft lengths. 4-inch pipe runs roughly $1 to $2 per foot at supply houses. |
| PVC Schedule 40, solid wall | Required by some jurisdictions, common near the house and under slabs | Glued joints and a thicker wall. Costs more per foot than SDR 35. |
| ABS | Allowed in some regions | Glued joints. Not accepted everywhere. |
| Cast iron or ductile iron | Shallow cover under driveways, near water lines, commercial work | Strong and quiet, but far more expensive. |
| HDPE (fused) | Trenchless pipe bursting | Joints are heat-fused into one continuous pipe with no joints for roots to enter. |
Four inches is standard for a single-family house. Six inches is common for long runs, duplexes or where the utility requires it. Pipe material is rarely the big cost; digging, restoration and fees are.
Joints and fittings: - Use long-sweep bends and wyes. Never use short-radius 90s in a buried sewer. - Every joint should be fully seated and inside the stone bedding, not hanging in the air. - Use a transition coupling rated for the job wherever pipes of different materials meet, such as old clay to new PVC.
Depth, bedding and backfill
Depth. Pipe depth is set by the slope and by frost. In cold climates the line should be below the frost line, or covered and insulated per local rules. Many areas also want at least 12 to 18 inches of cover under lawns, and more under drives, unless the pipe is rated for less.
Bedding. Plastic sewer pipe gets its strength from the material packed around it. A typical detail:
- 4 to 6 inches of bedding under the pipe: clean crushed stone (often 3/4-inch) or pea gravel, shaped so the bells don't sit on high spots.
- Haunching: stone worked firmly under the sides of the pipe up to its springline (the horizontal midline of the pipe).
- Initial backfill: 6 to 12 inches of stone or rock-free select fill over the top of the pipe.
- Final backfill: native soil in compacted lifts, with no boulders, concrete chunks or frozen clods.
Gravel, base and asphalt calculator: tons
Order about tons
sq ft at this depth is cu yd, at tons per cu yd.
Gravel is weighed as spread, loose stone. Base and asphalt are weighed as finished, compacted layers, so enter the compacted depth and no extra is needed for compaction; the yard loads the same tonnage loose. These are state highway estimating averages: ask the yard what its own material weighs per cubic yard.
Open the gravel and base calculator on its own page
To size the bedding order, use the trench width times the bedding depth (stone under, around and over the pipe) times the run length. Add about 10% for waste.
Tracer wire. Lay locating wire or tape above plastic pipe. Without it, the next person who needs to find the line has to guess.
Separation from water lines. Many codes want about 10 feet of horizontal separation between sewer and water lines, or the water line at least 12 to 18 inches above the sewer where they cross. Some allow less with approved pipe or sleeving. Ask the inspector.
Cleanouts
Plan cleanouts into the line. They're what make the sewer serviceable later:
- One at or near the foundation, commonly within a few feet of the house, where the building drain meets the building sewer
- Additional cleanouts on long runs, commonly every 75 to 100 feet depending on local code
- At significant changes of direction
- A two-way cleanout at the property line if the utility requires one
All cleanouts should open in the direction of flow and be brought up to grade with a cap.
A backwater valve belongs on the line if the house has fixtures below the street or main elevation. Many cities now require one, and some offer rebates.
Inspection and testing
Expect the inspector to see the pipe before backfill. Typical checks:
- A water or air test on the new line
- Grade checked at several points
- Bedding and the connection to the main or tank looked at in person
Ask for a camera inspection of the finished line before final backfill. It's the cheapest proof that there are no bellies, offset joints or debris inside, and it's worth keeping for when the house is sold.
Trench safety
Any trench 5 feet or deeper needs a protective system: shoring, a trench box, or sloped or benched walls. Soil looks solid right up until it isn't. A cubic yard of dirt weighs about as much as a small car. Sewer trenches near old foundations, in sandy soil or in wet ground are some of the most dangerous excavations in residential work. No one, homeowner or crew, should step into an unprotected deep trench.
What it costs in 2026
| Item | Typical range |
|---|---|
| Open-cut sewer installation | About $50 to $200 per linear foot |
| Simple run, short distance to the street | About $60 to $150 per foot |
| Trenchless replacement (pipe bursting) | About $60 to $250 per foot |
| Cured-in-place lining (existing pipe) | About $80 to $250 per foot |
| Work under a concrete slab | About $300 to $350 per foot |
| Typical new connection, total job | About $3,000 to $15,000 |
| Long, deep or difficult runs | $25,000 and up |
| City or district tap / connection fee | A few hundred dollars to $15,000+ |
| Permit and inspection fees | Often $50 to a few hundred dollars |
At $50 to $200 per linear foot, a 50-foot open-cut run from the house to the street comes to about $2,500 to $10,000 before tap and permit fees.
What pushes the price up: - Depth. Going past about 5 feet adds shoring and time. - Rock or high groundwater, which can require dewatering. - Restoration: cutting and patching a driveway, sidewalk or street. Some cities charge per square foot of pavement cut. - Tree roots and mature landscaping in the path. - Long runs to a deep or distant main. - Tap fees, which vary hugely. Some Colorado districts charge over $10,000 for a single-family sewer tap, while other cities charge a few hundred. Call the utility first, because this number can be larger than the digging itself.
Trenchless or open cut?
Trenchless (pipe bursting or lining) makes sense when an existing line needs replacing and there's a driveway, landscaping or a mature tree in the way. It needs access pits at each end and a line that's roughly on grade already. It can't fix a sewer that was installed with a belly, because the new pipe follows the old path.
Open cut is the only practical choice for a brand-new line, a line that needs its grade corrected, or a change of route. On an open lawn it's often the cheaper option.
Can a homeowner install their own sewer line?
Some jurisdictions issue homeowner permits for work on owner-occupied property. Many require a licensed plumber or registered sewer contractor for the connection to the public main, and some for the whole line. Even where DIY is allowed:
- The tap or the connection at the main is often done or witnessed by the utility.
- The trench still has to pass inspection open.
- Renting a mini excavator is the easy part. Holding grade, bedding the pipe correctly and staying safe in the trench are the parts that take experience.
Questions to ask any contractor
- What slope is the line going in at, and how is grade being checked?
- Which pipe, which joint type, and what bedding material?
- Where will the cleanouts go?
- Is the permit, tap fee and restoration (lawn, drive, sidewalk) in the price?
- Will the line be camera-inspected before backfill, and do I get the video?
- How is the trench protected if it's over 5 feet deep?
A sewer line is buried, so it's easy to cut corners nobody sees. Get the answers to those six questions in writing, and the line should outlast the house's next two roofs.