← Plumbing lesson planCrew training glossaryEspañol

The Complete Guide to Plumbing

· Nic

1. Start here: the trade and the licensing ladder

Plumbing is moving clean water in under pressure, taking waste out by gravity, venting the system so it works, and doing all of it so nothing leaks, backs up or contaminates drinking water. This guide uses the California Plumbing Code (CPC) as its reference and Montecito as the working location. Montecito is an unincorporated community of Santa Barbara County, so the County (not the City of Santa Barbara) issues permits and inspects, and three special districts control water, sewer and fire. See the Montecito section right after this one.

Montecito: who is in charge

Montecito is not inside the City of Santa Barbara. Six agencies touch a plumbing job here, and each one answers a different question. Read October 28, 2026 from agency pages; phone numbers and fees change, so call before you rely on them.

County permits (Santa Barbara County Code, Chapter 10).

Montecito Water District.

Montecito Sanitary District.

Montecito Fire Protection District (Ordinance 2025-02, adopted November 17, 2025).

SoCalGas meters. Meters need protection from vehicles (guard posts within 3 ft of parking), 48 in of level working space, and 8 ft from mechanical air intakes. They are not allowed in closets, bathrooms or under electric meters. Standard delivery pressure is about 8 in w.c. at the meter outlet, and the house line must be approved before the meter is set. This is from the 2020 guidebook.

Not found, so ask before you rely on them. The County's water heater permit rule, owner-builder rules, current fee schedule, plumbing inspection phone line and cutoff times, and the required inspection list. Montecito Board of Architectural Review rules for water heaters, tankless venting and generators. Flood-zone and debris-flow plumbing rules. Current County ADU plumbing rules. Backwater valve policy. Montecito's own water quality and hardness.

The three phases of a job

  1. Underground and rough-in: pipe in trenches and inside open walls and floors, tested and inspected before anything is covered.

  2. Top-out and trim-out: fixtures, valves, heaters and appliances connected after finishes go in.

  3. Service and repair: diagnosing leaks, clogs and failures in finished buildings.

How a master thinks: gravity and pressure decide everything, the inspector's test is the real spec, and the cheapest time to fix a mistake is before the wall is closed.

The licensing ladder in California

From a secondary guide (contractorlicenserequirements.com), not yet confirmed with CSLB: 4 years of journeyman-level experience within the last 10 years (up to 3 years of credit for apprenticeship), two PSI exams of 115 questions each with a 72% pass mark, and a $450 application fee. Its renewal fees contradict themselves, and its claim that the no-employee exemption ends on January 1, 2028 is unverified. Confirm all of these with CSLB before planning around them.

Not yet found: the CSLB scope-of-work text for the C-36 and Santa Barbara business-license rules.

2. Safety and health

The rules below come from California's Cal/OSHA regulations (Title 8). Items marked field practice are standard teaching that was not confirmed against a primary source in this pass.

HazardKey numbersMaster ruleSource
TrenchingLadder at 4 ft deep, no more than 25 ft of travel to it; spoil and tools 2 ft back; protection at 5 ft; walkway over trenches deeper than 6 ft and wider than 30 inSoil weakens after rain or vibration. Never stand in the trench before the shield is in place.8 CCR 1541, 1541.1
Confined spaceOxygen must be 19.5–23.5%; flammables under 10% of the lower limit; permit, attendant, rescue plan and retrieval lineTest oxygen, then flammables, then toxics. Never jump in to rescue someone.8 CCR 5157
LeadAction level 2 µg/m³; limit 10 µg/m³Torch soldering counts as disturbing lead. Use wet methods and a HEPA vacuum; never dry-sand or torch leaded surfaces.8 CCR 1532.1
AsbestosLimit 0.1 fiber/ccPipe and boiler insulation in buildings from 1980 or earlier is presumed asbestos until tested. Stop and test before disturbing it.8 CCR 1529
SilicaLimit 50 µg/m³; action level 25Cutting or breaking a slab for a sewer repair is the biggest exposure. Use water or a vacuum shroud on the tool, not just a mask.8 CCR 1532.3
LaddersSingle-rail ladders are prohibitedLadders must meet the state ladder standard (8 CCR 3276).8 CCR 1675

Before you dig: call 811 at least 2 working days ahead, locate any line you approach by hand digging, and report damage right away. A competent person inspects the trench daily and after rain.

Air in a trench: test before entering any excavation deeper than 4 ft where bad air is possible, such as near gas lines or sewers.

Torch and hot work (field practice, confirm against 8 CCR 1537–1538 and local fire code): keep an extinguisher in reach, clear combustibles, put a heat shield behind pipe in wood framing, drain water from the line first, and watch the area for at least 30 minutes after soldering.

Sewage (field practice): gloves and splash protection, wash before eating, bag contaminated clothing, and ask a doctor about hepatitis A and B vaccination.

Gas smell: no flames or switches, leave the building, and call the utility from outside.

PPE (field practice): safety glasses, task-matched gloves, toe-protected boots, hearing protection for core drills and saws, a hard hat in trenches, and a fit-tested respirator for silica, lead or asbestos work. The employer pays for required PPE.

Not yet researched: heat illness rules (8 CCR 3395), the injury and illness prevention program (8 CCR 3203), and the 20 ft engineered-trench rule, which was not confirmed.

3. Tools and maintenance

The full catalog of 141 tools, with plain-English use steps, master secrets, mistakes and safety for each, lives in Plumbing Tools in 3D. All 141 of those entries rest on at least one real page that was opened in research; 44 are only partly sourced, so check their numbers against the maker's sheet.

