Water Heaters
Replacing a Water Heater in California: Code Requirements That Protect You
November 18, 20253 min readJJB Plumbing Team

Two water heater quotes, hundreds of dollars apart, for "the same" replacement. We see the confusion weekly — and the difference is almost never the heater. It's everything around it: the code items that make the installation safe, legal, and insurable. Here's what California actually requires, and why each rule exists.
Seismic strapping — because we live in earthquake country
California requires water heaters to be strapped in two places — upper and lower thirds of the tank — with heavy-gauge straps anchored to studs. In a quake, an unstrapped 500-pound tank walks, tips, tears its gas line, and turns a plumbing problem into a fire risk. Those two straps are the cheapest earthquake insurance you'll ever buy.
The T&P discharge line — the relief valve needs somewhere to go
Every water heater has a temperature-and-pressure relief valve. Code requires it piped to a safe discharge point — terminating outside or to an approved location, sloping down, never trapped, never reduced, never capped. A T&P valve that vents into nothing sprays scalding water at whoever is standing there; one that's capped (we've found them) turns the tank into a pressure vessel with no relief at all.
Thermal expansion control — the quiet one
Modern homes have check valves or pressure regulators that make the plumbing a closed system: when the heater warms a tankful, the expanding water has nowhere to go, and pressure spikes hammer every fixture, supply line, and the tank itself. Code requires a thermal expansion tank (or equivalent) on closed systems — a small air-cushioned tank that absorbs the swing. It's a big part of why relief valves drip and supply lines fail early in homes without one.
Venting — the life-safety item
Gas water heaters exhaust combustion gases including carbon monoxide. Code governs vent size, slope, clearances, and connections — and replacement is exactly when venting problems appear, because a new unit's draft characteristics can differ from the old one's. This is also where tankless conversions differ most: they need dedicated venting, usually stainless or PVC depending on the model, not the old B-vent.
Drain pans, combustion air, and location rules
Depending on where the heater lives: a drain pan piped to an approved location when the unit is anywhere a leak causes damage (attics, closets, interior platforms), adequate combustion air for gas units in enclosed spaces, and protection (like a bollard) where a vehicle could hit the unit in a garage.
Yes, it needs a permit
A water heater replacement requires a permit in California. It's not bureaucratic box-ticking — the inspection verifies every item above. Unpermitted installs surface at the worst times: home sales (buyers' inspectors flag them), insurance claims (carriers ask), and CO incidents (no defense). We pull the permit and meet the inspector; it's included in how we quote the job.
Reading quotes with this list in hand
When one quote is mysteriously cheap, ask the contractor to confirm — in writing — that it includes permit, strapping, T&P discharge, expansion tank (if required), vent evaluation, and pan where needed. A to-code JJB Plumbing installation includes all of it by default, which is why our number is what it is. It's also why the installation will pass inspection, satisfy your insurer, and run safely for its whole service life.
Time to replace? Get a free, itemized estimate — call 916-501-6039. Not sure it's time yet? Start with the 5 warning signs.
#water heaters#california code#permits#safety
Written by the JJB Plumbing team
Licensed, bonded & insured (CSLB License #1019647) — serving Roseville and the Sacramento area for 30+ years.



