Practical field guide

Solar Permits and Building Codes: What You Need to Know Before Installing

Solar panel permits and building codes explained: NEC requirements, AHJ variations, off-grid vs grid-tied rules, RV exemptions, and how to navigate the permitting process.

System brief
Guide typePractical planning
ApproachUse stated assumptions, then verify the actual system.
System boundaryLocation, loads, equipment, and local rules can change the answer.
Next decisionFollow the linked guide that resolves the next system choice.
In brief

Solar panel permits and building codes explained: NEC requirements, AHJ variations, off-grid vs grid-tied rules, RV exemptions, and how to navigate the permitting process.

Key takeaways

  • Solar installations are governed by electrical, building, and fire codes that vary by jurisdiction — there is no single national rulebook for every detail.
  • The NEC (National Electrical Code), Article 690, is the backbone for PV system electrical requirements across the US.
  • The AHJ (Authority Having Jurisdiction) decides what actually applies locally; states either set codes statewide or let local governments adapt them.
  • Off-grid systems generally face fewer permitting hurdles than grid-tied systems, because no utility interconnection agreement is needed.
  • Permits and inspections protect you — they matter for insurance, safety, and resale value.

The short answer

Every solar install in the US falls under a web of electrical, building, and fire codes. The National Electrical Code (NEC), specifically Article 690, sets the baseline electrical requirements for PV systems. But what actually applies on your property depends on your AHJ — the Authority Having Jurisdiction — which can be your city, county, or state depending on how solar regulation is structured where you live.

Some states adopt codes statewide, giving you consistent rules and often lower permit costs. Others allow local adaptation, meaning every town can interpret and enforce codes differently. Before buying hardware, find out which camp your location falls into and call your local building department.

Related: Off-grid solar system setup guide

How solar codes are structured in the US

Statewide adoption vs. local adaptation

States take one of two broad approaches:

  • Statewide adoption: The state adopts a uniform code (typically a specific NEC edition plus state amendments). Rules are consistent across jurisdictions, and permit fees are often standardized and lower. This is the simpler path for installers and homeowners.
  • Local adaptation: The state sets a floor, but individual cities and counties write their own rules or adopt newer code editions at different times. This creates a patchwork — a system that passes inspection in one town might need changes in the next.

A 2022 study of 1,266 sampled municipalities found that roughly 45% had solar references in their local codes. More tellingly, about 30% of solar code references in Florida, Minnesota, California, and Texas were outdated or inconsistent — meaning the rules on the books often lag behind current practice and equipment.

Dillon’s Rule vs. Home Rule

The legal framework underneath code adoption differs by state:

  • Dillon’s Rule states: The state government holds all regulatory power unless it explicitly delegates authority to local jurisdictions. Local governments can only do what the state permits them to do.
  • Home Rule states: Local jurisdictions have broad authority to set their own rules, except where the state has explicitly claimed authority.

This affects whether your city can impose its own solar requirements or must follow state-level rules. If you’re unsure which framework your state uses, your building department will know.

The key codes that apply

National Electrical Code (NEC) Article 690

Article 690 of the NEC is the primary electrical standard for PV systems in the US. It covers conductor sizing, overcurrent protection, grounding, rapid shutdown, disconnect placement, and labeling. Most local codes reference or adopt NEC Article 690 directly, sometimes with amendments. Understanding the basics — like correct wire sizing and fuse and breaker sizing — will help you pass inspection regardless of jurisdiction.

Building codes

Building permits address structural concerns: can your roof carry the weight of panels and racking, are penetrations properly flashed, and does the mounting system meet wind and snow load requirements? If you’re doing a ground mount, soil conditions and foundation design come into play. See ground mount vs. roof mount for structural considerations.

Fire codes

Fire codes, often based on the International Fire Code (IFC) or NFPA 1, may require setback space on roofs so firefighters can safely access the roof and vent if needed. These setbacks reduce your usable roof area, which can affect how many panels fit and how the system is sized.

Off-grid vs. grid-tied permitting

Grid-tied systems

Grid-tied systems almost always require:

  • An electrical permit
  • Often a building permit
  • A utility interconnection agreement (the utility must approve the connection)
  • Inspection before the system can be energized and tied to the grid