FamilyToolsWhat it covers
Hand and layout29Pipe, basin and strap wrenches, levels, tape, benders, plungers, faucet tools
Cutting and threading23Tubing and PEX cutters, saws, hole saws, snap cutters, threaders, cutting oil
Torches and soldering22Propane, MAP-Pro and acetylene torches, tips, flux, solder, brazing rods
Joining without flame24PEX crimp and expansion tools, press tools, solvent cement, no-hub, grooved, push-fit
Drain cleaning18Augers, drum and sectional machines, jetters, cameras, locators
Testing and power25Gauges, test plugs, manometers, leak detection, core drills, pumps, fusion tools

Choosing tools. Buy for the work you do most. Hand tools, a tubing cutter, a torch and a level cover most repair work. Add press, PEX and drain tools as the jobs call for them. A starter list and pricing were not researched.

Maintenance habits that appear across the catalog: keep cutter wheels sharp and replace them when they crush instead of cut, clean and oil threaders and pipe wrench jaws, store torch heads off the cylinder, check hoses and O-rings for cracks, and replace worn crimp tools and check them with a go/no-go gauge.

Safety for tools is covered in section 2. In short: ventilation and an extinguisher for torches, wet cutting or a vacuum for slab work, and ear and eye protection for core drills and saws.

4. Pipe, fittings and materials

In California, what you may install is set by CPC Table 604.1 for supply and Table 701.2 for drain-waste-vent (DWV). The code text read here is the 2022 edition from gocodebook; the 2025 CPC takes effect January 1, 2026, so confirm the edition the County enforces (see section 13).

Ground rules for drinking-water piping

Supply materials

MaterialWhere the CPC allows itPressure and temperatureMaster notes
CopperBuilding supply and distributionWall at 1/2 in: M 0.028, L 0.040, K 0.049 inType L is the baseline. Type M only above ground or underground outside the structure. K, L and M share outside diameter. Stripes: K green, L blue, M red.
PEXBuilding supply and distribution160 psi at 73°F; 100 psi at 180°FA, B and C are manufacturing methods, not quality grades. Protect from UV, and sleeve it in soil where required. New construction needs the flush-and-tag procedure (604.1.2).
CPVCBuilding supply and distribution400 psi at 73°F; 100 psi at 180°F; never above 180°FIn California homes it needs a local permit, worker-safety certification and a two-flush, one-week-standing procedure (604.1.1). Use only CPVC-compatible sealants and hangers.
PVCBuilding supply and exterior cold water onlyNot for hot waterNot allowed for distribution inside the building.
PolypropyleneBuilding supply and distributionNone listedRare in homes.
Stainless steelBuilding supply and distributionNone listedExpensive, rare in homes.
PEX-AL-PEXNot adopted for housing under the state housing departmentAvoid on California residential work.

Sources: CPC 604.1, Ferguson copper guide, Viega PEX guide, PPI TN-53, PPFA CPVC sheet.

Underground plastic supply pipe needs a blue, insulated 14 AWG (minimum) tracer wire. Flexible faucet and heater connectors must stay accessible. Galvanized steel appears in one secondary summary of Table 604.1 but was not confirmed in the adopted text.

Drain-waste-vent materials

Valves (CPC 606): valves 2 in and smaller are copper alloy. Gate and ball valves must be full-port with non-corrosive working parts (606.1). Ball valves are the standard main shutoff; angle stops shut off individual fixtures; check valves stop backflow. PRV and hose bibb code text was not retrieved, so confirm in CPC 608 and 603.

Master secrets

  1. Read the print line on any pipe before you buy it: standard, size, rating and NSF mark.

  2. If a house job uses CPVC, the permit, flush and safety paperwork is part of the job. Budget the time.

  3. Mixing K, L and M is fine mechanically, but the CPC restricts M underground inside structures.

  4. Dielectric unions between galvanized steel and copper are debated among professionals; the CPC's "like materials" rule is why the question comes up.

Not found: copper-polyethylene (CPPE) in the code text, Santa Barbara amendments, ABS pipe standard numbers, and dollar prices.

5. Reading the job

This section was not researched against sources. It is standard trade practice, kept free of code numbers, and should be checked against your own company's procedures.

What to look at before you quote or start

Layout order that avoids rework. Set the drain first, because it needs slope and cannot bend around obstacles. Then the vent, then supply lines, which are flexible and can route around everything else. Mark the fall on the studs before cutting any pipe (see the slope scene in Plumbing Math in 3D).

Questions to ask the customer or contractor: what is the finished floor height, who sets the tub or shower pan, who is responsible for permit fees, and what is the access like for hidden work.

6. The math

Geometry and arithmetic in this section are exact. Code table values come from city handouts, study guides and the 2022 CPC mirror at gocodebook, not the printed code, so check each against the CPC edition Santa Barbara enforces before design or permit use. Lines marked unverified have no confirmed source.

Drain slope. CPC 708.1 requires at least 1/4 in per ft (2%). Building drains 4 in and larger may go to 1/8 in per ft (1%) only with prior approval from the building department. The IPC schedule of 1/8 in per ft for 3–6 in pipe does not apply in California.

drop (in)=slope (in/ft)×run (ft)\text{drop (in)} = \text{slope (in/ft)} \times \text{run (ft)}

Example: 38 ft of 3 in branch at 1/4 in per ft drops 9.5 in. A digital level reads 1.19° for 1/4 in per ft.

Offsets. For a fitting bent theta degrees from straight:

travel=offsetsin⁡θrun=offsettan⁡θ\text{travel} = \frac{\text{offset}}{\sin\theta} \qquad \text{run} = \frac{\text{offset}}{\tan\theta}
FittingTravel = offset ×Run = offset ×
60° (1/6 bend)1.1550.577
45° (1/8 bend)1.4141.000
30° (1/12 bend)2.0001.732
22.5° (1/16 bend)2.6132.414

