

This guide provides comprehensive, step-by-step instructions for replacing an old, corroded, or leaking section of galvanized steel water pipe with modern, flexible PEX (cross-linked polyethylene) tubing. The process involves shutting off the water supply, cutting out the problematic galvanized section, preparing the remaining pipe ends, and connecting the new PEX pipe using appropriate transition fittings.
Best for advanced DIYers and professionals with basic plumbing knowledge and familiarity with power tools. Requires HDX Over the Glass Indoor Safety Glasses VS-265 and Work Gloves and MCR Safety BearKat Safety Glasses MCSCRWBK110.
The first and most critical step is to prepare your work area and ensure the water is completely off. Locate the main water shutoff valve for your home, which is typically found where the water service pipe enters the house, often in a basement, crawlspace, or utility closet. Turn the valve clockwise until it is fully closed. Next, relieve the pressure and drain the water from the system by opening the faucets at the highest point (e.g., an upstairs bathroom sink) and the lowest point (e.g., a basement slop sink or outdoor hose bibb) in your home. Allow the water to drain completely. Place a bucket directly under the section of galvanized pipe you will be replacing to catch any residual water that will spill out during the cutting process. Finally, gather and lay out all your tools and materials so they are within easy reach.
Identify the exact section of galvanized pipe you wish to remove. Measure and clearly mark your cut lines with a permanent marker. The most effective way to cut old galvanized pipe is with a reciprocating saw equipped with a blade designed for cutting metal. Hold the saw firmly with two hands and make a clean, straight cut through the pipe at your marks. Be prepared for the pipe to vibrate and for some water to spill into your bucket. An alternative for tighter spaces is a close-quarters tubing cutter designed for steel pipe. If you have access to a threaded joint and prefer to unscrew it, you must use two large pipe wrenches. Place one wrench on the fitting or pipe you want to remain in place to act as a back-up, preventing it from turning. Place the second wrench on the pipe section you are removing and apply steady, strong force to unscrew it (counter-clockwise). This can be very difficult due to age and corrosion.
This step is crucial for ensuring a watertight seal. Inspect the cut ends of the remaining galvanized pipe. They will likely have sharp edges or burrs from the cutting process. Use a metal file or a dedicated pipe deburring tool to smooth the inside and outside edges of the pipe ends. Any sharp edge can damage the O-ring inside a push-to-connect fitting, leading to a failure. Once the edges are smooth, take a piece of emery cloth or medium-grit sandpaper and thoroughly clean the outer surface of the pipe, extending about 1-2 inches from the end. You need to remove all rust, paint, scale, and grime to create a smooth, clean surface for the fitting to seal against.
With the galvanized pipe ends prepared, you can now install the transition fittings. Since we are using push-to-connect fittings, take the fitting and the small plastic depth gauge that came with it. Hold the gauge against the end of the cleaned pipe and use a marker to make a line on the pipe at the edge of the gauge. This mark shows how far the pipe must be inserted into the fitting for a secure connection. Now, take the push-to-connect coupling and push it firmly and squarely onto the end of the galvanized pipe. You may need to twist it slightly as you push. Continue pushing until the fitting reaches the depth mark you made. You should feel a distinct 'click' as the internal grab ring seats properly. Repeat this process on the other end of the galvanized pipe.
Now measure the distance required for the new PEX section. Use a flexible tape measure to find the distance between the faces of the two transition fittings you just installed. It's important to account for the depth the PEX will insert into each fitting. A good practice is to measure the full distance between the fittings and then add the insertion depth for each end (typically about 1 inch per fitting, but check the fitting specifications). This ensures the PEX will be fully seated. Once you have your final measurement, use a dedicated PEX cutter to make the cut. Place the cutter on your mark and squeeze the handles firmly to get a clean, square cut. Do not use a hacksaw or utility knife, as this will create a rough, angled cut that will not seal correctly in the fitting.
With the PEX pipe cut to length, the final connection is simple. As you did with the galvanized pipe, you can optionally use the depth gauge to mark the insertion depth on both ends of the PEX tube. Take the cut PEX section and insert one end into one of the open transition fittings. Push it straight in with firm pressure until it seats fully against the internal pipe stop and you feel the 'click'. The end of the PEX should meet the depth mark you made. Now, flex the PEX pipe slightly and align the other end with the second fitting. Push it in firmly until it also clicks and is fully seated. Give a gentle pull on both ends of the PEX pipe to confirm that the grab rings have engaged and the connections are secure.
The final step is to check your work for leaks. Ensure all faucets that you opened earlier are now fully closed. Go back to the main water shutoff valve and turn it on *very slowly*. Turning it on too fast can cause a 'water hammer' effect that can damage pipes and fittings. As you slowly open the valve, listen for the sound of pipes filling and for any abrupt hissing or spraying noises. Once the valve is fully open, return to your work area. Carefully and thoroughly inspect the new fittings on both the galvanized and PEX sides. Look for any signs of dripping or moisture. For a definitive check, wipe each connection point with a dry paper towel and then observe the paper towel for any damp spots. If all connections are dry after several minutes, open a nearby faucet to test flow and flush out any air or debris in the line. Your replacement is complete.
Solution: To avoid this issue: Be mindful of this warning and take appropriate precautions.
Solution: To avoid this issue: Be mindful of this warning and take appropriate precautions.
Solution: Using the depth gauge tool to mark the pipe before insertion is the best way to ensure it's fully seated.
Solution: A slight twisting motion while pushing can sometimes help the fitting slide on more easily.
Solution: Applying a small amount of lubricant to the pipe end can ease insertion.
Solution: Taking a photo of the plumbing setup before you start is a great way to remember how everything connects.
Solution: To avoid this issue: Be mindful of this warning and take appropriate precautions.
This project is rated for beginners, but it requires careful attention to detail and precision. For replacing a small section, a DIY beginner should realistically budget 2-4 hours, accounting for material gathering, preparation, and thorough leak testing. Factors like pipe accessibility and unexpected issues can extend this timeframe.
Always shut off the main water supply and drain the lines completely before attempting any cuts. Wear appropriate personal protective equipment (PPE), including safety glasses, work gloves, and hearing protection, especially when using a reciprocating saw. Be prepared for residual water and rust flakes to emerge from the old galvanized pipe, and have a bucket and rags ready.
While specific tools like a PEX pipe cutter and depth gauge are highly recommended for clean, accurate, and reliable PEX connections, some alternatives can be used. A reciprocating saw with a metal-cutting blade is ideal for galvanized pipe, but a pipe cutter can work if space allows. Avoid using a hacksaw for PEX as it can create burrs, hindering a proper seal. Investing in the correct tools minimizes common mistakes.
A common mistake is not properly preparing the galvanized pipe end (e.g., failing to clean threads thoroughly, not applying enough pipe dope/Teflon tape) or not fully seating the PEX into push-to-connect fittings. Ensure the existing galvanized pipe end is clean, dry, and free of burrs. For push-to-connect fittings, use a depth gauge to mark the PEX, and push it firmly until it bottoms out inside the fitting, then give it a slight pull to confirm engagement. Test all new connections meticulously before finishing.
Old galvanized pipes can be extremely corroded internally, often reducing the effective pipe diameter and making them brittle. Expect significant rust flakes and dirty, potentially smelly water to be released when the pipe is cut. Position a heavy-duty bucket directly under your cut area to catch debris and water. The pipe's condition might also affect how easily fittings screw on, potentially requiring extra thread cleaning or pipe reaming.
PEX is chosen for its flexibility, ease of installation (no soldering needed), corrosion resistance, and lower cost compared to copper, making it ideal for DIY repairs. It's also less prone to bursting from freezing. However, PEX can be susceptible to UV degradation if exposed to direct sunlight for extended periods, and it's not typically used for outdoor or main service lines unless specifically rated for those applications. Copper or CPVC might be preferred in certain commercial or high-pressure situations.
Start DIY
30 min | 7 Steps