# Whole-House Repiping in San Francisco

> Whole-house repiping in San Francisco: every supply line from the main valve to each fixture, SF code valves, water heater hookups, permit and pressure test.

URL: https://hilltoprepipesanfrancisco.com/whole-house-repiping/

Every hot and cold supply line from the main valve to each fixture, in PEX or copper, tested and inspected.

Last Updated: October 30, 2026

- **$8,500 to $28,000** Typical San Francisco-area range for a whole-house PEX repipe, one to three baths; multi-story or hard-access homes can run higher
- **45.2%** Share of San Francisco housing units built in 1939 or earlier, by U.S. Census Bureau count
- **$549 or $809** DBI plumbing permit for a house, without or with underground work
- **15 minutes** Minimum hold for the pressure test the California Plumbing Code requires before pipe is covered

A whole-house repipe replaces every hot and cold supply line in a building, from the main valve where the water enters to the stop under each sink, toilet, shower and appliance. [Hilltop Repipe San Francisco](https://hilltoprepipesanfrancisco.com/) offers and manages whole-house repiping across San Francisco, Daly City and South San Francisco, in PEX or copper, with the work carried out by licensed and insured contractors under a plumbing permit and city inspection.

In San Francisco the job is usually a replacement of old galvanized steel. The Census Bureau counts 45.2% of the city’s housing units as built in 1939 or earlier. Among 273 DBI permit descriptions from 2021 to 2025 that describe a domestic water repipe, 76 name galvanized pipe and 92 name copper, which is mostly what the old steel was being replaced with. The [galvanized pipe replacement](https://hilltoprepipesanfrancisco.com/galvanized-pipe-replacement/) page covers that pipe in depth. This page covers the full-system job: what gets measured, how new lines are routed through a San Francisco building, what the local code adds and how the house goes back together.

## What happens on the first visit

The walk-through starts where the water does, at the meter box and the main valve, and works out to every fixture. Static pressure is measured first. San Francisco is served through about 13 pressure zones fed from reservoirs and tanks at different elevations, so the pressure at one address says little about the next street, and nobody should size a system or promise better flow on an assumed number.

From there the pipe is mapped: the trunk line, the risers to each floor, the branches to each fixture group and the fixture count. Wall types are noted, because original plaster and lath, drywall, tile and cabinets each change how an opening is made and closed. The water heater and its connections are checked, and so is every route that could carry new pipe without opening a finished room: a garage ceiling, a basement, a crawlspace, a closet stacked under a bathroom. The result is a written scope and price that names the material, the layout, each planned opening, the permit and who patches what.

## From the meter to the first valve

The meter box at the sidewalk is SFPUC’s. The pipe from the meter box to the building is the owner’s service line, and the house piping starts at the main valve. San Francisco’s code requires a fullway valve after the meter where the supply enters the building, so a repipe begins by making sure that valve exists and works.

The service line matters even though it is a separate scope. SFPUC has been replacing utility-owned galvanized service lines with copper, a program it scheduled to finish years ahead of the state’s 2030 deadline. Where that happened, the owner’s galvanized line now meets new copper at the meter, and SFPUC has written to owners whose customer-side lines it identified as galvanized, recommending replacement. If the line is galvanized, replacing it during the repipe avoids feeding new pipe through old steel. The [water service line replacement](https://hilltoprepipesanfrancisco.com/water-service-line-replacement/) page covers that work.

## Why old supply pipe gives out in San Francisco water

SFPUC water is soft: average hardness is 62 ppm, and the pH is adjusted to about 9.3 for corrosion control. That rules out the explanation people bring from hard-water cities. Galvanized pipe here rarely closes up with mineral scale. Its zinc coating wears through over decades, the steel underneath corrodes, and the rust builds up inside until a 3/4-inch line passes the water of a much smaller one. The outside can look fine while the inside is nearly shut, which is why low flow at several fixtures, rust after a shutoff and leaks at threaded joints often arrive together.

Copper fails differently, usually as pinholes or joint leaks, and there is no single cause. Water chemistry, flow velocity, workmanship and the age of the solder all play a part, so one leak does not prove the whole system is failing. The [copper pinhole leaks guide](https://hilltoprepipesanfrancisco.com/guide/copper-pinhole-leaks/) and the [guide to San Francisco water and your pipes](https://hilltoprepipesanfrancisco.com/guide/san-francisco-water-and-your-pipes/) go further. SFPUC also disinfects with chloramine, so the tubing and fittings chosen are checked against their makers’ published chlorine and chloramine ratings.

## How the new lines are routed

Most whole-house repipes are laid out either as trunk-and-branch, which copies the old system with a main line and tees to each fixture group, or as a home-run manifold, which gives each fixture its own line from a central valve board. The [manifold vs trunk-and-branch guide](https://hilltoprepipesanfrancisco.com/guide/manifold-vs-trunk-and-branch/) compares them. The material choice runs in parallel: [PEX repiping](https://hilltoprepipesanfrancisco.com/pex-repiping/) bends through joists and chases with fewer openings, and [copper repiping](https://hilltoprepipesanfrancisco.com/copper-repiping/) suits owners who want a metal system. The [PEX vs copper guide](https://hilltoprepipesanfrancisco.com/guide/pex-vs-copper/) sets out the tradeoffs.

### Garage, basement and crawlspace runs

San Francisco Planning describes the Sunset’s 1920s to 1950s houses as one story of living space over a ground-floor garage, and the format extends into later Daly City tracts. Where a house is built that way, the main supply lines and the water heater usually run along an open garage ceiling, so the trunk can be replaced from below and only the climbs to each fixture need openings upstairs. The [Sunset and Parkside page](https://hilltoprepipesanfrancisco.com/service-areas/sunset-parkside/) covers those houses. Older houses with a basement or a crawlspace under a raised floor work the same way, with the crawlspace as the corridor. Freezing is not what decides these routes: NOAA’s normals for downtown San Francisco record no nights at or below 32 F in an average year. Access and daylight are. PEX installed in California must have at least 30-day UV protection and is kept out of sunlight at garage windows and vents.

### Attic runs, where a house has one

Many San Francisco houses have a flat roof and little or no attic. Where a usable attic exists, it can feed a top-floor bathroom from above with short drops through the ceiling, which spares the walls below. Where it does not, the climb goes up through closets, chases or the wall behind a stacked bathroom.

### Slab and on-grade garage floors

Where a line runs in or under a concrete garage floor, it is usually abandoned and rerouted overhead rather than broken out. If new pipe has to go under a slab, the code asks for copper without joints where possible, with brazed joints where needed, and PEX placed in soil for drinking water must be sleeved. A leak under the slab before any repipe is a [partial repiping](https://hilltoprepipesanfrancisco.com/partial-repiping/) question.

## Main shutoff, branch and fixture stops

San Francisco adds valves the state code does not require. Besides the fullway valve at the building entry, there must be a separate valve for each building on the lot, a valve on each water heater’s cold supply, and a control valve ahead of every fixture’s hot and cold supply. In a building with more than one dwelling unit, each unit needs shutoffs so its hot and cold can be turned off without interrupting anyone else, and any unit that is remodeled has to be brought up to that rule. The [apartment building repiping](https://hilltoprepipesanfrancisco.com/apartment-building-repiping/) page covers riser work.

The city also requires air chambers on outlets served by quick-closing valves: single-handle faucets, shower valves, solenoid valves on washers and dishwashers, and flushometers. They are sized at 24 times the fixture supply diameter and absorb the pressure spike that otherwise shows up as water hammer. These valves and devices are a large part of why a San Francisco repipe estimate lists items a generic national figure leaves out.

## Water heater connections

The water heater is reconnected, not necessarily replaced. Its cold supply gets the valve the city requires. Where copper meets a steel fitting, San Francisco requires a dielectric or insulating fitting, or a brass nipple at least 6 inches long, to stop galvanic corrosion at the joint. California requires every residential water heater, existing ones included, to be strapped against earthquakes in the upper and lower thirds of the tank, with the lower strap at least 4 inches above the controls, so a missing strap found during a repipe is a code item rather than an extra. If the new system includes a pressure regulator or a check valve, an expansion tank on the cold side keeps heated water from pushing pressure past 80 psi. A heater that is due for replacement anyway can be handled under [water heater replacement](https://hilltoprepipesanfrancisco.com/water-heater-replacement/) in the same shutdown.

## Fixture reconnection

Each fixture gets a new stop and a new supply connection. Toilets, sinks, tub and shower valves, the washer box, the dishwasher, the refrigerator line and hose bibbs are all reconnected and checked for flow and for hot on the left. When galvanized pipe is cut over, loosened rust can travel downstream and lodge in aerators and valve cartridges, so the system is flushed with aerators off and those parts are cleaned before the job is handed back. A repipe does not replace faucets or shower valves; an old valve body that cannot be serviced is noted in the scope.

## Polybutylene replacement

Polybutylene is a gray, sometimes blue or black, plastic supply pipe that was used in homes built or replumbed during the 1980s and early 1990s. It is known for failures at its fittings and from aging of the pipe itself, and inspectors flag it during sales. It is uncommon in San Francisco: none of the 273 repipe permit descriptions from 2021 to 2025 mention it, and only 23.5% of the city’s housing units were built in 1980 or later. Where it does turn up, in a later infill house, an apartment building or a unit replumbed in that era, it is replaced as a full system rather than patched, because the fittings throughout share the same weakness. Pricing follows the same drivers as any whole-house repipe. The [guide to identifying pipe material](https://hilltoprepipesanfrancisco.com/guide/how-to-identify-pipe-material/) shows how to tell it from PEX.

## Bonding, pressure and the test before walls close

Older houses often used the metal water pipe as part of the electrical grounding path. The California Plumbing Code requires that where metal building supply pipe serves as a grounding electrode, its replacement be of like material, and the electrical code requires remaining metal water pipe to be bonded. The scope flags this so a licensed electrician can confirm the bond when metal pipe comes out.

If static pressure measured at the start is above 80 psi, the code requires a pressure regulator with a strainer and an expansion tank downstream. Before any wall or ceiling closes, the finished system is tested with water at working pressure or with air at 50 psi or more, held at least 15 minutes without leakage. Plastic pipe is air tested only where its maker allows it, which PEX makers may. Then the city inspector sees the work under test.

## Permit, lead-safe openings and patching

DBI requires a permit before pipe is cut into or replaced, and since September 14, 2026 new plumbing permits are filed and inspections booked on PermitSF. The permit is pulled by a contractor holding a qualifying California license, such as C-36 plumbing. A house permit is $549, or $809 with underground work, and each re-inspection is $259 per half hour; in condos and apartment buildings, DBI requires a separate permit for each unit. The [San Francisco repiping permit guide](https://hilltoprepipesanfrancisco.com/guide/san-francisco-repiping-permit/) walks through the steps.

Paint in a San Francisco building built before 1979 is presumed to contain lead. In rentals and shared buildings, Section 327 of the city’s Existing Building Code requires containment with plastic sheeting, posted signs, three business days’ notice to occupants and HEPA cleanup for work that disturbs it. An owner-occupied unit is exempt from the interior rules but not from keeping dust out of shared areas. Textured or skim-coated walls in a building of one to four units can also need asbestos sampling under air district rules before they are opened. Both affect setup time at each opening. Patching is scoped opening by opening, and the [guide to how invasive repiping is](https://hilltoprepipesanfrancisco.com/guide/how-invasive-is-repiping/) shows what to expect.

## What it costs

A typical San Francisco-area range for a whole-house PEX repipe is $8,500 to $16,000 for one bath, $12,000 to $22,000 for two baths and $14,500 to $28,000 for three; multi-story or hard-access homes can run higher. Copper usually costs more than PEX for the same home; sources put the premium anywhere from about 10% to 60%. The [repipe cost guide](https://hilltoprepipesanfrancisco.com/guide/repiping-cost/) breaks down what sits inside the price, and the [cost estimator](https://hilltoprepipesanfrancisco.com/tools/repiping-cost-estimator/) gives a range without a phone call. Homeowners insurance generally addresses sudden water damage under the policy’s terms rather than planned pipe replacement, so check the policy before counting on it; the [insurance guide](https://hilltoprepipesanfrancisco.com/guide/homeowners-insurance-repiping/) explains the difference.

## What's included

- A pipe map traced from the meter to every fixture, with static pressure measured at the start
- New hot and cold distribution from the main valve to each fixture, in PEX or copper as the scope names
- A main valve where the supply enters, a shutoff for each dwelling unit and a stop at every fixture
- Listed transition fittings at the service-line connection, the water heater and any metal pipe that stays
- Air chambers at single-handle faucets, shower valves and other quick-closing valves
- Water heater reconnection with a valve on the cold supply and compliant seismic straps
- A pressure regulator and expansion tank when static pressure is above 80 psi
- Pressure test, flush and shutoffs labeled by fixture
- A note for an electrician to confirm bonding wherever metal water pipe is removed
- The plumbing permit and city inspection before walls close
- A written list of every opening and who patches each one

## PEX or copper for a whole-house repipe in San Francisco

|  | PEX | Copper |
| --- | --- | --- |
| How it runs | Flexible tubing fished through joists and walls in long lengths | Rigid tube cut and joined at every change of direction |
| Joints | Expansion, crimp or clamp fittings from one listed system | Soldered, brazed or press-fit fittings |
| Openings | Usually fewer, because tubing bends around obstacles | Usually more, at elbows and tees |
| Typical cost | The basis of the published San Francisco-area ranges | Usually higher; sources put the premium at about 10% to 60% |
| Code | Listed in CPC Table 604.1; no San Francisco restriction | Listed in CPC Table 604.1; Type L, or Type M where allowed |
| Watch for | Daylight, heat sources and the manufacturer's support spacing | Dielectric transitions where it meets steel, and joint workmanship |

## Related resources

- Learn [How does repiping a house work?](https://hilltoprepipesanfrancisco.com/guide/repiping-guide/)The whole picture in one place: what the water supply system is, what San Francisco buildings were piped with and why it fails here, how a repipe is scoped, permitted, installed, tested and lived through, and what to ask before agreeing to one.
- Cost Guide [How much does it cost to repipe a house in San Francisco?](https://hilltoprepipesanfrancisco.com/guide/repiping-cost/)Typical San Francisco-area ranges for a whole-house repipe by number of baths, what sits inside the price, the permit fees by city, the programs that help and why two quotes for the same house can differ.
- Learn [How invasive is repiping a house?](https://hilltoprepipesanfrancisco.com/guide/how-invasive-is-repiping/)A repipe opens walls in planned places, not along every pipe. Where the old lines run, what the walls are made of and how the building is stacked decide how many openings there are and how much patching follows.
- Decision Guide [Should a repipe use a PEX manifold or trunk and branch?](https://hilltoprepipesanfrancisco.com/guide/manifold-vs-trunk-and-branch/)Layout is the repipe decision people hear about last and live with longest. How each design moves water, what it does to the wait for hot water and to shared flow, and which San Francisco buildings suit which.
- Learn [Do you need a permit to repipe a house in San Francisco?](https://hilltoprepipesanfrancisco.com/guide/san-francisco-repiping-permit/)Yes, and the permit shapes the job: who files it, which fee category applies, when the inspector comes and what the inspector looks for before a single wall is closed.
- Learn [Does homeowners insurance cover repiping?](https://hilltoprepipesanfrancisco.com/guide/homeowners-insurance-repiping/)The line most policies draw between sudden water damage and pipe that wore out, what that means after a leak in an older San Francisco building, and how a planned repipe actually gets paid for.
- Learn [Does repiping include drain pipes?](https://hilltoprepipesanfrancisco.com/guide/does-repiping-include-drain-pipes/)A building has two plumbing systems that meet at the fixtures. Repiping replaces one of them. Here is where the line falls, why it falls there, and how to plan when both need attention.
- Decision Guide [Epoxy pipe lining vs repiping: which one fixes old pipe?](https://hilltoprepipesanfrancisco.com/guide/pipe-lining-vs-repiping/)Lining coats the inside of the pipe you have; repiping replaces it. Lining opens fewer walls, but it keeps the old pipe's layout, valves, threads and size, and in San Francisco those are often the problem.
- Learn [How long does it take to repipe a house?](https://hilltoprepipesanfrancisco.com/guide/how-long-does-repiping-take/)A repipe runs in stages: scope, permit, new lines, cut-over, test, inspection, patching. The pipe work is only one of them, and the building decides how long each one takes.
- Decision Guide [Repipe vs repair: when is a full repipe worth it?](https://hilltoprepipesanfrancisco.com/guide/repipe-vs-repair/)A repair fixes a defect. A repipe replaces a material that is failing everywhere. The work is telling the two apart, and the evidence is in the pipe, the pattern of leaks and the flow.

## How a repipe runs

1. The call Describe the building Building type, floors, number of baths and units, the pipe you can see in the garage or basement, and what you have noticed.
2. Walk-through Map the pipe The supply is traced from the meter: pipe map, wall types, the main valve, the water heater and where access is easiest.
3. Scope Written scope and price Material, layout, every planned opening, the permit and who patches what, on paper before work is booked.
4. The work Permit, new lines, pressure test The permit is filed, new lines are run while the old ones still serve, fixtures are switched over and the system is pressure tested.
5. Sign-off Inspection, then patching The city inspector signs off with the pipe still visible. Then the openings are closed.

## What this work looks like

New red and blue PEX trunk lines clipped across the joists of a San Francisco garage ceiling

Copper manifold feeding six blue PEX lines up a plywood board on a San Francisco garage wall

New red and blue PEX lines with stop valves on a cross-brace in an opened bathroom wall of a San Francisco flat

Pressure test gauge on a new copper water main across the joists of a San Francisco garage ceiling

Before

After

## Whole-house repiping questions

### Does a whole-house repipe include the line from the meter box?

Not unless the scope says so. A whole-house repipe starts at the main valve where the supply enters the building. The pipe from the meter box to that valve is the owner's service line, and in San Francisco it is often galvanized where SFPUC has already put new copper on its side. Replacing both at once is common and is priced as a separate line.

### What happens to the old pipes inside the walls?

Old pipe that is exposed in a garage, basement or crawlspace is usually cut out. Pipe sealed inside finished walls is normally disconnected, drained and left in place, because removing it would mean opening every wall it runs through. The scope should say which runs come out and which stay abandoned.

### Is polybutylene common in San Francisco houses?

No. None of the 273 San Francisco permit descriptions from 2021 to 2025 that describe a water repipe mention polybutylene, and most of the city's housing predates the years it was installed. It can still turn up in a building built or replumbed in the 1980s or early 1990s, and it is replaced as a whole system when it does.

### Does a whole-house repipe mean a new water heater?

No. The water heater is reconnected to the new lines, with a valve on its cold supply and the straps the code requires. Replacing the heater itself is a separate decision, though doing both in one visit saves a second shutdown.

## Related services

### Galvanized pipe replacement

Old threaded steel supply pipe replaced with PEX or copper, with listed transitions, a flush for loosened rust and a city inspection.

Galvanized pipe replacement

### PEX repiping

New hot and cold supply in crosslinked polyethylene tubing, routed through joists and chases with fewer openings, tested and inspected.

PEX repiping

### Partial repiping

A defined part of the supply system replaced, such as the hot side, one floor, one bathroom group or one flat, with the old pipe that stays written down.

Partial repiping

### Old-house repiping

Supply piping replaced in pre-war houses and flats, routed to spare original plaster and trim, with lead-safe openings and modern valves.

Old-house repiping

### Repiping during renovation

Supply lines replaced while a kitchen, bath, floor or garage is already open, sequenced with the other trades and inspected before the walls close.

Repiping during renovation
