To replace a corroded galvanized pipe with PEX, shut off and drain the water, remove the damaged steel back to a sound threaded connection, install a brass PEX transition fitting, connect and support the tubing, then pressurize and inspect the repair. A typical accessible branch repair takes 2-4 hours, but success depends on the condition of the remaining galvanized fittings.
Key facts
Galvanized steel usually corrodes from the inside, so a pipe can look sound externally while its bore is severely restricted.
PEX connects to galvanized plumbing through an approved threaded, push-to-connect, or mechanical transition fitting.
Brass male adapters, PEX tubing, and the matching crimp, clamp, or expansion system must be compatible in size and connection method.
A clean square PEX cut and full insertion depth matter more than tightening force.
A single branch repair will not restore pressure if scale remains in an upstream valve, tee, elbow, or service line.
Exposed PEX must be protected from sunlight, sharp edges, excessive heat, and physical damage.
When Should You Replace Galvanized Pipe With PEX?
Replace a corroded galvanized branch with PEX when the pipe has recurring pinhole leaks, brown water after periods of nonuse, visibly restricted flow, or threaded joints that cannot be repaired reliably. PEX is usually practical for interior potable-water distribution, especially in basements, crawl spaces, and open utility areas.
Galvanized pipe consists of carbon steel coated with zinc. The zinc layer eventually wears away, allowing rust to form inside the pipe. Scale can reduce the effective opening to a fraction of the original diameter. Replacing only a leaking nipple may stop the leak while leaving the underlying flow restriction in place.
The water-quality question deserves separate attention. Rust-colored water does not automatically prove lead contamination, but old galvanized plumbing can accumulate lead particles and other metals from upstream sources. If the building predates modern plumbing standards, test the water through a certified laboratory before assuming a PEX repair solves every health concern.
Partial repair or whole-house repipe?
A partial repair suits an isolated, accessible failure where the remaining pipe has usable wall thickness and acceptable flow. A whole-house repipe is usually more rational when several galvanized branches leak, multiple fixtures have poor pressure, or removed pipe shows heavy internal scaling.
| Condition found | Recommended scope | Typical labor time | Main reason |
|---|---|---|---|
| One leaking 12-inch nipple | Partial replacement | 1-3 hours | Localized failure |
| One basement branch, moderate scale | Branch replacement | 2-6 hours | Better access and fewer joints |
| Three or more active leaks | Whole-house assessment | 1-3 days | Repeated repairs become inefficient |
| Heavy scale at most cut ends | Full repipe | 2-5 days | Remaining steel restricts flow |
| Pipe concealed behind finished walls | Plumber evaluation | 1-5 days | Access and restoration dominate cost |
A practical rule is to inspect the inside of the cut steel. If the opening is heavily restricted or flakes when touched, replacing a longer run back to a clean manifold, tee, or supply connection is more dependable than installing PEX beside severely degraded pipe.
What Should You Prepare Before Cutting?
Prepare the shutoff plan, transition method, PEX system, tools, and access route before cutting galvanized pipe. For a typical 1/2-inch or 3/4-inch branch, budget 10-20 feet of PEX, two transition fittings, one repair coupling if needed, and 10-15 percent extra tubing.
Before-you-start checklist
| Item | Typical quantity or range | Purpose |
|---|---|---|
| PEX tubing | 10-20 feet for a branch repair | Replacement water line |
| Brass threaded PEX adapters | 2 fittings | Galvanized-to-PEX transitions |
| PEX-B crimp rings or cinch clamps | 2-4 | Secures barbed fittings |
| PEX cutter | 1 | Produces square tubing cuts |
| Two pipe wrenches | 10-inch and 14-inch typical | Holds and unthreads steel |
| Tubing supports | Every 32-48 inches typical | Controls movement and sag |
| Buckets and absorbent towels | 2-3 | Captures trapped water |
| Wire brush and approved sealant | 1 each | Cleans and seals threads |
Check local plumbing requirements before starting. Many jurisdictions require permits for repiping, concealed water lines, or changes to fire-rated wall assemblies. Follow the fitting manufacturer’s instructions and the applicable plumbing code, because connection methods, support spacing, shutoff requirements, and PEX location restrictions vary.
Which PEX type should you use?
PEX-A offers the greatest flexibility and uses expansion fittings, while PEX-B generally costs less and uses crimp rings or stainless-steel cinch clamps. Neither material is automatically the correct choice; the available tool, fitting system, installer skill, and required bend radius determine the practical choice.
| PEX option | Connection method | Typical material cost | Best use |
|---|---|---|---|
| PEX-A | Expansion sleeve and fitting | $0.50-$3.00 per foot | Tight routing and fewer joints |
| PEX-B | Copper crimp ring | $0.40-$2.00 per foot | Budget repairs and common sizes |
| PEX-B | Stainless cinch clamp | $0.40-$2.00 per foot | One-tool, multi-size repairs |
| Push-fit PEX | O-ring and grab ring | $3-$15 per fitting | Accessible emergency repairs |
PEX-A fittings can provide a larger internal passage than some insert fittings, but a correctly installed PEX-B joint is still suitable for ordinary residential distribution. Do not mix expansion fittings, crimp rings, and tubing systems unless the manufacturer specifically approves the combination.
How Do You Replace a Corroded Galvanized Pipe With PEX?
Replace a corroded galvanized pipe with PEX in seven controlled stages: isolate water, drain the line, expose sound connections, remove steel, install transitions, connect and support PEX, then test under pressure. The most important decision is where to stop removing galvanized pipe, because old threaded fittings can crack when disturbed.
Step 1: Shut off water and drain the line
Close the building main shutoff and open the lowest nearby faucet. Open a higher faucet to admit air, then drain the water heater if the work involves a hot-water branch. Turn off the water heater energy source before draining or disconnecting its piping.
Do not rely on a fixture shutoff that is already corroded. Confirm that pressure has dropped by opening the repair line and checking the gauge, if one is installed. Keep a bucket below every cut because horizontal steel pipes often retain water behind sags and scale.
You will know it worked when: the repair line produces only a short drain stream and no longer maintains pressure.
Common mistake: cutting before verifying the main valve closes fully. If the valve passes water, arrange a curb-stop or well-pump shutoff before opening the pipe.
Step 2: Expose and inspect the entire repair area
Remove insulation, access panels, or limited drywall until both ends of the damaged section are visible. Look for threaded tees, elbows, unions, valves, pipe hangers, electrical cables, gas lines, and structural members before choosing a cut point.
Measure the route rather than assuming the replacement PEX will follow the steel exactly. PEX can make broad sweeps, but it must not rub against masonry, hot flues, sharp metal, or fasteners. Leave enough room to operate pipe wrenches without loading a wall fitting.
You will know it worked when: you can identify a stable threaded fitting or a straight section suitable for an approved mechanical transition at each end.
Common mistake: opening only the visibly wet area. Water can travel along insulation or framing and make the actual failure several inches away.
Step 3: Remove the damaged galvanized pipe
If the pipe threads into a reusable fitting, cut the damaged section into manageable pieces and back the remaining nipple out with two pipe wrenches. Hold the fitting with one wrench while turning the nipple with the other. This opposing force prevents torque from transferring into the wall or an adjacent soldered joint.
Use a reciprocating saw with a fine metal blade or a hacksaw. Keep the cut square and avoid cutting into the fitting threads. When pipe walls are thin, a tubing cutter may collapse the steel instead of producing a useful threaded end.
Old galvanized threads often break at the fitting. If the nipple will not move with reasonable force, stop rather than escalating to a long cheater bar. A plumber may need to expose the fitting, replace the tee or elbow, or use a specialty internal pipe wrench.
You will know it worked when: the old section is removed without cracking the remaining fitting and the female threads remain continuous.
Common mistake: gripping a fragile fitting with one wrench only. The fitting can twist inside a wall and create a concealed leak.
Step 4: Clean and seal the threaded transition
Brush loose rust and scale from the female galvanized threads. Install a listed brass male-threaded PEX adapter, or use the fitting configuration required by the existing connection. Apply thread sealant only to tapered pipe threads, not to compression threads, flare surfaces, or the PEX connection itself.
PTFE tape and pipe dope can be used together when the fitting manufacturer permits both. Wrap tape in the tightening direction, normally four to six turns, while keeping the first thread free so fragments do not enter the waterway. Apply a thin coat of compatible pipe compound over the tape.
Thread the adapter by hand first. Tighten with a wrench until snug and aligned, but do not use maximum force. Galvanized fittings weakened by corrosion can split from over-tightening.
You will know it worked when: the adapter seats firmly, points in the intended direction, and does not require excessive force to seal.
Common mistake: using a steel nipple directly against a brass or plastic connection without checking the fitting design. Use the manufacturer-approved transition and avoid creating a rigid, stressed assembly.
Step 5: Cut and connect the PEX
Measure the route with the tubing relaxed, adding enough length for smooth bends and future service. Cut PEX with a dedicated cutter at 90 degrees. A diagonal or crushed cut can prevent a crimp ring or push-fit O-ring from sealing.
For PEX-B, place the crimp ring or cinch clamp at the specified position, push the tubing fully over the barb, and use the correct tool for that ring. For PEX-A expansion fittings, expand the tubing with the approved tool and insert the fitting to the marked depth before the tubing contracts.
Do not substitute a hose clamp, worm-drive clamp, or unlisted adhesive. Those methods do not create a code-compliant PEX joint.
You will know it worked when: the tubing reaches the fitting depth mark, the ring sits squarely over the barb, and the crimp or clamp passes the manufacturer’s gauge test.
Common mistake: cutting PEX too short. Tension at a fitting encourages leaks and makes future maintenance difficult.
Step 6: Support, protect, and insulate the new line
Support horizontal and vertical PEX according to the tubing manufacturer’s instructions and local code. A typical residential layout uses supports every 32-48 inches, with additional support near valves, transitions, and changes in direction.
Keep PEX away from direct sunlight, sharp edges, nail plates, and heat sources. Use nail plates where fasteners could penetrate the tubing. Where a line passes through framing, install approved protective sleeves or grommets if required.
PEX tolerates some expansion during freezing better than rigid steel, but it is not freeze-proof. Insulate vulnerable lines, seal cold-air pathways, and never depend on PEX flexibility to protect a permanently frozen installation.
You will know it worked when: the tubing has no kinks, rub points, unsupported loops, or contact with hot equipment.
Common mistake: securing PEX tightly to framing. The tube needs controlled movement as temperature changes, not crushing pressure from fasteners.
Step 7: Pressurize, inspect, and flush
Remove faucet aerators on the affected branch and open a nearby fixture. Open the main valve slowly so air and loose debris can leave without a pressure surge. Close the fixture after the air clears, then inspect every new joint with dry tissue.
Follow the fitting manufacturer’s pressure-test procedure. Some systems permit water testing at normal working pressure, while others specify a separate air or hydrostatic test. Never exceed the lowest pressure rating of the tubing, fitting, valve, or test method.
Flush the branch until water runs clear, then reinstall the aerators. Check the repair immediately, again after 15-30 minutes, and once more after the system has returned to normal hot or cold operating conditions.
You will know it worked when: the pressure remains stable, tissue stays dry around each joint, and the fixture receives clear water without a new flow restriction.
Common mistake: testing only while the system is depressurized. Many poor joints leak only at full static pressure.
Which Transition Fitting Should You Use?
Use a threaded brass adapter when a sound galvanized female fitting remains, a push-to-connect adapter when the exposed steel is clean and dimensionally suitable, and a mechanical coupling when threads are unusable. A push-fit connection is convenient, but it is not a universal solution for rough, deeply corroded pipe.
| Transition method | Required pipe condition | Typical fitting cost | Main limitation |
|---|---|---|---|
| Brass male-threaded adapter | Sound female galvanized threads | $3-$12 | Requires unthreading old steel |
| Push-to-connect adapter | Clean, round, deburred pipe | $10-$30 | O-ring needs a smooth sealing surface |
| Dresser coupling | Straight pipe with usable outside diameter | $15-$50 | Needs working access and correct size |
| New galvanized or brass union | Accessible open assembly | $10-$40 | Adds a rigid component and more joints |
Push-to-connect manufacturers specify acceptable pipe materials, outside diameters, insertion depths, and surface conditions. Remove paint, burrs, rust ridges, and sharp edges before insertion. If the pipe wall is too thin or pitted under the O-ring, the fitting may leak even when it appears fully inserted.
A dielectric union is not automatically required simply because galvanized steel and brass are present. PEX electrically separates the water path from the tubing, and brass adapters are commonly used for this transition. Follow the fitting manufacturer’s instructions and local code rather than applying a blanket rule about electrolysis.
What Problems Can Remain After the Repair?
The most common post-repair problems are low flow, leaks at old fittings, debris in aerators, freezing, and continued failure elsewhere in the galvanized system. A successful PEX connection cannot remove scale trapped in an upstream steel valve or restore a service line that is already obstructed.
| Symptom after repair | Likely cause | First diagnostic action | Corrective direction |
|---|---|---|---|
| Low flow at one fixture | Scale in valve or aerator | Remove aerator and compare flow | Clean or replace restriction |
| Low flow throughout house | Main galvanized line restriction | Compare multiple fixtures | Assess whole-house repipe |
| Leak at threaded adapter | Damaged threads or poor seal | Dry and retest joint | Reclean or replace fitting |
| Leak at PEX joint | Incomplete insertion or bad crimp | Check depth and gauge | Cut back and remake joint |
| Brown water after work | Loose rust and sediment | Flush branch and aerators | Test water if discoloration persists |
| Repeated pinholes nearby | Systemic corrosion | Inspect adjacent branches | Plan staged or full replacement |
One expert rule of thumb is to treat a new leak near a repaired galvanized section as evidence, not coincidence. Removing one nipple can disturb scale and stress an adjacent fitting that was already near failure.
Another is to preserve removed pipe sections temporarily. A plumber or water-quality professional can inspect the scale pattern, wall thickness, and corrosion location, which helps determine whether the remaining system is suitable for another isolated repair.
How Much Does Galvanized-to-PEX Replacement Cost?
A typical accessible single-branch repair costs about $50-$250 in materials for a DIY project, while professional labor commonly brings the total to $300-$1,200 depending on access and fitting damage. A whole-house PEX repipe typically ranges from $4,000-$15,000 or more when wall access, permits, fixture count, and restoration are included.
| Project scope | DIY materials | Professional total | Typical duration |
|---|---|---|---|
| One exposed 1/2-inch branch | $50-$150 | $300-$700 | 1-3 hours |
| Exposed basement branch | $100-$300 | $600-$1,500 | 3-8 hours |
| Crawl-space multi-branch repair | $200-$600 | $1,000-$3,000 | 1-2 days |
| Whole-house repipe | $1,000-$4,000 | $4,000-$15,000+ | 2-5 days |
Material prices vary by region and brand. Labor increases sharply when a plumber must open finished walls, replace broken galvanized fittings, reroute around framing, restore insulation, or coordinate inspection.
PEX tubing itself is usually a minor portion of a repipe invoice. Access, labor, valves, manifolds, permits, drywall repair, and fixture reconnection often determine the final price.
When Should a Plumber Do the Work?
Hire a licensed plumber when the main shutoff does not close, the pipe enters a concealed wall, a threaded fitting begins turning inside the structure, multiple branches show heavy scale, or the work involves a water heater, pump, fire-rated assembly, or lead-risk property.
DIY work is most defensible on an exposed, isolated cold-water branch with a working shutoff and a sound threaded fitting. It is not a good project for improvising transition fittings, forcing corroded joints, or testing unknown systems with excessive compressed air.
A professional can also evaluate pressure at the service entrance, identify undersized supply piping, check bonding and code requirements, and recommend whether a manifold layout would improve future serviceability. PEX will not correct a municipal pressure problem, a failing pressure-reducing valve, or a blocked meter connection.
FAQ
Can PEX connect directly to galvanized pipe?
PEX cannot connect directly to a plain galvanized cut end without an approved transition fitting. Use a threaded brass adapter, a manufacturer-approved push-to-connect fitting, or a mechanical coupling selected for the pipe’s measured condition and outside diameter. Clean, round pipe is required for push-fit seals.
Should I use PEX-A or PEX-B for galvanized replacement?
Use PEX-A when flexibility and expansion fittings justify the higher tool cost. Use PEX-B when low material cost, common availability, and a crimp or cinch tool are more important. Both can perform reliably when the tubing, fitting, ring, and installation procedure are compatible.
Can I use SharkBite on old galvanized pipe?
A SharkBite-style push-to-connect fitting can work on galvanized pipe only when the specific product permits that pipe material and the surface meets its requirements. Remove rust, paint, burrs, and pits from the sealing area. Do not use it as a shortcut on severely corroded or oval pipe.
Will replacing galvanized pipe improve water pressure?
Replacing a heavily scaled branch often improves flow at the connected fixture, but a short repair cannot overcome restrictions elsewhere. Check the aerator, fixture valve, branch valve, upstream galvanized pipe, pressure-reducing valve, and service line before assuming the PEX installation failed.
Does PEX need insulation?
PEX does not require insulation in every interior location, but insulation reduces heat loss and helps protect cold lines from freezing. Insulate exposed or vulnerable runs while maintaining required clearance from flues, water-heater components, and other heat sources. Insulation does not make an unsafe routing arrangement acceptable.
How do I know whether the whole house needs repiping?
A whole-house assessment is appropriate when several branches leak, flow is poor at multiple fixtures, cut galvanized pipe has a severely restricted bore, or repairs recur within a short period. A plumber can compare static and flowing pressure and inspect representative removed sections before recommending a full repipe.
The Bottom Line
To replace a corroded galvanized pipe with PEX, remove the steel back to sound connections, use the correct brass or mechanical transition, make square PEX joints, support the tubing, and test at full operating pressure. For one accessible branch, the work may take 2-4 hours. If the remaining galvanized system is heavily scaled or repeatedly leaking, a whole-house repipe is usually the more durable decision.