The utility interconnection process adds time and paperwork. You’re working with both the AHJ and the utility company.

Off-grid systems

Off-grid systems generally face fewer permitting requirements because there’s no utility interconnection agreement and no grid export. You’re not connecting to the grid, so the utility isn’t involved. Depending on your AHJ, you may still need an electrical permit to satisfy the NEC, and a building permit for structural mounting.

The permitting bar is lower, but the safety stakes aren’t — off-grid systems carry the same electrical hazards as grid-tied ones. Following NEC guidelines keeps the install safe and insurable. For the full setup process, see our off-grid setup guide.

RV and mobile systems

RV solar typically does not need building permits — it’s a vehicle, not a structure. However, the electrical work should still meet NEC standards for safety and to satisfy insurance requirements if you ever file a claim for an electrical fire or failure. An insurer may ask whether the system was installed to code.

HOAs and solar access laws

Homeowners associations cannot ban solar outright in many states, thanks to solar access laws that protect a homeowner’s right to install PV. However, HOAs may restrict where panels go and how they’re mounted — placement, visibility from the street, and sometimes color or racking type.

Check your state’s solar access protections before assuming your HOA has final say. In states with strong solar rights laws, HOA restrictions are often unenforceable if they materially increase system cost or reduce output.

Why permits and inspections matter

It’s tempting to skip permits, especially on smaller or off-grid installs. Don’t. Permits and inspections serve three purposes that protect you:

  1. Insurance: Many insurers won’t cover a solar-related claim (fire, property damage) on an unpermitted system. If they do, premiums may be higher.
  2. Safety: An inspector catches mistakes you might miss — undersized conductors, missing disconnects, improper grounding — before they become failures.
  3. Resale value: A permitted, inspected system is an asset. An unpermitted one is a liability that can complicate or kill a home sale.

How to navigate the process

  1. Call your AHJ early. Before buying hardware, ask what permits are required, which code edition they enforce, and what the inspection checklist looks like.
  2. Pull the permits. Submit your system design — one-line diagram, equipment specs, load calculations. Many AHJs accept standard templates.
  3. Install to code. Follow NEC Article 690 for electrical work, manufacturer instructions for equipment, and local amendments for anything specific.
  4. Schedule inspection. The inspector verifies the install matches the approved plan and meets code. Fix any flagged issues before final sign-off.

Next logical reads

DIY vs installer Solar system cost breakdown Solar combiner box and disconnect guide Ground mount vs. roof mount

FAQ

Do I need a permit for an off-grid solar system?

Often yes for the electrical work, though requirements are lighter than for grid-tied systems. You typically do not need a utility interconnection agreement since you’re not connecting to the grid. Check with your local AHJ — many require an electrical permit to confirm the system meets NEC standards, even off-grid.

What is an AHJ?

AHJ stands for Authority Having Jurisdiction — the organization responsible for enforcing codes in your area. It’s usually your city or county building department, but in states with statewide code adoption it may be a state-level agency. The AHJ decides which code edition applies and what your inspection covers.

Can my HOA stop me from installing solar panels?

In many states, no — solar access laws protect your right to install PV. However, an HOA may restrict placement and visibility. Restrictions that materially increase cost or reduce output are often unenforceable under strong solar rights laws. Check your state’s specific protections.

Do RV solar installations need permits?

Generally not building permits, since an RV is a vehicle. But the electrical work should still meet NEC standards for safety and insurance purposes. If you ever file a claim related to the system, an insurer may verify it was installed to code.

What does NEC Article 690 cover?

Article 690 of the National Electrical Code is the primary US standard for PV system electrical design. It covers conductor sizing, overcurrent protection, grounding, rapid shutdown, disconnect requirements, and labeling. Most local codes adopt it directly, sometimes with amendments.

How much do solar permits cost?

Costs vary widely by jurisdiction. Some areas charge a flat fee, others charge based on system size or valuation. Statewide-adoption states often have lower, standardized fees. Budget anywhere from tens to several hundred dollars depending on whether you need electrical, building, or both.

Related guides: