The first time a customer showed me their “generator setup,” it was an extension cord running through a cracked kitchen window and a suicide cord plugged into the dryer outlet. Nice guy. Terrible idea. That cord could backfeed the grid and kill a lineman a mile away, and it had already melted the plastic on his range receptacle.

What he was missing was a $60 metal box. That box is the difference between a hack that might burn your house down and a hookup an inspector will sign off on. So let’s talk about what it is and, more to the point, how it wires.

I spent twelve years pulling wire and installing backup power, and this is one of the simplest pieces of the whole system. Once you see it, you can’t unsee how obvious it is.

Key takeaways

  • A generator inlet box is a weatherproof receptacle mounted on your exterior wall that lets you plug in a portable generator with one heavy cord.
  • The inlet is only half the job, it must feed a transfer switch or interlock kit so your generator never backfeeds the utility line.
  • Most homes use a 30-amp (L14-30) or 50-amp (CS6375) inlet; match the amperage to your generator and your switch.
  • Expect $200 to $600 in parts and, if you hire out, another $300 to $800 in labor for a clean install.

What a generator inlet box actually is

A generator inlet box is a small enclosure, usually 5 or 6 inches square, that bolts to the outside of your house and holds a male “inlet” receptacle behind a spring-loaded weatherproof flap. Think of it as an outlet running backwards. Instead of you plugging a lamp into the wall, you plug the wall into your generator.

The prongs face outward so your generator cord snaps onto them. Inside the box, that inlet is wired to a cable that runs into your house and lands at a transfer switch or an interlock kit at the panel. That downstream device is what keeps everything safe, and I’ll get to why in a minute.

People mix up two things constantly, so let me clear it up early. The inlet box is where you plug in. The transfer switch is the brain that decides whether the grid or your generator feeds the house. You need both.

Inlet box vs. the transfer switch

If you want the full picture on the second half of that pair, our complete guide to transfer switches walks through how they work and where they mount. The inlet is just the doorway; the switch is the traffic cop.

Shadowed exterior wall with electrical boxes displaying sunlit textures and patterns.

Why you can’t skip the box (the backfeed problem)

Here’s the ugly part. When your utility power drops, the linemen fixing it treat those wires as dead. If your generator is feeding the house without a proper switch, it can push power backward through your panel, out to the transformer on the pole, and re-energize lines those crews are touching. That’s how people get killed.

A transfer switch or interlock physically prevents the generator and the grid from ever being connected at the same time. The inlet box gives that system a safe, permanent, weather-sealed place to accept power. No open windows, no melted dryer plugs.

Safety

Never feed a generator into a regular outlet with a double-male “suicide cord.” It backfeeds the grid, bypasses every safety, and it’s illegal in every jurisdiction I’ve ever pulled a permit in. The CPSC ties dozens of deaths a year to improper generator use.

How the generator inlet box wires: step by step

I’ll describe a common 30-amp job, since that covers a lot of homes running a 5,000 to 7,500-watt portable. The exact wire gauge and breaker depend on your amperage, so treat this as the shape of the work, not a substitute for the instructions in your kit.

The basic path of the wire

  • Mount the inlet box on an exterior wall, ideally 18 inches or more off the ground and near where the generator will sit.
  • Run cable from the inlet through the wall to the transfer switch or panel, for a 30-amp inlet that’s usually 10-gauge, 4-conductor (two hots, a neutral, a ground).
  • Land the two hot conductors on the inlet’s brass terminals, neutral on silver, ground on green.
  • At the other end, wire those conductors into the transfer switch or the interlock’s backfeed breaker.
  • Seal the box penetration with the supplied gasket and a bead of exterior caulk so water can’t track in.

On a job last winter in a 1970s ranch, the whole run was about 22 feet and took me under two hours because the panel sat on the same wall. When the panel is on the far side of the house, that same job can eat half a day chasing wire through a crawlspace.

Torque matters more than people think. A loose lug on a 30-amp inlet will heat up under load, and I’ve replaced discolored inlets that were never wrong wiring, just under-tightened terminals. Snug them to the spec printed inside the box.

Tip

Buy a pre-made generator cord that matches your inlet exactly, an L14-30 cord for an L14-30 inlet. Mismatched adapters are where I see the most melted connectors. A quality 25-foot cord runs $70 to $120 and lasts years.

Picking the right amperage and inlet type

The inlet has to match two things: your generator’s output receptacle and the switch it feeds. Get one wrong and the parts literally won’t plug together, or worse, they will but they’re undersized.

Inlet type Amps Typical generator size Common cord
L5-30 30A (120V) 3,000–4,000W L5-30 3-wire
L14-30 30A (120/240V) 5,000–7,500W L14-30 4-wire
CS6375 50A (120/240V) 8,000–12,500W CS6365 4-wire

For most whole-house-ish portable setups, the L14-30 is the sweet spot. It carries 240 volts, so it can run a well pump or a small AC, and the parts are everywhere. If you’re not sure what your loads add up to, our breakdown on sizing a generator for your home will keep you from buying too little, or overpaying for too much.

Your switch has to keep pace too. A 50-amp inlet feeding a 30-amp transfer switch is a waste of copper. The guide to transfer switch sizing by amps lines those numbers up so nothing is the weak link.

Do you need a permit and an electrician?

Most places want a permit for this, because you’re modifying the panel and adding an exterior penetration. I’ve done clean installs that failed inspection for one dumb reason, an inlet mounted too low, or a cable that wasn’t strapped within 12 inches of the box.

If you’re handy and comfortable inside a live panel, an interlock-plus-inlet setup is doable. If the words “live panel” made you tense up, that’s your answer, hire it out. Our notes on interlock kits versus transfer switches can help you decide which path fits your skills, and the rundown on whether you need a permit covers the paperwork side.

For the electrical rules themselves, the NFPA’s National Electrical Code is the reference your inspector is working from, and Ready.gov’s outage guidance is a solid plain-English overview if this is your first backup system.

Your next move

Start by writing down your generator’s biggest receptacle, L14-30, CS6375, whatever’s on it, and match the inlet box to that. Then decide whether it feeds a transfer switch or an interlock, and size that to your panel before you buy a single part.

Once it’s installed, don’t let it rot on the wall. Flip the flap open a couple times a season, check the gasket, and run the generator through the inlet during a calm afternoon so you’re not learning the system by flashlight at 2 a.m. Keeping the whole rig healthy is easier with a routine, our generator maintenance checklist is the one I hand customers when I leave.

Get those three things lined up, inlet, cord, switch, and you’ve replaced that cracked-window extension cord with something you can actually trust when the lights go out.