Can California Cities Still Ban Gas Water Heaters? The Law in 2026

Updated 2026-08-30 · Plumber Comparator editorial team

Flat illustration of a strapped water heater tank with gas burner and pipes

If you are pulling a permit for a new water heater, an addition, or a new build in California this year, you may have run into conflicting information: one headline says a court struck down local gas bans, another says a Southern California rule banning gas water heaters was just upheld, and your own city's website might still reference an "all-electric" requirement. All three of those things are true at once, because they come from three different legal mechanisms. Here is how to tell which one actually applies to your address.

What the Berkeley ruling actually killed

In 2019, Berkeley became the first U.S. city to pass an ordinance banning natural gas piping in most new buildings. Restaurant owners sued, arguing the ordinance was preempted by the federal Energy Policy and Conservation Act (EPCA), which controls the energy use of appliances like gas water heaters and stoves. In April 2023, a Ninth Circuit panel agreed: a city cannot use a building-code ordinance to ban the fuel source an appliance runs on, because that indirectly regulates the appliance's energy use — a power Congress reserved to itself. The court denied a rehearing in January 2024, and the ruling stuck.

The effect was immediate and wide: more than 75 California cities and counties that had adopted or were drafting similar "no new gas hookups" ordinances paused or withdrew them, including Sunnyvale, Cupertino, San Mateo County, and San Luis Obispo. If your city previously advertised a flat ban on gas water heaters or gas piping in new construction, that specific ordinance almost certainly cannot be enforced today. A straight local ban on the appliance or the fuel line is the one tool that is now off the table.

What an air district can still do — and just had upheld in court

Regional air quality management districts are a different legal animal from a city council. They regulate emissions, not appliances directly, and EPCA does not preempt an emissions performance standard the way it preempts an outright ban. The South Coast Air Quality Management District (covering the urban parts of Los Angeles, Orange, Riverside and San Bernardino counties) used exactly that distinction with Rule 1146.2, which sets a zero-NOx emissions standard for large water heaters and small boilers, phasing in for new buildings starting in 2026 and existing buildings by 2029 — with no comparably compliant gas model on the market, the practical result is electric.

Water heater manufacturers sued to block it on the same EPCA-preemption theory that won in Berkeley. In Rinnai America Corp. v. South Coast Air Quality Management District (Ninth Circuit, decided July 2026), the court upheld the rule, drawing the same line described above: Rule 1146.2 sets an emissions ceiling rather than banning gas appliances outright, so it survives where Berkeley's ordinance did not. If you live or build in the South Coast district's territory, this is the rule that actually restricts your water heater choice, and it is now backed by an appeals-court win, not a paused proposal. Our ultra-low-NOx and zero-NOx water heater rules guide covers the compliance dates and what models qualify district by district.

The third mechanism: the statewide Energy Code baseline

Separately from any city ordinance or air district rule, California's 2025 Energy Code (Title 24, Part 6), effective January 1, 2026, changed how every new single-family and multifamily building in the state calculates its energy compliance. The code does not ban gas statewide — you can still design and permit a home with a gas water heater almost everywhere in California. What changed is the baseline the project is measured against: the compliance calculation now assumes a heat pump water heater by default, so a project that keeps gas has to earn back the difference with extra efficiency elsewhere (better insulation, solar, other equipment upgrades) to pass plan check. In practice, gas didn't get illegal — it got more expensive to justify on paper, which is why builders are increasingly defaulting to electric even outside South Coast territory. If you are pricing out a new bathroom, an ADU, or a full new build, ask your plumbing contractor and your energy consultant how the 2025 code baseline affects your specific project before assuming gas is the cheaper path — sometimes the compliance offset costs more than just installing electric.

So which rule actually applies to you?

Why regulators keep coming back to this appliance

The policy pressure behind all three mechanisms is the same: water heaters and other gas appliances are a meaningful, measurable source of both greenhouse gas emissions and local air pollution, concentrated in exactly the kind of dense Southern California communities the South Coast rule targets. A 2024 study by Flores and colleagues, published in Advances in Applied Energy, modeled energy costs, carbon emissions, and pollutant emissions for a low-income Southern California community before and after electrification measures including water heater replacement, and found meaningful reductions in both carbon emissions and local air pollution from switching gas appliances to electric ones (study on Google Scholar). That is the underlying rationale regulators cite whether they are writing a NOx rule, an energy-code baseline, or — until the courts stepped in — a straight ban.

Deciding what to install

None of this means you must rip out a working gas water heater today. Outside South Coast territory and outside a new-construction plan check, a gas replacement is still generally straightforward. But if you are already choosing between fuel types — a failed unit, a remodel, a new ADU — it is worth running the real numbers rather than assuming gas is automatically cheaper. Our gas vs. electric water heater comparison covers the operating-cost math, and our heat pump water heater cost and rebates guide covers what a switch actually costs after available incentives, which increasingly narrow the gap.

Unsure which rule applies at your address, or whether your city's old gas restriction is still on the books? A local licensed plumber pulls permits in your jurisdiction routinely and knows exactly what your building department will and won't approve. Request a free quote on Plumber Comparator, describe your project, and get matched with installers who already navigate this district by district — including in Los Angeles and Riverside, both inside South Coast's territory, where the compliance stakes are highest right now.

Need a plumber you can trust?

Tell us about the job — a licensed California plumber gets back to you with a real quote.

Get free quotes

Keep reading

Get free plumbing quotes

Describe your job — a licensed local plumber calls you back. Free, no obligation.

By submitting, you agree to be contacted about your project by phone or email. We never sell your details for anything else. Privacy