Skip to content

Serving all 50 states + Washington, DC

Keystream Plumbing logoKeystreamPlumbing

San Francisco ยท San Francisco County

Whole-House Repiping in San Francisco, CA

Repiping in San Francisco usually means replacing century-old galvanized steel supply lines in Victorian and Edwardian flats. The pipe rusts nearly shut, so upper floors get a trickle. Because units are stacked and the piping often serves more than one, the job has to be coordinated across the building. A San Francisco repipe is shaped by two histories that no other American city shares: the 1906 earthquake and fire, which destroyed the water system and forced the city to build a second one just for firefighting, and a housing stock of Victorian and Edwardian flats whose galvanized supply lines have been rusting for a century. The city still runs both water systems side by side, and the street outside a Victorian flat may hold a domestic main, a high-pressure fire main and an underground cistern at the same time. A repipe here has to work around lath and plaster, shared risers, condo documents and a permit process run by the Department of Building Inspection, and the material choice has to survive both soft water and the next earthquake.

  • Independent local pros
  • Free referral, no obligation
  • You approve the price before work starts
Copper water pipe and elbow fitting

What is different about whole-house repiping in San Francisco?

In a two- or three-flat building, the supply runs up through the lower units to reach the upper one. Repiping the top flat alone leaves it fed by the old pipe below. Owners in a condominium or tenancy-in-common need to settle which lines are common and how the cost is shared; in a rental building, tenants need notice of shutoffs and access.

Old construction adds to the work: lath-and-plaster walls and ceilings, little or no crawl space, and buildings that touch their neighbors on both sides. San Francisco's water is soft, so the problem is corrosion with age, not scale. Permits are issued by the Department of Building Inspection.

On April 18, 1906 an earthquake of magnitude 7.9 struck San Francisco, and the fires that followed caused about 80 percent of the destruction, killing about 3,000 people. More than 300 water mains broke and over 23,000 water services were broken, turning the distribution system into a sieve and leaving firefighters drafting water from sewers. The fire burned for four days until April 21, and all of the downtown area was destroyed. The failure of the water system, not the shaking alone, is what the city blamed for the scale of the loss.

In 1908 San Franciscans approved a 5.2 million dollar bond to build the Auxiliary Water Supply System, a separate high-pressure network used only for firefighting, after the city engineer studied 250 cities around the world for a guaranteed water supply. Construction began in 1909 and finished in 1913, and the system has been in service since 1913-14. It remains the only high-pressure network of its type in the United States, and it was the only public project funded by the citizens themselves after the earthquake.

The backbone of the system is the Twin Peaks Reservoir, a 10.5 million gallon concrete reservoir at 758 feet elevation, fed by two 750-gallon-per-minute pumps from the domestic system. The Ashbury Tank holds 500,000 gallons at 495 feet and the Jones Street Tank holds 750,000 gallons at 369 feet, and the water flows downhill by gravity, so the system does not depend on electric power. The network holds about 150 miles of mains and 1,889 large white hydrants with color-coded tops, and two seawater pumping stations can each push 10,000 gallons a minute into the system if the reservoirs run dry.

As a last resort the city keeps a network of 177 independent underground cisterns, each holding 75,000 to 200,000 gallons, with a total capacity of more than 11 million gallons. They sit under the streets, marked at the surface by circles or rectangles of red brick around a manhole labeled Cistern SFFD, and a fire engine can draft from one if the mains fail. The cisterns were part of the original post-1906 plan, and they are still maintained, because the city learned in 1906 that a water system with a single point of failure is not a water system at all.

On October 17, 1989 the Loma Prieta earthquake, magnitude 6.9, broke hundreds of municipal water mains across the Bay Area and set fires in the Marina District, where the ground liquefied and the domestic water system lost pressure. The Auxiliary Water Supply System was used to fight those fires, and the damage led to a new round of work on the system. The 1989 quake is the reason San Francisco treats its water pipes as earthquake infrastructure, not only as plumbing, and it is why flexible connections and seismic shutoffs matter in a repipe.

The San Francisco Public Utilities Commission owns and operates more than 1,200 miles of water pipelines in the city, and about 20 percent of them are roughly 100 years old and made of cast iron. Between 100 and 200 water main breaks happen in the system every year, and the utility has an active program to replace aging mains, aiming to raise the replacement rate from about 6 miles a year to 15 miles a year at a cost of about 1.2 billion dollars. About 28 percent of the pipes were built between 1930 and 1950, and 44 percent of the nearly 500 breaks over a recent five-year period were in pipes from that era.

In January 2025 the SFPUC began a 50 million dollar project along the two-mile Geary Boulevard corridor in the Richmond District, replacing about 1.4 miles of sewer mains and 6.7 miles of water mains by 2027. Most of the pipes in the Richmond District were installed in the late 1800s and are more than 120 years old, and the project also replaces a 16-inch transmission line that serves the whole district. The work fills a gap between mains upgraded west of 32nd Avenue and east of Presidio Avenue in 2021, and it benefits the Western Addition as well, because the system is interconnected.