Example: a 12 in offset with 45s needs 16.97 in of center-to-center travel. For a rolling offset, first find the true offset as the square root of (a² + b²). A 6 in sideways and 8 in vertical move is a 10 in true offset, so 14.14 in of travel with 45s.

Cut length. Cut = center-to-center minus each fitting's allowance, where allowance = center-to-face of the fitting minus the socket depth. Fitting dimensions are manufacturer data and no authoritative table was found, so measure a real fitting. A generic example (48 in center-to-center, 2.25 in center-to-face, 1.00 in socket depth) cuts at 45.5 in.

Fixture units. Drainage fixture units (DFU) size drains. Water supply fixture units (WSFU) size supply. Typical DFU values (UPC family, edition not stated, so confirm in CPC Table 702.1): lavatory 1, kitchen sink 2, dishwasher 2, tub or tub-shower 2, shower 2, clothes washer 3, 1.6 gpf toilet 3. WSFU for private use (2022 CPC Table 610.3): lavatory 1.0, kitchen sink 1.5, dishwasher 1.5, clothes washer 4.0, tub-shower 4.0, shower head 2.0, 1.6 gpf toilet 2.5. Fixtures using both hot and cold count 3/4 of the listed value on each side.

Example house: 2 tub-showers (8) + 3 lavatories (3) + 2 toilets (5) + kitchen sink (1.5) + dishwasher (1.5) + washer (4) + 2 hose bibbs (3.5) = 26.5 WSFU.

Drain sizing, 1/4 in per ft. The 1-1/4 to 4 in values below agree across two sources; larger sizes came from one study site and are not listed here.

Pipe sizeMax DFU, horizontalMax DFU, vertical
1-1/4 in11
1-1/2 in12
2 in816
3 in3548
4 in216256

No toilet goes on 2 in pipe. A 3 in pipe takes at most 4 toilets on a vertical and 3 on a horizontal. A multiplier of 0.8 for 1/8 in per ft slope appears in study guides and is confirmed for the CPC. Source: Table 703.2 note 5, at 1/8 in per ft, multiply horizontal fixture units by 0.8. Vent sizing limits by developed length remain lower confidence.

Water supply sizing

1 psi=2.31 ft of headv (ft/s)=0.4085 qd21\ \text{psi} = 2.31\ \text{ft of head} \qquad v\ (\text{ft/s}) = \frac{0.4085\, q}{d^{2}}
ΔP (psi/ft)=4.52 q1.85C1.85 d4.8655\Delta P\ (\text{psi/ft}) = \frac{4.52\, q^{1.85}}{C^{1.85}\, d^{4.8655}}

Here q is flow in gpm, d is inside diameter in inches, and C = 140 for copper (Engineering ToolBox). Example: 10 gpm in 3/4 in Type L copper (0.785 in inside diameter) loses about 11 psi per 100 ft at 6.6 ft/s. Upsizing to 1 in cuts that to about 2.8 psi per 100 ft at 3.9 ft/s.

The code method (CPC Tables 610.3 and 610.4): total the WSFU, measure developed length from the meter to the farthest outlet, subtract 1/2 psi per ft of elevation from street pressure, then read the table. Only the 30–45 psi band was extracted. For that band, a 1 in meter with a 1-1/4 in supply carries 32 WSFU at 150 ft, which covers the 26.5 WSFU example. A 1 in supply carries only 20. Add losses from meters, backflow devices, filters and softeners.

The common limit is 8 ft/s in copper. The 5 ft/s limit for hot water and the exact CPC 610.12 wording are unverified.

Pipe volume

gal per ft=0.0408×d2\text{gal per ft} = 0.0408 \times d^{2}

3/4 in Type L holds 0.0251 gal per ft, so 60 ft of hot line holds 1.5 gal. At a 1.5 gpm shower that is about a minute of waiting.

Thermal expansion of pipe: change in length = coefficient × length × temperature rise. Copper expands about 0.68 in over 100 ft with a 60°F rise. PVC and PEX expand roughly 3 and 10 times as much, from unverified coefficients, so check the manufacturer sheet. Never strap long hot runs rigidly.

Heat and hydronic basics (standard physics, no cited source):

Q (Btu/h)=500×GPM×ΔTQ\ (\text{Btu/h}) = 500 \times \text{GPM} \times \Delta T

A 60,000 Btu/h loop with a 20°F drop needs 6 gpm. Raising 1 gal of water from 50°F to 120°F takes 583 Btu.

Gas pipe sizing uses the longest-length method: measure from the meter to the farthest outlet, round up to the next table length, and size every main section from that one row. Convert load to flow with 1,000 Btu per cubic foot (cfh = Btu/h / 1000; real utility gas is about 1,020 to 1,050, so this is the safe side). A Greenfield, CA city handout gives Schedule 40 capacities at 60 ft: 1/2 in carries 65 cfh, 3/4 in 137, 1 in 257. Example: 190,000 Btu/h of appliances is 190 cfh, which still needs 1 in on the main at that length. The Greenfield handout uses 1,100 Btu per cubic foot and so shows a lower flow (about 173 cfh). Its table numbering and pressure basis need checking against the 2025 CPC.

Not yet found: CPC Tables 702.1 and 703.2 as printed, the Appendix A friction charts, fitting equivalent lengths, higher-pressure and CSST gas tables, and the expansion tank sizing inputs. I left expansion tank sizing out until its formula and inputs are confirmed.

7. Joining techniques

Figures below come from the makers' and trade bodies' own sheets that were opened during research: the Copper Development Association (CDA), Harris, Uponor, Viega, Fernco and Spears/Weld-On. Each tool's page in Plumbing Tools in 3D lists its sources and which numbers remain unverified.

