Home › Guides › Repiping: PEX vs copper

Guide

Repiping: PEX vs copper under the 2025 California Plumbing Code

Both copper and PEX are approved for water piping in California under the 2025 code, so the choice comes down to the job. Each has its own rules for fittings, protection, flushing and where it can connect to the water heater.

The short answer

Table 604.1 lists copper and PEX (and CPVC and PE-RT, among others) as approved for building supply and water distribution piping. Copper has to be Type L or heavier, with Type M allowed only aboveground in or on a building or underground outside of structures (CPC 604.3). PEX has to be joined with the fittings the tubing maker specifies, and any PEX that's installed has to give at least 30 days of UV protection (CPC 605.9). Plastic tubing can't be used in the first 18 inches of pipe at a water heater (CPC 604.13). A repipe is replacement work, so it needs a permit and testing.

One state quirk

PEX-AL-PEX is not adopted for potable water supply in California, even though the model code lists it. Check what a contractor means by "PEX" before you compare bids.

What the code allows

Anything that touches drinking water has to be certified for it under NSF/ANSI/CAN 61, and pipe and fittings have to match the standards in Table 604.1 (CPC 604.1). Lead content in pipe, fittings and fixtures that carry drinking water is capped at a weighted average of 0.25 percent on wetted surfaces, and solder and flux at 0.2 percent (CPC 604.2). California also lets a building official authorize CPVC inside homes by permit under extra conditions, including ventilation and flushing, but copper and PEX are the common choices.

Copper: weights, joints and speed

Type L is the minimum copper weight. Type M, which is thinner, is allowed only aboveground in or on a building or underground outside of structures. Hard-drawn tube is color-marked: green for Type K, blue for Type L, red for Type M (CPC 604.3). Copper under a slab inside the building goes in without joints where possible, and any joint that is permitted has to be brazed with a wrought copper fitting (CPC 609.3).

Copper systems also have a speed limit. Water velocity can't exceed 8 feet per second cold or 5 feet per second hot, and the same limits apply through copper fittings used on other tubing (CPC 610.12). Undersized hot water lines are the usual violators.

PEX: fittings, UV and the heater

PEX has to be joined the way the tubing maker says. Brass fittings must meet or exceed NSF/ANSI 14 so they resist dezincification, and push-fit fittings, removable or not, must meet ASSE 1061. California adds that all PEX installed has to provide at least 30-day UV protection (CPC 605.9). That matters on a job where tubing sits exposed during construction. Keep it covered.

At the water heater, tubing like PEX or PE-RT can't be used within the first 18 inches of the piping connected to it, so the first stretch off the heater is metal. Flexible copper or stainless connectors can't be longer than 24 inches (CPC 604.13).

Flushing and testing

For PEX that's the initial plumbing in new residential construction, California requires flushing for at least 10 minutes, filling and letting it stand at least 1 week, then flushing every branch again, with a removable tag at each fixture. The flush rule doesn't apply where PEX replaces an existing piping system, so a house repipe isn't covered by it (CPC 604.1.2).

Whatever the material, new water piping gets tested before it's closed up: water at least at working pressure, or air at not less than 50 psi, holding at least 15 minutes with no leakage. Plastic pipe isn't air tested except PEX, PP or PE-RT where the maker allows it (CPC 609.4).

Valves, manifolds and insulation

A home-run PEX system uses a manifold, and the control valve is either at each fixture or at the manifold with every port labeled. If the manifold is in an attic or crawl space, each fixture needs its own stop (CPC 606.5). Hot water piping has to be insulated, and the California Energy Code can call for more than the plumbing code does (CPC 609.12).

Permit

Repiping needs a plumbing permit, because replacing pipe isn't one of the small repairs that are exempt (CPC 104.1 and CPC 104.2). The inspector checks the work before walls are closed. The inspector and your city's adopted edition of the code have the final word.

What you can safely check yourself

You can see what your house has without touching anything. Copper is rigid and has a metal color or green patina, and is marked with a color stripe. PEX is flexible plastic, often red, blue or white. Check the water heater connections for kinks, corrosion or plastic tubing close to the tank. Stains, green crust or pinhole drips on exposed pipe are worth a call. Don't open a pressurized line, and don't cut into a wall to see.

Questions

Is PEX allowed for whole-house repiping in California?

Yes. PEX is listed in Table 604.1 for water distribution, subject to the fitting, UV and heater rules above (CPC 605.9, CPC 604.13).

Does a repipe need the PEX flush and tag procedure?

The 1 week flush is for PEX that's the initial piping in new construction. It doesn't apply where PEX replaces an existing system (CPC 604.1.2).

Can I use PEX-AL-PEX?

Not for potable supply in California. The state housing and building agencies don't adopt it (CPC 604.13).

Which is better, copper or PEX?

The code allows both. Ask your plumber about the layout, the water, access and the manifold plan. Either one is only as good as its fittings and its test.

When to call

If you're seeing pinholes, stains or low pressure, or you're weighing a repipe, call or text (760) 912-9831. "Repiping" is on our service and repair list, and "Complete plumbing system installation" and "Rough-in plumbing" are on our new construction list.

Give us a call

Call (760) 912-9831