California Water Heater Code: Permits, Installation, and Penalties

The California water heater code requires a building permit, a licensed contractor (unless you qualify as an owner-builder), and an installation that meets the California Plumbing Code, California Mechanical Code, California Electrical Code, and the Title 24 Energy Code in effect at the time of the work. On top of those statewide rules, seismic strapping is mandatory for every residential water heater, carbon monoxide alarms are required in any home with a gas unit, and new single-family construction must be wired and plumbed to accept a future heat pump water heater even when a gas model is installed now.

The rules below apply to a standard residential replacement or new installation. Getting them right the first time is much cheaper than fixing them at inspection or at closing.

You Need a Permit Before the Work Starts

The California Building Standards Code prohibits erecting, altering, or repairing any structure without a permit from the local building official, and water heater replacement falls squarely inside that requirement.1CSLB. Do I Need a Building Permit for My Project? Permits are pulled through your city or county building department. Fees for a straightforward replacement typically run $50 to $300 depending on the jurisdiction.

After the work is done, a building inspector checks seismic strapping, vent connections, the temperature and pressure relief valve discharge line, electrical connections, and where applicable the expansion tank and drain pan. If it fails, you fix the deficiencies and schedule a re-inspection before the permit can be closed. An open permit follows the property: buyers and title companies flag it during due diligence, and closing it out later usually costs more than doing the job right the first time.

Who Can Legally Do the Installation

A plumber holding a C-36 license or an HVAC contractor holding a C-20 license can install any residential water heater, including a heat pump model. A general building (B) contractor can hold the prime contract but has to subcontract the actual installation to a C-36 or C-20 unless the project involves at least two other unrelated trades beyond framing or carpentry.2CSLB. Classifications for the Installation, Maintenance, or Service of Heat Pump Water Heaters and HVAC Heat Pumps

You can install your own water heater under California’s owner-builder exemption. To qualify, you have to own the property, do the work yourself or with your own employees, and not be building the home for sale. Homeowners improving their principal residence also qualify if they have lived there at least 12 months before the work is completed and have not used the exemption on more than two structures in the previous three years.3CSLB. Building Officials – Owner-Builder Overview The exemption covers licensing only. You still pull the permit, and the work still has to pass inspection.

What the Installation Itself Has to Include

The physical requirements come mainly from the 2025 California Plumbing Code, which took effect January 1, 2026, along with the California Mechanical Code and California Electrical Code.

Seismic Strapping

Every residential water heater of 120 gallons or less has to be braced, anchored, or strapped to resist falling or sliding in an earthquake. This is the rule for new, replacement, and existing units alike.4California Legislative Information. California Health and Safety Code 19211 Straps must connect mechanically to wall studs or other structural members so the tank can’t tip along its center axis, and they can’t block access to controls or inspection panels.5Legal Information Institute. Cal. Code Regs. Tit. 25, 4100 – Protection from Seismic Damage Local jurisdictions can require more than the state minimum but not less.

Venting and Combustion Air

Gas water heaters vent to the outdoors through approved high-temperature materials. The CPC sets the sizing, termination point, and clearance requirements from combustible surfaces.6IAPMO. 2025 California Plumbing Code The room also needs enough combustion air for safe operation, which in a tight utility closet often means adding dedicated intake ducts or louvers to the outside.

Temperature and Pressure Relief Valve

Every unit needs a T&P relief valve, and the discharge pipe from that valve has to terminate somewhere visible where it can’t injure anyone or damage property. The discharge line cannot be threaded, capped, or reduced in size, because any restriction can stop the valve from relieving a dangerous pressure event.6IAPMO. 2025 California Plumbing Code

Drain Pan

When the water heater sits in an attic, on a ceiling assembly, or on an upper floor where a leak could damage the structure below, the CPC requires a watertight, corrosion-resistant drain pan under it. The pan has to be at least 1.5 inches deep with a drain line of at least three-quarters of an inch running to a visible location, so a leak actually gets noticed.

Garage Installations

A gas water heater installed in a garage has to have its burners and ignition devices elevated at least 18 inches above the floor to keep gasoline vapors and other heavy flammable fumes away from the ignition source. Units listed as Flammable Vapor Ignition Resistant (FVIR) with a sealed combustion chamber can sit at floor level. Most modern gas models are FVIR-rated, but verify the listing before assuming.

Thermal Expansion Tank

If a pressure regulator or backflow preventer on the incoming supply creates a closed plumbing system, expanding hot water inside the tank has nowhere to go. The CPC requires a thermal expansion tank on any closed water heating system to absorb that pressure and protect fixtures, joints, and the water heater itself.6IAPMO. 2025 California Plumbing Code

Electrical Connections

