Whether you need a driven ground rod depends entirely on how the generator is wired into your electrical system. A portable unit that only powers cords plugged into its own panel generally needs no electrode at all, since the frame and bonded equipment grounding conductor satisfy NEC 250.34 and OSHA's guidance for job-site units. A generator hardwired to a structure through a transfer switch is a different animal: whether it needs a grounding electrode comes down to whether that switch moves the neutral, per NEC 250.30 and 250.35.
TL;DR:
- Portable generators that supply only their built-in receptacles do not require a grounding rod if their frame is bonded and they supply only cord-and-plug loads.
- Hardwired generators with a four-pole transfer switch that isolates the neutral must have a grounding electrode and a system bonding jumper, while three-pole switches typically rely on a supply-side bonding jumper.
- Grounding electrodes must be an 8-foot rod tested at 25 ohms or less; if resistance exceeds this, a second rod at least six feet away is necessary.
- Proper bonding, disconnect labeling, and documented testing are critical for inspection approval, especially when multiple sources like batteries or solar are involved.
- Fuel type (gas or diesel) does not affect grounding rules but influences installation size and complexity, with diesel systems often requiring larger, dedicated grounding systems.
Table of Contents
- Quick Checklist: Am I Required to Drive a Ground Rod?
- Portable Generators: The NEC 250.34 Exception and OSHA's Job-Site Rules
- Permanently Installed Standby Generators: Separately Derived or Not?
- Transfer Switches, Bonding Jumpers, and Shutdown Requirements
- Grounding Electrodes, Rod Spacing, and Conductor Sizing
- Field Verification and the Documentation Packet That Keeps Inspectors Happy
- Diesel Versus Gas Generator Sets: Does Fuel Type Change the Grounding Rules?
- Do GFCI and AFCI Devices Change How a Generator Should Be Grounded?
- Local Amendments: Why Your County Might Have Different Rules
- Grounding During Fault Conditions and Lightning: What Actually Protects the System
- Troubleshooting Generator Grounding: What to Check First
- Prime Microgrid's Perspective: Grounding Is a Reliability Decision, Not Just a Code Checkbox
- How Prime Microgrid Handles Code-Compliant Grounding for Whole-Property Systems
- Sources
- FAQ
Quick Checklist: Am I Required to Drive a Ground Rod?
Most homeowners and contractors can answer the electrode question in four steps, without opening the code book cover to cover.
- Step 1: Confirm the generator is portable and feeds only receptacles mounted on the unit itself. If yes, the NEC 250.34 exception usually applies, and no driven electrode is required.
- Step 2: If the generator is hardwired to a structure through a transfer switch, check the pole count. A 4-pole switch moves the neutral; a 3-pole switch does not.
- Step 3: Neutral switched means the generator is a separately derived system, and NEC 250.30 requires a grounding electrode connection. Neutral not switched means you need an effective ground-fault current path, typically a supply-side bonding jumper under NEC 250.35.
- Step 4: When the answer still isn't obvious, call your local Authority Having Jurisdiction before you pull a permit, not after. Local amendments to the NEC show up more often in generator grounding than in almost any other residential wiring topic.
This checklist covers the vast majority of residential and small-commercial cases. The exceptions tend to show up in hybrid systems, multi-source microgrids, and older homes with mixed grounding history, which is exactly where an engineered review earns its cost.
Portable Generators: The NEC 250.34 Exception and OSHA's Job-Site Rules
Most portable generators sold for home backup never need a ground rod. NEC 250.34 allows the generator frame to serve as the grounding reference point instead of an earth electrode, provided two conditions are met: the equipment grounding conductor terminals of the receptacles are bonded to the generator frame, and the generator supplies only equipment mounted on it or cord-and-plug loads through those receptacles.
OSHA reinforces this for construction sites, clarifying that a portable or vehicle-mounted generator supplying only its own mounted receptacles is not treated as part of a separately derived system, so neutral bonding at the frame is not required in that configuration. The moment you hardwire that same generator into a structure's wiring, though, the exception disappears. You are no longer looking at a stand-alone appliance. You are looking at a system that has to follow NEC 250.30 or 250.35 depending on transfer-switch design.
- Verify equipment bonding jumpers connect the receptacle grounding terminals to the frame.
- Check that the neutral and equipment ground are bonded only at the generator, never at both the generator and a downstream panel.
- Test continuity from each receptacle's grounding slot to the frame with a low-resistance ohmmeter before energizing any load.
- Log the reading. Zero or near-zero ohms confirms an intact bonding path.
Pro Tip: Keep a printed continuity log in your generator's owner packet. Inspectors and insurance adjusters both ask for it after storm season, and a five-minute test beats an afternoon of troubleshooting later.
Permanently Installed Standby Generators: Separately Derived or Not?
A separately derived system is any source of power that has no direct electrical connection, including a solidly connected grounded circuit conductor, to any other electrical source other than through grounding. In plain terms: if the transfer switch disconnects the neutral along with the hot conductors, the generator becomes its own isolated source the instant it takes over. That single design choice, made at the transfer switch, decides your entire grounding strategy.
- 4-pole transfer switch (neutral switched): The generator is separately derived. NEC 250.30(A) applies. You need a system bonding jumper at the generator source and a connection to a grounding electrode system, per the code references utilities and technical guides consistently cite.
- 3-pole transfer switch (neutral not switched): The generator is non-separately derived. The neutral stays solidly connected back to the service, so NEC 250.35 requires you to maintain an effective ground-fault current path, usually a supply-side bonding jumper sized to the feeder.
- Manual transfer switches in older installations often use 3-pole designs, which simplifies grounding but limits automatic operation.
- Automatic transfer switches on new standby installs increasingly use 4-pole configurations, especially where the generator also needs to operate island-mode with battery storage.
Inspectors expect the transfer-switch type documented on the plans before they show up on site, not explained verbally during the walkthrough. That single piece of paperwork often determines whether your first inspection passes or gets red-tagged.
Transfer Switches, Bonding Jumpers, and Shutdown Requirements
The pole count on your transfer switch is the single decision that ripples through every other grounding choice on the job. Get it wrong on paper and every downstream calculation, from bonding jumper size to electrode placement, has to be redone.
- Confirm pole count first. A 3-pole switch keeps the neutral solid to the utility; a 4-pole switch isolates it, triggering separately derived rules.
- Size the supply-side bonding jumper using the sizing table tied to NEC 250.102(C), based on the largest ungrounded conductor feeding the system.
- Install a lockable disconnect and prime-mover shutdown per NEC 445.18. The disconnect must be readily accessible, and the shutdown must stop the engine, not just open a breaker.
- Document everything before submittal. List transfer-switch type, bonding-jumper calculation, and disconnect location on the single-line diagram.
The most common installer mistake is assuming the generator's internal circuit breaker satisfies 445.18 on its own. It usually doesn't, unless it also meets the lockable, in-sight, and accessible criteria the code spells out. Plenty of failed inspections trace back to that exact assumption.
Pro Tip: Draw the transfer-switch pole count directly on your single-line diagram in bold text. Inspectors scan for it first, and a missing label is one of the fastest ways to trigger a re-inspection visit.
Grounding Electrodes, Rod Spacing, and Conductor Sizing
When your system does need a grounding electrode, the code gives you several acceptable options under NEC 250.52: metal underground water pipe, the building's metal frame under certain conditions, concrete-encased electrodes, ground rings, or driven rod, pipe, and plate electrodes. For a standalone standby generator, a driven rod is usually the simplest and most common choice.
- A single 8-foot ground rod is acceptable on its own if its resistance to earth measures 25 ohms or less, per the exception in NEC 250.53(A)(2).
- If that single rod tests above 25 ohms, you need a supplemental electrode, and the two rods must sit at least 6 feet apart.
- Use listed clamps rated for direct burial, and keep the grounding electrode conductor continuous, without splices, unless an irreversible compression connection is used.
- Size the grounding electrode conductor from Table 250.66, based on the largest ungrounded conductor in the service or feeder, and protect smaller conductors in raceway where exposed to damage.
Earth alone never functions as a fault-return path. It's too high-resistance and too inconsistent between soil types. The electrode's real job is stabilizing voltage and providing a path for lightning and other transient events, while the equipment grounding conductor and bonding jumpers do the actual work of clearing a fault fast enough to trip a breaker.
Field Verification and the Documentation Packet That Keeps Inspectors Happy
A continuity test takes five minutes and prevents most callbacks. Measure ohmic resistance from the generator frame to the equipment grounding conductor, and from there to the neutral bond point where one exists. You're looking for a reading close to zero ohms across every bonded connection.
- Test and log continuity from frame to EGC to neutral bond before the final walkthrough.
- Confirm the disconnect is lockable and labeled, including neutral bond status per NEC 445.11.
- Check the grounding electrode conductor for splices, undersized gauge, or missing clamps.
- Assemble the AHJ packet: transfer-switch spec sheet, single-line diagram, bonding-jumper calculation, GEC routing, and the test log itself.
Industry guidance from IAEI points to undocumented transfer-switch behavior as one of the most frequent causes of failed generator inspections. Multi-source installs, meaning generator plus battery plus solar on one property, tend to fail more often simply because nobody wrote down which component switches the neutral. That's usually the point where a project needs an engineered site survey rather than a checklist.
Diesel Versus Gas Generator Sets: Does Fuel Type Change the Grounding Rules?
Fuel type does not change the fundamental grounding code. NEC 250.30, 250.34, and 250.35 apply the same way to a diesel standby set as they do to a natural gas or propane unit. What changes is the installation context that surrounds the generator, and that context can shift which rules actually come into play.
Diesel generator sets tend to run at higher output, often serving whole-property standby loads on farms, estates, and commercial buildings, which means they're more likely to use 4-pole transfer switches and separately derived grounding under 250.30. Larger diesel installations also more commonly sit on a dedicated concrete pad with their own grounding electrode system, sometimes tied into a ground ring rather than a single driven rod, simply because the fault currents and equipment footprint are larger.
Gas-fueled units, especially smaller home standby models in the 10 to 26 kW range, more often use 3-pole switches and stay non-separately derived, since they're frequently installed as a straightforward swap for utility power rather than as an isolated power island. That keeps the neutral solidly connected and avoids the need for a new electrode altogether.
Neither fuel type gets a pass on bonding jumper sizing, disconnect requirements, or documentation. If anything, diesel installations draw closer inspector scrutiny because the systems tend to be larger, permanently sited, and integrated with fuel storage and additional permitting requirements that gas units on smaller footprints don't always trigger.
Do GFCI and AFCI Devices Change How a Generator Should Be Grounded?
GFCI and AFCI protection do not alter the underlying grounding rules, but they do interact with how a generator's grounding scheme behaves under fault conditions, and that interaction trips up more installers than you'd expect.
A ground-fault circuit interrupter monitors current balance between the hot and neutral conductors. On a properly bonded portable generator following the NEC 250.34 exception, that balance reference works exactly as it would on a normal branch circuit, since the frame and bonding create a stable reference point. Problems show up when someone bonds the neutral at both the generator and a downstream panel, creating two paths for neutral current. That double bond confuses GFCI protection and can cause nuisance tripping or, worse, mask a real fault.
Arc-fault protection cares less about grounding topology and more about waveform detection, but it still depends on a clean, low-resistance ground reference to distinguish a normal arc from a dangerous one. A loose or corroded ground rod connection can produce electrical noise that AFCI devices misread.
Many portable generators built for job sites and home backup now ship with GFCI-protected receptacles built into the unit, satisfying OSHA's construction-site requirements without any extra wiring. When you're hardwiring a standby unit through a transfer switch into a home with AFCI-protected branch circuits, keep the generator's neutral bonding status consistent with the rest of the system. Mixed bonding schemes are one of the more common troubleshooting calls electricians get after a storm-related generator installation.

