Replacing a water heater in California involves more than connecting a new tank. State law and the California Plumbing Code set specific requirements for seismic strapping, pressure relief, thermal expansion and more, and most replacements need a permit and inspection. These rules exist because a poorly secured or improperly piped water heater can cause fires, gas leaks, scalding and serious water damage, especially during an earthquake.
This guide explains the main requirements in plain English so you know what a compliant installation looks like, whether you’re replacing a heater, buying a home or just checking the one in your garage.
Why California has its own water heater rules
A full water heater weighs several hundred pounds. In an earthquake, an unsecured tank can tip over, tear its gas connector and water lines, and start a fire or flood. After past California earthquakes caused exactly that kind of damage, the state made bracing a legal requirement.
Today, two sets of rules apply:
- California Health and Safety Code Section 19211 requires new and replacement water heaters to be braced, anchored or strapped to resist falling or moving during an earthquake. It also requires sellers of residential property to certify in writing to the buyer that the water heater is properly braced.
- The California Plumbing Code (CPC), part of Title 24, sets the specific installation standards that inspectors check.
Seismic strapping requirements (CPC 507.2)
CPC Section 507.2 requires water heaters to be anchored or strapped in the upper third and lower third of the appliance to resist horizontal movement. The lower strap must sit at least 4 inches above the controls so it doesn’t interfere with the gas valve or thermostat.
What a proper strapping job looks like
- Two straps, one in each zone, wrapped fully around the tank
- Solid anchoring into wood studs with lag screws, or into masonry or concrete with appropriate anchors, not into drywall alone
- Minimal gap between the tank and the wall, often filled with a spacer block so the tank can’t build momentum before the straps take the load
- A listed strapping kit rated for the size of the tank, installed per its instructions
- Flexible water connectors that allow slight movement without breaking
Larger tanks may call for heavier-duty kits. When in doubt, the kit’s instructions and the local inspector have the final word.
Tankless water heaters
Tankless units are wall-mounted and don’t need tank-style straps, but they must still be securely fastened per the manufacturer’s instructions and supported so connections aren’t strained.
Permits: when and where
In most cases, replacing a water heater requires a plumbing permit, and switching fuel types, relocating the heater or adding new gas, vent or electrical runs definitely does.
- Incorporated cities such as Fullerton, Brea and Yorba Linda issue permits through their own Building & Safety divisions.
- Unincorporated LA County communities, including Rowland Heights and Hacienda Heights, are permitted through LA County Public Works Building & Safety.
After the work is done, an inspector visits to check the installation. The permit creates a record that the work met code, which matters when you sell and helps avoid questions from buyers, appraisers or insurance companies.
When permitted work is done, inspectors in many jurisdictions will also check that the home has working smoke and carbon monoxide alarms, since California’s residential code requires them when certain permitted alterations are made.
Temperature and pressure relief (T&P) valve and discharge line
Every tank water heater has a T&P valve that opens if temperature or pressure inside the tank gets too high. The valve only protects you if its discharge line is installed correctly. Key requirements include:
- The discharge pipe must be the same size as the valve outlet for its full length
- It must be made of an approved material rated for hot water
- It must drain by gravity, without traps or uphill runs
- There must be no valves or restrictions on the line
- It should terminate at an approved location, commonly outdoors, pointing downward and between 6 and 24 inches above the ground
- The end must not be threaded, so no one can cap it
A T&P line that’s missing, undersized, capped or routed into a dead end is one of the most common problems found in older installations.
Expansion tanks and closed systems
When water heats up, it expands. In an open system, that extra volume can push back into the city main. But many homes now have a closed system because of a pressure-reducing valve (PRV), a backflow preventer or a check valve, often at the meter. With nowhere to go, expanding water drives up pressure in the whole house.
Signs of a thermal expansion problem include a T&P valve that drips after hot water use, faucets that spit, and toilets that run briefly for no reason.
The CPC requires that thermal expansion be controlled in closed systems, which typically means installing an expansion tank on the cold supply near the water heater. Done properly, it involves:
- Choosing a tank sized for the heater capacity and house pressure
- Setting the tank’s air precharge to match the home’s static water pressure
- Supporting the tank so its weight doesn’t hang on the piping
Hillside homes and water pressure
The CPC limits static pressure inside a home to 80 psi, and a PRV is required above that. Homes at lower elevations near hillside areas, including parts of Brea, Yorba Linda and north Fullerton, often see high pressure from the city mains and rely on a PRV. That makes an expansion tank especially relevant. If your PRV is old or failing, check it during a water heater replacement.
Other items inspectors commonly check
Beyond strapping, T&P discharge and expansion control, a typical inspection looks at:
- Gas connection. An approved flexible connector, an accessible shutoff valve and a sediment trap (drip leg) ahead of the appliance.
- Venting. Correct vent size, slope, clearances and termination for the type of heater.
- Combustion air. Enough air for the burner, especially in closets.
- Drain pan. Required where a leak could damage the building, such as interior closets, attics and upper floors.
- Garage installations. Protection from vehicle impact, and elevation of the ignition source where required.
- Electrical. For electric and heat pump units, proper circuit, disconnect and bonding as required.
California’s lead-free plumbing standard
Since 2010, California has required pipes, fittings and fixtures that carry drinking water to meet a lead-free standard: no more than a weighted average of 0.25 percent lead in wetted surfaces. A similar federal standard took effect nationwide in 2014. The valves, connectors and fittings used in a water heater installation should be marked as compliant.
Buying or selling a home
Because Health and Safety Code Section 19211 requires sellers to certify that the water heater is properly braced, strapping comes up in nearly every California home sale. If you’re preparing to sell, check the straps, T&P line and expansion tank early so they don’t turn into last-minute repair requests.
Getting it done right
A compliant installation protects your home, keeps your permit history clean and avoids failed inspections. Whether you need a straight replacement, a tankless upgrade or just want an existing heater brought up to code, our water heater repair and replacement team can handle the permit and the details. Homeowners nearby can also see our local pages for water heater service in Brea and Fullerton water heater replacement, or learn more about on-demand tankless installation. For a sense of how these upgrades affect pricing, read our guide to what drives replacement cost.
We’ll explain what your installation needs and give you a written estimate before any work begins.
About the author
Plumber Fullerton Editorial Team
Guides on this site are written and reviewed by our plumbing team for homeowners in North Orange County. We explain how local housing, water and codes affect your plumbing so you can make informed decisions before you call anyone — including us.
Published . This guide is general information; codes and permit rules vary by city, so confirm specifics for your property.