Table of Contents:

  • A portable generator can supply enough electricity to power your home as a backup

  • A transfer switch is the safest way to connect a generator to your home electrical system

  • Transfer switches should always be installed by a qualified, licensed electrician

A portable generator can serve as a lifeline during an emergency, but only if you know how to connect it properly. In this guide, we walk you through how to hook a portable generator up to your house safely. You’ll also learn about the key components of a whole-house generator and other vital information to help you when the time comes to use it.

Important portable generator safety notice

Connecting a portable generator directly to your home comes with serious risks to your safety and your property. Backfeeding directly into your home circuit without a code-compliant transfer switch is a violation of the National Electrical Code (NEC) and endangers the health and safety of utility workers.

Never hook a portable generator up to your home wiring without having a suitable transfer switch installed by a licensed professional.

Always follow all manufacturer instructions and guidance on connecting your generator and grounding it properly. Ensure that any transfer switch or interlock device you use is fully code-compliant.

What you need before you start hooking up a generator

Before you attempt to set up your portable home generator, make sure you have the following items ready:

  • Portable generator with adequate wattage and surge protection

  • Transfer switch or interlock kit

  • Heavy-duty extension cords

  • All necessary generator cables and connectors recommended by the manufacturer

  • Voltage tester

  • Basic hand tools such as screwdrivers, pliers, and wrenches

  • Instruction manuals for all equipment

  • Safety checklist

  • Generator fuel

Choosing the right generator connection method

There are three main methods of connecting a portable generator to your home electrical system. We take a detailed look at each method in the following section.

Transfer switch (recommended and code-compliant)

The best and safest way to hook up a portable generator to your house is by using a transfer switch. These devices separate your generator from the utility grid while allowing you to choose which circuits in your home receive power.

You can find both manual and automatic transfer switches to use with your generator. Manual transfer switches require you to physically flip your home’s circuit breakers to switch to generator power. Automatic switches can switch to generator power when an outage is detected. Your local electrical codes may stipulate which type of transfer switches you can and cannot use.

Interlock kit

Another option for connecting a generator to your home is to use an interlock kit. This is a mechanical device installed on your main electrical panel that prevents it from running at the same time as your generator. Interlock kits are generally more affordable than transfer switches but require manual intervention and aren’t quite as efficient at load management. These devices may also be subject to local electrical codes in your area.

Direct extension cord connection

You can also use extension cords to connect appliances directly to a portable generator. This should only be seen as a temporary or partial solution, as extension cords do not provide surge protection and come with other significant safety concerns. You also will not be able to power home systems like a well pump or furnace that are integrated into your home electrical system. 

How to hook up a portable generator with a transfer switch

Warning: Installing a transfer switch is a job for licensed electrical professionals only. Do not attempt to install a transfer switch yourself. Failure to install a transfer switch properly puts you, your home, and utility workers at significant risk.

Prerequisites

Using a transfer switch is the safest and most reliable way to hook a portable generator up to your home electrical circuit. 

A professional electrician will install a transfer switch along with an inlet box. This is a small box on the outside of your home that accepts the generator hookup. Once a transfer switch and inlet box have been installed by a professional, connecting your generator involves only a few simple steps.

After installation, have your setup inspected by a professional. This shows all the wiring and connections were set up properly. This also shows your insurance company that it can’t claim faulty wiring if you have a fire.

Step 1: Position the generator safely outdoors

Portable generators create carbon monoxide as a byproduct, which is a potentially lethal toxic gas that is impossible to detect without specialized equipment. Set up your generator at least 20 feet from any doors, windows, or vents into your home to ensure the safety of everyone inside. 

Never run a portable generator indoors, even in your attic, basement, or garage. Make sure to cover your generator from rain and other elements to prevent it from short-circuiting.

Step 2: Turn off the main power

Always turn off your main breaker before attempting to connect your generator to your transfer switch. Connecting your generator to a live electrical system could cause backfeeding, which is a significant safety hazard.

Step 3: Connect the generator to the transfer switch

Once you have confirmed that your main power is off, connect your generator to the transfer switch’s inlet box with a properly rated cable. Many transfer switches come with cables that are designed for this specific use, so it’s best to use that if available. Double-check every connection point to see that they are secure and shielded from weather and moisture.

Step 4: Start the generator

After connecting it to the transfer switch, start your generator according to your manufacturer’s instructions. These steps generally include:

  • Check oil and fuel levels (gasoline, propane, or diesel)

  • Set the choke, if required

  • Start the generator

  • Allow the unit to stabilize voltage before flipping any switches into the “on” position

Step 5: Switch over power circuits

With your portable electricity generator running, use the transfer switch to choose which home circuits you want to power. Only select circuits that match the wattage of your portable generator and consider which circuits are the most necessary to prioritize and avoid overload. 

Step 6: Monitor load and operation

While in operation, keep an eye on the electrical load using either the indicators on your transfer switch or built-in meters on the portable generator. Do not exceed the output your equipment is rated to handle. Watch for any signs of flickering power or unusual noises to address any issues that may arise immediately. 

How to shut down and disconnect a portable generator

When you no longer need to use your generator to power your home, you’ll need to properly shut it down and disconnect it by following these steps:

  1. Change the transfer switch circuits back to the utility feed

  2. Turn your portable generator off and allow it to cool

  3. After it’s off, unplug the generator cable from the power inlet on the transfer switch

  4. Store your portable generator, cables, and all accessories in a dry, safe area

Your generator’s manufacturer may have a specific shutdown procedure they recommend. Make sure to follow this procedure if this is the case to ensure safe, long-lasting operation.

Common mistakes to avoid

There are a few mistakes that people tend to make when hooking up a portable generator to their house. These mistakes can cause safety risks or limit the performance and longevity of your equipment. Mistakes include:

  • Overloading: Ensure that the energy usage of the appliances you power with your generator is not more than it is designed to handle. Overloading the circuit can cause shutdown or even damage to your equipment.

  • Backfeeding: Connecting a generator directly to an outlet can cause backfeeding, where electricity is sent back into the utility grid and can energize power lines, putting utility workers and equipment at risk.

  • Indoor usage: Running a generator in an enclosed space can cause potentially fatal carbon monoxide poisoning.

  • Improper extension cords: Cords that aren’t rated to handle generator loads can cause a safety risk or damage your generator and appliances. 

  • Ignoring maintenance: Performing regular maintenance on your generator, like oil changes, spark plug maintenance, and air filter replacements, can help ensure safe operation. You should also regularly inspect all cables and connectors.

Bottom line on installing a portable home generator

A portable generator can supply power to your home when utilities aren’t available. When installed by a licensed professional, a transfer switch provides the safest and simplest way to connect that generator to your home circuit.

FAQs on portable home generator setup

Below are a few frequently asked questions about sizing a generator for home backup power.

What is needed to hook up a portable generator to a house?

The best way to hook up a portable generator to a house is with a transfer switch installed by a licensed electrician. You can also hook up a generator to your home with an interlock kit.

Does a portable generator need to be covered?

A portable generator should be covered to protect it from the elements. Rain, snow, and other precipitation could cause a generator to short-circuit or cause parts to corrode over time.

How long will two gallons of gas last in a generator?

Two gallons of gas should last between two and 16 hours in a portable generator, depending on how much power the generator is supplying. The higher the electrical load on the generator, the more gas it will use while in operation.

Can I run my whole house on a portable generator?

You can power your whole house on a portable generator in many cases. If your generator is built to handle the electrical load of all of the appliances and fixtures in your home, it can power your home as long as you have adequate fuel.