California water heater code requirements come from three main sources: the California Plumbing Code, the California Mechanical Code, and the Health and Safety Code, with Title 24 setting energy efficiency minimums and some regional air districts adding zero-emission rules on top. Every new or replacement installation needs a permit, seismic strapping at two points on the tank, a properly routed temperature and pressure relief valve, code-compliant venting and combustion air for gas units, and clearances suited to the location. An inspector will check each of these before signing off.
Permit and Final Inspection
A plumbing permit is required for every water heater installation in California, including a straight tank-for-tank swap.1City of Cupertino. Water Heater Revised 2024 You pull the permit through your local building or planning department before work begins. The application asks for the heater type, fuel source, and installation location. Fees vary, but most jurisdictions charge somewhere between $50 and $300 for a standard residential permit.
Once the work is done, you schedule a final inspection. The inspector looks at gas or electrical connections, seismic straps, the discharge piping from the relief valve, venting, and anything else the code requires for your setup. Skipping the permit creates real problems later. During a home sale, the buyer’s inspector or appraiser may flag the unpermitted work, and a homeowner’s insurance carrier can push back on a water damage claim tied to a heater installed without code compliance.
Seismic Strapping
California requires every water heater to be braced against earthquake movement. Health and Safety Code Section 19211 is broad, covering new installations, replacements, and existing residential heaters that were never strapped.2California Legislative Information. California Health and Safety Code 19211 Sell a home with an unstrapped heater and the buyer can require you to correct it before closing.
The California Plumbing Code specifies the details in Section 507.2. Straps go at two points: one in the upper third of the tank, one in the lower third. The lower strap has to sit at least four inches above the thermostat and gas valve controls, because a strap bearing on those parts during a quake can crack the valve or damage the thermostat.3City of Menifee. Water Heater Installation and Strapping Requirements The straps wrap fully around the tank and anchor into the wall studs behind it. Inspectors expect heavy-gauge metal straps with lag screws and washers driven into solid framing. Drywall anchors don’t pass. Pre-made strapping kits from a hardware store work fine for standard tanks as long as they reach real studs and are installed correctly.
This is the item inspectors flag most often, and also the most common deficiency called out during home sales.
Temperature and Pressure Relief Valve
Every tank-type heater must have a temperature and pressure relief valve (the T&P valve) that opens automatically if internal heat or pressure gets dangerously high. The valve itself is factory-installed on most heaters. The discharge piping is on the installer, and the code is particular about how it runs.
The discharge pipe has to match the diameter of the valve outlet and slope downhill by gravity the whole way. No shut-off valves, traps, or kinks anywhere in the line. The end of the pipe cannot be threaded, so no one can accidentally cap it and defeat the safety function. The pipe cannot discharge into the water heater’s drip pan, because a drip pan is meant to catch tank leaks; flooding it with relief valve discharge would hide the warning sign of a separate problem.4City of South San Francisco. Residential Water Heaters – 2019 California Plumbing Code
When the discharge pipe ends outside the building, it must terminate between six and 24 inches above the ground and point downward.5Cornell Law Institute. California Code of Regulations 25-CCR-834 – Water Heater Relief Valves If routing outside isn’t practical, the pipe can terminate indoors through an air gap into an approved drain, such as a floor drain or utility sink.
Expansion Tanks on Closed Systems
If your plumbing has a check valve, backflow preventer, or pressure-reducing valve between the water main and the heater, you have a closed system. Water expands when heated, and in a closed system that expanding water has nowhere to go. The plumbing code requires an expansion tank or similar device in these situations to absorb the pressure increase.6IAPMO. 608.3 Expansion Tanks and Combination Temperature and Pressure-Relief Valves An installer or inspector can tell you whether your home has a closed system in a few seconds by checking the main.
Venting and Combustion Air for Gas Heaters
A gas-fired water heater produces combustion gases that have to vent safely outside. For a standard atmospheric-draft heater (the most common type), the vent connector running from the heater to the chimney or B-vent must slope upward at least one-quarter inch per foot so exhaust keeps moving in the right direction. Where the vent passes through walls or ceilings, double-wall metal pipe is required, and the manufacturer’s clearances from combustible materials have to be maintained.
Combustion air is the other half of the equation. A gas heater in an open basement or large utility room usually draws enough air from the surrounding space. When a heater sits in a confined area like a small closet, the code requires two permanent openings, one near the ceiling and one near the floor, each communicating with the outdoors or a sufficiently large adjacent space. Sealing those openings for looks is a common homeowner mistake that creates a real safety hazard.
Carbon Monoxide Alarms
Any California home with a gas-fired water heater, furnace, fireplace, or attached garage has to have carbon monoxide alarms on every floor. The requirement comes from Health and Safety Code Sections 17926 through 17926.2 and applies to owner-occupied homes and rentals alike.7Orange County Housing Authority. California Law Now Requires Carbon Monoxide Detectors The alarms must be approved by the State Fire Marshal. If your installation adds a gas heater to a home that had no fossil-fuel-burning appliances before, plan to add CO alarms as part of the project.
Location: Garages and Elevated Installations
Where you put the heater triggers extra requirements. Two locations have specific rules worth knowing.
A gas heater installed in a residential garage must have its burner and ignition source elevated at least 18 inches above the garage floor.8Humboldt County, CA. Hot Water Heaters – CPC 504 Gasoline vapor and other flammable fumes are heavier than air and pool at floor level, so the elevation keeps the flame source above the danger zone. An 18-inch platform is the traditional solution. Newer units listed as Flammable Vapor Ignition Resistant (FVIR) are designed to contain any ignition internally and can sit on a pad only a few inches above the floor.4City of South San Francisco. Residential Water Heaters – 2019 California Plumbing Code
When a water heater sits in an attic, on a second floor, or anywhere a leak could damage the structure below, the code requires a watertight drip pan underneath. The pan must be at least one and a half inches deep, made of corrosion-resistant material, and fitted with a drain line of at least three-quarter-inch diameter running to a visible spot outside the building.8Humboldt County, CA. Hot Water Heaters – CPC 504 The “visible location” part matters. If the pan ever catches water, you want to notice quickly, because that water means the tank is leaking and needs attention before a ceiling comes down.
Wherever the heater sits, it needs enough clearance for servicing. Cram a heater into a spot where a technician can’t reach the controls, the anode rod, or the T&P valve, and it will fail inspection.
Title 24 Energy Efficiency
California’s Title 24, Part 6 energy standards set minimum efficiency for water heaters installed in new construction, additions, and alterations. The California Energy Commission administers these standards, and they go beyond the federal floor in several respects.9California Energy Commission. 2025 Building Energy Efficiency Standards for Residential and Nonresidential Buildings Every installed unit has to meet the current Uniform Energy Factor (UEF) threshold. The older Energy Factor (EF) rating has been fully replaced by UEF, so an older unit sitting on a warehouse shelf with an EF label may no longer meet the standard.
The 2025 Energy Code took effect January 1, 2026, and pushes further toward heat pump water heaters. It adds requirements for backup heating elements on heat pump models installed with unconditioned inlet air in the colder California climate zones, and it introduces minimum ventilation and room volume requirements when installing a consumer-integrated heat pump water heater indoors.10California Energy Commission. 2025 Energy Code These matter for practical planning: a heat pump heater going into a small indoor closet may now need ducting or a larger enclosure to comply.
Air District Zero-Emission Rules
Certain California air districts have started requiring zero-emission water heaters, and the rules vary by district, so what you must install depends on where you live.
The Bay Area Air Quality Management District adopted Rule 9-6, which sets a zero-emission standard for residential water heaters manufactured after 2027. The rule applies at burn-out, so you don’t have to remove a working gas heater, but when your current unit fails its replacement must meet the zero-emission standard.11BAAQMD. Rules 9-4 and 9-6 Building Appliances As of early 2026, the district is considering amendments to add flexibility around affordability and product availability. The 2027 date still stands, but the compliance details may shift.
In the South Coast district covering Los Angeles, Orange, Riverside, and San Bernardino counties, the board approved updates to Rule 1146.2 in June 2024 requiring a transition to zero-emission water heaters in both residential and commercial buildings.12South Coast AQMD. South Coast AQMD Approves Rule to Accelerate the Transition to Zero-Emission for Water Heaters A federal court later upheld the rule against an industry preemption challenge. The broader regulatory picture in the district remains in flux, with some proposed measures facing pushback, but the core zero-emission direction is set.
For homeowners outside these two districts, Low-NOx gas water heaters remain the standard. But the trajectory is clear, and a gas unit installed today in certain zip codes may be the last gas heater that address ever sees.
Who Can Legally Do the Work
California allows homeowners to install a water heater themselves on their own principal residence. The Contractors’ State License Board exempts owner-builders from licensing as long as you do the work yourself (or hire properly licensed subcontractors) and the property isn’t being built for immediate sale.13Contractors State License Board. Building Official Information Guide The permit and inspection requirements still apply. If you hire someone else, that person must hold a valid California contractor’s license. An unpermitted install by an unlicensed handyman is the combination most likely to cause you trouble at resale or with an insurance claim.