Solar Panel Grounding Explained: Safety, Code and Lightning Protection

Grounding keeps a solar array safe. Learn how equipment grounding, NEC Article 690 rules and surge protection work together to protect your home.

By Galactic News Editorial · Published 2026-11-26T19:43:29+00:00 · Updated 2026-11-26T19:43:29+00:00

Solar panel grounding explained: rooftop solar array with grounding and lightning protection

Solar Panel Grounding Explained: Safety, Code and Lightning Protection

Grounding gives stray electricity a safe path into the earth. Without it, a fault in a solar array can leave panel frames and rails live. That is a shock risk for anyone who touches the system. It is also a fire risk. This guide explains what solar panel grounding is, what the National Electrical Code requires, and how lightning and surge protection fit in.

What Solar Panel Grounding Actually Does

Every solar panel has a metal frame. The mounting rails, combiner boxes, inverter case and conduit are metal too. None of these parts should carry current in normal use. Grounding connects them all to the earth through a low-resistance path. If a wire rubs through its insulation and touches a frame, the fault current rushes down that path. The rush is large enough to trip a breaker or blow a fuse. Power is cut before anyone is hurt.

Grounding also handles static build-up. Panels sit in sun and wind for decades. Charge can build on exposed metal. A grounded frame drains that charge away. The same path gives surge protection devices somewhere to send a voltage spike. Without a good ground, a surge device cannot do its job.

There are two different jobs here. Equipment grounding connects exposed metal parts to earth. System grounding connects one current-carrying conductor to earth on purpose. Most modern residential systems use ungrounded or functionally grounded DC circuits. The inverter handles the details. What matters for a homeowner is that every metal part is bonded to one grounding system.

Solar Panel Grounding Explained: The Three Parts of the System

A complete grounding system has three parts. First, bonding joins all the metal together. Listed bonding hardware, such as grounding lugs or washer-style bonding clips, connects each panel frame to the mounting rail. The rails are joined to each other. The inverter case and metal boxes join the same network. The result is one continuous metal path.

Second, the equipment grounding conductor carries that path down to the house. It runs with the circuit conductors from the array to the inverter and on to the main panel. Its size follows the overcurrent device rating under NEC Table 250.122. Your installer sizes it. Never downsize it to save copper.

Third, the grounding electrode system makes the connection to the earth itself. Most homes already have one. It is usually a ground rod, a concrete-encased electrode, or a metal water pipe in contact with the earth. The solar system normally connects to this existing electrode. A separate electrode for the array is only needed in specific cases, such as a ground-mounted array far from the building.

What the NEC Requires

In the United States, grounding and bonding for solar systems is governed by NEC Article 690. The key sections are 690.41 through 690.47, read alongside Article 250. These rules cover equipment grounding, system grounding, conductor sizing and the grounding electrode system.

NEC 690.43 requires all exposed non-current-carrying metal parts to be grounded. That covers module frames, mounting systems, disconnects, conduit and enclosures. Mounting devices used to bond frames must be listed and identified for bonding. A rack can only serve as the grounding path if it is listed for that job, or if bonding jumpers join its separate sections.

Ground fault protection is also required. PV circuits at 30 volts or 8 amps or more need a ground-fault protection device. In modern systems this is usually built into the inverter. It watches for current leaking onto the grounding conductor and disconnects the array when it finds a fault.

Since the 2017 edition, NEC 690.12 requires rapid shutdown on rooftop systems. Conductors on and in the roof must drop to safe voltage levels within 30 seconds of shutdown. This protects firefighters and first responders. It is a separate requirement from grounding, but the two work together. Ask your installer to confirm both are in place.

Local rules can add to the NEC. Some jurisdictions require extra electrodes or specific conductor sizes. Your permit and inspection cover this. Never skip the inspection to save time.

Lightning Protection and Surge Protective Devices

Grounding alone does not stop lightning damage. A direct strike carries enormous energy. No residential ground system absorbs it harmlessly. What grounding and surge protection do is limit the damage from nearby strikes and induced surges. A strike a kilometre away can still push a voltage spike into solar wiring.

A surge protective device, or SPD, is a fast switch. In normal use it sits idle. When voltage spikes above a safe level, it conducts the excess to ground in microseconds. Then it returns to idle. SPDs are rated under UL 1449 as Type 1, Type 2 or Type 3.

SPD typeWhere it goesWhat it handles
Type 1Service entrance, between the array and the main disconnectDirect lightning and large surges
Type 2DC input of the inverter, combiner boxes, branch panelIndirect lightning and induced surges
Type 3Point of use, near sensitive equipmentSmall residual surges

For a rooftop home system, the usual setup is a DC-rated SPD at the inverter DC input and an AC SPD at the main distribution board. If the DC cable run from the array is long, add an SPD at the array end too. Every SPD needs a short, direct connection to the grounding system. A long, winding ground wire weakens protection.

SPDs wear out. Many have a status window that changes colour when the device has taken a hit and needs replacement. Check it each season and after any nearby lightning. A dead SPD looks fine from the outside. The window is the only tell.

Common Grounding Mistakes to Avoid

The most common mistake is a separate, unbonded ground rod for the array. A second rod that is not bonded to the main grounding electrode creates two earth references. During a fault or a strike, voltage can differ between them. That difference can drive current through the house wiring. All electrodes must be bonded together into one system.

Another mistake is relying on the mounting rail as the only ground path when it is not listed for bonding. Rails come in sections. Paint, anodising and bolted joints can break the electrical path. Listed bonding jumpers or listed racking close those gaps.

Loose or corroded connections are a third problem. Grounding hardware lives outdoors for 25 years or more. Stainless steel hardware resists corrosion. Copper conductors last. Check connections during routine maintenance. A green crust on a lug is a warning sign.

Finally, some installers skip the DC SPD to cut cost. The inverter is the most expensive single part of the system. It is also the most surge-sensitive. An SPD costs far less than a replacement inverter.

Grounding Checklist for Homeowners

Use this list when you review a quote or inspect a finished install. A good installer will walk through each point without being asked.

When to Call a Licensed Electrician

Grounding work is electrical work. It involves live DC conductors that can carry hundreds of volts even when the inverter is off. Panels produce voltage whenever light hits them. Never work on array wiring yourself unless you are qualified. Hire a licensed electrician for any grounding repair, electrode work or SPD replacement. This is safety-critical work, not a weekend DIY job. If you see a loose ground wire, a burnt lug or a tripped ground fault alarm, call a professional and keep clear of the array.

Bottom Line

Grounding is the safety backbone of a solar system. It bonds every metal part into one path, ties that path to the earth, and gives fault current and surges somewhere safe to go. The NEC sets the rules in Article 690. SPDs add protection against nearby lightning. Check the bonding, the single grounding electrode system and the SPD status windows, and leave any repair to a licensed electrician.