How to Wire a Generator to Your House
The safe way to wire a generator to your house is through a transfer switch or a panel interlock kit paired with an inlet box, installed by a licensed electrician. These isolate your home from the utility grid so power flows one way. Never connect a generator by backfeeding a wall outlet, which is illegal and can kill a lineman or start a fire.
Anyone learning how to wire generator to house connections needs to understand one rule above all: the generator must be isolated from the utility grid before it feeds your home. Doing that safely means a transfer switch, or an interlock kit with an inlet box, not a cord jammed into a wall outlet. This is code driven and, honestly, life safety work, so most of it belongs with a licensed electrician. Here are the proper methods, what each involves, and the one approach you must never use.
The Safe Ways to Connect
| Method | What it is |
|---|---|
| Manual transfer switch | A switch that moves circuits to generator power |
| Automatic transfer switch | Same, but it switches itself for a standby unit |
| Interlock kit plus inlet box | A panel device that blocks unsafe simultaneous feeds |
All three do the same essential job: they make sure your house is never fed by the generator and the grid at the same time, which is the whole point of doing this safely.
Transfer Switch vs Interlock Kit
A transfer switch is a dedicated box, often wired to a chosen set of circuits, that you flip to move those loads onto the generator. It is clean, clearly labeled, and the most common choice for a portable hookup.
An interlock kit is a plate that fits your existing panel and mechanically prevents the main breaker and the generator breaker from being on together. It is often cheaper and lets you power more circuits, but it must be a kit listed for your specific panel.
A Portable Generator Hookup
For a portable generator, an electrician mounts an inlet box on the outside wall, runs a proper gauge cable inside to the transfer switch or interlocked breaker, and you connect the running generator to the inlet with a rated cord. You then move only the circuits the generator can handle.
Size the setup to the generator, not your whole panel. A portable unit runs a fridge, some lights, and a few essentials, so plan which circuits matter most before an outage, not during one.
Standby Wiring Is Automatic
A whole house standby generator is wired differently, through an automatic transfer switch. When the power drops, the switch senses it, starts the generator, and moves the house onto backup power on its own, then switches back when the grid returns. That wiring, plus the gas hookup, is a professional install from the start.
Never Backfeed the Panel
Do not wire a generator into your house by plugging a double male cord into an outlet to backfeed the panel. It bypasses every safety device, can send lethal voltage back onto the utility lines and electrocute a lineman, exposes anyone touching an outlet, and is illegal. A transfer switch or interlock exists precisely to prevent this.
If any of this feels beyond your comfort, that is the correct instinct. The wiring between a generator and a home panel is exactly the work a licensed electrician should do.
Frequently Asked Questions
How do I safely wire a generator to my house?
Use a transfer switch or a panel interlock kit with an inlet box, installed by a licensed electrician. These isolate your home from the grid so the generator and utility can never feed the panel at once.
What is the difference between a transfer switch and an interlock kit?
A transfer switch is a separate box that moves chosen circuits to generator power. An interlock kit is a plate on your existing panel that blocks the main and generator breakers from being on together. Both are safe when installed correctly.
Can I plug a generator into a wall outlet to power my house?
No. Backfeeding through an outlet with a double male cord is illegal and dangerous. It can electrocute utility workers and anyone near an outlet and bypasses all protection. Use a transfer switch or interlock instead.
Do I need an electrician to wire a generator to my house?
For a permanent hookup, yes. A transfer switch, interlock, or standby install involves your electrical panel and must meet code, which is licensed electrician work in almost every case.
How is a standby generator wired differently?
A standby unit uses an automatic transfer switch that senses an outage, starts the generator, and moves the house onto backup power by itself, then reverses when the grid returns. It is a professional install.






