Under the National Electrical Code (NEC), most AC systems operating between 50 and 1,000 volts with a way to be grounded so the voltage to ground stays at 150 volts or less are required to be grounded. DC two-wire systems operating between 60 and 300 volts must also be grounded. Beyond those broad rules, separately derived systems like transformers and certain generators carry their own grounding obligations. The specifics depend on system type, voltage, and how the system connects to other power sources.
AC Systems That Must Be Grounded
The NEC’s primary grounding rule targets AC systems in the 50 to 1,000 volt range. If the system can be grounded so that the maximum voltage to ground does not exceed 150 volts, grounding is mandatory. In practice, this covers the most common electrical configurations in residential and commercial buildings, including standard 120/240-volt single-phase systems and 120/208-volt three-phase systems. These are the systems powering outlets, lighting, and most building loads.
Three-phase, four-wire wye-connected systems where the neutral is used as a circuit conductor also fall under mandatory grounding rules. The neutral conductor in these systems must be grounded to provide a reliable reference point for voltage and a safe path for fault current.
AC Systems Permitted to Be Ungrounded
Certain specialized AC systems between 50 and 1,000 volts are exempt from the grounding requirement. These include systems supplying industrial electric furnaces, rectifier circuits feeding adjustable-speed drives, and specific control circuits operating under defined conditions. These environments typically have trained personnel and equipment designed to tolerate or detect ground faults without an immediate safety hazard.
There’s an important catch: any ungrounded system operating at 120 volts or more must have ground detectors installed near the supply source. Ground detectors monitor the system for accidental contact between a conductor and ground, alerting maintenance staff before a second fault creates a dangerous short circuit. Without grounding, a single fault on an ungrounded system won’t trip a breaker, which is why continuous monitoring is required.
DC Systems That Must Be Grounded
For direct-current systems, the grounding rules hinge on voltage and wire count. Two-wire DC systems operating between 60 and 300 volts must be grounded. Three-wire DC systems require grounding of the neutral conductor regardless of voltage within that range.
There are a few exceptions to the two-wire rule. Systems equipped with ground detectors in industrial facilities can operate ungrounded. DC systems derived from rectifiers fed by a properly grounded AC source are also exempt, since the AC side already provides a ground reference. Additionally, low-current fire alarm circuits have their own exception.
Separately Derived Systems
A separately derived system is any power source with no direct electrical connection to the supply conductors of another system. The most common example is a transformer: its secondary winding produces power independently from the primary side, with energy transferred magnetically rather than through a direct wire connection. Generators can also qualify, depending on how the transfer switch handles the neutral conductor.
A generator is considered separately derived when transfer equipment switches the neutral conductor, breaking the direct connection to the utility-supplied neutral. If the generator’s neutral stays connected to the utility neutral through the transfer switch, it is not a separately derived system and doesn’t need its own grounding electrode connection.
When a system qualifies as separately derived, the NEC requires a system bonding jumper, an unspliced conductor connecting the neutral to the equipment grounding path and the metal enclosure. This jumper must be installed at only one location, either at the transformer or generator itself, or at the first disconnecting means. Installing it at both locations creates a parallel path for neutral current through metal enclosures, raceways, and even building steel, which is both a code violation and a genuine shock and fire hazard.
Portable and Vehicle-Mounted Generators
Portable generators follow a simplified set of rules. The generator’s metal frame can serve as the grounding point, eliminating the need for a separate grounding electrode like a ground rod, as long as specific conditions are met. The generator must only supply equipment that is either mounted directly on the generator or connected through cord-and-plug receptacles built into the unit. All receptacle grounding terminals, non-current-carrying metal parts of connected equipment, and the generator frame must be bonded together.
This is why portable generators used on job sites or during power outages don’t typically need a ground rod driven into the earth. The frame itself acts as the ground reference for everything plugged into it. If the generator feeds a building’s wiring through a transfer switch, however, the standard grounding rules for the building’s electrical system apply.
Solar Photovoltaic Systems
Solar PV arrays operate on DC power and have their own grounding provisions under the NEC. PV systems can use various configurations, including two-wire circuits and solidly grounded circuits. The critical safety requirement is ground-fault protection: any PV DC circuit exceeding 30 volts or 8 amperes must have a Ground-Fault Detector-Interrupter (GFDI) to reduce fire risk. This device detects current leaking to ground and disconnects the faulted circuit.
GFDI equipment must provide a visible fault indication at an accessible location so system owners or maintenance personnel can identify problems. Some solidly grounded PV circuits are exempt from the GFDI requirement, but the vast majority of residential and commercial solar installations exceed the 30-volt and 8-ampere thresholds and need this protection.
Grounding Electrode Requirements
Once you’ve established that a system must be grounded, the NEC specifies what it connects to. There are eight recognized types of grounding electrodes:
- Metal underground water pipe, at least 10 feet in contact with earth
- Concrete-encased electrode, sometimes called a “Ufer ground,” using rebar or bare copper encased in a building’s foundation
- Metal in-ground support structure, such as steel building columns with direct earth contact
- Ground ring, a bare copper conductor encircling the building underground
- Rod and pipe electrodes, the classic 8-foot ground rod driven into the earth
- Plate electrodes, flat metal plates buried at a minimum depth
- Other listed electrodes, commercially manufactured products tested and approved for grounding
- Other local underground metal systems, such as well casings or underground tanks
A key rule that often catches people off guard: any of these electrodes that already exist at a building must be bonded together into a single grounding electrode system. You can’t pick one and ignore the others. If your building has a metal water pipe entering the foundation and rebar in the concrete slab, both must be connected. This creates multiple paths to earth and lowers the overall resistance of the grounding system, which helps fault current flow efficiently and trip protective devices quickly.

