Buying Guides
Generator Transfer Switch vs Interlock: How to Connect a Generator Safely
General information only, not professional advice. In an emergency, call 911 and follow local officials. How we use sources
In this guide
Do not plug a generator into a wall outlet. Connecting a generator to a house is work for a licensed electrician, with the permit and inspection your area requires, and some utilities want to hear about it before or after it is done. There are safe ways to power a home from a portable generator, and this page lays out the options and the risks of each.
It does not explain how to install anything, for a reason covered near the end. We compared agency guidance, utility pages and maker documentation, and we did not test any equipment.
Why “just plug it in” is dangerous
A generator has an outlet, your house has outlets, and a cord with a plug on each end looks like it would join them. The result is called backfeeding. The Consumer Product Safety Commission (CPSC) says what happens.
NEVER try to power the house wiring by plugging the generator into a wall outlet, a practice known as “backfeeding.” This is extremely dangerous and presents an electrocution risk to utility workers and neighbors served by the same utility transformer. It also bypasses some of the built-in household circuit protection devices.
Source: CPSC, Portable Generators safety alert (cpsc.gov), publication 5123, revised September 2017, accessed November 2026.
An older CDC page, now archived, explains the mechanism.
If the generator is plugged into a household circuit, the electrical current could reverse, go back through the circuit to the power grid, and then increase in voltage.
Source: CDC, Preventing Electrocutions by Undetected Feedback Electrical Energy (archive.cdc.gov), archived page last reviewed August 2004, accessed November 2026.
OSHA’s fact sheet, which dates from 2005, says what a safe connection requires.
Never attach a generator directly to the electrical system of a structure (home, office, trailer, etc.) unless a qualified electrician has properly installed the generator with a transfer switch. Attaching a generator directly to a building electrical system without a properly installed transfer switch can energize wiring systems for great distances. This creates a risk of electrocution for utility workers and others in the area.
Source: OSHA, Using Portable Generators Safely (osha.gov), fact sheet 3286, September 2005, accessed November 2026.
Utilities give the same warning. Eversource, a utility in the northeastern US, tells customers that a generator of any size belongs in the hands of a licensed electrician and should feed the house through a transfer switch. Liberty Utilities warns against connecting a generator to a home outlet or to the house wiring in any other way.
The double-ended cord
The cord that makes backfeeding easy has a plug on both ends. In March 2026 the CPSC warned people to stop using these male-to-male extension cords and said it had secured the removal of listings for them from major online marketplaces. Its release describes the hazards.
These cords have exposed prongs that can become energized when plugged into a power source, creating a serious risk of electrocution or fire.
Their short length also increases the likelihood that generators will be operated in enclosed spaces or too close to homes, creating a risk of carbon monoxide poisoning.
Source: CPSC, CPSC Warns Consumers to Stop Using Male-to-Male Extension Cords, Secures Delisting Commitments from e-Commerce Platforms (cpsc.gov), news release 26-363, March 31, 2026, accessed November 2026.
The release also says the cords are often used to supply generator power to a home’s electrical system, which is the backfeeding the 2017 alert describes.
The options at a glance
Four ways of using a generator at home come up in the agency, utility and maker pages we read. The table describes them without ranking them.
| Option | What it is | Who sets it up | Main limit |
|---|---|---|---|
| Cords straight to appliances | Heavy-duty outdoor cords run from the generator to the equipment you want powered | You, following the generator maker’s instructions | Only what plugs in and what a cord can reach |
| Interlock kit with an inlet box | A mechanical device on the panel that keeps the main breaker and the generator breaker from being on together, plus an outdoor inlet for the generator cord | A licensed electrician, under permit | Made for specific panels; acceptance depends on code edition, panel marking and the local inspector |
| Manual transfer switch with an inlet box | A switch that moves selected circuits between utility power and the generator, plus an outdoor inlet | A licensed electrician, under permit | Serves a limited set of circuits and is rated for a maximum generator size |
| Automatic transfer switch with a standby generator | A permanently installed generator paired with an automatic switch | A licensed electrician, under permit | Permanent equipment, with the same permit, inspection and utility questions |
Cords only is a real option
Running cords needs no work on the house, and it is the method the agencies describe for using a portable generator. Here is the CPSC’s wording.
Connect appliances to the generator using heavy-duty extension cords that are specifically designed for outdoor use. Make sure the wattage rating for each cord exceeds the total wattage of all appliances connected to it.
Source: CPSC, Portable Generators safety alert (cpsc.gov), publication 5123, revised September 2017, accessed November 2026.
OSHA adds that the cords should be grounded.
Always plug electrical appliances directly into the generator using the manufacturer’s supplied cords or extension cords that are grounded (3-pronged).
Source: OSHA, Using Portable Generators Safely (osha.gov), fact sheet 3286, September 2005, accessed November 2026.
Ready.gov says the same: “Always connect the generator to appliances with heavy-duty extension cords.” (Source: Ready.gov, Power Outages (ready.gov), last updated June 2026, accessed November 2026.)
The tradeoff is reach, since cords only serve things that plug in. Generac’s product page for one of its manual transfer switches points out that a switch can power hardwired appliances such as a gas furnace or well pump, which extension cords cannot, and that gap is the reason people connect a generator to the house. If you are wondering about sensitive electronics on those cords, see whether a generator can damage electronic devices.
Transfer switch vs interlock
Both devices keep the house cut off from the utility’s lines while the generator feeds it, but they get there in different ways.
A transfer switch does the isolating with a switch. Safe Electricity, an industry safety education program, describes it as cutting the connection between the utility’s lines and your main panel. A manual switch for a portable generator serves a set of circuits chosen in advance; Generac describes one model as covering 8 to 10 essential circuits. An inlet box on an outside wall is where the generator’s cord plugs in. According to a UL Solutions answer published in IAEI Magazine, transfer switches are evaluated to a safety standard called UL 1008.
An interlock kit works on the panel itself. DuroMax, a generator maker, describes it as a device that stops the main breaker from being switched on while the generator breaker is on. The same UL Solutions answer says panelboard interlock kits are treated as transfer equipment under section 702.5 of the National Electrical Code (published by NFPA) and are evaluated as part of the panelboard’s listing. That applies when the panel’s markings identify the kit for use with that panel.
One point we could not settle is the code itself. The UL answer dates from 2017, under an earlier edition of the code. A training provider’s summary says the 2023 edition reworded section 702.5 to cover both interconnection devices and transfer equipment. We did not read the current code text itself, and we found no source showing which states and cities have adopted which edition. So we cannot say whether an interlock is allowed where you live, and we found nothing showing one approach to be safer than the other. The decision rests with the electrician, who knows what fits your panel and generator, and with your local inspector, who decides what is accepted.
Sizing: what to confirm, not calculate
We are not offering a formula. The maker pages show that a switch is rated against a generator, not against a house. One retailer’s listing of a maker specification for a 10-circuit manual switch gives a maximum generator running output of 7,500 watts, and Honda’s quick guide pairs switches with generator output the same way. Generac says one of its switches works with generators starting at 5 kilowatts that have a 30-amp L14-30 receptacle.
Find these on your own generator and bring them to the electrician: the type and amp rating of its receptacle, its running watts (not only the starting figure), and whether its maker lists it as ready for a transfer switch. Some makers list a portable model as not ready, so check the spec page or the manual. Our portable generator guide notes this for the models it covers.
Reliance Controls, another switch maker, advises some planning before choosing, because a branch circuit can feed more than the appliance you care about, including wall sockets and permanent lighting. The electrician makes the final call on which circuits go on the switch.
Where the generator ends up sitting
The federal distance guidance is consistent across agencies.
Use portable generators OUTSIDE ONLY. Keep them at least 20 feet from doors, windows, and vents that could allow CO to come indoors.
Source: CPSC, Portable Generators safety alert (cpsc.gov), publication 5123, revised September 2017, accessed November 2026.
The CDC’s carbon monoxide page, dated October 2026, says “Only use generators outside, more than 20 feet away from any windows, doors, and vents.” (Source: CDC, Carbon Monoxide (CO) Poisoning Basics (cdc.gov), accessed November 2026.)
A maker’s manual can read differently. Generac’s owner’s manual for one of its manual transfer switches tells the installer to place the inlet box so the generator will sit at least 5 feet from windows, doors and other openings such as dryer vents. That is a quarter of the federal distance, so a reader who followed only the manual could park the generator closer than the CPSC and CDC advise. It helps to treat the cord as part of the plan: ask the electrician to place the inlet where the generator can sit at the federal distance, and choose the cord length for that distance. Our page on how far a generator should be from the house goes into the distance question.
A house connection does nothing about carbon monoxide. A separate CPSC sheet gives the toll and the alarm advice.
More than 80 consumers die each year from CO poisoning caused by portable generators.
DO install battery-operated CO alarms or CO alarms with battery backup outside sleeping areas, and on each floor of your home. Test alarms monthly.
Source: CPSC, What to Know About Generators and Carbon Monoxide (CO) (cpsc.gov), publication 468, March 2022, accessed November 2026.
For placement, see where to put carbon monoxide detectors, and for what to look for in a generator and alarms, the resources page and its smoke and carbon monoxide alarm entry.
Permits, inspection and your utility
We found no national rule telling a homeowner to notify the utility, and the permit and inspection rules we saw differ from place to place. Asking is the useful step.
On inspection, Liberty Utilities tells customers to follow the building codes in their area and to have the wiring inspected by the city or county building department. Generac’s manual says installations must meet national, state and local codes and puts the responsibility for passing the final electrical inspection on the installer.
Utility practice differs. Liberty asks customers to call its local office once a backup system is in, and says a utility employee may ask to check the transfer switch before working on the lines. GVEC, a Texas electric cooperative, asks generator owners to get in touch even when a switch is already installed, and offers to explain the easement and hookup requirements the electrician will need. It also does not want transfer switches mounted on its poles or inside its easement. Those are examples of what one utility can ask, and yours may differ, so call before the work starts.
DEMCO, a Louisiana cooperative, warns that a system put in by a professional can become unsafe over the years as wiring is changed, breakers are swapped or equipment ages, and it recommends having the system inspected.
Questions for your electrician and your utility
For the electrician:
- Do I need a permit, and who inspects the work?
- Which code edition does this area follow, and is an interlock accepted here?
- Which listed equipment fits my panel and generator, and does the panel marking name it?
- Where should the inlet go so the generator can sit at least 20 feet from windows, doors and vents, and how long should the cord be?
- Which circuits go on the switch, and what can my generator not carry?
- Does the maker list my generator as ready for a transfer switch?
For the utility:
- Do you want to be told about a generator, a switch or an interlock, and when?
- Do you have easement or pole rules the electrician needs to know?
- Will a utility employee want to look at the setup?
Standby generators and automatic switches
A standby generator is installed permanently and paired with an automatic transfer switch. Poudre Valley REA, a Colorado cooperative, notes that the switch can be automatic or manual depending on the generator, and that a permanently installed generator that is not installed or used correctly can also backfeed the grid. The manual switches in the maker pages we read are built for portable generators. A standby setup raises the same permit, inspection and utility questions as the portable options, so the question list above applies.
Why this page has no wiring steps
Many pages that rank for this topic walk through installation, and we chose not to. The work ties your home to a source that can send voltage back into the utility’s lines, and it falls under electrical codes and local inspection. OSHA’s grounding fact sheet says “The transfer switch must be approved for the use and installed in accordance with the manufacturer’s installation instructions by a qualified electrician.” (Source: OSHA, Grounding Requirements for Portable Generators (osha.gov), fact sheet dated October 2005, accessed November 2026.) The archived CDC page quoted earlier is shorter: “Have a trained, qualified electrician install a portable generator.” We would rather send you to the person who does this for a living, and if you are unsure how something should be connected, leave it unconnected until you have asked.
If a storm has already knocked out power, follow your local officials and your utility’s instructions, and call 911 if someone is hurt or a line is down. Our guide to what to do when the power goes out covers the first hours. If you would rather avoid exhaust and house connections altogether, portable power stations are a different way to keep a few things running.
Once you have a plan, keep the electrician’s number, your utility’s number and the generator manual together. Our family emergency binder has a Key Contractor Contacts page for the electrician and a Power Outage page with generator carbon monoxide safety.