San Francisco's water distribution system has 24 pressure zones, set by topography rather than geography, because the city rises from sea level to more than 900 feet in places. A water main in the city can be anywhere from 2 inches to 5 feet in diameter, and the City Distribution Division works around the clock to monitor the system and respond to breaks. A repipe in a hilltop flat faces different static pressure from one in a low-lying street, and the plumber has to size the new lines for the pressure at that address, not for the city average.

In 2002 San Francisco voters approved a proposition to retrofit, repair and replace the aging pipelines, dams and tunnels of the Hetch Hetchy regional water system, with the goal of restoring drinking water within 24 hours of a major earthquake for the 2.6 million people who rely on it. By 2014 the program was about 80 percent complete and had repaired or replaced more than 280 miles of pipelines. The sewer side has its own multi-billion dollar program, and the Southeast Treatment Plant at its center treats more than 80 percent of the city's sewage and stormwater.

PEX tubing entered the California Plumbing Code in August 2009, after the Building Standards Commission certified an environmental impact report and formally adopted it, but a court overturned the approval in December 2009 and the material was pulled from the code effective July 2010. A new environmental review and a settlement put PEX back in the code, allowed in all occupancies from August 2010 under the 2007 code and from January 2011 under the 2010 code. Both PEX and copper are code-approved in California today, and local jurisdictions can still add their own amendments, so a San Francisco repipe has to meet the city code as well as the state code.

PEX material typically costs 40 cents to 2 dollars a linear foot, against 2 to 8 dollars for copper, and a full PEX repipe can cost 40 to 60 percent less than the same job in copper, because the flexible tube needs fewer fittings and installs faster. The California code requires PEX with a chlorine resistance rating of CL5 for continuous contact with water at 140 degrees, and an 18-inch setback from water heaters to keep the tube away from excessive heat. In San Francisco, permit fees for single-family pipe replacement run 200 to 700 dollars, plumbers typically charge 100 to 200 dollars an hour, and labor is 50 to 60 percent of the project cost.

A plan to extend the Auxiliary Water Supply System to about 15 neighborhoods in the southern and western parts of the city was stalled for years and eventually abandoned, after political interference and a refusal to ask voters for the money. The neighborhoods that were left out are in the parts of the city built after the original system, and experts say another earthquake on the scale of 1906, about magnitude 7.8, is inevitable. A repipe in those neighborhoods cannot rely on the high-pressure fire system, which makes the domestic supply and the building's own shutoffs more important, not less.

The Victorians that survive in San Francisco today are mostly in the neighborhoods west and south of downtown, because the 1906 fire destroyed the downtown housing stock and the rebuilding that followed used different forms. The surviving Victorians were built between the 1840s and 1901, and the Edwardians that followed them were built between 1901 and 1910, and both carry the galvanized supply lines that a repipe replaces. The same western neighborhoods are the ones the Auxiliary Water Supply System was never extended to, so a repipe there cannot rely on the high-pressure fire system and the domestic supply has to do the work alone.

San Francisco's drinking water comes from the Hetch Hetchy Reservoir in Yosemite National Park, delivered through a regional system of pipelines, dams and tunnels that the Water System Improvement Program rebuilt after voters approved it in 2002. The program's goal was to restore drinking water within 24 hours of a major earthquake for the 2.6 million people who rely on the system, and by 2014 it had repaired or replaced more than 280 miles of pipelines. The water is soft and low in minerals, which is why scale is not the problem in San Francisco pipes, and the regional system is the reason a break in the city does not cut off the supply.

A repipe usually means the supply lines, but the drain side of a San Francisco flat is often the same age and in the same condition, and the city's sewer program is rebuilding that side too. The Sewer System Improvement Program is a multi-billion dollar upgrade of the aging sewer system, and the Southeast Treatment Plant at its center treats more than 80 percent of the city's sewage and stormwater. The Geary Boulevard project replaced sewer mains as well as water mains, about 1.4 miles of sewer against 6.7 miles of water, because the two systems run in the same trench and opening the street once is cheaper than opening it twice.

California requires seismic straps on water heaters, and a repipe is the best time to check them, because the water heater is usually disconnected and moved while the new lines go in. The straps keep the heater from toppling in a quake and breaking the gas and water connections, which is how the fires started in 1906 and again in the Marina District in 1989. The California Plumbing Code also requires an 18-inch setback between PEX tubing and a water heater, so the tube stays clear of excessive heat, and the plumber should confirm both the straps and the setback when the permit is pulled.

San Francisco's fire hydrants tell you which water system you are looking at. The large white hydrants with black, red or blue tops belong to the Auxiliary Water Supply System, and the top color shows which reservoir feeds them: black tops are fed by the Twin Peaks Reservoir, red tops by the Ashbury Tank and blue tops by the Jones Street Tank. The white-topped hydrants are hooked up to the domestic water supply instead. The color system matters in a fire, because a fire engine crew needs to know at a glance whether the hydrant in front of them is on the high-pressure system or the domestic main.

