The pipe that carries everything from your house to the city main or septic tank is out of sight until it cracks, clogs with roots or collapses. Replacing it is usually a few thousand dollars, but the real number depends on how long the line is, how it is replaced and what has to be torn up and put back on top of it.
Enter the length of your line, choose a method, and tell the calculator whether the route runs under lawn, landscaping or a driveway. It adds a camera inspection and a permit, then compares the same line done three ways so you can see which method is cheapest once restoration is counted.
What the calculator does
Pipe work is priced per foot. Digging and replacing uses $125 per foot, the midpoint of This Old House’s $50 to $200 for traditional excavation. Pipe bursting uses $130 and cured-in-place lining $170, the midpoints of HomeGuide’s per-foot ranges. Trenchless methods only need small access pits, so the calculator assumes their price already covers that digging.
For a dug trench the tool adds restoration: a trench about two feet wide across the full length, priced at HomeGuide’s sod or landscaping rates, plus a major driveway repair if the trench crosses one. A $300 camera inspection and a $265 permit go on every option. The bars repeat the math for all three methods, which is where the decision usually becomes clear.
Price ranges from the major cost guides
The guides agree on per-foot pricing but land in different places on totals. HomeGuide puts replacement at $50 to $250 per linear foot, or $2,000 to $10,000 for a typical 40-foot line, with a national average of $6,000 and extremes of $500 and $20,000. This Old House reports an average of $3,320, with most homeowners paying $1,390 to $5,320.
For trenchless work, Angi’s 2026 data puts pipe lining at $1,900 to $6,000 per project with a national average of $2,900, or about $135 to $150 per linear foot. Pipe bursting combined with lining runs $150 to $190 per foot in Angi’s figures.
Length, depth and what sits on top
Length is the starting point. HomeGuide’s totals scale from $500 to $2,500 for 10 feet up to $4,000 to $20,000 for 80 feet. This Old House adds depth, access and location to the list: lines under driveways, patios or foundations cost more in labor and restoration.
Restoration is where dig-and-replace jobs grow. HomeGuide lists concrete removal at $3 to $8 per square foot, landscaping at $4 to $12, sod at $1 to $2, tree removal at $150 to $2,000 and major driveway repair at $600 to $3,000. Angi puts landscape restoration anywhere from $300 to $10,000.
Dig and replace, pipe bursting or lining
Dig and replace opens a trench along the whole line. HomeGuide prices trench digging alone at $5 to $12 per foot, and This Old House says the traditional method is usually cheaper up front. Pipe bursting pulls a new pipe through the old one, breaking it apart as it goes; HomeGuide lists it at $60 to $200 per foot. Pipe lining, or cured-in-place pipe, coats the inside of the old pipe with a resin liner, at $90 to $250 per foot.
Angi says lining works as long as the existing pipe is not severely damaged, and that roots, hidden blockages and collapsed sections can add cost. The guide to trenchless vs traditional sewer line replacement walks through when each method makes sense.
Pipe material and how long it lasts
Most new lines are plastic. HomeGuide lists 4-inch PVC at $3 to $8 per foot and ABS at $3 to $11, compared with $20 to $75 for cast iron, materials only. Material is a small share of the bill; labor and restoration are the big ones.
Age tells you what you are likely to find. HomeGuide gives Orangeburg and clay pipe 30 to 60 years and cast iron and PVC 50 to 100 years. This Old House says PVC can last 100 years or more and cast iron 75 to 100 years with care.
Start with a camera, not a shovel
A camera inspection shows where the problem is and how much of the line is affected. HomeGuide puts it at $125 to $500, This Old House at $100 to $500 and Angi at $300 to $400. It is the cheapest part of the job and the one that decides everything else.
Sometimes the answer is cleaning or a spot repair rather than a new line. HomeGuide lists snaking at $150 to $500, hydro jetting at $250 to $800 and repairs overall at $150 to $3,800. Angi puts tree root removal at $100 to $600, plus any pipe repair.
Permits and licensed work
Asked whether a permit is needed, Angi’s answer is yes, in pretty much every case, and it adds that some states require licensed professionals for the work. HomeGuide lists permits at $30 to $500, while This Old House says they can add $100 to $1,000 and that some cities require specific materials or methods.
This is not a weekend project. Beyond the excavation and inspection requirements, a mistake at the connection to the main can cause sewage backups that cost far more than the pipe.
Checklist for comparing quotes
- Ask for the camera video and a written description of the defect and its location.
- Confirm the length being replaced and whether it runs to the main, the property line or the tank.
- Get the method in writing, and ask why it suits your pipe.
- Check what restoration is included: backfill, sod, concrete, pavers or driveway.
- Confirm who pulls the permit and schedules the inspection.
- Ask about the warranty on the pipe and on the workmanship.
Ways to keep the cost down
Get the camera inspection from one company and quotes from two or three others, using the same video. If the problem is a single break or a root intrusion, price a spot repair before a full replacement.
Check your insurance before the bill arrives. Angi says sewer line coverage is usually an add-on you buy for an extra premium, which is worth knowing whether or not you are replacing the line now.
Warning signs that the line is failing
HomeGuide lists unpleasant odors, gurgling sounds, clogged drains, debris in a bathtub or basement, and leaks or puddles as the usual signs. A drain that backs up in the lowest fixture in the house, often a basement floor drain or first-floor tub, points to a main line problem rather than a single clogged fixture.
Worked example: 40 feet of line under a front lawn
An illustrative example. The numbers are exactly what the calculator shows with the inputs listed.
Forty feet dug and replaced at $125 a foot, the starting inputs, costs $5,000 in pipe work. Re-sodding a two-foot trench adds $120, and the camera and permit add $565, for an estimated total of $5,685, or $142 per foot all-in. At these settings pipe bursting comes to $5,765 and lining to $7,365, so digging is slightly cheaper.
Now route the same trench across the driveway. Adding a major driveway repair of $1,800 lifts the dug total to $7,485, or $187 per foot, and pipe bursting at $5,765 becomes the cheaper choice. If the yard is also planted beds at about $8 per square foot, restoration rises to $640 and the dug total reaches $8,005.
Length changes the picture again. A 60-foot line done by lining comes to $10,765, while digging it under open lawn would cost $8,245 and pipe bursting $8,365. Lining is the most expensive per foot here, so it earns its place mainly when digging is impractical or the old pipe can be lined.
Frequently asked questions
How much does it cost to replace a sewer line?
Is trenchless sewer replacement cheaper?
How much is a sewer camera inspection?
Does homeowners insurance cover sewer line replacement?
How long do sewer pipes last?
Sources
- HomeGuide: How Much Does Sewer Line Replacement Cost?
- This Old House: How Much Does Sewer Line Replacement Cost? (2026 Pricing)
- Angi: How Much Does Trenchless Sewer Line Piping Cost?
- Angi: Sewer Line Replacement or Repair Costs
Related calculators and guides
- Water damage restoration cost per square foot: what a sewage backup inside the house costs to clean up
- Septic tank pumping cost calculator: for homes where the line runs to a septic tank
- Home maintenance budget calculator: plan for big-ticket repairs before they happen