Soldering copper (CDA procedure)

  1. Cut the tube square, ream the inside, and clean the tube end and fitting cup bright with abrasive cloth. Don't use steel wool.

  2. Flux both surfaces with a water-soluble flux meeting ASTM B813.

  3. Assemble the joint and make sure the tube bottoms in the cup.

  4. Heat the fitting, not the solder, moving the flame around the joint.

  5. Touch lead-free solder (95Sn/5Sb, under 0.2% lead) to the joint opposite the flame. Capillary action pulls it in.

  6. Wipe the joint with a rag once the solder sets, and clean off flux residue when cool.

The joint gap that capillary action needs is 0.002 to 0.010 in. Soldering is below about 840°F, and above that it is brazing. A joint filled less than 70% fails. Propane burns around 3,600°F and MAP-Pro around 3,730°F.

Brazing rods (Harris data sheet)

RodSilverMelts fromFully liquid at
BCuP-2 (Harris 0)none1310°F1475°F
BCuP-5 (Stay-Silv 15)about 15%1190°F1480°F
BCuP-6 (Stay-Silv 2)about 2%1190°F1450°F

Acetylene torch tips from the Harris chart: tip 4 for 1/4 and 3/8 in tube, tip 5 for 1/2 and 3/4 in, tip 6 for 1 and 1-1/4 in, tip 7 for 1-1/2 in. The 15 psi acetylene limit is confirmed. The 50/50 tin-lead solder melting range was not confirmed, and 50/50 is not allowed on drinking water.

PEX

Press fittings (Viega)

SizeProPress minimum insertionMegaPress minimum insertion
1/2 in3/4 in11/16 in
3/4 in7/8 in13/16 in
1 in7/8 in1-3/8 in
1-1/4 in1 in1-13/16 in
1-1/2 in1-7/16 in1-7/8 in
2 in1-9/16 in2 in

Minimum space between fittings is 7/16 to 3/4 in for ProPress in 1-1/4 to 2 in sizes. ProPress is rated for water tests at 15–85 psi and air tests at 1/2–45 psi. MegaPress approved pipe schedules and test pressures were not confirmed.

Solvent cement (PVC, CPVC, ABS). Times from the Spears/Weld-On table, at 60–100°F:

Pipe sizeWait before handlingWait before pressurizing (up to 160 psi)
1/2 to 1-1/4 in2 min15 min
1-1/2 to 2 in5 min30 min
2-1/2 to 8 in30 min1.5 hr

At 40–60°F, double or more: 1/2 to 1-1/4 in needs 5 minutes before handling and 20 minutes to cure. At 0–40°F it needs 10 and 30. Primer and cement must match the pipe type.

No-hub couplings (Fernco). Standard couplings tighten to 60 in-lb with a calibrated torque driver (120 in-lb on 12 and 15 in), and heavy-duty couplings to 80 in-lb. The maximum test pressure is 4.3 psi, so they are for gravity DWV only.

Not confirmed: flare tool procedure, compression fitting turns past hand-tight, SharkBite depths for 1 in and larger, and grooved coupling bolt torques.

8. Drain, waste and vent

Verification status: the CPC text for this section could not be read, because the code-reference sites block automated access. The numbers below come from city CPC checklists and the Uniform Plumbing Code (UPC), which the CPC is built on. Treat each as a draft until checked against the CPC edition Santa Barbara enforces. Call County Planning & Development at (805) 568-2000 for local rules. The City of Santa Barbara's rules and phone numbers do not apply in Montecito.

How it works. Gravity moves waste down a sloped pipe. The vent lets air in behind the water so it doesn't siphon the trap dry, relieves pressure so traps aren't blown out, and carries sewer gas up and out the roof. Gurgling at one fixture when another drains usually means a shared, distant or blocked vent. Slow drains plus gurgling usually point to a partial blockage in the main line instead.

Layout rules

Traps and trap arms (UPC values; CPC table not directly confirmed)

Trap sizeMax trap arm length
1-1/4 in30 in
1-1/2 in42 in
2 in60 in
3 in72 in
4 in120 in

Trap seal depth is 2 to 4 in, and the tailpiece is no more than 24 in. Measure the trap arm along the pipe centerline to the vent fitting, not in a straight line. IPC distances are much longer, so out-of-state advice can fail a California inspection.

Cleanouts. One at the upper end of each horizontal drain, one per 100 ft of developed length, and one more for each aggregate change of direction over 135° (Campbell handout). Under-floor cleanouts must be within 5 ft of an access opening. Mark any cleanout downstream of a backwater valve. The Santa Barbara property-line cleanout rule was not found.

Venting methods. CPC Chapter 9 covers individual, yoke, wet, circuit, island and combination waste-and-vent systems. Only the section titles were confirmed. Air admittance valves (Studor) are an approval-only alternate under the UPC, so don't count on them in Montecito without written approval from County Building & Safety. A vent must rise at least 6 in above the fixture flood rim before running horizontal (UPC, unverified for CPC).

Vent termination (UPC values, unverified for CPC): at least 6 in above the roof, 10 ft horizontally from openable windows and air intakes or 3 ft above them, and 3 ft from lot lines.

Building drain and sewer. The building drain ends 2 ft outside the wall, and past that it is the building sewer. The water pipe bottom must sit at least 12 in above a clay sewer. Water test: 10 ft of head for 15 minutes, or air at 5 psi for 15 minutes, with no air test on ABS (Vacaville checklist, CPC 712, unverified against the code text). Sewer depth and bedding rules were not found.

