Quick answer

Rooftop solar is not exempt from permits. Under the 2024 International Residential Code, PV systems must follow Section R329, which covers listed equipment, structural loads, the roof's fire classification, flashed penetrations, and firefighter access. That means at least two 36-inch pathways and an 18- or 36-inch clear setback at the ridge, depending on array size (R329.6). The electrical portion must follow NFPA 70 (R329.3). Expect a building or solar permit, an electrical inspection, and a separate utility interconnection approval before you switch the system on. Many jurisdictions use SolarAPP+, which issues permits instantly for code-compliant applications.

What the model code says

Solar photovoltaic (PV) systems involve three sets of rules: structural and fire-safety rules for mounting on the roof, electrical rules for the wiring and inverters, and utility rules for connecting to the grid. The International Residential Code (IRC) covers the first two. In the 2024 edition solar moved to Section R329 (it was R324 in 2021, and 2024’s R324 is now glazing), so you may see either number depending on your local edition.

None of this work appears on the IRC’s list of permit-exempt work (R105.2).

Equipment and electrical (R329.3)

“Photovoltaic (PV) systems shall be designed and installed in accordance with Sections R329.3.1 through R329.8.1 and the manufacturer’s installation instructions. The electrical portion of solar PV systems shall be designed and installed in accordance with NFPA 70.” Panels and modules must be listed to UL 1703 or UL 61730-1 and -2, and inverters to UL 1741. Grid-connected systems must use inverters listed for utility interaction.

Mounting on the roof (R329.4)

  • Structure (R329.4.1). Rooftop systems must be designed to support themselves and withstand gravity loads, and “the roof on which these systems are installed shall be designed and constructed to support” them. Wind loads are covered in R329.4.1.2. Older or heavily loaded roofs may need an engineer’s letter.
  • Fire classification (R329.4.2). Rooftop systems “shall have the same fire classification as the roof assembly required in Section R902.”
  • Penetrations (R329.4.3). “Roof penetrations shall be flashed and sealed in accordance with Chapter 9.”
  • Building-integrated PV (R329.5). Solar shingles and similar products must also meet the roofing and wall-covering rules for the material they replace.

Firefighter access (R329.6)

Rooftop arrays must leave room for firefighters to reach, ventilate, and leave the roof:

  • Pathways (R329.6.1). “Not fewer than two pathways, on separate roof planes from lowest roof edge to ridge and not less than 36 inches (914 mm) wide,” with at least one on the street or driveway side, and a 36-inch pathway on or next to each roof plane with an array.
  • Ridge setback (R329.6.2). For arrays covering no more than 33 percent of the plan-view roof area, at least an 18-inch clear setback on both sides of a horizontal ridge. Above 33 percent, 36 inches.
  • With sprinklers (R329.6.2.1). Where the home has an automatic sprinkler system, the 18-inch setback applies up to 66 percent coverage.
  • Exceptions. These include detached nonhabitable structures such as garages and carports, roofs with slopes of 2:12 or less, cases where “the code official has determined that rooftop operations will not be employed,” and certain BIPV systems listed to UL 3741.

States and cities often amend R329.6. Washington State’s 2026 rulemaking, for example, marks the ridge setback sections R329.6.2 and R329.6.2.1 “Not adopted” and substitutes its own pathway rule. Check your local version before you finalize a layout.

Batteries and backup

Home battery systems fall under R330 (energy storage systems), which requires listing and labeling, with exceptions for small systems under 1 kWh. Backup power for whole-home or partial-home loads involves additional electrical review of transfer equipment and panel changes.

Zoning, HOA rules, and setbacks

  • Rooftop systems usually don’t trigger zoning setbacks, but height limits and historic-district review can apply, especially for street-facing arrays.
  • Ground-mounted arrays are treated as structures, with setbacks, height limits, and sometimes lot-coverage limits.
  • HOAs. Some states restrict how far an HOA can limit solar. Texas Property Code §202.010, for example, generally bars HOAs from prohibiting solar energy devices, with listed exceptions. Check the state notes below.

Permits and inspections you can expect

  1. Permit application with a site plan, roof layout showing pathways and setbacks, an electrical single-line diagram, equipment specification sheets, and structural attachment details. In SolarAPP+ jurisdictions, a compliant application can be approved instantly.
  2. Utility interconnection application, usually filed by the installer in parallel.
  3. Inspections, which may include a rough electrical or attachment check and a final inspection. DOE’s homeowner guide notes that a solar installation will “undergo a thorough inspection” as part of the process.
  4. Utility permission to operate after the local final inspection. Don’t energize the system until you have it.