From the San Francisco plumbing guide

Galvanized supply lines

Century-old galvanized pipe rusts nearly shut, causing weak flow on upper floors and discolored water after the building's water has been off.

Water, housing and other common problems in San Francisco

What to check and ask before work starts in San Francisco

  • Ask which lines are shared between units and how the work will be staged
  • Ask how plaster will be opened and repaired
  • Check your condominium or tenancy-in-common documents for who owns which pipes
  • Verify the C-36 license and who pulls the permit
  • Which lines are shared between units, and how is the cost split?
  • Is PEX or copper better for my building, and why?
  • How will the work be staged so no unit loses water for long?
  • Who pulls the DBI permit, and what does it cost?
  • Will the new lines survive the next earthquake, and what connections are flexible?
  • Does my building sit in the AWSS coverage area?

Licensing and permits for whole-house repiping in San Francisco

Plumbing contractors in California are licensed by the Contractors State License Board under the C-36 classification. In San Francisco, plumbing permits are issued by the Department of Building Inspection. In condominiums and tenancy-in-common buildings, check the governing documents to see which pipes are common property before authorizing work.

Keystream Plumbing is a referral service. We do not perform plumbing work or hold a contractor license. The independent plumber you are connected with is responsible for licensing, permits and the work itself.

What the job usually involves

The steps are the same in San Francisco as anywhere; the local conditions above change how each one is done.

  1. Inspect and plan
  2. Permit and protect
  3. Install new lines
  4. Patch and inspect
Whole-House Repiping: signs, full process and cost factorsRepiping replaces a home's water supply lines, usually old galvanized steel, polybutylene or leak-prone copper, with new PEX or copper.

Whole-House Repiping questions from San Francisco

Can I repipe only my flat in a San Francisco building?

You can replace the piping inside your unit, but if the old galvanized line feeding it runs through the unit below, pressure will still be limited by that pipe. A plumber can show where the shared section is.

Why does the water run brown first thing in the morning?

Rust from the inside of galvanized pipe collects in water that has sat overnight. It usually clears after a short run. It is a sign the pipe is corroding and nearing replacement.

Is PEX legal in San Francisco?

Yes. PEX entered the California Plumbing Code in 2009, was pulled out by a court ruling and then allowed again from 2010, and both PEX and copper are code-approved in California today. San Francisco can add local amendments, so the job has to meet the city plumbing code as well, and the plumber should confirm the current rules when the permit is pulled.

What is the Auxiliary Water Supply System?

It is a separate high-pressure water network built after the 1906 earthquake and fire, used only for firefighting. It holds the Twin Peaks Reservoir at 758 feet, about 150 miles of mains, 1,889 large white hydrants and 177 underground cisterns, and it is the only system of its type in the United States. It does not supply drinking water to homes.

How old are San Francisco's water mains?

The SFPUC operates more than 1,200 miles of water pipelines, and about 20 percent are roughly 100 years old and made of cast iron. About 28 percent were built between 1930 and 1950, and nearly half of the recent main breaks were in pipes from that era. The utility is replacing about 6 miles a year now and aims to reach 15 miles a year.

Do I need a permit to repipe in San Francisco?

Yes. Plumbing permits are issued by the Department of Building Inspection, and replacing pipes that are covered by a wall or buried in the ground requires one. Permit fees for single-family pipe replacement run 200 to 700 dollars. A licensed C-36 plumbing contractor pulls the permit, and the work is inspected before the walls are closed.

Why is repiping more expensive in San Francisco than elsewhere?

Labor is 50 to 60 percent of the project cost, and San Francisco plumbers typically charge 100 to 200 dollars an hour, because the city's licensing requirements are among the strictest in the country and the cost of doing business is high. Pipe replacement in the city runs about 65 percent above the national average, and the work is slower in Victorian flats with lath and plaster and no crawl space.

What should I do about the 1906 earthquake risk when I repipe?

Ask for flexible connections where the pipe meets fixtures and appliances, and make sure the water heater has seismic straps, which California requires. Rigid pipe that is fixed at both ends is the first thing to break when a building moves, and the 1989 Loma Prieta quake broke hundreds of water mains. A repipe is the best time to add the flexible runs and shutoffs that let a building ride out a quake.

Sources

Local information reviewed October 5, 2026. Rules and programs change; confirm details with the agency before you rely on them.

More plumbing help in San Francisco

Whole-House Repiping in other cities

Ownership rules, soil, water and pipe materials make this a different job from one city to the next.

Related guides: How to Prevent Frozen Pipes in Winter, Low Water Pressure: Causes and Fixes, How Plumbers Price Jobs: What You're Paying For.

Need whole-house repiping in San Francisco?

Call (833) 520-4758. Same-day service is often available; call to check timing.

Call now(833) 520-4758