Guide · Buying an older home

Cast Iron Pipe Repair: Descale, Line or Replace?

7 min readPublished November 19, 2026
Quick answer

It depends on what the camera shows once the pipe is clean. In the 2021 IRC, descaling appears only as the required first step before relining. Relining is limited to drain pipe 4 inches and larger, and is barred where the video shows backslope, complete wall loss or separations; those sections get cut out and replaced. Our report engine puts a spot repair at $1,500 – $5,000 and full replacement at $4,000 – $15,000+.

On this page· 7 sections

Cast iron drain pipe repair comes down to four methods: descaling, lining, cutting out a bad section, and replacing the whole run. Which ones a plumber can use on your pipe depends less on preference than on two facts about it: its diameter, and what a camera sees inside it once it's clean. The 2021 model codes spell out both. If you're still working out whether your pipe is bad at all, start with our guide to cast iron sewer pipe damage and come back.

The four options side by side

Each of the four cast iron repair methods is set here against what the 2021 International Residential Code (IRC) says about each, with the cost our report engine uses where it has one.

Method
Descaling
What it does
Cleans scale and buildup out of the pipe
What the 2021 IRC says
Required before relining, then a recorded video (P3011.3)
Cost in our engine
No figure
Method
Relining
What it does
Forms a new lining inside the old pipe
What the 2021 IRC says
Drain pipe 4 inches and larger only; barred where the video shows defects (P3011.2, P3011.5)
Cost in our engine
No figure
Method
Spot repair
What it does
Cuts out the failed length and joins in new pipe
What the 2021 IRC says
Replacing a defective concealed drain pipe is new work, with a permit (R105.2)
Cost in our engine
$1,500 – $5,000
Method
Full replacement
What it does
New pipe for the run, dug or by pipe bursting
What the 2021 IRC says
Pipe bursting: 6 inches and smaller, HDPE pipe, video before and after (P3010)
Cost in our engine
$4,000 – $15,000+

Our report engine flags cast iron drain lines for houses built up to 1973, and puts the camera scope that starts all of this at $300 – $500. Our guide to what a sewer scope can reveal covers booking one.

Descaling is a step, not a verdict

Descaling cast iron pipe removes the scale and buildup inside it. It doesn't put back any pipe wall. In the 2021 IRC, descaling appears in one place: section P3011.3 requires the pipe to be "descaled and cleaned" before relining, then flushed with water and inspected by a recorded video camera survey.

The order in section P3011.3 is the useful part for anyone paying for the work. The footage taken after descaling is the first honest look at the pipe, because scale is no longer covering the wall. If a quote is for descaling alone, ask what the plumber expects the post-cleaning video to show, and what they'd recommend if it shows thin wall or a crack. Then ask for the video file.

When the code rules lining out

Relining a cast iron drain under the 2021 IRC is limited to "gravity drainage piping 4 inches (102 mm) in diameter and larger", and the lined pipe stays the same nominal size (section P3011.2). The 2021 International Plumbing Code (IPC) has the same limit in section 717.2. So the first question about lining isn't the price, it's the pipe's diameter. If yours is smaller than 4 inches, the relining section doesn't cover it, and you'd need your local building department to tell you what it accepts.

The second limit is condition. Section P3011.5 says that where the pre-lining video shows the pipe wasn't installed correctly, or shows defects, "relining shall not be permitted." The defects it names include backslope or insufficient slope, complete pipe wall deterioration, and complete separations, such as from tree roots or poor support. Those portions "shall be exposed and repaired with pipe and fittings". A liner, in other words, isn't a way to avoid digging out a section that has already failed. A sag in the line is the slope problem the code means; our guide to a sewer line belly found at inspection covers those repairs.

The relining section also puts the building official in the loop twice. Before issuing a relining permit, the official reviews the pre-lining video to decide whether the pipe can be relined (P3011.4). After the work, the pipe is flushed, flow-tested and filmed again, and that video goes to the official before the permit is finalized (P3011.8). A properly lined pipe should therefore come with two videos and a finaled permit. Keep all three with the house papers.

On materials for relining a cast iron pipe, the IPC (section 718.1) points sectional cure-in-place work to ASTM F2599 and main-and-lateral work to ASTM F2561, and the IRC (section P3011.6) points fold-and-form liners to ASTM F1504 or ASTM F1871. Asking which standard a quoted liner meets is a fair question, and a plumber who does this work will know the answer.

Spot repair: cutting out the failed length

A spot repair on cast iron drain pipe means cutting out the failed length and joining new pipe to the old. The 2021 IRC lets you stop a leak without a permit, but section R105.2 adds that when a concealed drain, waste or vent pipe becomes defective and has to be removed and replaced with new material, "such work shall be considered as new work and a permit shall be obtained". A pipe that's being cut out and replaced is that case.