What to prepare

  • Roof condition: how many years the roof has left. Replacing it before installing panels avoids removing and reinstalling the array later.
  • Roof plan with array layout, pathways, ridge setbacks, and attachment spacing.
  • Electrical documents: single-line diagram, inverter and module specification sheets, and panel and service capacity.
  • Structural information: rafter size and spacing, and an engineer’s letter if required.
  • Utility account information for interconnection and net-metering enrollment. DOE suggests your utility as the source for local net-metering terms.
  • HOA approval, where your state law allows the HOA to require it.

How permit fees are calculated

Solar permit fees are set locally and vary widely. Common structures:

  • Flat residential solar fees, sometimes with separate electrical and building components.
  • Fees based on system size (kW) or valuation (contract price).
  • Plan review fees for non-automated review.

Where our state research found a statewide solar rule, it appears in the state notes below. Utility interconnection fees are separate.

Common mistakes

  • Designing the layout before checking local pathway and setback rules, then redesigning after plan review.
  • Installing on a roof that will need replacing soon.
  • Turning the system on before utility permission to operate.
  • Missing the structural review on older framing or heavy tile roofs.
  • Assuming HOA rules don’t apply, or that they always do. It depends on your state’s law.
  • Adding batteries or backup later without a new permit.

State notes

Some states set a rule for this project statewide. These notes come from our state research; your city or county may add its own requirements.

Arizona
For grid-tied solar photovoltaic systems, cities and towns must follow state permit standards: plans show the system location, mounting details and electrical diagrams, and a professional engineer's stamp may not be required unless the city explains in writing why it is necessary. A city may use a qualified online automated permitting platform, and solar permit fees may not exceed the actual cost of issuing the permit. Source
California
Most cities and counties must offer online, automated, real-time permitting for residential solar systems up to 38.4 kW AC and paired battery storage (SB 379). Small cities (under 5,000 people) and counties under 150,000 people are exempt. Source
Colorado
State Electrical Board rules require a permit for any system that supplies power normally supplied by an electric utility, including solar. Photovoltaic installers register with the Board and pull permits in their own name. Source
Minnesota
Since July 1, 2023, companies that install solar panels on Minnesota homes must be licensed by DLI as a residential building contractor or remodeler. The electrical part of the installation must be done by a Minnesota-licensed electrical contractor. Source
Texas
Texas Property Code §202.010 generally prohibits property owners' associations from prohibiting or restricting the installation of solar energy devices. Exceptions allow HOAs to limit devices on common property, devices that extend above or beyond the roofline, devices in a fenced yard that are taller than the fence, and installations made without the association's prior approval, among others. Source
Wyoming
The State Fire Marshal's plan review page lists alternative energy installations and alterations (solar, residential wind, generators) among the projects to submit to the department for review before work begins. Ask the department, or your city or county if it has delegated authority, whether your project needs review. Source

Common questions

Who pulls the solar permit, me or the installer?

Usually the installer. Solar permits typically require electrical drawings and equipment specifications that the contractor prepares. Make sure the contract says who is responsible for the permit, inspections, and utility interconnection paperwork.

What is SolarAPP+?

SolarAPP+ is an online permitting platform 'developed by the government with the solar industry.' It runs automated code checks on residential solar applications, and 'code-compliant applications receive a permit instantly.' It's only available where your local permit office has adopted it.

Can I turn my system on after the city's final inspection?

Not until your utility approves it. Interconnection is a separate process with the utility. In Alameda, California, for example, the city issues the building permit, and the municipal utility issues a 'permission to operate' letter after its own interconnection agreement is signed. Check your utility's rules.

Do ground-mounted panels need a permit?

Yes, in most places. They need electrical permits like rooftop systems, plus structural and zoning review for the racking and foundations. Setback and height limits apply to the array as a structure.

Can my HOA stop me from installing solar?

It depends on the state. Several states limit HOA restrictions on solar energy devices, often while still allowing limited rules on placement or appearance. See the state notes below and your state's page in our directory.

Check your county’s rules

The rules above are the model-code starting point. Your county or city decides which edition applies, what it changed, and what it charges. Look up the permit office that serves your address.

Sources

Last reviewed October 2026. Section numbers refer to the International Code Council’s model codes. We checked the wording against the published adoptions linked above, which reproduce the model text without amendment unless the source notes a state amendment. Codes take effect only when a state or local government adopts them, and many make amendments. This guide is general information, not legal or engineering advice. Suggest a correction