Earthing and grounding for off-grid, van and boat systems
What earthing and bonding do, why an inverter needs one neutral–earth bond, how it works in a stand-alone system, a van, a boat and a shed fed from a house, earth rods, DC negative grounding, and what the UK, US and Australian rules say.
By Michael Johnson · Updated 17 November 2026 · How we check our guides
Earthing (grounding) is the most misunderstood part of off-grid, van and boat electrics. Get it wrong and an RCD won't trip, a metal case can become live, or a fault current has nowhere to go. This guide explains why earthing and the neutral–earth bond matter, how they work in a stand-alone system, a vehicle, a boat and a shed fed from a house, and what the wiring rules in the UK, USA and Australia say.
1. What earthing and bonding do
- Protective earth (PE) connects every exposed metal part (appliance cases, metal enclosures, a vehicle's chassis) together. If a live wire touches a metal case, current flows through the earth conductor instead of through you.
- Fault protection then disconnects the supply: a fuse or breaker for large faults, and a 30 mA RCD (GFCI in the US) for small leakage currents that can still kill.
- An RCD only works if leakage has a path back to the source. In a supply with no reference to earth, a single fault to a metal case may cause no current, so nothing trips, and the case stays live until a second fault.
- Bonding connects metal parts that could be at different potentials (water pipes, a vehicle chassis, a boat's underwater metals) so you can't touch two things with a dangerous voltage between them.
- An earth electrode (rod) connects the system to the ground. It helps with lightning and with stabilising the system, but on its own it rarely carries enough fault current to blow a fuse; that's why RCDs matter.
2. The neutral–earth bond
On the grid, the supplier connects neutral to earth at the transformer, so neutral is close to earth potential. An off-grid inverter or generator is a new, separate supply: someone has to make that connection, at one point only.
- No bond: the output "floats". RCDs won't trip on a single earth fault. Some small portable inverters and generators are designed this way for use with appliances plugged straight in; they rely on double insulation and keeping the leads short.
- One bond: correct for a stand-alone system. A fault from live to an earthed case flows back via the bond to neutral, so the RCD (and breaker) operate.
- Two bonds: wrong. If the house supply and an inverter both bond neutral and earth, normal current flows in the earth conductors, and RCDs trip unpredictably or not at all.
- Inverter-chargers handle this with an internal earth relay: they bond neutral to earth when inverting and open the bond when passing through shore power or the grid, which brings its own bond. Read your inverter's manual for its arrangement.
3. Stand-alone off-grid systems
- Bond neutral to earth at the inverter or at the main switchboard, once, as the inverter maker specifies.
- Install an earth electrode (rod) and connect it to the main earthing terminal. Typical installations use a copper-clad rod of at least 1.2 m (4 ft) driven fully into the ground, connected with a protected earthing conductor.
- Protect every AC final circuit with a 30 mA RCD or RCBO.
- Bond the solar array frames, mounting structure and any metal water or gas pipes to the main earthing terminal.
- Earth the DC system at one point if the inverter and controller makers require it (section 6).
- In buildings, this is an electrical installation: in Australia it must follow AS/NZS 4509.1 and AS/NZS 3000 and be done by a licensed electrician; in the UK, BS 7671 applies (see section 8).
4. Vans, caravans and motorhomes
- The vehicle's chassis is the earth reference: the inverter's earth and the hook-up earth connect to the chassis.
- When on hook-up, the site supply provides the neutral–earth reference; the inverter-charger's relay must open its own bond.
- When inverting, the inverter bonds neutral to its earth (and so the chassis) so the van's RCD can work.
- Fit an RCD on the inverter output if the inverter doesn't include one and you have fixed AC circuits.
- The 12 V negative is usually connected to the chassis at one point (and to the base vehicle's negative), with a cable sized for the largest current.
- Rules: UK caravans and motor caravans follow BS 7671 Section 721; US RVs follow NEC Article 551; Australian RVs follow AS/NZS 3001.2. See the inverter guide and campervan wiring guide.
5. Boats
- On shore power, the boat's AC earth connects to the shore earth. A galvanic isolator or isolation transformer in that path protects against galvanic corrosion between boats.
- When an inverter or generator runs, it supplies its own neutral–earth bond, switched by a relay so there's never more than one.
- The DC negative and AC earth are connected at one point (the engine block or DC grounding bus) under ABYC E-11 practice. Follow your boat's standard; see the boat wiring guide.
6. The DC side and solar arrays
- Battery systems: many off-grid designers earth the battery negative at one point to the main earth, which gives a reference and helps fault detection. Some inverters and transformerless MPPT controllers forbid it, so follow the makers' instructions.
- Solar arrays: bond the frames and mounting structure to earth for safety and lightning protection. Whether the PV conductors themselves are earthed depends on the controller or inverter.
- US: NEC 690.41 and 690.47 cover PV system grounding and electrode connections; most modern systems are "functionally grounded" or ungrounded with ground-fault detection.
- Lightning: surge protection devices (SPDs) on long PV cable runs and at the battery/inverter help, as does running DC cables together.
7. Generators and changeover
- Portable generators may have a bonded or floating neutral. A generator feeding a house through a transfer switch must suit the switch type: if the switch moves neutral as well as live (switched neutral), the generator usually needs its own bond; if neutral isn't switched, the generator should be floating.
- A generator used on its own with leads to appliances is often safest left as the maker supplied it, with an RCD on its outlets.
- See the generator guide and the home backup power guide.
8. Rules by country
| Situation | UK | USA | Australia |
|---|---|---|---|
| Buildings and stand-alone systems | BS 7671: Section 551 (generating sets), Chapter 82 (prosumer installations), Section 712 (PV); usually a TN-S or TT system with an earth electrode and RCDs | NEC Article 250 (grounding and bonding), 690 (PV), 706 (storage), 710 (stand-alone systems) | AS/NZS 3000 (MEN system) and AS/NZS 4509.1 (stand-alone power systems); licensed electrician |
| Caravans and RVs | BS 7671 Section 721 | NEC Article 551, NFPA 1192 | AS/NZS 3001.2:2022 |
| Boats | ISO 13297 (AC), ISO 10133 (DC) | ABYC E-11 | AS/NZS 3004.2 |
| Generators | BS 7671 Section 551 | NEC 250.30/250.34/250.35, 702 | AS/NZS 3010 |
9. Testing
- Press every RCD's test button monthly; it should trip immediately.
- A plug-in socket tester shows whether earth is present and polarity is right, but it can't measure earth resistance or RCD trip time.
- An electrician uses an installation tester to measure earth electrode resistance, earth fault loop impedance and RCD trip times, and should do this when the system is installed and periodically afterwards.
- Test with the system in each mode: on the grid or hook-up, on the inverter, and on the generator.
10. Frequently asked questions
Does an off-grid solar system need an earth rod?
Usually yes, for a building: an earth electrode connected to the main earthing terminal, with neutral bonded to earth at one point and RCDs on the circuits. Follow the inverter maker's instructions and your local wiring rules.
Will an RCD work on an inverter?
Only if the inverter's neutral is bonded to earth (inside the inverter or at the switchboard) so leakage current can return to the source. On a floating output, an RCD may not trip on a single fault.
Should neutral and earth be bonded in a campervan?
When the inverter supplies the van, yes, at the inverter (most inverter-chargers do it automatically with a relay). When on hook-up, no: the site supply provides the bond, so the inverter's bond must open.
What is a floating neutral?
A supply where neither output conductor is connected to earth. Many small portable inverters and generators work this way, which is safer for single appliances but stops RCDs detecting earth faults.
11. Sources
- SMA, grounding of Sunny Island off-grid systems (technical information): sma.de
- Morningstar, grounding in off-grid solar systems: morningstarcorp.com
- GSES, earthing explained (Australia): gses.com.au
- IET, electrical installations in caravans and motor caravans: theiet.org
- Standards Australia, AS/NZS 4509.1 stand-alone power systems: standards.org.au
New to some of the terms? See the glossary. Not sure where to start? Try start here.