Solar Savvy HomeHome solar, from the official record

Solar roof setbacks and fire access pathways

Fire codes keep open strips on a solar roof so firefighters can walk and ventilate it. The California Residential Code 2025, in force since January 1, 2026, requires at least two 36-inch pathways and an 18-inch clear strip on each side of the ridge when panels cover no more than 33% of the roof's plan area, or 36 inches above that, with a 66% threshold for homes with fire sprinklers.

Facts checked · 7 sources listed below · How we source numbers

When a house is on fire, firefighters may need to walk on the roof or cut an opening to let out heat and smoke. Solar panels can block that work. Building and fire codes therefore require clear pathways and setbacks on roofs with solar. This page uses the California Residential Code (CRC) 2025 and California Fire Code (CFC) 2025 as the worked example, because their text was read directly for this site; both took effect January 1, 2026 (CRC 2025 R329). The rules are enforced by the local building department and fire marshal through the permit and inspection.

Which code sections set the roof pathways?

In the CRC 2025, solar energy systems are covered in Section R329, and the roof access rules are in R329.6 (CRC 2025 R329). The CRC 2025 is built on the 2024 International Residential Code (IRC). This site has not confirmed that the base IRC 2024 uses the same section number, so the number R329.6 here refers to the California code.

The fire code has a matching set of rules. CFC 2025 Section 1205 covers solar photovoltaic (PV) systems: sections 1205.2 through 1205.4.3 deal with rooftop systems and 1205.5 with ground-mounted systems (CFC 2025 §1205). The base International Fire Code (IFC) text was not read for this site, so a state or city on another edition of the IFC or IRC may use different section numbers.

How wide are the fire access pathways?

Each pathway must be at least 36 inches wide. CRC 2025 R329.6.1 requires (CRC 2025 R329.6.1):

  • at least two pathways, on separate roof planes, running from the eave (the lower edge) to the ridge;
  • at least one pathway on the street side or the driveway side of the roof;
  • for each roof plane that has panels, a pathway on that plane or on an adjacent plane.

How far must panels be from the ridge?

It depends on how much of the roof the panels cover. Under CRC 2025 R329.6.2 (CRC 2025 R329.6.2):

Array size, as a share of the roof's plan view area Home without sprinklers Home with automatic sprinklers (R329.6.2.1)
Up to 33% 18 in on each side of the ridge 18 in on each side of the ridge
Over 33% and up to 66% 36 in on each side of the ridge 18 in on each side of the ridge
Over 66% 36 in on each side of the ridge 36 in on each side of the ridge

The sprinkler column applies to homes with an automatic sprinkler system installed under NFPA 13D or CRC Section R309 (CRC 2025 R329.6.2.1).

"Plan view area" means the roof as seen from directly above, like a floor plan, not the sloped surface. As an example of the arithmetic, on a roof with a 2,000-square-foot plan view area, 33% is 660 square feet and 66% is 1,320 square feet; whether the array area is measured the same way the local reviewer measures it is a question for the building department.

Can panels go near an escape window?

No panels may be installed below an emergency escape and rescue opening, such as a bedroom egress window, and a 36-inch pathway must lead to that opening (CRC 2025 R329.6.3).

Which roofs are exempt from the setbacks?

CRC 2025 lists these exceptions to R329.6 (CRC 2025 R329.6):

  • detached structures that are not living space, such as detached garages, patio covers, carports and trellises;
  • roofs with a slope of 2:12 or less (about 17%);
  • building-integrated photovoltaic (BIPV) systems listed to UL 3741, the standard for PV hazard control;
  • cases where the building official approves an alternative.

The fire code has similar exceptions for Group U structures (such as garages) accessory to homes and for BIPV (CFC 2025 §1205).

What about ground-mounted systems?

Ground-mounted arrays need a clear area of 10 feet around them, free of vegetation, and the ridge setbacks do not apply (CRC 2025 R329.8).

Are these rules new?

No. The same numbers were in California's 2016 codes: 36-inch pathways, 18 or 36 inches at the ridge, and the 33% and 66% thresholds, then in CFC 605.11 and CRC R324.6 (California Solar Permitting Guidebook, 2019). The section numbers moved when the codes were renumbered; in the CRC 2025, R324 now covers glazing and solar is in R329 (CRC 2025).