Backwater valves. CPC 710.1 requires one when a fixture's flood rim is below the next upstream manhole cover. The City of Santa Barbara adds its own rules (a valve when work needs a permit or exceeds $1,000, a check every 6 months), but those are City rules and do not apply in Montecito. No Montecito Sanitary District or County backwater valve rule was found, so ask the District (805-969-4200) before you design the lateral. Never tie fixtures above that elevation into the valve; they'd flood when it closes.

Sumps and ejectors. The discharge line needs a check valve and a gate valve and must be at least 2 in. The sump needs a vent and an alarm (CPC 710.9 and 710.10, titles only).

Rough-in. A toilet needs 15 in minimum from centerline to a side wall or obstruction, 30 in center to center from a similar fixture, and 24 in clear in front (CPC 402.5, 2025 text). The usual 12 in rough-in from finished wall to flange center is a product convention, not a code number. Set the flange on top of the finished floor so the wax seal seats.

Not found: minimum building sewer size and bedding, lavatory, tub and shower rough-in heights, and Santa Barbara's air admittance valve policy.

9. Water supply

Water runs from the main through the corporation stop and service line to the meter, a shutoff and usually a pressure regulator. When troubleshooting, walk that path in order. Code text below was read through gocodebook summaries, so confirm section numbers in the 2025 CPC.

Pressure. Where static pressure exceeds 80 psi, an approved regulator with an upstream strainer must bring it to 80 psi or less (CPC 608.2). Regulators meet ASSE 1003 or AWWA C530, and must be accessible and frost-protected. Measure static pressure with a gauge on a hose bibb at night or early morning, when nobody is drawing water. Mains swing, so a noon reading can differ a lot from a 3 a.m. one.

Expansion. A regulator, check valve or backflow device makes a closed system, so heated water has nowhere to go. CPC 608.2 requires an expansion tank on the cold line downstream of each regulator, or relief valves set at 100 psi or less. Set the tank's air precharge to the house static pressure before connecting it.

Layouts. Trunk-and-branch uses a large trunk with smaller branches, so it uses less pipe but can waste hot water on long runs. A manifold (home-run) layout gives each fixture its own line and shutoff, with steadier pressure when several fixtures run at once. Both comparisons are general trade knowledge, not sourced.

Recirculation and insulation (Title 24). The 2022 single-family prescriptive path allows demand recirculation with a manual control only. All domestic hot water piping must be insulated per CPC 609.12. For storage heaters without recirculation, the first 8 ft of hot and cold outlet piping is insulated (2022 summary). A Pleasanton handout says 5 ft and contradicts itself, so confirm the figure with Santa Barbara. The 2025 recirculation text was not confirmed.

Backflow prevention (CPC 603). Device types: air gap, atmospheric vacuum breaker, hose-connection preventer, double check, pressure vacuum breaker, spill-resistant vacuum breaker, reduced-pressure (RP) principle and dual check. Devices are tested at installation, after repair, and at least annually by a certified tester. Irrigation with pumps or fertilizer injection needs an RP assembly (source). Never put a valve downstream of an atmospheric vacuum breaker.

City of Santa Barbara context (Montecito is served by the Montecito Water District instead). The City's supply comes from Cachuma and Gibraltar reservoirs, groundwater, State Water, recycled water and a desalination plant providing about 30% of supply. Year-round rules include no runoff past the property line and fixing leaks within 72 hours of City notice (City page).

Not found: softeners and filtration, hose bibb code text, and the manifold-versus-trunk comparison from a source.

10. Fixtures and trim-out

Typical trim-out order (trade sequence, not from a code source): rough-in tests, then walls, tile and paint, then tub and shower valve trim, then toilets last after flooring, then faucets and supplies, then final inspection. Put a stop valve on every fixture supply.

Water efficiency (CALGreen). The values read were 1.28 gpf for toilets and 1.8 gpm at 80 psi for showerheads. They came from the nonresidential tables, so confirm the residential figures in Division 4.3. Lavatory and kitchen faucet limits were not found in the source (CALGreen reference).

Toilet clearances. 15 in minimum from centerline to a side wall, 30 in center to center from a similar fixture, and 24 in clear in front (CPC 402.5, 2025 text). The 21 in figure belongs to the ICC code, not California.

Shower pans (from a Placer County guide based on California code):

Dishwashers. CPC 807.3 requires a listed air gap for dishwashers, with the section text reproduced on a city page, and a secondary source says a high loop is not accepted in California. The high-loop point is from a distributor blog, so confirm with the inspector (Ferguson). When connecting a dishwasher to a new disposer, remove the knockout plug.

Not found: ADA and CBC 11B dimensions, flexible connector limits, washer standpipe height, and hose bibb details.

11. Water heaters and hydronics

Seismic strapping (CPC 507.2). Two straps, one in the upper third and one in the lower third of the tank, with the lower strap at least 4 in above the controls. Lag screws must hit studs (source).

T&P relief discharge (CPC 608.5). The pipe has no valves or isolation, is no smaller than the valve outlet, points down, and ends 6 to 24 in above grade with an air gap. No threaded end, no traps, never into the heater pan (source).

Other installation rules (from the Pleasanton and Ventura city checklists):

Venting and combustion air (local handout figures, so check CPC 506 and 509): the vent cap sits at least 1 ft above the roof and 8 ft from vertical walls. B-vent keeps 1 in from combustibles and single-wall vent keeps 6 in. Closets need two combustion air openings, within 12 in of the floor and 12 in of the ceiling.

