How to connect a portable generator: cords, inlet boxes, transfer switches and interlocks

Two people placing a portable generator outdoors in a backyard, with a yellow cord running from near the house across a patio and lawn
Photo: U.S. Consumer Product Safety Commission / Wikimedia Commons, Public domain

Affiliate disclosure: AiPower is an affiliate partner through the Impact network. Generator links below are Impact tracking links and may earn a commission at no extra cost to you. We have not hands-on tested these units. Specs and prices are from aipower.com as of November 13, 2026. See our affiliate disclosure.

Last reviewed: November 13, 2026.

Quick answer

A portable generator can keep a fridge, lights, medical device or well pump running in an outage, but only if you hook it up safely. The two risks that cause the most harm are carbon monoxide from the exhaust and backfeeding house wiring, which can electrocute a utility worker or a neighbor. This guide covers the safe plug-in method, how to size a cord, what an inlet box and transfer switch actually do, and when an interlock kit is an alternative—plus which AiPower models are sold direct for those jobs. For sizing a generator versus a battery power station, start with the home backup power guide.

1. Safety first: outdoors, 20 feet, no backfeeding

A carbon monoxide sensor on the generator is a useful backup. It does not replace outdoor placement, distance from the house, or working CO alarms inside.

2. Two safe ways to get power into the house

Plug-in backup means you carry or roll the generator outside, start it, and plug appliances into its outlets with outdoor-rated cords. Nothing is connected to your electrical panel. This is the method most homeowners can do themselves, and it is the right choice for a fridge, a few lamps, a router or a window AC, as long as the cords and the generator's watt rating can handle the load.

Panel hookup means selected house circuits (or, with an interlock, the whole panel under your control) get power through a transfer switch or interlock and an outdoor inlet box. That is the only safe way to feed hardwired loads like a well pump, furnace blower or hardwired lighting. ESFI strongly recommends that a licensed electrician install a home generator connection so it meets local electrical codes. The Red Cross says a transfer switch used to connect a generator to house wiring should be installed in accordance with the National Electrical Code (NEC), published by NFPA, and with state and local codes.

3. Extension cords: rating, gauge and length

CPSC's safety alert is specific: connect appliances with heavy-duty extension cords designed for outdoor use; the wattage rating of each cord must exceed the total wattage of everything plugged into it; the cord must be long enough to keep the generator outdoors and far from openings; check the whole length for cuts or tears; use a three-prong plug; and protect the cord if it passes through a window or doorway so it is not pinched. ESFI and OSHA give the same load-rating and three-prong advice, and ESFI also recommends a GFCI to reduce shock risk.

If you only need to run a few plug-in appliances, this is the whole hookup. Skip the panel work unless you have a reason to feed hardwired circuits.

4. Power inlet box

An outdoor power inlet is a weatherproof inlet (often a locking 30 A or 50 A receptacle, depending on the generator) mounted on the exterior wall. A listed generator cord plugs the generator into the inlet; from there, wiring runs to a transfer switch or to a generator breaker in a panel that has an interlock. You never run a cord through a window to a dryer outlet.

Placement has to work with the 20-foot rule. The inlet should sit where a cord can reach a generator that stays at least 20 feet from doors, windows and vents. That often means a longer inlet whip or a carefully chosen wall, not an inlet next to a window with the generator on the porch. A licensed electrician will size the inlet, the cord type, the breaker and the wire run, and will apply the warning label required for a generator inlet under the NEC.

This is not a DIY add-on. Cutting into the service panel or running a feeder is licensed work, and most jurisdictions want a permit and an inspection.

5. Manual transfer switch vs interlock kit

Both devices exist to do one job: keep utility power and generator power from being connected at the same time. That is what prevents backfeed. NEC Article 702 covers optional standby systems, which is the category that includes most portable-generator hookups. IAEI Magazine's UL Question Corner quotes NEC 702.5: transfer equipment must be suitable for the intended use and installed so it cannot inadvertently interconnect the normal and alternate sources. Local amendments and the inspector (the authority having jurisdiction) still have the last word.

Have a licensed electrician pull the permit, install a listed device for your equipment, add the outdoor inlet, and walk you through the startup sequence (utility off, generator on, transfer; then the reverse at shutdown). Do not work in the panel yourself, and do not let anyone "just backfeed the dryer outlet."

