Yes, solar panels must be grounded, and it isn't optional. National Electrical Code (NEC) Article 690 mandates equipment grounding for every residential and commercial solar PV system in the United States. Skipping or botching it is one of the most common defects flagged during AHJ inspections. So what does "grounding" actually mean here? Let's sort it out. Grounding is one piece of the wider question, covered in is solar energy safe.
Planning a new install? Our residential solar systems complete guide covers the full process from sizing to commissioning.
I've inspected three residential systems where the WEEB grounding lugs had backed off after 5-7 years of thermal cycling. Nobody noticed, because the inverter still produced, until one panel started arc-faulting. Torque-check the lugs every 5 years and you catch this before it becomes a fire risk.
What Does NEC Article 690 Actually Require?
NEC Article 690 splits grounding into two ideas. Equipment grounding bonds all non-current-carrying metal, panel frames, rails, conduit, enclosures, to earth via an equipment grounding conductor (EGC). Required in every installation, no exceptions (NFPA 70, Article 690, 2026 Edition). System grounding connects a live current-carrying conductor to earth, and it is optional. Section 690.41(A) lists the permitted arrangements: a grounded array (one DC conductor bonded to earth at a single point), a functionally grounded array (the inverter's electronics reference one conductor to ground), or a fully ungrounded array. Section 690.41(B) applies to all of them and requires DC ground-fault protection, which UL 1741-listed inverters provide with built-in ground fault detection and interruption (GFDI).
| Inverter Type | System Grounding | NEC Section |
|---|---|---|
| Transformer-coupled (legacy) | Permitted, one DC conductor grounded | NEC 690.41(A) |
| Transformerless (most modern residential) | Ungrounded or functionally grounded, GFDI required | NEC 690.41(A), (B) |
| Microinverter (Enphase IQ series) | No DC string, ground-fault protection built in | NEC 690.41(A), (B) |
Most residential systems built after 2010 use transformerless inverters, ungrounded at the system level but still needing equipment grounding on every metal component. Those inverters expect to manage the ground reference themselves, so a DC-to-earth bond added in the field can blind or trip their ground-fault protection.
What Is Equipment Grounding and Why Does It Matter?
Equipment grounding stops a person touching a metal panel frame from becoming the path to earth when a wire inside the module fails. Per NREL's rooftop PV safety analysis, ground faults on unmonitored systems have caused residential structure fires, the worst involving undetected high-impedance faults in the DC circuit (NREL Technical Report NREL/TP-5200-57294, 2013).
Every non-current-carrying piece of metal must bond to the main grounding electrode: panel frames, junction boxes, racking rails, conduit, inverter and combiner enclosures. NEC Table 250.122 sets minimum wire gauge by the OCPD rating; a 15 amp device takes 14 AWG copper, 20 amps takes 12 AWG, and 25 to 60 amps takes 10 AWG. Modules are now listed to UL 61730, which superseded UL 1703, and the installation manual marks the frame's grounding points; the bonding method has to follow it. The SMA Sunny Boy inverter shows this well: its enclosure has a marked equipment grounding terminal, and SMA's manual requires the array EGC to connect there before commissioning.
Equipment grounding is required on every solar PV system, but adding your own system ground to a transformerless inverter conflicts with the manufacturer's instructions and can void the warranty.
For 3-phase solar systems, the same NEC 690.41 framework applies, but the minimum EGC gauge typically steps up to 10 AWG or 8 AWG copper on 3-phase commercial installs.
How Does Grounding Differ for Microinverters?
All panel frames bond to a continuous EGC running along the racking rail, typically bare 10 AWG copper clipped at intervals with listed clips (Wiley WEEBs or Ilsco GBL), terminating at the inverter's grounding lug. The DC negative conductor runs separately and isn't bonded to earth on a transformerless system; confusing the two is a common inspection failure. Microinverters (Enphase IQ series) convert DC to AC at each panel, so no high-voltage DC string runs across the roof, panel frames still need equipment grounding, but NEC 690.41(B) applies since the microinverter is itself the UL 1741-listed GFDI device.
When Is Grounding Mandatory, and What Are the Common Mistakes?
Equipment grounding is always mandatory, no provision in NEC Article 690 permits skipping it. A common field mistake is assuming "ungrounded" transformerless systems need no grounding work, wrong, they're only ungrounded at the DC level.
Drawing on AHJ inspection deficiency reports, three errors cause most permit failures: missing mid-rail bonding clips (I've seen installers skip these on manufactured-home installs to save time), adding a system ground to a transformerless inverter (it defeats the inverter's ground-fault detection, triggers nuisance GFDI trips, and usually voids the warranty), and undersized EGC, 14 AWG when the OCPD exceeds 15 amps violates NEC Table 250.122. Also common: omitting equipment grounding on the AC disconnect between inverter and utility meter.
Does Solar Panel Grounding Protect Against Lightning?
Equipment grounding (NEC Article 690 and 250) protects against power-frequency fault currents. Lightning protection (NFPA 780) addresses a direct strike, tens of thousands of amperes, far beyond what equipment grounding was built for. Still, proper bonding keeps the array from "floating" at a higher voltage during a nearby strike, which can arc through insulation and start fires. NREL recommends surge protection devices in high lightning-flash zones, installed at the combiner box and main AC panel (NREL Technical Report NREL/TP-5200-57294, 2013). If you're looking that requirement up, note that it moved: Article 285 no longer exists. The 2020 edition folded the old Articles 280 and 285 into a single Article 242, Overvoltage Protection, on the reasoning that both were doing the same job. Plenty of installer guides and even product datasheets still print the 285 number, and it's been dead through three code cycles.
Summary
Solar panel grounding is mandatory under NEC Article 690 for every US installation. Equipment grounding is required regardless of inverter type; system grounding is optional under 690.41(A), and most transformerless systems run ungrounded with the DC ground-fault protection that 690.41(B) requires. The leading causes of inspection failures are missing bonding clips, incorrect EGC termination, and adding a system ground to a transformerless inverter. Lightning protection is a separate NFPA 780 system that works alongside, but doesn't replace, NEC-required equipment grounding. After commissioning, whether your panels are working covers checking the system's output.
Correction, November 26, 2026: An earlier version of this guide said NEC 690.41(B) prohibits system grounding on transformerless inverters, that 690.41(A) requires it on transformer-based ones, and that 12 AWG covers every 20-30 amp circuit. None of that was right. Section 690.41(A) permits grounded, functionally grounded, and ungrounded arrays, 690.41(B) is the DC ground-fault protection requirement, and Table 250.122 steps from 12 AWG at 20 amps to 10 AWG at 30 amps. The guide also cited UL 1703, which UL 61730 has superseded.