Understanding Plumbing Codes in California: What the Code Requires

Table of Contents
- The California Plumbing Code
- The National Standard Plumbing Code (NSPC)
- Key Technical Requirements in the California Plumbing Code
- Plumbing Code Differences
- Plumbing Code Updates and Amendments
- Plumbing Compliance and Enforcement
- Code Requirements Homeowners Run Into
- Permits and Inspections in San Jose
- Why Compliance Matters
- Plumbing Codes in San Jose
- Frequently Asked Questions
Plumbing codes are the enforceable rules for how plumbing is designed, installed and maintained: they keep drinking water safe, carry wastewater away, prevent backflow and cross-contamination, and keep gas appliances venting properly. In San Jose and the rest of California, the rules are the California Plumbing Code plus the City’s local amendments, enforced through permits and inspections.
Here’s what homeowners should know before a water heater replacement, a repipe or a remodel. Three model codes shape plumbing in the U.S.: the Uniform Plumbing Code (UPC), the International Plumbing Code (IPC) and the National Standard Plumbing Code (NSPC). States and cities adopt one of them as the base for their own code, usually with amendments, and each is revised every three years to keep up with new materials, water-efficiency rules and safety research. California builds its code on the UPC. This post explains what the code requires. If you need the practical steps instead (which San Jose jobs need a permit, how City inspections work and how to check a plumber’s license), see plumbing compliance in San Jose.
The California Plumbing Code
The California Plumbing Code (CPC) is Part 5 of the California Building Standards Code (Title 24). It’s based on the Uniform Plumbing Code and updated on a three-year cycle, with cities like San Jose able to adopt local amendments. The City of San Jose adopted the 2025 edition, based on the 2024 UPC, for permit applications made on or after January 1, 2026. It covers:
- Water supply: pipe materials, sizing, pressure, backflow protection and water heaters
- Drainage and venting: pipe slope, traps, vents and cleanouts
- Fixtures: installation, clearances and accessibility
- Gas piping: sizing, materials, testing and appliance connections
- Special systems: recycled water, graywater and rainwater
The National Standard Plumbing Code (NSPC)
The NSPC was created in 1933 by the Plumbing-Heating-Cooling Contractors Association (PHCC) and has been published by IAPMO, the same organization that publishes the UPC, since 2017. It’s the least widely used of the three model codes: New Jersey and parts of Maryland are its main adopters. Like the other codes, it covers pipe sizing, fixture installation, drainage and venting, backflow prevention and water conservation, and it’s known for practical, illustrated guidance aimed at people in the field.
The NSPC doesn’t apply in California. The technical requirements below are the ones that matter in San Jose, under the CPC.
Key Technical Requirements in the California Plumbing Code
Pipe Sizing and Pressure Loss Calculations
Water pipes have to be sized so every fixture gets enough flow and pressure when several are running at once. The CPC sizes pipe by water supply fixture units: each fixture is assigned a load value, and the total load, the available pressure, the pipe material and the developed length of the longest run set the minimum pipe size. Every fitting adds friction, so elbows and tees count toward that length. The code’s appendix also allows an engineered sizing method. Getting it right prevents weak showers when a toilet flushes, noisy pipes and water hammer. San Jose inspectors may ask for a sizing schematic on a repipe; see repiping cost.
Fixture Installation Requirements
Fixtures have to be set level, anchored securely, and installed where they can be used and serviced. Every fixture needs a trap to block sewer gas, and the trap has to be vented. The CPC sets minimum clearances around toilets:
- At least 15 inches from the center of the toilet to a side wall or obstruction
- At least 30 inches center to center between two toilets (or a toilet and a bidet)
- At least 24 inches of clear floor space in front of a toilet, bidet or lavatory
- Approved materials for every connection, with watertight, durable joints
- Supply and drain connections that can’t cross-contaminate the drinking water
Drainage System Design
Drains work by gravity, so slope and venting matter most. Under the CPC:
- Horizontal drains slope at least 1/4 inch per foot toward the sewer. Pipe 4 inches and larger may slope 1/8 inch per foot only where the inspector approves it because of site conditions.
- Each trap holds a water seal of 2 to 4 inches.
- Every trap is vented within a maximum distance that depends on the pipe size, so the trap isn’t siphoned dry.
- Cleanouts are required at the upper end of horizontal drains, at sharp changes of direction and at least every 100 feet of horizontal run. On sewer work, San Jose also inspects the property line cleanout (the City publishes a checklist for it).
- Drain sizes follow drainage fixture unit loads and the capacity limits in the code’s tables.
Plumbing Code Differences
All three model codes aim at the same thing (safe water, safe drainage, no cross-contamination), but they differ in who writes them, how they’re written and where they’re used.
| UPC | IPC | NSPC | |
|---|---|---|---|
| Published by | IAPMO (International Association of Plumbing and Mechanical Officials) | International Code Council (ICC) | IAPMO since 2017; created by PHCC |
| Format | Prescriptive: detailed sizing, venting and material rules | More performance-based; more room for engineered designs | Prescriptive, with practical illustrated guidance |
| Where it’s used | California and several other Western states, as the base for state codes | The most widely adopted plumbing code in the U.S. | Mainly New Jersey and parts of Maryland |
| In San Jose | Yes, through the California Plumbing Code | No | No |
Residential vs Commercial Coverage
In California, the CPC covers both homes and commercial buildings; the requirements scale with the building’s use and demand.
| Homes (single-family, duplex) | Commercial buildings | |
|---|---|---|
| Fixtures | The fixtures the owner chooses, with water-efficiency limits | A minimum number of toilets, lavatories and drinking fountains based on occupancy, plus accessibility rules |
| Pipe sizing | Smaller lines for limited simultaneous use | Larger lines for peak demand and multiple zones |
| Venting | Simpler vent layouts | Larger vent networks, relief vents, multiple stacks |
| Backflow | Hose bibb vacuum breakers, irrigation backflow devices | Testable assemblies on fire, irrigation and process connections, tested every year |
| Inspections | Rough and final on most permits | Plan review, more phases, often special inspections |
Mixed-use buildings follow the commercial rules for the commercial spaces, and the systems have to be planned so the two don’t cross-connect.
Pipe Materials and Allowed Fittings
Every pipe, fitting and fixture must be listed to the standard the code names (ASTM, ASME, NSF/ANSI and others), and anything carrying drinking water must be certified for it. Under California and federal law, pipe, fittings and fixtures for drinking water must be lead-free: no more than 0.25% lead on the wetted surfaces.
- Water supply: copper, PEX, PEX-AL-PEX and CPVC are the common choices for homes; galvanized steel is still listed but is rarely installed today. See types of plumbing pipes.
- Drain, waste and vent: ABS, PVC and cast iron, depending on the location and the building.
- Joining methods: soldering or brazing (with lead-free solder), press fittings, crimp and expansion fittings for PEX, solvent cement for plastic, threaded joints. Each has to be done the way the listing and manufacturer specify.
- Dissimilar metals: connecting copper to galvanized steel needs a dielectric fitting to prevent corrosion.
- Installation: pipe has to be supported at the spacing the code sets, protected from damage and allowed to expand with heat.
The three model codes accept similar core materials; they differ mainly in how they list materials and how they approve alternatives.
Pressure and Flow Rate Requirements
The code sets a working pressure range for the house and, in California, state law sets how much water each fixture may use.
| Requirement | California rule | Why it matters |
|---|---|---|
| Maximum pressure | A pressure regulator is required when street pressure exceeds 80 psi | Protects pipes, valves, fixtures and appliances from damage and leaks |
| Minimum pressure | Systems are designed for at least 15 psi at the fixtures, allowing for losses | Enough flow at the highest and farthest fixture |
| Toilets | 1.28 gallons per flush | Water efficiency |
| Showerheads | 1.8 gallons per minute | Water efficiency |
| Bathroom faucets | 1.2 gallons per minute | Water efficiency |
| Kitchen faucets | 1.8 gallons per minute | Water efficiency |
The fixture limits come from the California Energy Commission’s Title 20 appliance efficiency standards, and only compliant fixtures can be sold in the state. Older homes may also have to swap out high-flow fixtures during permitted remodels; see the next section.
Plumbing Code Updates and Amendments
Plumbing codes change with new technology, water-efficiency goals and safety research, and the changes affect design, approved materials and what inspectors check.
- Update cycle: the model codes and California’s building codes are revised every three years.
- Development process: changes start as public proposals, go through committee review and a public comment period, and are then published.
- Recent focus areas: water conservation, alternate water sources such as graywater and rainwater, and new piping materials.
- Local amendments: states and cities modify the model codes for their climate, soils, seismic risk and infrastructure.
- Staying current: plumbers follow the official code publications and the local building department’s updates, and confirm which edition applies to each project.
2024 UPC and the 2025 California Plumbing Code
The 2024 edition of the UPC is the base of the 2025 California Plumbing Code, which the state published on July 1, 2025 with California’s amendments. In San Jose, plans and permit applications submitted on or after January 1, 2026 are reviewed under the 2025 codes. Work permitted earlier is inspected under the edition in effect when the permit was applied for.
California’s own rules often go further than the model code. Water-efficiency limits for fixtures come from state law, and California’s Civil Code requires owners of homes built before 1994 to replace non-compliant, high-water-use fixtures, including when they make permitted alterations. The City’s inspections page has its guidance on non-compliant fixture replacement.
NSPC Updates
The NSPC follows the same three-year cycle; its current edition is 2024, published by IAPMO. Because California builds on the UPC, NSPC changes don’t affect San Jose projects. They matter mainly for plumbers and engineers working in New Jersey and parts of Maryland.
Rainwater Catchment System Regulations
The CPC allows rainwater catchment for non-potable uses such as irrigation and, with treatment and local approval, toilet flushing. Typical requirements:
- Screened inlets, a first-flush diverter and an overflow to a safe location
- Tanks and pipes labeled as non-potable water, placed where they can be inspected and maintained
- Backflow protection wherever the system could connect to the drinking water supply, so rainwater can never enter it
- A permit and inspection for systems that connect to plumbing
Simple rain barrels that only feed a hose usually don’t need a permit. California also allows a basic laundry-to-landscape graywater system without a construction permit when it meets the state’s conditions; anything more complex needs a permit.
Plumbing Compliance and Enforcement
Building departments, the state licensing board and inspectors enforce the plumbing code by reviewing plans, inspecting work and checking that it matches the adopted code. Work that doesn’t meet code has to be corrected, which means delays and rework. The enforcement process generally runs:
- Permit: the building department issues a permit (after plan review on larger jobs) before work starts.
- Inspections: inspectors check the work at set stages, such as rough-in and final.
- Corrections: if something doesn’t meet code, the inspector issues a correction notice citing what has to change.
- Approval: once corrections pass re-inspection, the work is approved and the permit is closed.
For how this works in practice in San Jose, from the Permit Card to the inspector’s morning call, see plumbing compliance in San Jose.
State and Local Code Adoption
In California, the Building Standards Commission adopts the state’s building codes, including the CPC, every three years and publishes them in Title 24. Cities and counties enforce the state code and can amend it by ordinance, but local amendments must be justified by local climate, geology or topography. San Jose adopts the CPC with local amendments in Chapter 24.04 of its Municipal Code. The City also publishes its own guidance on topics such as earthquake bracing of water heaters, backwater valves, sewer laterals and property line cleanouts.
Plumbers confirm the governing edition and any local amendments before starting work, because what passes in one city may not pass in the next.
Licensing Requirements
California licenses plumbing contractors, not individual journeymen. A plumbing contractor holds a C-36 Plumbing Contractor license from the Contractors State License Board (CSLB), which covers water, gas and waste piping, water heaters and backflow devices. To get one:
- Experience: at least four years of journey-level experience in the trade within the last ten years
- Exams: a trade exam and a law and business exam
- Bond and insurance: a contractor’s bond, plus workers’ compensation if the contractor has employees
- Renewal: licenses are renewed every two years and must stay active
Homeowners can check any license on the CSLB license lookup. See plumbing licenses and certifications.
Inspection Processes
Inspections confirm that the installed work matches the code and the approved plans. Depending on the job, they can include an underground or under-floor inspection before pipes are buried or covered, a rough inspection before walls are closed (with the pipes under a pressure test) and a final inspection of the finished work. Being ready means the work is complete and uncovered, the permit documents are on site and the inspector can reach every area. If something fails, the inspector issues a correction notice and the work is re-inspected after it’s fixed. See what a plumbing inspection is.
Penalties for Non-compliance
Ignoring the plumbing code costs time and money. The usual sequence:
- Correction notice: the inspector documents the violation and sets what has to be fixed.
- Fees and fines: re-inspection fees, and fines for unpermitted or uncorrected work, depending on the jurisdiction.
- Stop-work orders: the building department can stop work or suspend a permit until the problem is resolved.
- Licensing action: serious or repeated violations by a contractor can be referred to the CSLB.
For homeowners, the bigger cost is often later: unpermitted work has to be disclosed when you sell, and insurers can deny claims tied to it.
Code Requirements Homeowners Run Into
- Water heaters: earthquake straps, a T&P relief valve with a proper discharge pipe, venting and clearances; see how to install a water heater.
- Water pressure: a pressure regulator is required when street pressure exceeds 80 psi.
- Backflow protection: on irrigation and other cross-connections; testable assemblies need annual testing.
- Cleanouts: required on drain and sewer lines for maintenance.
- Water efficiency: new toilets 1.28 gallons per flush, showerheads 1.8 gpm, bathroom faucets 1.2 gpm and kitchen faucets 1.8 gpm.
- Graywater: simple laundry-to-landscape systems are allowed without a permit when they meet state rules.
Permits and Inspections in San Jose
- When permits are required: water heater replacement, repiping, sewer line repair or replacement, gas piping, and adding or moving fixtures.
- Inspections: rough-in inspections before walls are closed (including pressure tests) and a final inspection; see what a plumbing inspection is.
- Who pulls the permit: the City recommends a licensed contractor; the person who signs is responsible for the work. See plumbing licenses and certifications.
Why Compliance Matters
- Safety: proper venting, relief valves and backflow protection prevent carbon monoxide, scalding and contamination.
- Insurance and resale: unpermitted work can complicate claims and home sales.
- Cost: failing an inspection or correcting unpermitted work costs more than doing it right the first time.
Plumbing Codes in San Jose
- Older homes often have work that predates current code (galvanized pipe, missing straps or cleanouts); updates usually happen during repairs and remodels.
- Earthquakes make water heater bracing a key inspection item.
- Water efficiency rules shape fixture choices in remodels.
For San Jose’s permit steps, inspections and the most common violations, see plumbing compliance in San Jose. CPI Service handles permits and inspections for plumbing work throughout San Jose and the South Bay. Request a free estimate or call (408) 978-3093.
Frequently Asked Questions
Which plumbing code applies in San Jose?
The California Plumbing Code (Part 5 of Title 24), which is based on the Uniform Plumbing Code, along with the local amendments the City of San Jose adopts. The 2025 edition, based on the 2024 UPC, applies to permit applications made on or after January 1, 2026.
Do I need a permit for plumbing work?
For water heater replacement, repiping, sewer line work, gas piping and adding or moving fixtures, yes. Like-for-like repairs such as fixing a leak, clearing a stoppage or repairing a faucet or toilet usually don't need one.
What are California's water-efficiency limits for fixtures?
New toilets are limited to 1.28 gallons per flush, showerheads to 1.8 gallons per minute, bathroom faucets to 1.2 gallons per minute and kitchen faucets to 1.8 gallons per minute.
What is the difference between the IPC and the UPC?
Both are model plumbing codes. The Uniform Plumbing Code, published by IAPMO, is more prescriptive: it spells out sizing methods, venting and materials in detail, and it's the basis of the California Plumbing Code. The International Plumbing Code, published by the International Code Council, leaves more room for engineered and alternative designs and is the most widely adopted plumbing code in other states. It doesn't apply in San Jose.
How often are plumbing codes updated?
The model codes (UPC, IPC and NSPC) are revised every three years through public proposals, committee review and public comment. California adopts a new edition of its building codes, including the plumbing code, on the same three-year cycle.
What are the penalties for plumbing code violations?
It depends on the violation and the jurisdiction. Most start with a correction notice and a re-inspection; serious or ignored violations can lead to stop-work orders, fines, permit suspension, or a referral to the state licensing board for a contractor. Unpermitted work can also complicate insurance claims and home sales.
How do I stay compliant with plumbing codes in San Jose?
Hire a licensed plumbing contractor who works under the California Plumbing Code, get the permit before work starts, schedule every inspection on the Permit Card, and keep the permit records for when you sell.
We hired CPI for a complete house repipe and an addition of a water recirculation system. They did an excellent job. The workers were friendly, they cleaned up after themselves, they didn’t hesitate to ask if they had any questions and we were assigned a project manager to ensure that the job went smoothly. They handled permits and inspections very well. Everything went smoothly. They were definitely worth the money. I wish all of our home improvement jobs had gone this well. I definitely recommend them.
Tanja F., Yelp review
Read more reviews →Serving San Jose and the South Bay
CPI Service is based at 2880 Aiello Dr in San Jose and serves homes and businesses across the South Bay and the Peninsula. See all the areas we serve.