6. Sizing watts before you hook up

List what you actually need in an outage. Add running watts for everything that will be on at once, then make sure the generator's starting watts cover the hardest motor start. A compact inverter in the 2,000 running-watt range can often handle a fridge, lights and chargers on extension cords. A 120/240 V conventional portable is the usual choice if you want an electrician to feed a well pump, a central-air blower or a 240 V circuit through a transfer switch or interlock. When in doubt, give the electrician your load list and the generator's rated watts; do not assume a 30 A inlet means you can turn the whole house back on.

Portable generators you can buy direct (AiPower)

These five are sold with an Add to cart button on aipower.com as of November 13, 2026. Watt figures are AiPower's published starting/running specs. We have not tested runtime. There is no AiPower promo code right now. All of them run outdoors only.

A-iPower SUA2600i 2600W Inverter Generator

A-iPower SUA2600i 2600W Inverter Generator

$399.99 (was $549.99)

Gasoline inverter with a built-in CO sensor. 2,600 starting / 2,000 running watts, 120 V with a TT-30R RV outlet, about 37.4 lb, parallel-capable. A compact plug-in pick for a fridge, lights and chargers.

View on AiPower
A-iPower SC2300i 2300W Inverter Generator (Yamaha engine)

A-iPower SC2300i 2300W Inverter Generator (Yamaha engine)

$519.99 (was $799.99)

Gasoline inverter with an 80cc Yamaha engine. 2,300 starting / 1,800 running watts, 120 V, about 50.7 lb, parallel kit included. Another compact cord-and-outlet option.

View on AiPower
A-iPower GXS4300iD 4300W Dual Fuel Inverter Generator

A-iPower GXS4300iD 4300W Dual Fuel Inverter Generator

$549.99 (was $849.99)

Dual fuel inverter with a CO sensor and auto shutdown. Gas: 4,300 starting / 3,450 running W. Propane: 3,900 / 3,100 W. About 54.8 lb. More headroom for a fridge plus a window AC or a small well pump on a cord, still 120 V.

View on AiPower
A-iPower SUA3800i 3800W Inverter Generator

A-iPower SUA3800i 3800W Inverter Generator

$659 (was $999.99)

Gasoline inverter. 3,800 starting / 3,500 running watts, 120 V with two 20 A outlets and a 30 A locking outlet. About 121 lb on wheels. The 30 A outlet is the usual match for a TT-30-style cord; confirm the inlet and cord with your electrician if you use a transfer switch.

View on AiPower
A-iPower AT10-260001 6000W Dual Fuel Portable Generator

A-iPower AT10-260001 6000W Dual Fuel Portable Generator

$599.99 (was $849.99)

Conventional open-frame generator, not an inverter, so expect it to be louder. Dual fuel with electric start and a CO sensor. Gas: 6,000 starting / 5,500 running W. Propane: 5,500 / 5,000 W. 120/240 V and 30 A connections, about 158 lb. The 240 V outlet is the one that can feed a typical residential inlet and transfer switch or interlock—have an electrician match the inlet to this unit.

View on AiPower

Browse other models on the AiPower store. All five are also listed under Products → Portable generators (AiPower) and in the backup power guide.

AiPower links above are affiliate links via Impact. Prices are as of November 13, 2026, so check aipower.com for the current price. Specs are the manufacturer's, and we have not tested runtime. Generators run outdoors only, and any panel hookup needs a transfer switch or interlock installed by a licensed electrician.

DIY or call an electrician?

Bottom line

If you only need a fridge and a few plugs, a correctly rated outdoor extension cord and a generator kept 20 feet from the house is the whole setup. If you want house circuits to come back on, budget for a listed transfer switch or a panel-matched interlock, an outdoor inlet, a permit and a licensed electrician—never a suicide cord in a wall outlet. Size running and starting watts before you buy, and treat carbon monoxide as a first-line hazard, not an afterthought.

Related: home backup power stations and portable generators, router and internet backup power, whole-house surge protectors, and garage door openers with battery backup.

Sources

Information only; not electrical, medical or emergency-planning advice. Follow the manufacturer's manuals. Hire a licensed electrician for any panel, transfer switch, interlock, inlet or 240 V work, and confirm medical-device power requirements with the device maker.