Local Amendments: Why Your County Might Have Different Rules
The National Electrical Code is a model code, not a federal law, and states and counties routinely amend it before adoption. Generator grounding is one of the sections most likely to see a local tweak, because jurisdictions with heavy storm exposure or aging housing stock often add stricter requirements than the base NEC text.
Some jurisdictions require a documented electrode resistance test on every permanent standby installation, regardless of the 25-ohm exception in 250.53(A)(2). Others add specific labeling requirements beyond NEC 445.11, or require a licensed electrician's signature on the single-line diagram before permit issuance. Local field-inspection guidelines frequently spell out exactly which clamps, conductor routing, and permit documents an inspector expects to see, often in more granular detail than the NEC itself provides.
The practical takeaway: never assume the base NEC text is the whole story. Pull your county or city's amended electrical code, or call the building department directly, before finalizing a design. A design that passes code review in one county can get flagged in the next one over, purely because of a local amendment nobody checked for ahead of time. This is also where working with a firm that handles permitting across multiple jurisdictions saves real time.
Grounding During Fault Conditions and Lightning: What Actually Protects the System
A grounding system has one real job during a fault: give electricity a low-resistance path back to its source fast enough to trip a breaker before someone gets hurt or equipment burns up. Bonding handles most of that work day to day. The grounding electrode's bigger contribution shows up during lightning strikes and other transient events, where it gives that surge a route to earth instead of through your wiring or your generator's control electronics.
Standby generators sited outdoors on farms, rural properties, and estates carry real lightning exposure, especially units mounted away from the main structure. A driven electrode sized and placed correctly, tied properly into the grounding electrode system rather than left as an isolated rod, reduces the chance that a strike near the unit turns into a control-board failure or a fire.
Fault-condition safety comes down to a short list that rarely changes: keep bonding jumpers intact and correctly sized, never double-bond the neutral at two points in the same system, and make sure every electrode connection uses listed hardware rated for the environment it sits in. Corrosion at a rod clamp is one of the quieter failure points, since it can pass a visual check while still adding enough resistance to slow fault clearing.
Surge protection devices at the generator and at the main panel add a second layer of defense against lightning-induced transients, but they work in addition to correct grounding, not instead of it. No surge protector compensates for a poorly bonded system.
Troubleshooting Generator Grounding: What to Check First
Most generator grounding problems trace back to one of a handful of causes, and working through them in order saves hours of guesswork.

