DIY Solar Installation: Permits, Inspections & Code Requirements
Installing solar panels yourself saves thousands in labor costs — but the permitting and inspection process is where many DIY builders get stuck. Understanding what your jurisdiction requires before you buy equipment prevents costly design changes, re-inspections, and delays. This guide covers the permit types, application process, code requirements, and inspection steps for DIY residential solar installations.
Do You Need a Permit?
For grid-tied systems: yes, almost always. Any system that connects to the utility grid requires an electrical permit and, in most jurisdictions, a separate building permit for the structural attachment (roof or ground mount). You will also need interconnection approval from your utility company before the system can be energized and connected to the grid.
For off-grid systems: it depends on your location. Many rural jurisdictions do not require permits for off-grid solar installations, particularly on agricultural land or in unincorporated areas. However, some counties require electrical permits for any permanent wiring regardless of grid connection. Contact your local building department to confirm — do not assume you are exempt.
The Permit Application
A typical solar permit application requires a site plan showing the property, building footprint, panel locations, and setbacks from roof edges and property lines. You will need a single-line electrical diagram showing the complete system — panels, wiring, charge controller or inverter, disconnect switches, grounding, and connection to the electrical panel. Equipment specification sheets (datasheets) for every major component — panels, inverter, racking, and rapid shutdown equipment (if applicable) — must be included. Many jurisdictions also require structural calculations demonstrating that your roof or ground mount can support the weight of the panels plus wind and snow loads.
Several solar equipment retailers and inverter manufacturers provide pre-made permit packages that include the electrical diagrams, structural calculations, and spec sheets tailored to their hardware. These packages significantly simplify the permit application process and are worth investigating before creating your own documentation from scratch.
NEC Code Requirements
The National Electrical Code (NEC) governs all residential solar installations in the United States. Key requirements include NEC Article 690 covering solar photovoltaic systems — wire sizing, overcurrent protection, disconnects, and grounding. NEC Article 706 covers energy storage systems (battery banks) — disconnect requirements, overcurrent protection, signage, and ventilation. Rapid shutdown (NEC 2017+) requires that rooftop conductors can be de-energized to safe levels within 30 seconds of initiating shutdown — typically achieved through module-level electronics (microinverters or DC optimizers) or rapid shutdown boxes. Ground-fault protection and arc-fault detection requirements also apply depending on system size and type.
Your local jurisdiction may enforce NEC 2017, 2020, or 2023 — verify which edition is adopted in your area, as requirements differ between editions. Some jurisdictions also apply additional local amendments beyond the base NEC code.
The Inspection Process
Most jurisdictions require two inspections. A rough-in inspection occurs after the mounting system and wiring are installed but before the system is energized. The inspector verifies proper racking attachment, wire routing, conduit installation, grounding, and labeling. A final inspection occurs after the system is fully installed and operational. The inspector verifies proper equipment installation, disconnect functionality, labeling, rapid shutdown compliance, and overall code conformance.
Schedule inspections in advance — building departments often have 3–10 day backlogs. Failed inspections require corrections and re-inspection, which adds cost and delay. Review the NEC requirements and your local amendments before the inspection to minimize surprises.
Utility Interconnection
For grid-tied systems, you must apply for interconnection with your utility company. This process is separate from the building permit and typically involves submitting an interconnection application with your system design, proof of insurance, and sometimes a nominal application fee. The utility reviews your application, may require a meter upgrade, and issues Permission to Operate (PTO) once all inspections are passed. Do not energize a grid-tied system before receiving PTO — feeding power into the grid without utility approval is illegal and dangerous for utility workers.
For complete system sizing guidance, see our solar system sizing guide. For mounting system selection, check our best racking systems.
Tips for a Smooth Inspection
Failed inspections are costly — each re-inspection may incur an additional fee and add days or weeks of delay. Prepare for your inspection by reviewing the NEC requirements applicable to your installation and verifying that every element meets code before calling the inspector. Common failure points include missing or incorrect labeling on disconnects, conduit, and junction boxes. Ensure every disconnect is clearly labeled with its function and voltage. Verify that your grounding system is complete — ground rods, grounding electrode conductors, equipment grounding, and bonding must all be in place and properly sized.
Check that all wire connections are made with listed connectors (no wire nuts on DC circuits, no electrical tape splices), all conduit is supported at proper intervals, and rapid shutdown equipment is installed and functional (for NEC 2017+ jurisdictions). Have your approved permit, all equipment datasheets, and your single-line diagram on-site during the inspection. Many inspectors appreciate a clean, well-organized installation that demonstrates attention to detail — it builds confidence that the work was done competently.
Timeline and Cost Expectations
The permitting process typically takes 1–4 weeks for plan review and approval, depending on your jurisdiction's backlog. Inspection scheduling adds another 3–10 days. Utility interconnection review (for grid-tied systems) can take 2–8 weeks after your final inspection passes. In total, budget 4–12 weeks from permit application to Permission to Operate. Permit fees range from $100–$500, with some jurisdictions also requiring a separate electrical permit fee. Interconnection application fees vary by utility but are typically $0–$100.
Frequently Asked Questions
Do I need a permit for DIY solar panels?
Grid-tied systems require permits in virtually all jurisdictions. Off-grid systems may be exempt in rural areas — check with your local building department. Permit applications typically require a site plan, electrical diagram, and equipment spec sheets. Cost: $100–$500.
Can a homeowner pull their own solar permit?
In most states, yes. Homeowners can pull permits for work on their own primary residence. Some jurisdictions require that electrical work be performed or supervised by a licensed electrician. Check your local building code for homeowner permit requirements.
What NEC code applies to residential solar?
NEC Article 690 governs solar PV systems (wiring, overcurrent protection, disconnects, grounding, rapid shutdown). NEC Article 706 governs energy storage systems (battery banks). Your local jurisdiction may enforce NEC 2017, 2020, or 2023 with local amendments — verify which edition is adopted in your area.
Common Permit Mistakes to Avoid
Submitting an incomplete application is the most common cause of delays. Double-check that you have included every required document before submitting — a missing equipment datasheet or an unsigned application form can add weeks of back-and-forth. Another common mistake is designing a system that does not comply with setback requirements — most jurisdictions require solar panels to maintain a minimum distance (typically 18–36 inches) from roof edges, ridges, and valleys for fire department access. Ignoring these setbacks means redesigning your layout after plan review.
Some homeowners assume that off-grid systems never require permits, but this is location-dependent. Even in rural unincorporated areas, some counties require electrical permits for any permanent wiring installation. Starting work without a required permit can result in stop-work orders, fines, and mandatory removal of non-permitted work. A five-minute phone call to your local building department before purchasing equipment can save thousands of dollars and weeks of frustration.
Affiliate Disclosure: SolarPanelKits.co is a participant in the Amazon Services LLC Associates Program and eBay Partner Network. We earn commissions from qualifying purchases at no extra cost to you. All recommendations are based on genuine research — we never fabricate reviews or ratings.