Title 24 for new homes. The prescriptive path is a 240 V heat pump water heater, a top-tier heat pump unit, or solar. A new gas or propane water heater must come with a reserved 2.5 × 2.5 × 7 ft space for a future heat pump, with a condensate drain no more than 2 in above the heater base. Tankless units over 6.8 kBtu/h need isolation valves with hose bibbs for flushing. The 2022 water-heating text was read; the 2025 text was not confirmed (2025 mandatory measures).

Local air rule. Santa Barbara County APCD Rule 360 requires new gas water heaters to certify at 20 ppm NOx, effective January 1, 2019 (source). Current state zero-emission rules were not verified.

Hydronics. The California Mechanical Code (not the CPC) governs it. Maximum loop lengths unless the manufacturer says otherwise: 3/8 in tube 250 ft, 1/2 in 300 ft, 5/8 in 400 ft, 3/4 in 500 ft, 1 in 750 ft (CMC Table 1217.6). Radiant slabs sit on 4 in of gravel with at least 3 in of concrete cover and 1 in of perimeter edge insulation. Water temperatures, mixing valves and boiler types were not found.

The City of Santa Barbara's water alternates between hard Cachuma blend (about 21–27 gpg) and soft desalinated water (about 2–6 gpg). Montecito Water District's own water quality report was not read, so ask the District for it before predicting scale on heaters and aerators.

12. Gas piping

Gas work is inspected under both the CPC (Chapter 12) and the California Mechanical Code, which covers combustion air and flues. Most details below come from a Palo Alto inspection handout and the 2022 CPC chapter list, so confirm against the 2025 CPC.

Sizing uses the longest-length method, covered in the math section.

Underground gas pipe. At least 12 in of cover (18 in where damage is likely), and plastic pipe needs a tracer wire of at least 14 AWG.

Appliance connections

CSST bonding. CSST must be bonded to the grounding electrode system (CPC 1211.2). The 6 AWG wire size is the common figure but was not confirmed from the code.

Leak testing before gas is turned on

TestValue
Standard residential air test10 psi for 15 minutes, on a gauge with a 15 psi range
Welded piping, or pressure above 14 in w.c.At least 60 psi for 24 hours
Gauge resolution for tests of 10 psi or less0.10 psi or finer

Cap or close all outlets before charging, so you never pressurize into an appliance valve. Find leaks with bubble solution, never a flame. Test durations and gauge ranges differ between city checklists, so confirm them with the inspector (see the codes section).

Seismic shutoff valves (CPC 1211.8). The valve sits on the house side of the meter, is state-certified, trips at roughly magnitude 5.4, and is reset manually by the owner (BASC guide). Whether the County mandates one was not found.

Not found: the CPC 1208.6 materials list, higher-pressure and CSST sizing tables, and flexible connector length limits.

13. Codes, permits and inspections

Which code applies. The 2025 California Plumbing Code (CPC) takes effect January 1, 2026 and is based on the 2024 Uniform Plumbing Code (IAPMO). Permit submittals made by December 31, 2025 could still use the 2022 CPC (Gilroy handout). The County of Santa Barbara, which governs Montecito, adopted the 2025 CPC under Ordinance 5270 on November 18, 2025 (County Code section 10-4.1, read on a third-party code host, not the official County site). Its local plumbing amendments are mostly administrative: it adds a rule for commercial car-wash water recycling, adopts Appendix D (storm drainage sizing) in full, and adopts Appendix H (private sewage disposal) in full, enforced by Environmental Health. No County amendments on water heaters, gas, backflow, graywater or fire sprinklers were not found. IAPMO publishes the UPC, and the state amends it into the CPC.

Inspection stages (CPC 105.2). Underground (after the pipe is bedded, before backfill), rough-in (before wall or ceiling coverings), and final. Nothing may be covered or used until it is tested, inspected and accepted. "Top-out" is a trade term for rough-in on upper floors, not a named stage. The permittee provides test equipment, labor and materials, and tests happen with the inspector present (source). For an emergency replacement in an occupied building, request inspection within 72 hours.

City of Santa Barbara process, for reference only (Montecito permits through the County) (Building Permit Application Guide)

The County Building & Safety page gave little process detail, and coastal-zone and ADU specifics were not found.

Required tests. The CPC text for gas, fixtures and clearances was read on a third-party mirror of the 2025 CPC (gocodebook.com), not the printed book; water and DWV values come from city checklists. Confirm each with the inspector or in the adopted code (CPC 318, 609.4, 712 and 1213).

SystemCommonly cited testStatus
Water supplyAt or above working pressure for at least 15 minutes with no leakage; air test only at 50 psi minimum, never on most plastic pipeVacaville, Newport Beach and Ventura checklists agree (CPC 609.4)
DWV10 ft of water head for 15 minutes, or 5 psi air for 15 minutesVacaville and Newport Beach checklists (CPC 712; section number varies)
Gas10 psi for at least 15 minutes with no pressure drop; 60 psi for 30 minutes if welded or above 14 in. w.c.; 30 psi for 30 minutes for CSST above 14 in. w.c. Gauge range no more than 2 times the test pressure (a 15 psi gauge for a 10 psi test)CPC 1213.3 and 318.5, 2025 text; a 2023 Livermore handout quoting the 2022 CPC agrees

Gas test, resolved: older city handouts disagreed (10 minutes, 24 hours, gauge ranges up to 5 times the test pressure), but the 2025 CPC text reads 10 psi for at least 15 minutes, 60 psi for at least 30 minutes for welded piping or gas above 14 in. w.c., and a gauge range of no more than 2 times the test pressure. Use air, CO2 or nitrogen, never oxygen, and test in front of the inspector, who may require longer.

Fixture counts. The City uses CPC Table 422.1 for minimum fixtures and says no fixtures are added if a change of use raises occupancy by 20% or less (City bulletin).

14. Service and repair

The diagnostic method (trade practice, unsourced, works for every symptom)

  1. Ask the customer when it started, whether it is one fixture or many, hot only or cold too, and what work was done recently.

  2. Isolate: one fixture means a local cause; the whole house means the main, meter, regulator or water heater.

  3. Separate supply (pressurized, constant leaks) from drain-waste-vent (gravity, problems show only when water runs).

  4. Test instead of guessing: a gauge on a hose bibb, shutoff valves to isolate, a meter test for hidden leaks, a camera for drains.

  5. Fix the cause, not the symptom. Repeat clogs point to a belly or roots; repeat pinholes point to water chemistry.

  6. Photograph and write down findings before and after.

Hidden leak test. Shut the main at the house. If the meter still moves, the leak is before the house. Shut sections off to narrow it down. Locate with acoustic or thermal tools.

Sewer lines. A camera shows roots, bellies and breaks, and decides the repair (Pipeworks).

MethodWorks forDoes not fix
LiningCracks, holes, loose joints, root entryBroken or collapsed pipe, bellies
BurstingBroken or collapsed pipe, whole-line replacementBellies, since the new pipe follows the old slope
Open excavationBellies and anything elseCosts the most in restoration

National averages from a contractor cost guide are about $60–200 per ft for bursting and $90–250 per ft for lining. That is marketing material, so treat the ranges as rough, and California runs higher. Record camera footage with a footage counter, run water during the scope to reveal bellies, and ask for before and after camera passes on lined pipe.

Slab leaks and repipes (no primary source found, standard practice): confirm with a meter or pressure-drop test, locate with acoustic and thermal tools, then choose between spot repair, rerouting through the attic, or a whole-house repipe. Repipe cost drivers are house size, fixture count, access, patching, pipe material, permits and any asbestos or lead-paint disturbance in older homes. Verify the existing pipe type before connecting in a remodel.

Customer communication. Explain what failed, why, and what happens if it is left. Offer repair, monitor or replace options with price, risk and lifespan. Photos and camera video sell the work better than words. Describe conditions without blaming the previous plumber. Put limits in writing: slab leaks can be multiple, lining doesn't fix bellies, and water chemistry will keep attacking copper. Advise customers to call their insurer before demolition.

15. Business: contracts, estimating and liens

Contract rules below are from the CSLB contract page and its Contracting for Success guide. Verify with CSLB before relying on them.

Home improvement contracts

Markup versus margin. Markup is a percentage of cost; margin is a percentage of price.

margin=markup1+markupprice=cost1−margin\text{margin} = \frac{\text{markup}}{1 + \text{markup}} \qquad \text{price} = \frac{\text{cost}}{1 - \text{margin}}

A 25% markup is a 20% margin. A 50% markup is a 33.3% margin. To net a 30% margin, divide cost by 0.70. Overhead has to be recovered through the hourly rate or a multiplier; CSLB lists poorly figured bids as a common failure.

Pricing methods (industry practice, no source fetched): unit-price takeoff counts fixtures, pipe footage and fittings and applies labor hours; per-fixture pricing suits new construction; a flat-rate book suits service work; time-and-materials bills hours plus marked-up materials. Productivity manuals such as RSMeans give hours per unit, but I did not retrieve actual rates. Warranty norms (one year of labor is typical) are industry practice, not a code rule.

Liens. These figures come from a 2020 vendor blog, so verify them against Civil Code 8200 and following before relying on them: subcontractors and suppliers send a 20-day preliminary notice, the lien must be recorded within 90 days of completion (a CSLB brochure says that after a recorded Notice of Completion the prime contractor has 60 days and subcontractors and suppliers 30; the statute text for these deadlines could not be opened, so treat this as a conflict to resolve with Civil Code 8412 and 8414), and a foreclosure suit follows within 90 days of recording.

Licensing and insurance: the license bond, experience and workers' compensation rules are in section 1. General liability, commercial auto and contractor bond minimums were not confirmed.

16. Troubleshooting and failure modes

SymptomLikely causesHow to confirmFix
Meter moves with everything offSlab, underground or irrigation leak; running toiletShut the main at the house; bracket sectionsLocate, then repair or reroute
Low pressure, whole housePartly closed main or meter valve, failed regulator, clogged strainer, galvanized buildup, leakGauge at a hose bibbOpen valves, rebuild or replace the regulator, replace corroded pipe
Low pressure, one fixtureClogged aerator or cartridge, partly closed stop, kinked supplyRemove the aerator, check the stopClean or replace
Slow drain, one fixtureLocal clog, partial trap or trap arm blockage, vent problemPlunge, then see if it slows againClean the trap, check the vent
Slow drains plus gurglingMain line blockage, roots, belly, blocked ventCleanout test, cameraCable or jet, then repair the cause
Sewer smellDry trap, failed wax ring, cracked pipe, vent problem, bellyRun water in every trap; smell at the toilet baseRe-prime, reseat, repair
Toilet runsWorn flapper, bad fill valve, high floatDye tablet in the tankReplace the flapper or fill valve
Banging pipesWater hammer, loose pipe, high pressurePressure gaugeArrestor, strapping, regulator

These causes and fixes are trade practice, not from a primary source.

Water hammer. CPC 609.11 calls for arresters meeting ASSE 1010 or PDI-WH 201 near quick-acting valves, but the code page marks the section "not adopted by HCD" (the state housing agency). Ask Santa Barbara Building & Safety how it treats residential work (source). Common practice is to put sealed piston arresters at the washer, dishwasher and ice maker, and to check pressure first.