Start with continuity. A ground fault indicator, nuisance breaker trips, or a GFCI that won't reset often points to a broken bond between the frame and the equipment grounding conductor. An ohmmeter reading across that path should sit near zero; anything noticeably higher means a loose lug, a corroded clamp, or a damaged conductor somewhere in the run.
Check for double neutral bonding next, especially on systems that have been modified since original installation. If someone added a subpanel or a transfer switch without accounting for the existing bond, the system may have two neutral-to-ground connections instead of one. That mistake causes circulating currents that show up as intermittent GFCI trips or warm neutral conductors, neither of which is obvious without deliberately testing for it.
For permanently installed units, test the grounding electrode itself, particularly after dry seasons or in sandy, rocky soil where resistance climbs. A rod that tested fine at installation can drift above the 25-ohm threshold years later as soil conditions change, which is worth rechecking every few years on properties with known high-resistance ground.
Prime Microgrid's Perspective: Grounding Is a Reliability Decision, Not Just a Code Checkbox
Checklists solve most single-generator installs, but they stop being enough the moment a property adds battery storage, solar, and a generator into one coordinated system. Prime Microgrid designs and commissions those integrated systems, treating grounding and bonding as part of the reliability engineering rather than a final-inspection formality. A misclassified transfer switch or an undersized bonding jumper doesn't just risk a failed inspection. It risks the fault-clearing performance of the entire property during the exact outage the system was built to handle.
Correct grounding is what makes a backup system trustworthy when it matters most, and that's worth engineering properly rather than guessing at.
— Prime Microgrid
How Prime Microgrid Handles Code-Compliant Grounding for Whole-Property Systems
Prime Microgrid designs every generator, battery, and hybrid installation around your property's actual electrical demand, not a generic package pulled off a shelf. Our engineers build the single-line diagrams, calculate bonding-jumper sizing, and document transfer-switch behavior before anything gets submitted to your AHJ, which is exactly the paperwork that separates a smooth inspection from a failed one.
If you're planning a permanently installed standby generator, adding battery storage to an existing generator, or building a full estate microgrid, a site survey is the right starting point, especially once neutral switching, multiple sources, or local amendments enter the picture. Our Hybrid Generator Systems and other engineered options integrate grounding and bonding design into the full commissioning process, from initial site assessment through final AHJ sign-off. Reach out through Prime Microgrid's system design and installation services to schedule a review of your property and get an engineered grounding plan built around the system you're actually installing.
Sources
- Grounding portable generators — OSHA FactSheet
- Grounding & bonding temporary generators and electrical distribution systems — IAEI Magazine
- Generator field inspection guideline (Clark County NV)
FAQ
What Are the NEC Guidelines for Grounding a Generator?
The core guidelines split by installation type: portable generators feeding only their own receptacles can rely on the bonded frame under NEC 250.34, while permanently installed units follow NEC 250.30 or 250.35 depending on whether the transfer switch isolates the neutral. Article 445 and NEC 702 add specific requirements for disconnects and standby system operation.
Does OSHA Require Generators to Be Grounded?
OSHA requires portable and vehicle-mounted generators used on job sites to meet approved bonding standards, but it does not require a separate driven electrode when the generator only supplies its own mounted receptacles. Once a generator is wired into a structure's electrical system, standard NEC grounding rules take over instead of the job-site exception.
Does a Generator Need to Be Grounded?
It depends on how the generator supplies power. A portable unit feeding only its built-in receptacles generally needs no ground rod if the frame and equipment grounding conductor are properly bonded, while a hardwired standby generator needs grounding per NEC 250.30 or 250.35 based on its transfer switch design.
What Are the Earthing Requirements for a Generator?
Earthing, or grounding, requirements center on the grounding electrode system: a single 8-foot rod is acceptable if it tests at 25 ohms or less, and a second rod spaced at least 6 feet away is required if it does not, per NEC 250.53(A)(2). The grounding electrode conductor must be sized from Table 250.66 and run continuous to a listed clamp at the electrode.
How much a company charges for a grounding review depends on the scope of the property and system involved.
Pricing depends on the scope of the property and system involved, so current pricing details are available directly on the Prime Microgrid systems page after a site assessment. A grounding and bonding review is typically part of the broader engineering process for standby generator and microgrid installations rather than a standalone line item.

