Two kinds of ground

People mean two different things by "grounding", and mixing them up is how systems end up with a ground in the wrong place.

Equipment grounding (bonding) System grounding
What gets connected Metal you can touch: panel frames, racks, inverter and controller cases, battery cabinet One current-carrying wire: battery negative (DC) or AC neutral
Why So metal can't build up a voltage that shocks you, and to soften lightning (Morningstar, Victron) Lets surge and transient protection work (Morningstar)
How many connections Every piece of metal One. A second one makes a ground loop (Victron)

Step 1: bond every piece of metal

  • Panel frames. Each frame connects to the equipment ground, either with a listed lug at the frame's grounding hole or through racking listed to UL 2703, which bonds the panels as you clamp them. Lugs must be listed for the job (NEC 690.43(A)).
  • Racks, inverter, charge controller, battery cabinet, combiner and disconnect boxes. Each has a ground screw or bar; run the equipment ground to all of them.
  • Run the equipment ground with the circuit. Once it leaves the array, it travels with the panel wires back to the building, sized from NEC Table 250.122 by the fuse or breaker on that circuit.

EG4's 6000XP manual puts it plainly: all exposed metal must be grounded regardless of voltage, including solar panel frames.

Step 2: leave the PV wires alone

Do not ground the PV positive or negative. Both makers say it:

  • EG4: "Do not ground negative PV lines, only solar panel frames!"
  • Victron: "The positive and negative of the PV array should not be grounded." Its controller's PV minus is the same as the battery minus, so grounding the PV side adds a second ground connection.

If the 6000XP shows a "PV isolation low" fault, EG4's checklist is: broken PV cables, panels properly grounded, cables kept out of wet areas.

Step 3: one ground connection per side

DC side. Victron says to make a single ground connection, preferably close to the battery; Morningstar recommends the same spot, since the battery is the biggest DC source. With an all-in-one inverter, follow its manual: EG4 grounds the case and the panel frames, never the PV lines.

AC side. There must be exactly one neutral-ground bond in the whole system.

  • The 6000XP can make that bond itself: setting 26, enabled from the factory. It is always on or always off, not switched.
  • If your breaker panel also has its neutral bonded to ground, you now have two bonds. One must go. EG4 says the bond normally sits at the first disconnect for the grid; with no grid, an electrician decides whether it lives in the inverter or the panel.
  • Adding a generator on the 6000XP's GEN port? Its ground goes to the inverter's ground bus (PE), per EG4.

Step 4: the ground rod

The building that supports the panels needs a grounding electrode system (NEC 690.47(A)). On an off-grid cabin with no utility service, that is usually ground rods.

Rule Number Source
Rod length in the earth 8 ft minimum NEC 250.53
Rod thickness 5/8 in unless listed NEC 250.52(A)(5)
One rod is enough only if it measures 25 ohms or less NEC 250.53(A)
Otherwise, a second rod at least 6 ft away NEC 250.53(A)
Most rods the NEC requires 2, whatever the reading EC&M (Mike Holt)
Wire to a rod (its only connection) 6 AWG copper is enough NEC 250.66(A)
Morningstar's recommended target under 5 ohms Morningstar

A single rod generally won't test under 25 ohms (Mike Holt), so the simple path is two rods 6 feet apart: that meets the rule whatever the reading. Morningstar's 5 ohms is a recommendation for better surge protection, not code; measure with an earth resistance tester if you're chasing it.

Ground mounts and separate buildings

Under the 2020 NEC, a ground-mounted array doesn't need its own rod: its equipment ground runs back with the circuit wires to the building's grounding system. An extra rod at the array is allowed (690.47(B)), and a metal support post can serve as one if it meets the electrode rules. Local rules and code editions vary, so ask your inspector before you dig.

Vans and RVs

No rod. The chassis is the ground. Victron: one ground connection, close to the battery; the controller's case ground screw may go to the chassis. Leave the PV positive and negative ungrounded, same as a house.

Before you energize

  • Check continuity from each panel frame and rack to the ground bar: it should read near zero ohms.
  • Confirm there is one neutral-ground bond and one DC ground point, no more.
  • Inspect ground connections regularly for looseness and corrosion (Morningstar).
  • The NEC is adopted state by state, and some areas use older editions. Your inspector's reading wins; a licensed electrician can confirm the plan.

Questions people ask

Do off-grid solar panels need to be grounded?

The metal does. EG4's 6000XP manual says all exposed metal parts must be grounded regardless of voltage, including panel frames, and Victron says to ground the frames to reduce the impact of lightning. The panel wires themselves (PV positive and negative) are not grounded.

Should I ground the negative PV wire?

No. EG4: "Do not ground negative PV lines, only solar panel frames." Victron's MPPT manual: the PV positive and negative should not be grounded, because the controller's PV minus is tied to the battery minus. Grounding it makes a second ground path.

How deep does a ground rod need to be?

At least 8 feet in contact with the earth, 5/8 inch or thicker unless the rod is listed otherwise (NEC 250.53 and 250.52). A single rod also needs a second one at least 6 feet away unless it measures 25 ohms or less, which a single rod usually doesn't.

What size ground wire for solar panels?

Two different wires. The wire from a ground rod, when it's the only connection to that rod, doesn't need to be bigger than 6 AWG copper (NEC 250.66). The equipment ground that runs with the panel wires is sized from NEC Table 250.122 by the fuse or breaker on that circuit, and doesn't have to be upsized for voltage drop.

Does a ground-mounted array need its own ground rod?

Not under the 2020 NEC. The array's equipment ground runs back with the circuit wires to the building's grounding system. An extra rod at the array is allowed, and a metal support post can count as one if it meets the electrode rules (690.47(B)).

Do I need a ground rod in a van or RV?

No. A vehicle has no earth to reach; the chassis is the ground. Victron's manual says to make a single ground connection, preferably close to the battery, and its controller's case ground can go to the chassis.

Sources

  1. EG4 6000XP manual (all exposed metal grounded, "do not ground negative PV lines", single neutral-ground bond, setting 26) EG4 Electronics
  2. SmartSolar MPPT 100/30 and 100/50 manual, 4.4 Grounding (single ground near the battery; PV array not grounded; frames grounded for lightning) Victron Energy
  3. Grounding in off-grid solar systems (ground near the battery, bond all metal, under 5 ohms recommended) Morningstar
  4. On the grounding and bonding of solar photovoltaic systems (2020 NEC 690.41, 690.43, 690.47; UL 2703 racking) IAEI Magazine
  5. 690.47 Grounding electrode system (2020 NEC; auxiliary electrodes, ground-mount supports) Mike Holt Enterprises
  6. Code Q&A: ground rod electrodes (8 ft, 5/8 in, 25 ohms, 6 AWG copper) EC&M
  7. Installing a grounding electrode using ground rods (second rod 6 ft away; two rods is the most the NEC requires) EC&M

Every number on this page comes from these sources. Spotted something out of date? Tell me.

Size it for your place

A few taps and the guide works it out for your situation and your winter sun.

Start the off-grid home guide