How to Repipe a House With PEX: Planning, Running Lines, Cutover
Repiping a 2-bath house in PEX yourself: $1,465–$1,980 in pipe, fittings, tools and permit, 35–60 hours — only with a homeowner permit.
- Get the permit first. It tells you whether a homeowner can do this where you live, and the rough-in inspection is a pressure test you want before the walls close.
- Run the whole new system alongside the old one, fixture by fixture, then cut over in a single day. The house keeps water until the last step.
- Crimp with a calibrated tool and check every ring with the go/no-go gauge. A crimp that's a hair loose passes a quick look and fails inside a wall in six months.
- Pressure test at 100 psi for an hour, watch the gauge, then call for the inspection. Only then patch drywall.
Before you start
Read the cost comparison first. This guide is for a PEX repipe in a house where a homeowner can pull the permit and the pipe runs are reachable from a crawl space, basement or attic. That job saves about $5,800 on a 2-bath house and is within reach of a careful DIYer with a few weekends.
It isn’t for a house on a slab, for pipes buried in finished tiled walls, for copper, or for anywhere the work is restricted to licensed plumbers. Those aren’t harder versions of the same job; they’re different jobs, and the hire-a-pro page covers them.
What you need
For a 1,500 sq ft 2-bath house: about 400 ft of PEX (mostly 1/2 in, with 3/4 in for the trunk), the matching fittings, rings, drop-ear elbows and stub-outs, angle stops and braided supply lines for every fixture, a new full-port main shutoff, hose bibbs, water heater connectors, nail plates and hangers, pipe insulation for unconditioned spaces, and drywall patching supplies. Tools: a crimp or clamp tool with go/no-go gauge, a PEX cutter, an oscillating multi-tool, a drill with spade bits, drywall knives, a headlamp and knee pads. The priced list is on the cost page.
The two things that decide how it turns out
The permit and the test. They aren’t bureaucracy; they’re the only external check on work that’s about to be sealed inside walls. The pressure test at rough-in finds the one crimp in sixty that’s wrong. Do it before the inspector does, and patch nothing until it passes.
Alongside, then cut over. Building the whole new system next to the old one is more pipe and more planning, but it means your family has water every day but one, and it lets you test everything before it carries a drop. Trying to replace one line at a time is how a two-week job becomes a two-month one.
Step by step
-
Get the permit and plan the layout
Apply for the plumbing permit as a homeowner and confirm the inspection sequence and test pressure. Then map the house: every fixture, the water heater, hose bibbs, the main shutoff, and the path from each to a crawl space, basement or attic. Decide trunk-and-branch (3/4 in trunk, 1/2 in branches) or a manifold system. Count fittings, stub-outs and angle stops from the map and buy 20% extra tubing.
-
Open the walls
Turn off the breaker for any circuit in the wall. Cut a clean rectangle between studs behind or below each fixture with the multi-tool, big enough to reach the old stub-out and mount the new one — 8×12 in is typical. Open the water heater and main shutoff areas. Save the cutouts; some can go back as patches. Photograph what's in each bay before you run anything.
-
Install the new main shutoff
Tee a new full-port ball valve into the main line just after the existing shutoff (or the meter side, per local code), with a short stub for the new system, closed. Add a pressure-reducing valve if static pressure is over 80 psi. This lets the new system be built and tested while the old one stays live.
-
Run the trunk lines
Route 3/4 in PEX from the new shutoff to the water heater and along the main path toward each bathroom group, through the crawl space, basement or attic. Drill holes in framing at least 1.25 in from the edge and use nail plates where the pipe passes within 1.25 in of a face. Support every 32 in horizontally and at each floor vertically, with hangers that don't pinch. Keep hot and cold at least 6 in apart and insulate any line in an unconditioned attic or exterior wall.
-
Branch to each fixture and set stub-outs
Run 1/2 in from the trunk to each opening. Terminate with a drop-ear elbow screwed to blocking between the studs, positioned so the stub-out lands where the old one was, and fit a stub-out or a PEX-to-threaded adapter. Cap every one. Bend PEX gently — no tighter than the manufacturer's radius, about 8 times the diameter for 1/2 in — and use a bend support where it turns 90° out of a wall.
-
Crimp every joint and gauge it
Cut square with the PEX cutter, slide the ring on, push the fitting fully home, position the ring 1/8–1/4 in from the tubing end, and crimp squarely with the tool held perpendicular. Check every crimp with the go/no-go gauge — it must fit the 'go' slot and not the 'no-go'. Re-crimp or cut out anything that fails. Mark each checked joint with a marker so you don't lose track.
-
Pressure test and get inspected
With every stub-out capped, pump the system to the test pressure through a gauge on a hose bibb or the water heater connection and hold for the required time. A steady needle passes; any drop means a joint to find. Then call for the rough-in inspection with the walls still open. Don't patch a thing until it's signed off.
-
Cut over in one day
Close the old shutoff and drain the old system from the lowest hose bibb. At each fixture, cut the old stub-out back, uncap the new one, fit the angle stops and braided supply lines, and connect the fixture. Connect the water heater (new flex connectors, expansion tank if required) and hose bibbs. Open the new shutoff slowly, bleed air from every faucet, and check every connection for drips over the next hour and again the next morning.
-
Patch, paint and close out
Screw backing strips into the openings, fit the drywall patches, tape and mud in three coats, sand, match the texture and paint. Reinstall any cabinet backs or tile. Call for the final inspection, keep the permit and the passed test with the house documents, and tell your insurer the polybutylene or galvanized is gone.
What would this cost you? The house repiping calculator prices the DIY version with the tools you already own and a value on your time, next to a pro quote.
Frequently asked questions
Can I repipe my own house?
In many jurisdictions, yes, with a homeowner plumbing permit for an owner-occupied house, a rough-in inspection and a final. In some, no — the work is restricted to licensed plumbers. The building department's answer is the first step, not the last. Practically, a PEX repipe is within reach of a careful DIYer with a crawl space, basement or attic to work in; a slab house or one with pipes in finished, tiled walls is a much harder job.
What size PEX should I use for a repipe?
3/4 in for the main line from the shutoff and the trunk feeding the water heater and each bathroom group; 1/2 in for the branches to individual fixtures. On a manifold (home-run) system, 3/4 in to the manifold and a dedicated 1/2 in line to each fixture. Don't go smaller than the old pipe to save money, and keep the 3/4 in trunk until the last two fixtures on a run. Local code tables (IRC Chapter 29) size it by fixture units if you want to check.
PEX-A or PEX-B, crimp or expansion?
Either works for a repipe. PEX-B with copper crimp rings or stainless clamps is cheaper, the tool is $60, and it's what most DIY repipes use. PEX-A with expansion fittings is more flexible, kink-repairable with heat, and has full-bore fittings, but the expansion tool is $300 or a $40-a-day rental. Don't mix systems, and use the manufacturer's fittings and rings — the go/no-go gauge and the warranty both assume them.
How do I keep water on while repiping?
Build the entire new system first, capped at every fixture, without touching the old one — tee the new main off a new shutoff valve installed next to the old one. Pressure test the new system, get it inspected, then on cutover day close the old shutoff, cut the old lines away from each fixture, connect the new stub-outs and angle stops, and open the new valve. One day without water instead of two weeks.
How do you pressure test a PEX repipe?
Cap every stub-out, connect a test gauge with a Schrader valve at a hose bibb or the water heater cold connection, and pump the system to the local test pressure — commonly 100 psi with air or water for 15 minutes to an hour, some jurisdictions want 150 psi or a longer hold. Watch the gauge: any drop is a leak, usually a crimp. Walk every joint with a soapy-water bottle if it's air. The inspector does or witnesses this at rough-in; do your own first.
How many holes do you have to cut to repipe a house?
Ten to thirty on a typical house: one behind or below each fixture for the stub-outs, one at the water heater and main shutoff, and openings wherever a line has to turn inside a wall with no access from below or above. A crawl space or basement keeps it near the low end; a slab house or a two-story with runs up through finished walls pushes it toward thirty. Cut clean rectangles between studs so the patches are easy.
What do I do with the old pipes?
Leave them in place, drained and cut back at both ends, unless they're in the way — that's what plumbers do, and it's what makes the alongside-then-cutover method work. Cap or remove any stub that could be mistaken for live pipe later. Galvanized and copper you do remove go to scrap (copper is worth taking in). Old polybutylene is ordinary trash.
Sources
- Plumbers, Pipefitters, and Steamfitters (SOC 47-2152), Occupational Employment and Wage Statistics , U.S. Bureau of Labor Statistics, 2026-04
- How Much Does It Cost to Repipe a House? , Angi, 2026-09
- How Much Does It Cost to Install or Replace Plumbing? , HomeGuide, 2026-09
- How Much Does It Cost to Repipe a House? , HomeAdvisor, 2026-09
- How Much Does It Cost To Install Or Replace Plumbing In A House? , Forbes Home, 2026-09
- International Residential Code, Chapter 29: Water Supply and Distribution , International Code Council, 2026-09
- PEX pipe, fittings, copper and tool pricing , The Home Depot, 2026-09
Figures last reviewed . See how we estimate.