Building ElectrificationPolicy ExplainerJul 3, 2026, 11:41 PM· 5 min read· #2 of 2 in community

Federal Courts Force Cities to Roll Back Natural Gas Bans in New Construction

A wave of federal court rulings and DOJ lawsuits is forcing municipalities to abandon building codes that mandate all-electric new construction. The legal battles have created a deep geographic divide over whether local climate policies violate a 1975 federal appliance law.

By Factlen Editorial Team

Federal Preemption Proponents 50%Building Electrification Advocates 50%
Federal Preemption Proponents
Argue that local gas bans violate federal appliance laws and drive up housing costs.
Building Electrification Advocates
Argue that cities must have the authority to regulate infrastructure to meet climate and health goals.

What's not represented

  • · Local utility companies managing grid capacity

Why this matters

Local building codes dictate the cost, safety, and environmental impact of new housing. The current legal battle over natural gas bans will ultimately decide whether cities have the authority to phase out fossil fuels, or if federal law guarantees developers and homeowners the right to choose their energy sources.

Key points

  • The DOJ successfully pressured California cities to repeal natural gas bans in early 2026.
  • Courts in the 9th Circuit ruled that local bans violate the 1975 Energy Policy and Conservation Act.
  • Industry groups argue the bans drive up housing costs and limit consumer energy choices.
  • Climate advocates say the bans are necessary to cut emissions and improve indoor air quality.
  • A recent 2nd Circuit ruling upholding New York's ban creates a deep geographic legal split.
1975
Year EPCA was enacted
99
Local gas bans passed since 2019
13%
Childhood asthma cases linked to gas stoves

After facing aggressive lawsuits from the Department of Justice, the California cities of Morgan Hill and Petaluma quietly scrubbed their municipal codes of mandates that banned natural gas infrastructure in new construction. The DOJ dropped its litigation shortly after the spring 2026 repeals, marking a decisive victory in a growing federal campaign to dismantle local "electrify everything" building codes.[1][2]

The rollbacks represent a massive shift in the battle over American energy policy and housing construction. For years, local governments viewed municipal building codes as their most potent weapon for reducing greenhouse gas emissions and transitioning neighborhoods away from fossil fuels. But a wave of recent federal court rulings has weaponized a decades-old appliance law to strip cities of that authority, forcing dozens of municipalities to abandon their climate mandates.

The legal wrecking ball dismantling these local laws is the Energy Policy and Conservation Act (EPCA) of 1975. Originally passed in the wake of the Arab oil embargo, the federal law was designed to create uniform national energy efficiency standards for consumer appliances, ensuring manufacturers did not have to navigate a patchwork of state regulations. Today, however, courts are interpreting the law's "federal preemption" clause to mean that cities cannot indirectly ban federally regulated gas appliances by prohibiting the pipes that fuel them.

The precedent was set by the city that started the movement. In 2019, Berkeley, California, became the first municipality in the country to ban natural gas hookups in new low-rise residential buildings. The ordinance sparked a nationwide trend, inspiring at least 99 similar local laws across the United States. But the California Restaurant Association sued, arguing the ban bypassed federal energy regulations and threatened the survival of businesses relying on open-flame cooking.

The legal battle over local building electrification mandates has rapidly escalated since 2019.
The legal battle over local building electrification mandates has rapidly escalated since 2019.

In a landmark decision, the 9th U.S. Circuit Court of Appeals sided with the restaurants, striking down Berkeley's ordinance. The court ruled that local governments cannot circumvent federal preemption simply by banning the piping rather than the appliances themselves. After the court denied a rehearing, Berkeley officially repealed its pioneering law, sending a deep chill through city halls across the American West.

The Berkeley ruling triggered a domino effect. Fearing costly litigation, cities from Eugene, Oregon, to San Luis Obispo, California, voluntarily suspended or reversed their own gas bans. But the Department of Justice decided that voluntary suspensions were not enough. In early 2026, the DOJ launched a direct legal offensive, suing cities like Morgan Hill and Petaluma to force permanent, formal repeals.[2][3]

Fearing costly litigation, cities from Eugene, Oregon, to San Luis Obispo, California, voluntarily suspended or reversed their own gas bans.

Federal prosecutors argued that the local decarbonization measures were policies that denied consumers reliable energy and undermined "American energy dominance." The DOJ's filings emphasized the economic toll of the bans, claiming they impose "crushing costs" on residents by forcing developers to rely entirely on an already strained electric grid, which ultimately drives up the cost of new housing and utility bills.[3]

The construction and restaurant industries have heavily backed the federal intervention. Trade groups argue that natural gas remains the most cost-effective and efficient energy source for heating and cooking in many regions. By mandating all-electric construction, they contend, cities are artificially inflating the cost of building new homes during a national housing shortage, while simultaneously stripping consumers of their preferred energy choices.[4]

Industry groups argue that mandating all-electric construction drives up upfront housing costs.
Industry groups argue that mandating all-electric construction drives up upfront housing costs.

Environmental and public health advocates view the legal strategy as a catastrophic misinterpretation of a 1975 efficiency law. They argue that EPCA was never intended to dictate local land-use or building safety codes. Beyond the climate imperative of reducing fossil fuel combustion, advocates point to a growing body of research linking indoor gas stoves to severe health risks, including estimates that gas appliances are responsible for roughly 13 percent of childhood asthma cases in the United States.

