The short answer for most people
If you are running extension cords from the generator to appliances, and nothing is wired into your house, you almost certainly do not need to drive a ground rod.
OSHA 1926.404(f)(3)(i) and NEC 250.34 both provide that where a portable generator supplies only equipment mounted on the generator and cord-and-plug-connected equipment through receptacles on the generator — and the non-current-carrying metal parts and the equipment grounding terminals of those receptacles are bonded to the generator frame — the frame is not required to be grounded and is permitted to serve as the grounding electrode.
In plain terms: the manufacturer has already bonded the frame to the outlet grounds, and for cord-and-plug use that frame is the ground. Modern portable generators are built this way as standard.
Why a ground rod can make things worse
This is the part that surprises people, and it is why "just drive a rod to be safe" is not good advice.
Grounding is not about giving electricity somewhere to go. It is about establishing a reference and a low-impedance fault path so that a fault trips a breaker fast. On a self-contained portable generator that path already exists through the frame bonding and the cord's grounding conductor.
Adding an unnecessary electrode does not improve that path — the earth is a poor conductor compared with a copper wire — and it can create parallel paths and confusion about where fault current will actually flow. Which is why the codes permit the frame rather than requiring a rod.
None of that means grounding does not matter. It means the grounding you need is already built in, and your job is to not break it.
Bonded neutral versus floating neutral
Here is the distinction that actually determines what your machine needs, and it is worth finding out which one you own.
| Bonded neutral | Floating neutral |
|---|
| Neutral connected to frame | Yes, inside the generator | No |
|---|
| Typical of | Most consumer portable generators | Many inverter units and RV-oriented machines |
|---|
| Cord-and-plug use | Works as designed | Works as designed |
|---|
| Feeding a house | Depends on whether your transfer switch also switches the neutral | Depends on the same thing, in the opposite direction |
|---|
| Who decides | Your electrician, against your specific switch and local code |
|---|
This is the shape of the problem, not an instruction. Whether a neutral-to-ground bond should exist at the generator, at the panel, or in one place only depends on the switch type and the jurisdiction — and getting it wrong can either defeat GFCI protection or create objectionable current on the grounding conductor. It is genuinely electrician work.
Your generator's manual states which type it is. That single fact is the first thing an electrician will ask for.
What to do in each situation
Cord-and-plug only, at home or camping
- No ground rod required, under the provisions above.
- Use cords with an intact grounding conductor and undamaged pins. This is the actual safety-critical item.
- Never remove or bend back a ground pin to make something fit. Use the right adapter.
- Test the GFCI outlets on the generator before each use. Most machines have a test button; it takes five seconds.
- Keep connections out of standing water. Elevate joints on a brick if the ground is wet.
Feeding your house through a transfer switch or interlock
- This is a licensed-electrician installation, and the grounding and bonding are decided as part of it.
- Tell them which neutral type your generator has.
- A permit and inspection are usually required, and the inspection is where grounding gets verified.
- Do not improvise a bond yourself. A neutral-ground bonding plug is a real product with a real purpose and it is not a general-purpose fix.
The connection guide walks the whole chain.
On a job site
OSHA construction rules apply and may add requirements beyond the residential case, including assured equipment grounding conductor programs. If you are working under OSHA construction standards, take the answer from the regulation and your site safety plan rather than from a consumer guide.
The risk this actually protects against
Worth being concrete. The failure grounding and bonding prevent is a fault inside a tool or appliance energizing its metal casing while you are holding it, standing on wet ground.
With an intact grounding path, that fault becomes a large current that trips a breaker or a GFCI in milliseconds. With a broken one — a cut ground pin, a damaged cord, a two-prong adapter — the current path can be you.
Which reframes the whole topic: the thing to be careful about is cords and adapters, not electrodes. That is where ground paths actually get lost in practice.
What none of this changes
Grounding is an electrical safety topic and it has no bearing on the hazard that actually kills generator owners. Carbon monoxide does that, and it does not care how well bonded the frame is.
Twenty feet from windows, doors and attached garages, exhaust pointed away, and a working CO alarm on every level. The full safety guidance is the page that matters most on this site.
And if this whole subject is the reason you are hesitating, a battery has none of it — no frame bonding, no neutral question, no electrode, and no exhaust.