Home › Code Library
Code Library
California Plumbing Code, section by section
California runs on the 2025 California Plumbing Code (Cal. Code Regs. Title 24, Part 5). It's based on the 2024 Uniform Plumbing Code and took effect January 1, 2026. Here are 216 sections that come up on real jobs, each summarized in our own words with an original diagram you're free to share.
Permits, inspections and tests CPC Chapter 1
- CPC 102.2Existing plumbing that was legal when it went inPlumbing that was lawfully in place when the current code was adopted can stay in use and keep being maintained and repaired the way it was originally designed and located, as long as it hasn't become a hazard to life, health, or property.
- CPC 102.3Maintenance is the owner's jobThe owner or the owner's designated agent has to keep the plumbing and drainage system, new and old, sanitary and safe to operate, and keep required devices and safeguards in service. The building department can have a system reinspected to check.
- CPC 102.4Additions, remodels, and repairs: new work meets codeNew work in an addition, alteration, renovation, or repair has to meet the code for a new system, but the rest of the existing plumbing doesn't have to be upgraded. The new work can't leave the existing system unsafe, insanitary, or overloaded.
- CPC 104.1Plumbing permits: one for each building or structureYou need a separate plumbing permit for each separate building or structure before you install, alter, repair, replace, or remodel a plumbing system, unless the work is exempt under 104.2. Doing the work without one is unlawful.
- CPC 104.2Small repairs that don't need a permitTwo small jobs are exempt from a plumbing permit: stopping leaks in drain, soil, waste, or vent pipe, and clearing stoppages or repairing leaks without replacing or rearranging valves, pipes, or fixtures. Replacing a defective trap or pipe is new work and needs a permit.
- CPC 104.4Permit issuance, approved plans, and expirationThe building department issues the permit once the application, plans, and data comply with the code and the fees are paid. In California, a permit becomes invalid if work doesn't start within 12 months or is suspended or abandoned for 12 months, with written extensions of up to 180 days each.
- CPC 105.2Required inspections: underground, rough-in, finalPlumbing work gets three inspections: underground (after the trench is dug and bedded and the pipe is in, before backfill), rough-in (before wall or ceiling membranes go up), and final (when the installation is complete). The permit holder schedules each one.
- CPC 105.3Testing plumbing systems before approvalPlumbing systems have to be tested and approved as the code or the building department directs, with the test done in the presence of the inspector or the inspector's representative. Joints have to be gastight and watertight at the test pressures, and a passing system earns a certificate of approval.
General rules CPC Chapter 3
- CPC 301.2Listed and marked pipe, fittings, and fixturesPipe, fittings, traps, fixtures, and devices in a plumbing system have to be listed (third-party certified) to the standards the code references, be free of defects, and carry the manufacturer's markings. Anything the code doesn't provide for goes to the building department for approval before it's installed.
- CPC 304.1Fixtures and appliances connect to the drainage systemEvery fixture, drain, appurtenance, and appliance that receives or discharges liquid waste or sewage has to be properly connected to the building's drainage system in accordance with the code.
- CPC 309.2No patching defects in pipe or jointsIt's unlawful to hide cracks, holes, or other imperfections in materials by welding, brazing, soldering, or by using paint, wax, tar, solvent cement, or any other leak-sealing or repair agent.
- CPC 310.1Fittings you can't use in a drainDon't use a double hub fitting, a single or double tee branch, a single or double tapped tee branch, a side inlet quarter bend, a running thread, a band, or a saddle as a drainage fitting.
- CPC 310.2No drilling and tapping drain or vent pipe, no threading soil pipeDon't drill and tap drainage or vent piping to make a connection, and don't thread cast-iron soil pipe.
- CPC 310.3No waste connections to a closet bend or stubDon't connect any other waste to the closet bend or stub of a water closet or similar fixture.
- CPC 310.4Vent pipes and waste pipes can't swap jobsA vent pipe can't be used as a soil or waste pipe, and a soil or waste pipe can't be used as a vent, except where Sections 908.0 through 911.0 allow it. Single-stack drainage and venting with unvented branch lines is prohibited.
- CPC 310.5Nothing that chokes drain or vent flowNo fitting, connection, appliance, device, or installation method can obstruct or slow the flow of water, waste, sewage, or air in the drainage or vent system beyond normal pipe friction, unless the code shows it as acceptable or it's approved under 301.2. Enlarging a 3 inch closet bend or stub to 4 inches isn't an obstruction.
- CPC 310.6Dissimilar metals: keep the joint accessibleWhere two different metals are joined, the connection has to be in an exposed or accessible location. Necessary valves are the exception.
- CPC 311.1Each building gets its own drain and sewer connectionThe drainage system of each new building, and new work in an existing building, has to be separate and independent from any other building's, and each building gets its own connection to a public or private sewer where one's available. One exception covers a rear building on an interior lot with no sewer available to it.
- CPC 312.1Protecting pipe through walls, cinders and slabsPipe passing under or through a wall has to be protected from breakage. Pipe in cinders or other corrosive material gets approved protection from corrosion, hot water piping needs provision for expansion, and voids around pipe through slab-on-grade floors get sealed.
- CPC 312.2Pipe installed without strain, never embedded in concretePipe can't be installed under undue strain. You have to allow for expansion, contraction and building settlement, and no plumbing pipe may be directly embedded in concrete or masonry.
- CPC 312.3Drain pipe under or near a building: material and depthBuilding sewer or drain pipe that isn't approved for use under or within a building can't go under a building or structure, within 2 feet of one, or less than 1 foot below the ground surface.
- CPC 312.6Freezing protection for pipe outside, in attics and in exterior wallsWater, soil and waste pipe installed outside a building, in attics or crawl spaces, or in an exterior wall has to be protected from freezing where that's necessary.
- CPC 312.7Pipe through fire-rated walls and floorsPipe that penetrates a fire-resistance-rated wall, partition, floor, floor/ceiling or roof/ceiling assembly, or a shaft enclosure has to be protected the way the California Building Code or California Residential Code requires.
- CPC 312.9Steel nail plates over pipe in studs and platesPlastic pipe and copper pipe or tubing that passes through framing within 1 inch of the exposed face needs a steel nail plate at least No. 18 gauge (0.0478 inch) thick, extending at least 1-1/2 inches past the pipe's outside diameter.
- CPC 312.10Sleeves through concrete and masonryPipe through concrete or masonry walls and concrete floors needs a sleeve, unless the opening is drilled or bored. Exterior-wall sleeves are sealed watertight, firewall sleeves are fully sealed with approved fire-resistive material, and building loads can't bear on the pipe.
- CPC 312.11Cutting and notching framing for pipeIf pipe work weakens a structural member by cutting or notching, the member has to be reinforced, repaired or replaced so it's left structurally safe, as the California Building Code or California Residential Code requires.
- CPC 312.12Rodentproofing at drains, meter boxes and wall openingsDrain strainer plates can't have openings larger than 1/2 inch in the least dimension. Meter boxes, wall, floor and ceiling openings for pipe, and tub waste openings to a crawl space have to be built or closed to keep rodents out.
- CPC 313.1Supporting pipe, fixtures and appliancesPipe, tubing, fixtures, appliances and appurtenances have to be supported according to the code, the manufacturer's installation instructions and the local authority having jurisdiction, with seismic restraints per the building code.
- CPC 313.3Hanger spacing for suspended pipeSuspended pipe gets supported at no more than the spacing in Table 313.3: copper is 6 feet for 1-1/2 inch and smaller and 10 feet for 2 inch and larger, PVC and ABS DWV is 4 feet in all sizes, and PEX is 32 inches for 1 inch and smaller.
- CPC 313.5Pipe in the ground lies on a firm bedPipe in the ground has to lie on a firm bed for its entire length. Any other kind of support has to be approved under Section 301.2.
- CPC 314.1Trenches next to footingsA trench that's deeper than a building's footing and runs parallel to it has to stay at least 45 degrees out from the bottom exterior edge of the footing, unless it's approved otherwise under Section 301.0.
- CPC 314.4Trench backfill and bedding for buried pipeBackfill in thin layers of clean earth to 12 inches above the pipe, then compact the rest to grade. Thermoplastic sewer pipe needs a 4 inch granular bed, 6 inch compacted layers and at least 85 percent standard Proctor density.
- CPC 315.2Drain fittings that obstruct flow are prohibitedA drain fitting or connection that has an enlargement, chamber or recess with a ledge, shoulder or reduction in pipe area that obstructs flow is prohibited.
- CPC 318.1Test gauges: increments and rangeDial gauges used for code tests have to read finely enough: 0.10 psi increments or less for tests of 10 psi or under, 1 psi or less over 10 up to 100 psi, and 2 percent or less of the test pressure above 100 psi. The gauge range can't exceed twice the test pressure.
Fixtures CPC Chapter 4
- CPC 401.3Water-conserving fixtures: where California's flow limits liveSection 401.3 doesn't list flow rates itself. It sends nonresidential flow limits to CALGreen, requires noncompliant fixtures in residential real property to be replaced before final approval, and says that where state appliance law sets a lower flow rate than 407.2, 408.3 or 411.2, the lower rate applies.
- CPC 402.5Toilet, bidet and urinal clearancesSet a water closet or bidet at least 15 inches from its center to a side wall or obstruction and at least 30 inches center to center from a similar fixture. Leave at least 24 inches of clear space in front of a water closet, lavatory or bidet. Urinals need 12 inches to the side wall and 24 inches center to center.
- CPC 402.6Closet flange and toilet connectionThe bottom of the closet flange sits on top of the finished floor, and the toilet bolts to it through an approved gasket, washer or setting compound. Flanges are about 7 inches across with a 1-1/2 inch wide face for the seal, and the closet bend or stub gets cut flush with the flange before you call the rough inspection.
- CPC 402.10Access to concealed slip jointsConcealed slip joint connections need an access panel or utility space at least 12 inches in its least dimension, arranged without obstructions so the joints can be inspected and repaired.
- CPC 402.11Future fixtures: plugged stubs and pipe sizingIf you rough in for a fixture that's coming later, size the drain and water supply piping for it now and end the stub with a plugged fitting. Where the plug sits at the point the trap would go, that fixture's plumbing has to be complete and meet the code.
- CPC 407.2Faucet flow limits: lavatory and metering faucetsResidential lavatory faucets are capped at 1.2 gpm at 60 psi and can't fall below 0.8 gpm at 20 psi. Public lavatory faucets, and lavatory faucets in common areas of residential buildings, are capped at 0.5 gpm at 60 psi. Metering faucets deliver no more than 0.2 gallons per cycle.
- CPC 407.3120 degree limit on public lavatory hot waterHot water from a public-use lavatory is limited to 120°F (49°C). You get there with a limiting device that conforms to ASSE 1070 / ASME A112.1070 / CSA B125.70, or with a water heater that conforms to ASSE 1084.
- CPC 408.3Showerhead and body spray flow limitsA showerhead can't exceed 1.8 gpm at 80 psi, and body sprays get the same cap. When one valve feeds more than one showerhead, the combined flow can't exceed 1.8 gpm, unless the shower is designed so only one outlet runs at a time.
- CPC 408.4Shower valves: pressure balance or thermostatic, 120°F limitEvery shower and tub-shower combination needs its own pressure-balance, thermostatic or combination valve at the point of use. The water at the showerhead is limited to 120°F (49°C) by adjusting that valve or setting its limit stop.
- CPC 408.5Shower drain: 2 inch outlet and tailpieceA shower waste outlet and fixture tailpiece must be at least 2 inches in diameter, made from a material approved for drainage piping, and the drain strainer has to meet ASME A112.18.2/CSA B125.2.
- CPC 408.6Shower curb, flange and floor slopeA shower curb has to sit at least 1 inch lower than the sides and back, and be between 2 and 9 inches high measured from the top of the drain. The receptor floor slopes 1/8 to 1/2 inch per foot to the drain, and the nailing flange rises at least 1 inch above the receptor sides.
- CPC 408.7Shower compartment minimum sizeA shower compartment needs a finished interior of at least 1024 square inches that can also fit a 30 inch circle, held up to 70 inches above the drain outlet. A receptor at least 30 inches wide and 60 inches long is exempt from the area and circle test.
- CPC 408.8Site-built shower pan lining and the 2 inch water testA site-built shower receptor has to be watertight and lined with sheet plastic, lead, copper or another durable watertight material, turned up at least 3 inches above the top of the curb and pitched 1/4 inch per foot to the weep holes. Test it with water at least 2 inches deep for at least 15 minutes.
- CPC 409.4120 degree limit on tub and whirlpool filler waterHot water from a bathtub or whirlpool bathtub filler is limited to 120°F (49°C), either by a limiting device conforming to ASSE 1070 / ASME A112.1070 / CSA B125.70 or CSA B125.3, or by a water heater conforming to ASSE 1084.
- CPC 409.6Whirlpool tub pump access and installationInstall a bathtub or whirlpool bathtub to the manufacturer's instructions, with an access opening big enough to remove and replace the circulation pump. The pump sits above the crown weir of the trap, the piping self-drains, and pump access in a crawl space is within 20 feet of an access door, trap door or crawl hole.
- CPC 411.2Toilet flush volume: 1.28 gallons per flushThe effective flush volume of a water closet can't exceed 1.28 gallons per flush. Dual-flush toilets are rated on the average of two reduced flushes and one full flush, and residential toilets also have to meet EPA WaterSense high-efficiency performance.
- CPC 414.3Dishwasher drain: air gap fitting connectionsA residential dishwasher discharges indirectly through an air gap fitting into a waste receptor, a wye branch on the kitchen sink tailpiece, or the dishwasher connection of a food waste disposer. A commercial dishwasher discharges through an air break or a direct connection.
- CPC 418.2Floor drains: strainer and where they're requiredA floor drain counts as a plumbing fixture and needs an approved strainer whose waterway equals the tailpiece area, plus a watertight joint at the floor. They're required in public toilet rooms with two or more water closets (or a water closet and a urinal), commercial kitchens, commercial and common laundries, and boiler rooms.
- CPC 420.3Pre-rinse spray valve flow limitsA commercial food service pre-rinse spray valve is limited to 1.00 gpm (Class 1, 5.0 ounces-force or less), 1.20 gpm (Class 2, over 5.0 up to 8.0) or 1.28 gpm (Class 3, over 8.0), and it needs an integral automatic shutoff.
- CPC 422.1How many fixtures: using Table 422.1Table 422.1 sets the minimum number of toilets, urinals, lavatories, showers or tubs and drinking fountains by occupancy type and occupant load. Split the load 50 percent male and 50 percent female unless better data says otherwise, round fractions up to the next whole number, and let the building department handle occupancies the table doesn't list.
- CPC 422.6Public toilet compartments and privacyPublic water closets have to sit in a compartment with walls or partitions and a door for privacy. Partitions in separate-gender rooms meet the Type B security requirements of IAPMO Z124.10. California doesn't allow Type A in all-gender rooms and requires lockable privacy compartments there.
Water heaters CPC Chapter 5
- CPC 501.1Water heater sizing: first-hour rating and product standardsA storage water heater has to meet the first-hour rating in Table 501.1(2), which is set by the home's bathroom and bedroom count. A house with 2 to 2.5 baths and 3 bedrooms, for example, needs at least 62 gallons.
- CPC 502.1Permit required to install, remove or replace a water heaterYou need a permit from the Authority Having Jurisdiction before you install, remove or replace a water heater. A like-for-like changeout counts as a replacement.
- CPC 503.2Final water heater inspectionThe Authority Having Jurisdiction inspects the water heater after the permitted work is installed, and no appliance or any part of it can be covered or concealed until it has been inspected and approved.
- CPC 504.1Water heaters in bedrooms and bathroomsA water heater in a bedroom or bathroom has to be direct-vent, or a fuel-burning heater has to sit in a closet with a listed gasketed self-closing door, outdoor combustion air, and nothing else in it.
- CPC 504.4Overpressure protection: relief setting above service pressure, 150 psi maxEvery water heater installation needs an approved, listed overpressure device set above the water service pressure and no higher than 150 psi.
- CPC 504.5Overtemperature protection on water heaters and storage tanksA water heater or hot water storage vessel has to have an approved, listed overtemperature device, installed per its listing and the manufacturer's instructions.
- CPC 504.6T&P relief valve: no shutoff valve, capacity at least the heater's inputRelief devices go in per their listings. There can be no shutoff valve between the relief valve and the heater or on its discharge pipe, and the valve's discharge capacity can't be less than the heater's input rating.
- CPC 506.2Indoor combustion air: how much room volume you needWith the standard method, the room has to hold at least 50 cubic feet for every 1000 Btu/h of total input of all the appliances in it. In a tight house (known infiltration under 0.40 ACH) you use the known-infiltration method instead.
- CPC 506.3Combustion air openings between indoor spacesTwo permanent openings between spaces on the same story, one within 12 inches of the top and one within 12 inches of the bottom, each at least 1 square inch per 1000 Btu/h and never under 100 square inches, with no dimension under 3 inches.
- CPC 506.4Outdoor combustion air: two openings or oneOutdoor air comes in through two openings (each 1 square inch per 4000 Btu/h direct or through vertical ducts, or per 2000 Btu/h through horizontal ducts) or through one opening at 1 square inch per 3000 Btu/h. No opening dimension is under 3 inches.
- CPC 507.2Earthquake strapping for water heaters (California)A water heater has to be anchored or strapped against sideways movement in an earthquake, with straps in the upper third and lower third of the tank, and the lower strap at least 4 inches above the controls.
- CPC 507.5Water heater drain pan (attics, upper floors and where leaks do damage)Where a heater sits in an attic, over a floor-ceiling or floor-subfloor assembly, or anywhere a leak would cause damage, it needs a watertight corrosion-resistant pan at least 1-1/2 inches deep with a drain of at least 3/4 inch to a visible termination.
- CPC 507.13Water heaters in residential garages: 18 inches off the floorIn a residential garage, burners, ignition devices, switches and heating elements have to be at least 18 inches above the floor, unless the heater is a listed FVIR model. The heater also has to be protected from vehicle damage.
- CPC 507.25Access and working space around a water heaterEvery appliance has to be placed so it can be repaired or replaced, and unless something else is specified you keep 30 inches of working space in depth, width and height.
- CPC 507.26Clearance to combustible materialsAn appliance and its vent connector have to be installed with enough clearance from combustible material that running it can't create a hazard. A listed water heater follows its listing and the manufacturer's instructions. An unlisted one needs at least 12 inches on all sides and a protected combustible floor.
- CPC 508.4Water heater in an attic or under-floor space: access, passageway, platform, power and lightAn attic or crawl space that holds a heater needs an access opening and passageway at least 22 by 30 inches and larger than the heater's biggest part, solid flooring at least 24 inches wide, a 30 by 30 inch level work platform, plus a receptacle and a light.
- CPC 509.6Gas vent (Type B) termination above the roofA Type B gas vent ends at least 5 feet above the draft hood or flue collar. Through the roof, a vent of 12 inches or less and at least 8 feet from a wall rises to the Table 509.6.1 height (1 foot for a flat to 6/12 roof). Closer to a wall, or larger, it goes at least 2 feet above the roof and above anything within 10 feet.
- CPC 509.8Through-the-wall vent terminals: clearances to doors, windows, grade and air inletsA through-the-wall vent terminal follows Table 509.8.1: for example 12 inches above grade, and from an openable window or door 6, 9 or 12 inches for direct-vent by input, or 4 feet below or beside and 1 foot above for non-direct vent.
- CPC 604.13Water heater connectors and PEX near the heaterFlexible water heater connectors have to meet ASME A112.18.6/CSA B125.6, copper and stainless flexible connectors can't be longer than 24 inches, and PEX or PE-RT tubing can't be used within the first 18 inches of piping connected to the heater.
- CPC 608.3Expansion tanks and combination T&P valvesA water system with a check valve, backflow preventer or other normally closed device that traps building pressure needs an approved expansion tank on the building side of that device. A storage water heater needs a combination T&P valve with a drain that meets 608.5.
- CPC 608.5Relief valve discharge piping (T&P drain line)A T&P or relief valve drain must be full size, unvalved, untrapped, drain by gravity, and end pointing down where you can see it: through an air gap into the drainage system, or outside between 6 inches and 2 feet above the ground.
- CPC 608.7Vacuum relief valve on a tank above the fixturesIf a hot-water storage tank or indirect water heater sits higher than the fixture outlets in the hot water system, it needs a vacuum relief valve complying with ANSI Z21.22/CSA 4.4, installed on the tank or heater.
Water supply and distribution CPC Chapter 6
- CPC 601.3Pipe identification: potable, nonpotable and alternate waterWhere a building has both potable and nonpotable water piping, each system gets marked: green with white lettering for potable, yellow with black capital letters reading CAUTION: NON-POTABLE WATER, DO NOT DRINK for nonpotable, and purple for alternate sources like gray water. The marking repeats at least every 20 feet and once in every room.
- CPC 604.1Approved materials for drinking water pipingPipe, tube, fittings, solvent cement, thread sealants, solder and flux in drinking water systems have to meet NSF/ANSI/CAN 61, and pipe and fittings have to match the standards listed in Table 604.1. California adds permit and flushing conditions for CPVC inside homes.
- CPC 604.1.2New PEX: flush, wait a week, flush again, tag the fixturesIn California housing, PEX that's the first plumbing installed in new construction gets flushed for at least 10 minutes, filled and left standing at least 1 week, then every branch flushed again. Each fixture gets a removable tag at the fill.
- CPC 604.2Lead limits in drinking water pipe, fittings and fixturesPipes, fittings and fixtures that carry or dispense drinking water can't exceed a weighted average of 0.25 percent lead on wetted surfaces, and solder and flux can't exceed 0.2 percent. For water supply parts in non-drinking uses, the cap is 8 percent (604.2.1).
- CPC 604.3Copper water tube: Type L minimum, Type M in two placesCopper water tube has to be at least Type L weight. Type M is allowed only where the piping is aboveground in or on a building, or underground outside of structures. Hard-drawn tube is color-marked: green K, blue L, red M.
- CPC 605.9PEX joints: manufacturer fittings, push-fit, and UV protectionPEX tubing has to be joined with the fittings and methods the tubing maker specifies. Push-fit fittings have to meet ASSE 1061, brass fittings have to meet NSF/ANSI 14, and California requires at least 30-day UV protection on all PEX installed.
- CPC 606.2Fullway shutoff valves: meter, each building, tanks, water heatersA fullway valve goes on the discharge side of each water meter and unmetered supply, one for each building on a premises (a single-family house and its accessory buildings can share one), at supply tanks, and on the cold supply to each water heater, at or near it. All of them have to be accessible.
- CPC 606.3Shutoff valves inside each dwelling unitIn multidwelling buildings, each dwelling unit needs one or more accessible shutoff valves so one unit's fixtures can be shut off without stopping water to other units. Valves that control two or more openings have to be fullway gate or ball valves, or other approved types.
- CPC 606.5Control valves at appliances, fixtures and manifoldsEvery water-supplied appliance gets a control valve immediately ahead of it. In a parallel (home-run) system, the valve is either at each fixture or at the manifold and labeled for the fixture, but if the manifold is in an attic, crawl space or other hard-to-reach spot, each fixture needs its own valve.
- CPC 608.1Minimum 15 psi residual pressure at the fixturesIf the main or other source can't leave at least 15 psi residual pressure after friction and other losses, a tank and pump (or another means) has to provide it. Any fixture that needs more than 15 psi has to get what it needs.
- CPC 608.2Pressure regulator when street pressure is over 80 psiIf static water pressure in the supply piping is over 80 psi, you need an approved pressure regulator (with a strainer ahead of it) that brings the building down to 80 psi or less. An expansion tank then goes on the cold side downstream of the regulator.
- CPC 609.2Water pipe and sewer in the same trenchWater pipe can't share a trench with a building sewer or drain made of clay or another material not approved inside a building, unless the water pipe's bottom is at least 12 inches above the sewer's top and it sits on a solid shelf at least 12 inches to the side. Crossings go at least 12 inches above the sewer.
- CPC 609.3Water pipe in or under a concrete slabWater piping inside the building foundation, in or under a slab on the ground, needs a protective coating on ferrous pipe (galvanizing doesn't count), and copper tube should have no joints under the slab where possible. Where a joint is permitted, it's brazed with wrought copper fittings.
- CPC 609.4Testing water piping: water or 50 psi air for 15 minutesTest the hot and cold water system with water or air. Water test pressure has to be at least the working pressure, and the air test has to be at least 50 psi. The pipe has to hold for at least 15 minutes with no leakage, and plastic pipe isn't tested with air except PEX, PP or PE-RT where the manufacturer allows.
- CPC 609.10Disinfecting new or repaired potable water systemsWhere the building official requires it, new or repaired potable water systems get disinfected before use: flush, fill with 50 ppm chlorine for 24 hours or 200 ppm for 3 hours, flush until the residual matches the flushing water, and repeat if a bacteriological test shows contamination.
- CPC 609.11Water hammer arresters at quick-acting valvesWhere quick-acting valves are installed, the water supply needs water hammer arresters that comply with ASSE 1010 or PDI-WH 201, installed as close as possible to the quick-acting valves. The 2025 CPC marks this section as not adopted by HCD.
- CPC 609.12Hot water pipe insulationDomestic hot water piping has to be insulated. Insulation wall thickness is at least the pipe's diameter for pipe up to 2 inches, and at least 2 inches for pipe 2 inches or larger, with exceptions where pipe passes through framing and between the fixture stop and the fixture. California also points to the Energy Code.
- CPC 610.4Sizing water pipe and meter with Table 610.4Table 610.4 sizes the meter and building supply from four inputs: available pressure, developed length to the farthest outlet, elevation of the highest outlet, and total fixture units from Table 610.3. Find the pressure group, pick the length column, go down to a fixture unit value at or above your total, then read the pipe sizes. No building supply is smaller than 3/4 inch.
- CPC 610.12Water velocity limits: 8 ft/s cold, 5 ft/s hotCopper tube and fitting systems can't exceed 8 feet per second in cold water or 5 feet per second in hot water. The same limits apply through copper fittings in tubing other than copper. Appendix A gives the other velocity limits.
- CPC 611.4Sizing residential water softenersTable 611.4 sizes a residential softener by the connection: 3/4 inch for up to 2 bathroom groups and 1 inch for up to 4. Over 4 bathroom groups, the softener size is engineered for the installation. The unit drains through an air gap.
Backflow and cross-connections CPC Chapter 6
- CPC 602.2Never connect drinking water to any other water or chemical pipingDomestic water piping can't be connected to pipes or fixtures carrying any other water, used water, chemicals, liquids or gases unless an approved backflow device sits between them. Where cross-contamination is possible, each point of use gets its own protection.
- CPC 602.3No fixture or equipment may be able to pollute the water supplyA fixture, device or piece of construction can't be connected to the domestic water supply if it could pollute that supply, unless an approved backflow device matched to the hazard is provided. A spout or inlet that can sit below the rim of a basin full of water is the classic example.
- CPC 603.1Cross-connection control: water-operated equipment and treatment chemicalsCross-connection control follows this chapter. Water-operated equipment, or a water-treating chemical, that can pollute or contaminate the domestic supply isn't allowed unless it's protected by an approved backflow device or assembly.
- CPC 603.2Backflow devices: approval, annual testing and who can test themA backflow device or assembly has to be approved by the Authority Having Jurisdiction before it goes in, tested at installation, repair or relocation and at least once a year after, and the testing has to be done by a certified tester. A defective one is repaired or replaced.
- CPC 603.3Which backflow device protects against what (air gap, AVB, PVB, DC, RP)The code defines each backflow device by what's inside it: an air gap is open space, an AVB is a body with a check and an air port, a PVB adds loaded air inlet and test cocks, a DC has two checks, and an RP has two checks plus a relief valve. Table 603.2 shows which hazard and which direction of backflow each one can handle.
- CPC 603.4.3Access and clearance for backflow assemblies (12 inches, platform above 5 feet)A backflow assembly needs room for testing and repair: follow the manufacturer's instructions and leave at least 12 inches between the lowest part of the assembly and the grade, floor or platform. If it's mounted higher than 5 feet, it needs a platform that can hold a tester.
- CPC 603.4.4Potable water to a drain: air gap of two pipe diameters, 1 inch minimumPotable water piping can't be directly connected to sewer-connected waste, with or without a backflow device. Where it discharges into the drainage system, it does so through an approved air gap of two supply pipe diameters, and never less than 1 inch.
- CPC 603.5.6Lawn sprinklers and irrigation backflow protectionAn irrigation system with no pump and no chemical injection can be protected by an AVB, PVB, SVB, RP assembly or an IAPMO PS 72 valve. If it has a pump, connections for pumping equipment, air tanks or other backpressure, it takes an RP. Chemical injection (fertilizer injectors) is also an RP.
- CPC 603.5.7Hose bibbs and outlets with hose threadsA hose bibb needs a nonremovable hose-bibb backflow preventer or vacuum breaker, or an atmospheric vacuum breaker at least 6 inches above the highest point of use, on the discharge side of the last valve. In freezing climates use a listed self-draining frost-proof bibb with an integral backflow preventer or vacuum breaker.
- CPC 603.5.10Boilers and hydronic heating systems: backflow protectionA potable water connection to a steam or hot water boiler must be protected by a double check assembly, a backflow preventer with intermediate atmospheric vent and pressure reducing valve, or an RP. If chemicals go into the system, it must be an RP.
- CPC 603.5.12Beverage dispensers, ice makers and coffee machinesA carbonated beverage dispenser must be protected by an air gap or a vented backflow preventer that meets ASSE 1022, with piping downstream of it that carbon dioxide doesn't affect. Ice makers and coffee machines take an air gap or a dual check preventer meeting ASSE 1032 or ASSE 1024.
- CPC 603.5.14Fire sprinkler systems on the potable water supply (California text)In California, an automatic sprinkler system that is class 1 or class 2 under AWWA M-14 (direct from the public main, no tanks or reservoirs, no additives) needs no backflow device at the service connection beyond what NFPA 13 requires. Fire department connections near a nonpotable source, antifreeze or chemicals call for an RP or RP detector assembly.
Sanitary drainage and sewers CPC Chapter 7
- CPC 701.2Drain, waste and vent pipe materialsDrain, waste and vent pipe has to be a material from Table 701.2 (ABS, PVC, cast iron, copper DWV and others), used only where the table allows. Galvanized steel and 304 stainless stay at least 6 inches above ground and never go underground.
- CPC 702.1Drainage fixture units (DFU) and trap sizeEvery fixture has a drainage fixture unit (DFU) value in Table 702.1 that depends on the fixture and its trap size. In a home, a lavatory is 1 DFU, a bathtub is 2, and a 1.6 gpf water closet is 3. You add them up to size the drain.
- CPC 703.2How many fixture units a drain pipe can carryTable 703.2 limits the fixture units on a drain by pipe size. A horizontal 2 inch line carries up to 8 DFU, 3 inch up to 35, and 4 inch up to 216. A vertical drain also has a maximum height for its size.
- CPC 704.2Back-to-back fixtures on one vertical drainTwo fixtures set back-to-back or side-by-side, within the allowed trap-to-vent distance, can share one vertical drain pipe if each wastes separately into a double-fixture fitting with both inlets at the same level.
- CPC 704.3Commercial sinks and the adjacent floor drainPot, scullery, dishwashing and silverware sinks connect directly to the drain. A floor drain goes next to the sink, connected on the sewer side, with no other drain line tied in between the floor drain's waste connection and the sink's drain.
- CPC 706.2Horizontal drain entering a vertical stackA horizontal drain connects to a vertical stack through a 45 degree wye, a 60 degree wye, a combination wye and eighth bend, a sanitary tee, or another fitting of equivalent sweep. Two inlets at the same level are only allowed if one can't discharge into the other.
- CPC 706.3Horizontal drain joining another horizontal drainOne horizontal drain joins another through a 45 degree wye, a combination wye and eighth bend, or another fitting of equivalent sweep. A sanitary tee isn't on the list for horizontal-to-horizontal connections.
- CPC 706.4Vertical drain turning into a horizontal drainA vertical drain connects to a horizontal drain through a 45 degree wye, a combination wye and eighth bend, or an equivalent sweep. A 60 degree branch or offset is allowed only where it's installed in a true vertical position.
- CPC 707.0Where drain cleanouts are required (Section 707.4)A horizontal drain needs a cleanout at its upper end and another for each 100 feet of run, plus one for each aggregate horizontal change of direction over 135 degrees. Each urinal also gets a cleanout above its fixture connection fitting.
- CPC 707.8Cleanout access and clearancesA cleanout has to be above grade (or under an approved cover plate) and readily accessible, with 18 by 18 inches of clear space in front of it on pipe 2 inches or smaller and 24 by 24 inches on larger pipe. Under-floor cleanouts can't be more than 5 feet from the access opening.
- CPC 708.1Slope of building drain and horizontal drainsBuilding drains and other horizontal drains run at a uniform slope of at least 1/4 inch per foot (2 percent) toward the point of disposal. Building drain piping 4 inches or larger can go down to 1/8 inch per foot (1 percent) only if the Authority Having Jurisdiction approves it first.
- CPC 710.1Backwater valve for fixtures below the sewer manholeFixtures on a floor level lower than the next upstream manhole cover of the public or private sewer have to be protected by an approved backwater valve. Fixtures above that level can't drain through the valve, and cleanouts behind it must be labeled "backwater valve downstream."
- CPC 710.3Sewage ejector and pump requirementsA sewage ejector or pump serving water closets or urinals has to move at least 20 gpm and pass a solid ball: 1-1/2 inch with a 2 inch minimum discharge in a single dwelling, 2 inch with a 3 inch minimum discharge in other buildings. The discharge gets a backwater valve and a gate valve.
- CPC 710.6Backwater valve construction and accessBackwater valves and the other mechanical devices in a sewage lift system have to be accessible for inspection and repair, in a masonry pit with a removable cover unless they're continuously exposed. Backwater valves meet ASME A112.14.1 or IAPMO IGC 305 and have to stay open in low flows.
- CPC 712.2Water test for drain and vent pipingA water test fills the drain and vent system, whole or in sections, with no section tested under less than a 10 foot head of water. The water stays in for at least 15 minutes before the inspection starts, and the system has to be tight at every point.
- CPC 712.3Air test for drain and vent pipingAn air test closes every other inlet and outlet and forces air in until the gauge reads a uniform 5 psi, or enough to balance 10 inches of mercury. The pressure has to hold with no added air for at least 15 minutes. Plastic pipe can't be air tested.
- CPC 713.1When a building has to connect to a sewerA building with plumbing fixtures, and premises with drainage piping, have to connect to a public or private sewer. A public sewer can be treated as not available only where it's more than 200 feet from the proposed building (Section 713.4).
- CPC 717.1Building sewer sizeA building sewer is sized by the total fixture units it carries and can never be smaller than the building drain. Pipe 6 inches and smaller follows Table 703.2; 8 inch and larger sewers have both a maximum and a minimum loading for each slope in Table 717.1.
- CPC 718.1Building sewer slopeA building sewer runs in practical alignment at a uniform slope of at least 1/4 inch per foot toward the point of disposal. With the AHJ's approval where it's impractical, 4 to 6 inch sewers can go to 1/8 inch per foot and 8 inch and larger to 1/16 inch per foot.
- CPC 719.1Building sewer cleanoutsA cleanout goes inside the building near where the building drain meets the sewer, or outside at the lower end of the building drain extended to grade. More cleanouts go on the building sewer at intervals not over 100 feet in straight runs and at each aggregate turn over 135 degrees.
- CPC 720.1Sewer and water pipe in the same trenchClay or other non-building-approved sewer pipe can share a trench with water pipe only if the water pipe's bottom is at least 12 inches above the top of the sewer, on a solid shelf at least 12 inches to the side. Water pipe crossing the sewer stays at least 12 inches above it.
- CPC 721.1Building sewer location and minimum distancesA building sewer stays on its own lot (unless an abutting-lot arrangement is approved) and keeps the Table 721.1 distances: 2 feet from buildings and structures, 50 feet from water supply wells and streams, 1 foot from an on-site domestic water service line, 10 feet from a public water main, and clear of the property line.
- CPC 722.1Abandoning a building sewer, septic tank or cesspoolAn abandoned building sewer, or the abandoned part, has to be plugged or capped in an approved manner within 5 feet of the property line. Abandoned septic tanks, cesspools and seepage pits are pumped out and filled, with an inspection before the final fill.
Indirect waste and condensate CPC Chapter 8
- CPC 801.2Indirect waste: air gap or air break, and the 1 inch drainage air gapIndirect waste piping has to reach the building drain through an air gap or an air break, never a solid connection. Where the code calls for a drainage air gap, it's at least 1 inch, measured from the lowest point of the waste pipe or fixture outlet down to the flood-level rim of the receptor.
- CPC 801.3Food and beverage equipment: indirect waste, 15 foot limit and sizingRefrigeration, ice machines, steam tables, coffee equipment and similar food and beverage equipment drain indirectly. The waste pipe is at least the size of the unit's drain and at least 1 inch (3/4 inch for ice machines), with a maximum developed length of 15 feet. Food-prep fixtures need a true air gap.
- CPC 803.3Indirect waste pipe size, length, traps and ventsAn indirect waste pipe under 15 feet is at least as large as the drain outlet or tailpiece it serves, never under 1/2 inch. A run over 5 feet and under 15 feet gets its own trap, which doesn't have to be vented. Vents from indirect waste go separately to outside air.
- CPC 804.1Clothes washer standpipe: 18 to 30 inches above the trap weirA clothes washer standpipe runs 18 to 30 inches above its trap weir, with the trap above the floor (roughed in 6 to 18 inches above it, never below). Standpipe and other receptors have to be accessible, prevent splashing and be approved. Washer standpipes are the one receptor allowed in a bathroom.
- CPC 807.3Domestic dishwasher air gap fittingA domestic dishwasher can't drain directly into the drain system or a food waste disposer. It goes through an approved dishwasher air gap fitting on the discharge side, installed with its flood-level (FL) marking at or above the flood level of the sink or drainboard, whichever is higher.
- CPC 810.1Hot water over 140 degrees and steam: no direct connection to the drainNo steam pipe can connect directly to the plumbing or drainage system, and water over 140 degrees F can't be discharged under pressure straight into the drain. Boiler blowoff goes through a sump or condenser: vented, with a deep seal trap, inlets above the waterline, and outlets from the side.
- CPC 814.1Condensate disposal: slope, material and where it can goCondensate from air washers, cooling coils and condensing appliances is collected and sent to an approved fixture or disposal area, or into the drainage system through an indirect waste. The waste pipe slopes at least 1/8 inch per foot (1 percent), is corrosion resistant, and can't drain over a public way.
- CPC 814.2Condensate overflow protection: float switch, second pan or second drainWhere condensate overflow could cause damage, the equipment needs a primary drain plus one extra protection: a water-level shutoff, a second pan with its own drain, a second drain line set higher than the primary, or a second pan with a shutoff. The extra drain is at least 3/4 inch and ends where someone will see it.
- CPC 814.3Air conditioner condensate pipe size by tons (Table 814.3)Condensate waste pipe from cooling coils is sized by equipment capacity: 3/4 inch up to 20 tons, 1 inch for 21 to 40, 1-1/4 inch for 41 to 90, 1-1/2 inch for 91 to 125 and 2 inch for 126 to 250. The table assumes 1/8 inch per foot slope.
- CPC 814.5Where AC condensate can discharge, and trapping the lineAn air conditioning condensate waste connects indirectly to the drainage system through an air gap or air break, into a trapped and vented receptor, dry well, mop sink, leach pit or the tailpiece of a plumbing fixture. An individual condensate drain is trapped per the appliance manufacturer or under 814.4.
Vents CPC Chapter 9
- CPC 901.2Every fixture trap needs a ventEach fixture trap has to be protected against siphonage and backpressure, and air has to circulate through every part of the drainage system. Vent pipes built to Chapter 9 are how you get there.
- CPC 901.3Trap seal pressure limit: 1 inch of water columnThe vent system has to be designed so no trap seal sees a pressure difference above 1 inch of water column on the outlet side of the trap. The vent sizes and lengths in Table 703.2 are built around that.
- CPC 903.1Vent pipe materials and limitsVent pipe follows the standards in Table 701.2, with limits on galvanized steel (not underground, at least 6 inches above ground), ABS and PVC (firestop, plenum ratings) and, in California, a two-story limit on ABS and PVC for HCD-regulated residential buildings.
- CPC 904.1Vent size: 1-1/4 inch minimum and half the drainAn individual vent can't be smaller than 1-1/4 inches or smaller than half the diameter of the drain it serves. Size vents from their length and fixture units using Table 703.2, and the building's vents must add up to at least the area of the largest building sewer.
- CPC 904.2Vent length: one-third horizontal on a minimum-size ventOn a minimum-sized vent, no more than one-third of the table's permitted length can run horizontally. Upsize the vent one pipe size for its whole length and the length limit no longer applies.
- CPC 905.1Vent grade: no sags, drip back to the drainVent and branch vent pipes can't have drops or sags. Each one runs level or is graded and connected so it drains back by gravity to the drain pipe it serves.
- CPC 905.2Vent takeoff from a horizontal drain: above the centerlineWhere a vent connects to a horizontal drain, the vent's opening (its invert) has to start above the drain's centerline, downstream of the trap it serves.
- CPC 905.3Vent rise: 6 inches above the flood-level rim before offsettingUnless structure prevents it, each vent rises vertically to at least 6 inches above the fixture's flood-level rim before it offsets horizontally. Where vents join, each must first reach 6 inches above its own fixture's rim.
- CPC 905.6Two fixtures on a common vertical pipeTwo fixtures can share a common vertical pipe when each wastes separately into an approved double fitting with its inlets at the same level.
- CPC 906.1Roof vent: 6 inches above the roof, 1 foot from wallsA vent extends through its flashing and ends vertically at least 6 inches above the roof and at least 1 foot from a vertical surface. ABS or PVC left in the sun gets a water-based synthetic latex paint.
- CPC 906.2Vent clearance from windows, doors and lot linesA vent has to end at least 10 feet from, or at least 3 feet above, an openable window, door, opening, air intake or vent shaft, and at least 3 feet in every direction from a lot line (a street or alley doesn't count).
- CPC 907.2Yoke vent: 42 inches above the floorA yoke vent ties a drainage stack to its parallel vent stack. It connects to the vent stack at least 42 inches above the floor and to the drainage stack with a wye below the lowest branch serving that floor.
- CPC 908.1Vertical wet venting: up to four fixtures, 6 feetA vertical wet vent can take the trap arms of one and two fixture unit fixtures, serving not more than four fixtures, all on the same story, with a developed length of 6 feet or less. Each wet-vented section is at least 2 inches.
- CPC 908.2Horizontal wet vent for a bathroom groupA bathroom group on one floor can be vented by a horizontal wet vent: 2 inch pipe for 4 dfu or less, 3 inch for 5 dfu or more, one or two lavatories upstream, a dry-vented shower, tub or bidet, and the toilet downstream of everything else.
- CPC 909.1Island sink venting (return vent with foot vent)An island sink trap is roughed in above the floor and can be vented with a return vent: the vent goes up at least to drainboard height, returns down to the sink drain through a wye, and a foot vent runs from below the floor to a partition and up through the roof. Slope the foot vent at least 1/4 inch per foot back to the drain.
- CPC 910.3Combination waste and vent: vent size and the 15 foot branchA combination waste and vent system needs a vent with at least half the cross-sectional area of the drain it serves, connected downstream of the uppermost fixture. A branch longer than 15 feet needs its own separate vent. Plans must be approved before any of it is installed.
- CPC 910.4Combination waste and vent: pipe two sizes upIn a combination waste and vent, each waste pipe and each trap is at least two pipe sizes larger than Chapter 7 requires and two pipe sizes larger than the fixture tailpiece. Branches serving traps connect to the main line at an angle not exceeding 2 percent.
- CPC 911.1Circuit vent: up to eight fixtures on one branchOne horizontal branch can circuit vent up to eight floor-outlet water closets, showers, bathtubs or floor drains. The vent connects between the two most upstream trap arms and is at least 2 inches. A 2 inch relief vent is required where the branch takes four or more water closets and ties into a stack.
Traps and interceptors CPC Chapter 10
- CPC 1001.2Every fixture gets its own trapEach fixture needs its own approved liquid-seal trap (unless it has an integral trap), only one trap can sit on a trap arm, and the tailpiece from the fixture outlet down to the trap can't be longer than 24 inches. One trap can serve up to three sinks or three adjacent lavs if the outlets are no more than 30 inches apart.
- CPC 1002.1Every trap needs a ventEach fixture trap has to be protected from siphonage and backpressure by a vent pipe installed under the code, so air moves through the whole drainage system and the water seal stays put.
- CPC 1002.2How far a trap can be from its vent (trap arm length)The developed length of the trap arm, from the trap weir to the inner edge of the vent, has to stay within Table 1002.2. For a 1-1/2 inch trap arm that's 42 inches maximum, and for a 2 inch arm it's 60 inches. The minimum is two times the arm diameter.
- CPC 1003.1Trap materials and self-cleaning designTraps on fixtures must be self-cleaning, standard design and weight, and made of ABS, cast brass, cast iron, lead, PP, PVC, or another approved material. An exposed, accessible drawn-copper tubing trap is allowed if the wall is at least 17 B & S gauge (0.045 inch).
- CPC 1003.3Trap size and matching the trap armA trap can't be smaller than the Table 702.1 size for the fixture or more than one pipe size larger, and it has to be the same size as the trap arm it connects to. A lavatory trap, for instance, is 1-1/4 inch minimum and 1-1/2 inch maximum.
- CPC 1004.1Prohibited traps: S-traps, bell traps, crown-vented trapsS-traps, bell traps, and crown-vented traps are prohibited. So is any trap whose seal depends on moving parts, a trap with concealed interior partitions (except plastic or glass), a double-trapped fixture, and a trap with no vent. Drum and bottle traps are for special conditions only.
- CPC 1005.1Trap seal depth: 2 to 4 inchesEach fixture trap holds a water seal of at least 2 inches and no more than 4 inches, unless the authority having jurisdiction finds a deeper seal necessary. Traps are set level so the seal is true and protected from freezing where needed.
- CPC 1006.1Floor drains: cleanable trap and drain inlet in full viewA floor drain connects to a trap that can be readily cleaned, the drain inlet has to be in full view, and where sewage could flow backward the drain needs an approved backwater valve.
- CPC 1007.1Trap seal primers for infrequently used floor drainsA floor drain or similar trap connected directly to the drainage system and used infrequently needs a trap seal primer, unless the authority having jurisdiction says it isn't needed. The primer has to be accessible for maintenance.
- CPC 1014.1Grease interceptors: where they go and what can't connectWhere the authority having jurisdiction requires waste pretreatment, grease-laden fixtures in restaurants, cafeterias, bars, and similar kitchens drain through an approved grease interceptor. Toilets and urinals never drain through it, and dwelling units don't need one.
- CPC 1014.2Hydromechanical grease interceptors: flow control, vent, and capacityFixtures on a hydromechanical grease interceptor discharge through an approved vented flow control in a visible, accessible spot, and the connected fixtures' total capacity can't exceed two and one-half times the interceptor's certified gpm rating. A vent goes downstream of the interceptor.
- CPC 1017.1Oil interceptors for repair garages and gas stationsRepair garages and gas stations with grease racks or grease pits, and factories with oily or flammable wastes, need an oil or flammable liquid interceptor. Floor drains in those spots connect directly to the interceptor.
Storm drainage CPC Chapter 11
- CPC 1101.2Where rainwater has to goRain from roofs, paved areas, yards, courts, light wells, and similar areas has to drain to a separate storm sewer, or to a combined sewer if there's no separate storm sewer, or to another place the authority having jurisdiction accepts. At one- and two-family homes it can run onto flat areas like lawns or streets if it flows away from the building and neighbors and doesn't create a nuisance.
- CPC 1101.3Storm water can't go into the sanitary sewerStorm water can't be drained into sewers intended for sanitary drainage. Roof drains, downspouts, area drains, and yard drains stay on the storm side.
- CPC 1101.6Subsoil (perimeter) drains and sumpsBuildings with basements, cellars, crawl spaces, or floors below grade get a perimeter subsoil drain of perforated or open-jointed pipe at least 3 inches in diameter, laid in gravel or crushed rock with at least 4 inches around the pipe. Where it can't drain by gravity, an accessible sump at least 15 inches across and 18 inches deep with a 15 gpm automatic pump takes over.
- CPC 1101.12Roof drainage: primary and secondary (overflow) drainsRoofs drain through primary drains or gutters sized for a 60 minute, 100 year storm, plus a secondary (emergency) system: scuppers at least 4 inches high, or secondary drains set at least 2 inches above the roof surface, on a separate piping system or combined with the primary.
- CPC 1101.16Leaders: no mixing with waste or vent, and protect them from damageLeaders and conductors can't be used as soil, waste, or vent pipes, and soil, waste, and vent pipes can't be used as leaders. Leaders where they can be hit get metal guards, a recess in the wall, or ferrous pipe. Storm and sanitary stay separate, except a combined sewer takes the storm drain through one wye at least 10 feet downstream from a soil stack.
- CPC 1102.2Roof drains need dome strainersRoof drains have to have domed strainers. Flat strainers are allowed only on sun decks, parking decks, and similar areas that are normally serviced and maintained, and they have to be level with the deck.
- CPC 1103.1Sizing leaders and vertical conductors (Table 1103.1)Size a vertical conductor or leader from the maximum projected roof area and Table 1103.1. At 4 inches of rain per hour, a 3 inch leader handles 2,200 square feet of roof and a 4 inch leader handles 4,600.
- CPC 1103.3Sizing roof gutters (Table 1103.3)Semi-circular gutters are sized from the maximum projected roof area, the rainfall rate, and the gutter's slope in Table 1103.3. A 5 inch gutter at 1/4 inch per foot handles 1,250 square feet at 4 inches of rain per hour. At 1/16 inch per foot it handles 625.
- CPC 1107.1Testing storm drainage: water or airNew storm drainage and any altered, extended, or repaired parts get tested at rough-in. A water test needs at least a 10 foot head held for 15 minutes. An air test is 5 psi held for 15 minutes, and plastic pipe isn't tested with air.
Fuel gas piping CPC Chapter 12
- CPC 1203.3Rough and final gas piping inspectionsGas piping gets a rough inspection after it's installed and before anything covers it or an appliance is hooked up, then a final piping inspection once the concealed parts are closed in. The final inspection is where the pressure test happens, and a certificate of inspection can be issued after it.
- CPC 1208.3Sizing gas piping for the connected loadGas pipe has to be sized so every appliance inlet still gets at least the minimum pressure it needs. The load is the sum of the maximum input of all the appliances, assuming they all run at once, unless the design uses established load diversity factors.
- CPC 1208.5Gas piping materials: what's allowed and what isn'tSteel, stainless steel and wrought-iron gas pipe has to be at least Schedule 40. Tubing, listed CSST and ASTM D2513 polyethylene are allowed in their places. Cast iron, PVC and CPVC can't carry fuel gas.
- CPC 1208.6Gas meter location and selectionA gas meter has to be selected for the maximum expected pressure and the permissible pressure drop, and it has to sit in a ventilated space that's readily accessible for examination, reading, replacement or maintenance.
- CPC 1208.7Line pressure regulatorsInstall a line pressure regulator wherever the supply pressure is higher than an appliance's maximum allowable inlet pressure. It has to be accessible for servicing, protected from physical damage, vented as required, and listed to CSA/ANSI Z21.80 where its outlet is set at 2 psi or less.
- CPC 1210.1Underground gas piping: cover and protectionUnderground gas piping needs at least 12 inches of cover, increased to 18 inches where outside forces could damage it. If you can't get 12 inches, the pipe goes in conduit. Steel pipe also needs real corrosion protection, because galvanizing doesn't count.
- CPC 1210.2CSST gas piping basicsCSST has to be installed per the code and the manufacturer's installation instructions. In practice that means listed tubing, the maker's fittings and routing rules, bonding to the electrical grounding electrode system, and protection where it runs in hollow walls.
- CPC 1210.3Aboveground gas piping: supports, wall penetrations and slopeAboveground gas pipe has to be securely supported and protected from damage. Outdoors it stays at least 3-1/2 inches off the ground, exterior wall penetrations are coated and sealed around the pipe, and steel pipe supports run 6 to 10 feet apart depending on size.
- CPC 1210.4Concealed gas piping in walls and slabsConcealed gas piping uses approved fittings and joints, stays out of solid partitions, and gets a steel striker barrier where tubing runs in a hollow wall. Gas pipe embedded in a slab (where the Authority Having Jurisdiction approves) needs 1-1/2 inches of concrete all around.
- CPC 1210.6Bending gas pipeGas pipe direction changes can be made with fittings, factory bends or field bends. Metallic pipe can't be bent more than 90 degrees and needs an inside radius of at least 6 times the pipe's outside diameter. Plastic pipe needs an inner radius of at least 25 times its inside diameter.
- CPC 1210.8Gas outlets: height, projection and capsA gas outlet's unthreaded pipe has to stick out at least 1 inch through finished walls and ceilings and at least 2 inches above floors, patios or slabs. Outlets are fastened in place, kept out from behind doors, placed so a wrench fits, and capped gastight until an appliance is connected.
- CPC 1210.9Manual gas shutoff valvesEvery gas pressure regulator needs an accessible manual shutoff valve upstream of it. System shutoff valves have to be readily accessible, protected from damage and tagged so you can tell what they serve, and each building needs an exterior emergency shutoff that's plainly marked.
- CPC 1211.2Bonding CSST gas pipingCSST gas piping, and any gas piping with CSST in it, has to be electrically continuous and bonded to the electrical service grounding electrode system. The bonding jumper is not smaller than 6 AWG copper and no longer than 75 feet.
- CPC 1211.8Earthquake-actuated gas shutoff valvesThe CPC requires an earthquake-actuated gas shutoff valve only where a local ordinance requires one. When one is installed, it has to be certified by the State Architect, and it's installed per the local ordinance or, if there isn't one, the manufacturer's instructions.
- CPC 1212.1Connecting gas appliances: connectors and flexAn appliance can connect to the building gas piping with rigid pipe, semirigid tubing, a listed appliance connector, a listed outdoor connector, CSST, or a listed gas hose connector. A listed connector has to be in the same room as the appliance, and only one connector is used per appliance.
- CPC 1212.6Appliance shutoff valve within 6 feetEvery gas appliance needs its own accessible, approved manual shutoff valve with a nondisplaceable valve member, within 6 feet of the appliance. With a connector, the valve goes upstream of it, and a union or flanged connection goes downstream of the valve.
- CPC 1212.9Sediment trap at the applianceA sediment trap goes downstream of the appliance shutoff valve, as close to the appliance inlet as practical, unless the appliance has one built in. It's a tee with a capped nipple in the bottom outlet. Ranges, dryers, gas fireplaces and a few other appliances don't need one.
- CPC 1213.3Gas piping pressure testGas piping is tested with air, CO2 or nitrogen at not less than 10 psi for at least 15 minutes with no perceptible drop. Welded piping and gas above 14 inches water column needs 60 psi for at least 30 minutes, and CSST at those pressures needs 30 psi for 30 minutes.
- CPC 1215.1Gas pipe sizing methodsGas pipe sizing uses one of three methods: longest length, branch length or hybrid pressure. Each pipe segment's diameter comes from the sizing tables in Section 1215.2 or the equations in Section 1215.3.
Firestop protection CPC Chapter 14
- CPC 1404.3Firestop systems for plastic pipe through rated walls and floorsWhere combustible pipe (PVC, ABS, PEX) passes through a fire-rated wall or floor, the rating has to be restored with a tested penetration firestop system. It needs an F rating of at least 1 hour and at least the assembly's rating, and floors also need a T rating.
- CPC 1404.6Sleeves through rated assemblies, and insulation on the pipeA sleeve through a fire-rated wall or floor has to be fastened to the assembly, and firestopped twice: the space between sleeve and pipe, and the space between sleeve and assembly. Insulation on the pipe only counts if it was tested as part of the firestop system.
- CPC 1405.2Metal pipe through concrete: grout instead of a firestop productFor cast-iron, copper, copper-alloy, or steel pipe through a concrete or masonry rated assembly, concrete, mortar, or grout can fill the gap if the pipe is 6 inches or smaller and the opening is no more than 144 square inches. The fill has to hold back flame and hot gases for the assembly's rating.
Gray water, recycled water and rainwater CPC Chapter 15 and 16
- CPC 1501.9Signs for buildings that flush with treated gray waterA building that flushes toilets or urinals with on-site treated nonpotable gray water needs a restroom sign with 1/2 inch letters, and every room with that equipment needs a caution sign in 1 inch letters. Both have to meet the California Building Code and use the wording the code gives.
- CPC 1502.3Cross-connection test before a nonpotable water system goes liveBefore a gray water, recycled or other alternate water system starts up, the potable and alternate systems get a visual inspection and a two-phase cross-connection test, each side shut down and drained for at least 1 hour while the other stays pressurized.
- CPC 1503.1Gray water systems: the general rules and permit tiersEvery gray water system needs a labeled diverter valve to the building sewer, no spray irrigation, no ponding or runoff, and at least 2 inches of cover where it's released. Permit tier depends on size: a clothes washer system, a simple system up to 250 gallons a day, or a complex system over that.
- CPC 1503.1.1Clothes washer gray water system (laundry to landscape) without a permitA clothes washer gray water system can go in without a construction permit if there's no potable water connection and no added pump, the user can send flow to the landscape or the sewer through a labeled valve, nothing ponds or runs off, and any release above ground has at least 2 inches of cover.
- CPC 1503.2Gray water system requirements: diverter, backwater valve, surge capacityGray water tees off the drainage system downstream of fixture traps and vents through an approved, accessible, clearly marked diverter valve. Drains subject to backflow get a backwater valve where they connect to the building sewer, and the system has to handle peak flow without surfacing, ponding, or runoff.
- CPC 1503.4Gray water setbacks: tanks, irrigation fields, and mulch bedsTable 1503.4 sets minimum clear horizontal distances for gray water systems. A few that come up most: irrigation field or mulch bed 2 feet from a building, 5 feet from the property line (both reducible to 1-1/2 feet for drip and mulch basins), and 100 feet from wells, streams, and lakes.
- CPC 1503.6When a gray water system isn't allowed: lot size, soil, groundwaterIf the lot is too small or the soil can't absorb the water, no gray water system is permitted. Soil absorption sets the field size, and an excavation can't come within 3 feet vertical of the highest known seasonal groundwater level.
- CPC 1504.5.2Gray water drip irrigation field: tubing, test pressure, coverFor a gray water drip irrigation field, supply lines are polyethylene tubing or PVC Class 200 or better with Schedule 40 fittings, joints tested at 40 psi and drip tight for 5 minutes before burial, and covered by at least 2 inches of mulch or soil.
- CPC 1505.1Recycled water in buildings: where it applies and what it can be used forCalifornia's recycled water rules cover buildings plumbed with both potable and utility-supplied recycled water. Allowed uses include toilets, urinals, trap primers, irrigation, and cooling or air conditioning, as permitted by state water law and the supplier's permit.
- CPC 1505.5Recycled water: 15 psi at the far outlet, 80 psi cap, purple pipe and markingA recycled water system serving toilets, urinals, and trap primers must deliver at least 15 psi at the highest, most remote outlet, and a pressure-reducing valve brings it to 80 psi or less if the building pressure is higher. The same part of the code requires purple equipment and pipe marked in black capital letters.
- CPC 1505.12Recycled and potable pipes in the same trenchRecycled water and potable water pipe can share a trench with 12 inches minimum vertical and horizontal separation when both pipe materials are approved for use inside a building. If not, the horizontal separation goes up to 48 inches. Potable always goes above recycled.
- CPC 1601.3Rainwater catchment permits and the no-permit exceptionsA nonpotable rainwater catchment system needs a permit. California exempts outdoor non-spray irrigation tanks up to 5000 gallons if the tank sits on grade, is no taller than 2 to 1 height to diameter or width, and has no power or makeup water connection. Spray irrigation up to 360 gallons is exempt under the housing adoption.
- CPC 1603.2Outside hose bibbs on rainwater systemsOutside hose bibbs are allowed on rainwater piping if each one supplying rainwater is marked CAUTION: NONPOTABLE RAINWATER, DO NOT DRINK, with the symbol in the code's figure.
How we checked
Every summary is ours, written from the official 2025 California Plumbing Code text that IAPMO publishes for free reading. Every number on these pages and on the diagrams was checked against that text, section by section. Where California changed the 2024 UPC, the section says so.
Official sources: California Building Standards Commission (Title 24, effective January 1, 2026) and the 2025 California Plumbing Code read-only edition.
What's not here
Medical gas and medical vacuum systems (CPC Chapter 13) aren't covered. That work is for healthcare facilities, it isn't one of the services on this site, and it calls for installers certified to ASSE 6010.
This library is a summary, not the code. Cities can adopt local amendments, and the inspector and your city's adopted edition have the final word.