Use a brass PEX x NPT adapter, with pipe thread on one end for the steel and a PEX end on the other. Adapters are named by both sizes, such as Uponor’s 1/2" PEX x 1/2" NPT.
What fits
A brass PEX x pipe thread adapter
On the package: PEX x NPT: female if the steel pipe has threads outside, male if it ends in a fitting
the codes join plastic pipe to other pipe with an approved adapter fitting
Shut the water off, then open faucets to drain the pipes before you cut anything.
Brass PEX adapters come with male or female pipe thread (NPT) on one end. Pick the one that mates with the steel pipe’s end, and the PEX end that matches your PEX joints.
Wrap tape on the male threads before screwing the adapter on.
SharkBite’s instructions keep its push-to-connect fittings off galvanized pipe, and its Max guide rules out its threaded ends too.
Galvanized steel joins by thread and PEX by rings or crimps, so a brass adapter with one of each sits between them.
As an Amazon Associate, What Adapter For earns from qualifying purchases.
Before you start
Make sure the steel pipe carries water. Gas supply lines can be black iron or steel pipe too. When in doubt, call a licensed plumber or your local gas company.
Rusted fittings and rust-colored water, particularly from hot water lines, are signs of advanced deterioration in galvanized pipe.
If a lead service line ever fed this galvanized pipe, lead can cling to its inside and get into the water. Ask your water utility about testing.
Common questions
Do I need a dielectric union between PEX and galvanized pipe?
No. For plastic pipe to steel, the IPC and IRC ask for an approved adapter fitting. Their dielectric or brass fitting rule covers copper to galvanized steel. Local code decides.
The sizes on this page come from published standards and the makers’ own documents. Checked against published data from SharkBite, US EPA, International Code Council, Swagelok and HUD (plus 3 more).
See all 11 sources
Swagelok, Thread Sealants catalog (MS-14-01): PTFE tape, how to apply
Uponor, PEX Piping Systems Installation Guide, seventh edition (2025): ProPEX expansion fittings, pipe colors, copper and threaded adapters, no soldering within 18" of PEX
International Plumbing Code 2021, sections 605.23, 605.23.1 and 605.23.2: joints between different materials, copper to galvanized steel (as adopted in South Carolina)
International Residential Code 2021, sections P2906.18 and P2906.18.1-P2906.18.3: joints between different materials, PVC service to CPVC (as adopted in South Carolina)
SharkBite (RWC), How to Turn Off Main Water Valve for Plumbing Repairs (SharkBite blog): shut the water off for repairs, then open the faucets to drain the pipes before the work, isolation valves for one fixture, turn the water back on slowly
Oatey, How to Replace and Install a Shut Off Valve (project guide): turn off the water supply before removing or cutting off the old valve
BrassCraft, Easy 3-Step Gas Connections how-to sheet (BC8472): when in doubt, call a licensed plumber or your local gas company
General guidance from manufacturer and standards data. Parts vary by brand, so check the size printed on the package against what you measured. This site doesn't cover gas lines. If in doubt about gas, call a licensed plumber or your local gas company.