The model codes are updated through a consensus process. A Department of Energy-funded committee led by the Interstate Renewable Energy Council made 82 consensus recommendations, and 81% of its proposals to the 2024 International Codes succeeded, covering electric vehicles, BIPV, PV and energy storage (IREC, DOE-IREC-0009001, May 9, 2024).

What other code rules affect a solar roof?

Several other parts of R329 apply to rooftop systems (CRC 2025 R329):

  • Fire classification. A rooftop PV system must have the same fire classification as the roof covering required for that roof (R329.4, referring to R902).
  • Loads. Snow loads follow R301.2, and wind loads use the component loads in the code's wind tables (R329.4).
  • Listed equipment. Modules must be listed to UL 1703 or UL 61730-1 and -2, inverters to UL 1741, mounting systems to UL 2703, and BIPV to UL 7103 (R329.3.1). See the solar equipment standards glossary.

The electrical code adds its own firefighter protections. Rapid shutdown under NEC 690.12 lowers the voltage of rooftop wiring after shutdown; since the 2017 NEC, wiring outside a 1-foot array boundary must drop to 30 volts within 30 seconds, according to IAEI Magazine (IAEI, January 3, 2023). Details are on the rapid shutdown page. The 2026 NEC also requires an outdoor emergency disconnect for one- and two-family homes, with a plaque showing where other sources such as solar are disconnected if they are not at the same spot (Minnesota NEC 2026 Adoption Review Committee, September 25, 2025).

Which building code edition does my state use?

It varies, and in many states it is set by each city or county. According to the International Code Council's April 2026 adoption chart, the 2024 IRC is adopted statewide in California, Georgia, Iowa, Mississippi, New York and North Dakota, while many states use the 2021, 2018 or 2015 editions, and states such as Arizona, Colorado, Kansas and Missouri adopt it only at the local level (ICC adoption chart, April 2026). ICC notes that not all jurisdictions tell it about their adoptions (ICC adoption chart). Because a local amendment can change the pathway widths or exceptions, the local building department and fire marshal are the authorities for a given address. State pages are under solar by state; California facts are on the California page.

Who to ask

The local building department reviews the roof layout in the permit, and the local fire marshal may add requirements under the fire code. The licensed contractor who draws the plan shows the pathways and setbacks on it. Roof work on a home with solar is not a do-it-yourself task.

Questions people ask

How much space do solar panels need from the roof ridge?

Under the California Residential Code 2025, R329.6.2, the setback is 18 inches on each side of the ridge when the array covers 33% or less of the roof's plan area, and 36 inches when it covers more. With an automatic sprinkler system the threshold is 66% instead of 33%.

How many fire access pathways does a solar roof need?

At least two pathways, each at least 36 inches wide, on separate roof planes and running from eave to ridge, with at least one on the street or driveway side, under CRC 2025 R329.6.1.

Are there roofs where the setbacks do not apply?

Yes. CRC 2025 exempts roofs with a slope of 2:12 or less, detached non-habitable structures such as garages and carports, building-integrated PV listed to UL 3741, and cases the code official approves.

Can solar panels go under a bedroom escape window?

No. CRC 2025 R329.6.3 does not allow panels below an emergency escape and rescue opening and requires a 36-inch pathway to it.

Do these rules apply outside California?

The section numbers here come from the California code, which is based on the 2024 International Residential Code. Other states use their own editions, and the local building department confirms which one applies.

Sources

  1. California Residential Code 2025, Section R329 Solar Energy Systems (UpCodes viewer) — California Building Standards Commission, 2026-01-01
  2. California Fire Code 2025, Chapter 12 Energy Systems, Section 1205 (UpCodes viewer) — California Office of the State Fire Marshal, 2026-01-01
  3. California Solar Permitting Guidebook, 4th Edition — California Governor's Office of Planning and Research (now Governor's Office of Land Use and Climate Innovation), 2019-02
  4. International Codes: Adoption by State (April 2026), copy hosted by MiTek — International Code Council, 2026-04
  5. Developing Consensus Recommendations to Address Challenges with Solar and Solar-Plus-Storage Code Enforcement and Permitting (DOE-IREC-0009001) — Interstate Renewable Energy Council (via DOE OSTI), 2024-05-09
  6. NEC 2026 Adoption Review Committee (minutes of September 25, 2025) — Minnesota Department of Labor and Industry, 2025-09-25
  7. NEC rapid shutdown requirements and UL 3741 (J.A. Kraft) — International Association of Electrical Inspectors (IAEI Magazine), 2023-01-03