The legal arguments often hinge on the specific mechanism of the ban. Berkeley's ordinance explicitly prohibited the installation of natural gas piping in new buildings. In contrast, New York's statewide law and the local codes in Maryland operate by setting strict emissions limits or mandating "net-zero" energy standards for new construction. Proponents argue this distinction is crucial, as it regulates the building's overall environmental impact rather than outright banning a specific fuel pipe.[4]

Despite the DOJ's victories on the West Coast, the legal landscape is rapidly fracturing into a chaotic jurisdictional divide. In March 2026, federal district courts in Maryland and Washington, D.C., explicitly rejected the 9th Circuit's reasoning. Judges in those jurisdictions upheld local all-electric building codes, ruling that the laws regulate the type of energy infrastructure permitted in new construction, not the performance characteristics of the appliances themselves.

A growing circuit split between federal appellate courts virtually guarantees the issue will reach the Supreme Court.
A growing circuit split between federal appellate courts virtually guarantees the issue will reach the Supreme Court.

The conflict escalated into a full-blown constitutional showdown in late June 2026. The 2nd U.S. Circuit Court of Appeals issued a blockbuster ruling upholding New York's statewide ban on natural gas in new construction. The decision directly contradicts the 9th Circuit's interpretation of federal preemption, creating a stark geographic reality: a building code that is perfectly legal in New York or Maryland is now a federal violation in California or Oregon.[4]

This deep circuit split virtually guarantees that the dispute will land before the United States Supreme Court. Until the high court resolves the fundamental question of whether a 1975 appliance efficiency law supersedes local building codes, developers, climate advocates, and city planners are left navigating a fractured legal map that changes every time a new federal judge issues a ruling.

How we got here

  1. July 2019

    Berkeley, California, passes the nation's first ban on natural gas hookups in new construction.

  2. April 2023

    The 9th Circuit Court of Appeals strikes down Berkeley's ordinance, citing federal preemption.

  3. January 2026

    The Department of Justice sues Morgan Hill and Petaluma to force the repeal of their local bans.

  4. March 2026

    Federal courts in Maryland and Washington, D.C., uphold local all-electric building codes.

  5. June 2026

    The 2nd Circuit Court of Appeals upholds New York's statewide natural gas ban, creating a circuit split.

Viewpoints in depth

Federal Preemption Proponents

Federal prosecutors and industry groups argue that local gas bans violate national appliance standards.

This camp, led by the Department of Justice and trade associations like the National Association of Home Builders, relies on a strict interpretation of the 1975 Energy Policy and Conservation Act. They argue that Congress explicitly granted the federal government sole authority to regulate appliance energy use to prevent a chaotic patchwork of state laws. By banning the pipes that deliver natural gas, they contend, cities are enacting backdoor bans on federally approved appliances, which illegally restricts consumer choice and drives up housing costs.

Building Electrification Advocates

Climate and public health advocates argue cities must have the authority to regulate local building infrastructure.

Environmental groups, such as Earthjustice and the Sierra Club, argue that EPCA was designed to regulate the energy efficiency of appliances as they roll off the factory floor, not to dictate local land-use or building safety codes. They point out that cities have historically held broad authority over local infrastructure. Furthermore, they emphasize that transitioning away from natural gas is a non-negotiable step for meeting municipal greenhouse gas reduction targets and mitigating indoor air pollution linked to respiratory illnesses.

What we don't know

  • Whether the Supreme Court will agree to hear the case and establish a single national precedent.
  • How cities in the 9th Circuit will rewrite their climate action plans without the ability to mandate all-electric buildings.
  • The long-term impact of the rulings on the cost of new residential construction.

Key terms

Energy Policy and Conservation Act (EPCA)
A 1975 federal law that sets national energy efficiency standards for consumer appliances.
Federal Preemption
A legal doctrine establishing that federal law supersedes conflicting state or local regulations.
Building Electrification
The process of transitioning a building's heating, cooling, and cooking systems from fossil fuels to electricity.
Circuit Split
A situation where different federal appellate courts issue contradictory rulings on the same legal issue.

Frequently asked

Can my city force me to replace my existing gas stove?

No. The current legal battles and local ordinances only apply to new construction and, in some specific cases, major renovations. Existing buildings and appliances are largely exempt.

Why are courts striking down these local laws?

Courts in the 9th Circuit ruled that banning natural gas piping effectively bans federally regulated gas appliances, which violates the 1975 Energy Policy and Conservation Act.

Will the Supreme Court get involved?

It is highly likely. With the 9th Circuit striking down bans in the West and the 2nd Circuit recently upholding New York's ban, a circuit split has emerged that typically requires Supreme Court resolution.

Sources

Source coverage

4 outlets

2 viewpoints surfaced

Federal Preemption Proponents 50%Building Electrification Advocates 50%
  1. [1]Politico ProFederal Preemption Proponents

    DOJ drops lawsuits after 2 California cities repeal gas appliance bans

    Read on Politico Pro
  2. [2]Los Angeles TimesFederal Preemption Proponents

    Trump administration sues two California cities over natural gas bans

    Read on Los Angeles Times
  3. [3]CBS NewsFederal Preemption Proponents

    DOJ sues Bay Area cities over natural gas bans in new buildings

    Read on CBS News
  4. [4]Marcellus Drilling NewsFederal Preemption Proponents

    Fed Appeals Court Upholds New York's Ban on NatGas in New Homes

    Read on Marcellus Drilling News
Stay informed

Every angle. Every day.

Get community stories with full source coverage and perspective breakdowns delivered to your inbox.