Pinhole corrosion in copper. Folsom, CA tied pinholes to very pure water, pH above 9 and chlorine, and the city added orthophosphate; repair bills ran $8,500 to $40,000 per home (CBS Sacramento). The City of Santa Barbara's 2025 water report (not Montecito's) shows surface water at about 21–27 gpg hardness with pH 7.7, and desalinated water at about 2–6 gpg with pH 8.7 and 132 ppm chloride (2025 report). Whether that blend swinging contributes to pitting is my inference, not a published finding. To diagnose, cut out a section: pits inside point to chemistry, pits outside point to soil, concrete or flux.

Cross-connections. Any link between drinking water and a non-drinking source, such as irrigation, pools, wells or recycled water. California public water systems run cross-connection programs under Title 17 (source). Irrigation tie-ins and boiler fills are the common remodel catches. Santa Barbara's own rules were not fetched.

Problem products

ProductFailure modeNote
Polybutylene (late 1970s–mid 1990s)Fitting failuresThe Cox v. Shell class action settled and closed (InspectAPedia)
Kitec (orange and blue aluminum-PEX)Brass fitting dezincification leaksSecondary source; mechanism partly opinion (InspectAPedia)
CPVCEnvironmental stress cracking from a chemical plus stressCheck every sealant, firestop and cleaner for compatibility (Lubrizol)
Braided supply linesChloride stress cracking of the braidLaw-firm source; manufacturers blame installation (Cozen)

After any failure, photograph it, identify the maker and keep the failed part. A common rule of thumb is to replace rubber and braided connectors every 5 to 10 years; that is unverified.

Galvanic corrosion and freezing (no primary source found): steel corrodes first where it touches copper, so use approved dielectric or brass transitions. Freezing is rare on the Santa Barbara coast, but foothill attics and exterior walls can burst on cold nights.

17. Mastery path, glossary and what still needs checking

The skill ladder

  1. Day one: safety (section 2), reading a tape and a level, cutting and joining one material well. Start with PEX or solvent-welded pipe.

  2. Apprentice: a state-approved program is at least 4 years, with at least 7,200 on-the-job hours and 200 classroom hours a year (section 1). Learn rough-in, drain slope, venting and soldering.

  3. Journeyman: you can read plans, lay out a whole house, and pass inspections without callbacks. Learn gas, water heaters and trim-out.

  4. Service and repair: diagnose first, repair second (section 14).

  5. Contractor: the C-36 license, estimating, contracts and liens (sections 1 and 15).

Practice drills (trade practice, not sourced)

Glossary

TermMeaning
AHJAuthority having jurisdiction: the building department or inspector who approves the work
BackflowWater flowing backward in a pipe, which can pull contaminants into drinking water
BellyA low spot in a sewer line where water and waste collect
CleanoutA capped access point for cleaning a drain
DFU, WSFUDrainage and water supply fixture units, used to size pipe
Developed lengthPipe length measured along its path, including fittings
Dielectric unionA fitting that separates two different metals
No-hubA cast iron or plastic joint made with a rubber coupling and clamp
PRVPressure-reducing valve (regulator)
Rough-inPiping installed before walls and floors are closed
T&P valveTemperature-and-pressure relief valve on a water heater
Trap armThe pipe from a fixture trap to its vent
Trim-outSetting fixtures and connecting them after finishes are in
Wet ventA pipe that carries both waste and vent air for a fixture group

What still needs checking. The main open items are these. Each is called out where it appears in the guide.

Research date: October 27, 2026. Sources are linked where each fact appears.

16. Your first 30 days

A plan for a beginner who wants to be useful on a Santa Barbara job quickly. Every number below is explained earlier in this guide.

Week 1: learn to see.

Week 2: learn the math.

Week 3: cut, fit and test.

Week 4: ride along and ask.

17. Jobsite checklists

Trade practice built from this guide's sourced numbers. They do not replace the adopted code or your inspector.

Before the rough-in inspection

Before you close the walls

Before the final

18. Self-test

Try each one before you open the answer. Answers use only numbers sourced in this guide.

  1. A 38 ft run of 3 in branch drain at 1/4 in per ft. How far does it drop? Answer: 38 times 1/4 = 9.5 in.

  2. Your gauge reads 60 psi. How many feet of water head is that? Answer: 60 times 2.31 = about 138.6 ft.

  3. A copper riser climbs 20 ft. How much pressure do you lose just from height? Answer: 20 divided by 2.31 = about 8.7 psi.

  4. A 10 in offset made with two 45° fittings. How long is the travel piece, center to center? Answer: 10 times 1.414 = about 14.1 in.

  5. How much does 100 ft of copper grow when the water goes up 60°F? Answer: 100 times 12 times 0.0000094 times 60 = about 0.68 in. Leave room for it.

  6. A 40 gal heater is heated from 55°F to 120°F. How many Btu is that? Answer: 40 times 8.33 times 65 = about 21,660 Btu. At 40,000 Btu per hour and 80% efficiency (32,000 Btu per hour) that is about 41 minutes.

  7. A trench 20 ft long, 3 ft wide and 4 ft deep. How much soil comes out with 25% swell? Answer: 240 cu ft is 8.9 cu yd, and with swell about 11.1 cu yd. At 4 ft, the ladder rule applies and at 5 ft protection is required (8 CCR 1541).

  8. You mark up a job 25%. What is your margin? Answer: 25% markup is a 20% margin, because the profit is 1/5 of the price. Markup and margin are not the same number.

  9. What is the general residential gas test? Answer: 10 psi for at least 15 minutes with no pressure drop, on a gauge no larger than 2 times the test pressure (CPC 1213.3 and 318.5).

  10. A customer says the toilet has 21 in in front and the code book says so. Who is right? Answer: In California the CPC requires 24 in clear in front (402.5, 2025 text). The 21 in number belongs to the ICC code.