An electric water heater needs a dedicated circuit sized to the unit. Standard resistance models typically run on a 240-volt, 30-amp circuit; heat pump models vary by manufacturer. The California Electrical Code requires proper grounding and bonding, and the circuit has to match the building’s existing voltage and amperage.7California Energy Commission. 2022 Single Family Residential Compliance Manual

Carbon Monoxide Alarms

Any home with a gas water heater or other fossil-fuel appliance must have carbon monoxide alarms outside each sleeping area, on every level, and anywhere else the manufacturer’s instructions specify. Switching from an electric water heater to a gas one for the first time may mean adding detectors where none existed. The violation is an infraction carrying a fine of up to $200, but the law requires a 30-day notice to correct before any fine is assessed.8California Legislative Information. California Health and Safety Code 17926

Efficiency and Electric-Ready Requirements

Two separate California regulations govern efficiency. Title 20 sets the minimum Uniform Energy Factor a water heater has to meet before it can be sold in California; retailers here won’t stock non-compliant units, so the equipment side usually takes care of itself.9Legal Information Institute. Cal. Code Regs. Tit. 20, 1605.1 – Federal and State Standards for Appliances Title 24, the Building Energy Efficiency Standards, governs the installation itself: pipe insulation, unit sizing, and electric-ready infrastructure.10California Energy Commission. Water Heating

The electric-ready rules matter most in new single-family construction. If a builder installs a gas or propane water heater, the home also has to include the infrastructure to accept a heat pump replacement later. The specifics depend on how far the future heat pump location sits from the current gas unit:7California Energy Commission. 2022 Single Family Residential Compliance Manual

  • Within 3 feet: a dedicated 120-volt, 20-amp receptacle wired with a 120V/240V three-conductor, 10 AWG copper branch circuit, with the spare conductor labeled and electrically isolated. The panel must reserve a spot for a future single-pole breaker labeled “For Future 240V Use.”
  • More than 3 feet away: a dedicated 240-volt branch circuit rated at a minimum of 30 amps, a reserved double-pole breaker space labeled “For Future 240V Use,” and plumbing rough-ins that route cold and hot water supply through the designated heat pump location.

Both configurations need a condensate drain within 2 inches of the base of the installed water heater, because a heat pump unit produces condensate that has to drain by gravity to a floor drain, utility sink, or similar fixture. A condensate pump is acceptable where gravity drainage isn’t practical. Most manufacturers require 450 to 700 cubic feet of free air space around the unit, which generally rules out a small closet without modification.11ENERGY STAR. Heat Pump Water Heater Design Considerations

Regional Zero-NOx Rules to Watch

Two air districts have adopted timelines that will affect what you can buy locally. In the Bay Area Air Quality Management District, small water heaters manufactured on or after January 1, 2027 must meet zero-NOx emission limits to be sold in the district, which effectively means heat pump or other electric models. Larger units face the same requirement starting in 2031.12California Air Resources Board. Zero-Emission Space and Water Heaters

The South Coast Air Quality Management District, covering much of greater Los Angeles, has adopted zero-NOx amendments for larger water heaters, with amendments covering smaller residential units in progress.12California Air Resources Board. Zero-Emission Space and Water Heaters If you live in either district and your gas water heater is close to end of life, these dates decide what replacements will be on the shelf.

Selling Your Home

When you sell residential real property in California containing a water heater, you must give the buyer written certification that the water heater is braced, anchored, or strapped to resist earthquake damage. The requirement comes from Health and Safety Code Section 19211 and can be satisfied in the transfer disclosure statement, the real estate contract, or the Homeowner’s Guide to Earthquake Safety.4California Legislative Information. California Health and Safety Code 19211

If the unit isn’t strapped, you install proper bracing before closing or disclose the deficiency. Separately, unpermitted work gets flagged by inspectors, appraisers, and buyers during due diligence, and closing an old permit retroactively often means paying for exposure, inspection, and any corrective work at once.

What Happens If You Skip the Rules

A licensed contractor who works without a required permit violates Business and Professions Code sections 7110 and 7090. The Contractors State License Board can impose civil penalties of up to $5,000 per violation, order the contractor to pay all permit fees and local penalties, and suspend or revoke the license.13CSLB. Filing a Building Permit Violation Form

For a homeowner, the exposure is different but real. Code enforcement can require you to expose completed work for inspection, which sometimes means cutting into walls or ceilings. If the installation doesn’t meet code, you pay for both the inspection and the corrective work. Some jurisdictions charge double or triple permit fees for retroactive permits. A water heater installed without required seismic bracing is treated as a nuisance under state law, and the property owner is the party responsible for correcting it.4California Legislative Information. California Health and Safety Code 19211

Before you buy the unit, confirm what your local building department requires on the application, whether your home is a closed plumbing system (which forces an expansion tank), and whether you’re inside the Bay Area or South Coast air district timelines. Those three questions decide almost everything else about the job.