As an Amazon Associate, I earn from qualifying purchases. Some links in my guides go to Amazon, and buying through them costs you nothing extra. Read the disclaimer.
Often you don’t need to. The answer depends on how you use the generator, so check your owner’s manual first. Many manufacturers spell out the grounding requirements for their model.
What the code says for cord use
NEC 250.34(A) says a portable generator doesn’t need a grounding electrode, meaning a ground rod, when two things are true. It must only supply cord-and-plug equipment through its own outlets, and the outlets’ grounding terminals must be bonded to the generator frame. OSHA takes the same position for jobsite generators. Most modern portables are built that way.
What it says when the generator feeds the house
When the generator powers your panel through a transfer switch, grounding works through your home’s existing grounding system. The question is whether the generator’s neutral is bonded to its frame. If it is, and the transfer switch doesn’t switch the neutral, you get a second neutral-ground bond. That’s a code problem and can trip GFCI outlets. The usual fixes are a floating-neutral generator or a switched-neutral transfer switch, in which case the generator acts as a separately derived system with its own grounding electrode. An electrician will sort this out when installing the switch.

Bonded vs floating neutral in plain terms
Every electrical system needs exactly one point where neutral and ground are tied together. In your house that point is the main panel. A bonded-neutral generator has its own tie point, which is right when it stands alone feeding cords. When it feeds a house through a switch that leaves the neutral connected, the house now has two tie points. Current can then flow on ground wires, which is a code violation and a shock risk. Contractors often use a bonding plug to convert a floating-neutral generator for GFCI-protected jobsite use. That’s why “what does your generator have?” is the first question an electrician asks.
How to tell what your generator needs
- Read the manual’s grounding section. Manufacturers state whether the neutral is bonded to the frame and whether a ground rod is recommended.
- Look for a label near the outlets. Many generators carry a “bonded neutral” or “floating neutral” sticker.
- Decide how you’ll use it. Cords to appliances only? Or connected to the house through a transfer switch?
- Check local rules. Some jurisdictions and jobsites have their own requirements on top of the NEC.
If a rod is required
A standard rod is at least 8 feet long and driven fully into the ground (NEC 250.53). It connects to the generator’s grounding lug with copper wire. Don’t use a short stake or a random pipe. If you’re thinking of using a water pipe, read why a water pipe isn’t a reliable ground first.
- Use a listed copper-clad or galvanized rod, at least 8 feet long (NEC 250.53(A)(4)).
- Call 811 before digging or driving anything into the ground. It’s free in the US, and buried gas or power lines are a real risk.
- Drive the rod fully. If you hit rock, the code allows driving it at an angle up to 45 degrees, or burying it in a trench at least 30 inches deep.
- Connect it with a listed clamp and copper wire, commonly 6 or 8 gauge, to the generator’s grounding lug.
Ground connections that are never allowed
- Clamping to a gas pipe. Never use gas piping as a ground.
- Using a short stake from a camping kit as a “ground rod”.
- Removing a bonding strap without understanding the effect. Some GFCI outlets on generators won’t work properly without it.
Call an electrician any time the generator connects to house wiring. They will match the generator’s neutral setup to the right transfer switch and decide whether a separate grounding electrode is needed.
The practical rule: read the manual, then look at how the generator is connected. Cord-and-plug use usually needs no rod. A house connection depends on the transfer equipment and the generator’s neutral, which an electrician should confirm.
Camping and inverter grounding
Do I need to ground my generator when camping?
Generally no, when you’re only plugging appliances or an RV into it. Follow the manual.
Does an inverter generator need grounding?
The same rules apply. What matters is how it’s used and how its neutral is set up.
For the full picture on connecting safely, start with the hookups and safety hub. Also useful: what a transfer switch is and transfer switches for inverter generators.