The joints are where a spot repair succeeds or fails, and the IRC is specific about them. Hubless couplings on cast iron have an elastomeric sealing sleeve and a metallic shield meeting CISPI 310, ASTM C1277 or ASTM C1540, with a center stop in the sleeve (section P3003.4.3). Where the new piece is a different material, the joint is a mechanical coupling to ASTM C1173, C1460 or C1461 (section P3003.13), and plastic joined to cast-iron hub pipe takes a caulked joint or a mechanical compression joint (section P3003.13.4).

Our report engine puts a spot repair at $1,500 – $5,000. In our view it's the right call when the video shows one bad length in otherwise sound pipe. If the footage shows the same thinning along the whole run, a spot repair buys time on one length while the rest keeps corroding.

Full replacement, including pipe bursting

Full replacement of a cast iron drain means new pipe for the whole run, and our report engine puts it at $4,000 – $15,000+. It can be dug, or done by pipe bursting, which the IRC treats as replacement: section P3010 governs "the replacement of existing building sewer and building drain piping by pipe-bursting methods".

Pipe bursting in the 2021 IRC comes with its own limits and paperwork:

  • Size: gravity drainage pipe of 6 inches and smaller, replaced at the same nominal size (P3010.2; IPC 716.2 is the same).
  • Material: the new pipe is high-density polyethylene (HDPE) to ASTM F714, with HDPE fittings to ASTM D2683 (P3010.4, P3010.5).
  • Video before: a recorded survey of the old pipe, noting where the cleanouts are and how deep the connections sit (P3010.3).
  • Cleanouts: if the old line didn't have code cleanouts, they go in now (P3010.6).
  • Video after: reviewed and approved by the building official before the new pipe is pressure tested (P3010.7).

Questions to put to the plumber

  1. What diameter is the pipe, and is it 4 inches or larger?
  2. Can I have the video taken after descaling, and what does it show?
  3. Does this work need a permit here, and who pulls it?
  4. For a spot repair, which coupling standard will you use?
  5. For lining, which ASTM standard does the liner meet, and will I get the video submitted to the building official?

How we checked this

On 19 and 20 November 2026 we read the 2021 International Residential Code on the International Code Council's public site: section R105.2 (work exempt from permit), sections P3003.4.3 and P3003.13 (joints), P3010 (pipe bursting) and P3011 (relining). We also read sections 716, 717 and 718 of the 2021 International Plumbing Code. The house-age window and the scope, spot-repair and replacement costs come from our report engine as it stood when this page was published.

What we couldn't check: we have no figure of our own for descaling or for lining, so the table leaves those cells empty rather than borrowing someone else's. The ASTM liner standards are sold by ASTM, so we name them but haven't read inside them. If your area uses the Uniform Plumbing Code rather than the IRC or IPC, we couldn't read its version, because the publisher's site stopped us with a robot check. Your city or state may also amend whichever code it adopts.

Get Your Free Property Report

Before Regret builds one report for any US address: the questions to ask the seller, what to inspect first for a home of its age and county, and what the neighborhood's public data shows — with anything not yet independently verified clearly labeled, not guessed at.

Check an address

Free, with no sign-up and no credit card.

Related Guides

Frequently Asked Questions

Can a cast iron drain smaller than 4 inches be relined?

Not under the relining section of the 2021 IRC. Section P3011.2 limits relining to gravity drainage piping 4 inches and larger, and the 2021 IPC has the same limit in section 717.2. A smaller pipe falls outside that section, so ask your local building department what it accepts before paying for a lining quote. Asking the plumber for the pipe's diameter is the first question about lining, before the price.

Do I need a permit to replace a section of cast iron drain pipe?

Usually yes, under the 2021 IRC. Section R105.2 lets you stop a leak without a permit, but when a concealed drain, waste or vent pipe becomes defective and has to be removed and replaced with new material, the code treats it as new work that needs a permit and an inspection. A spot repair that cuts out the failed length is that case. Ask the plumber who pulls the permit.

What paperwork should I get after a cast iron drain is lined?

Two videos and a finaled permit. Under the 2021 IRC, the building official reviews the pre-lining video before issuing the relining permit (P3011.4), and after the work the pipe is flushed, flow-tested and filmed again, with that video submitted before the permit is finalized (P3011.8). Ask which ASTM standard the liner meets too, and keep all of it with the house papers.

Is pipe bursting allowed for replacing a cast iron drain?

Yes, within limits. The 2021 IRC treats pipe bursting as replacement in section P3010 and limits it to gravity drainage pipe of 6 inches and smaller, replaced at the same nominal size with HDPE pipe to ASTM F714. The old pipe is filmed first, cleanouts go in if the old line lacked code cleanouts, and the building official approves the after-video before the new pipe is pressure tested.

How we research and write these guides