Need help now? In the US, call or text 988. In an emergency, call 911.
Skip to content
Farm Safety

Home / Electrical / Backup Generator Wiring

Backup Generator Wiring

A generator that feeds a building's wiring must be connected the right way. Improvised connections are a known danger to you and to the line workers restoring power.

What is the danger of connecting a generator the wrong way?

If a generator is plugged into a wall outlet or connected to a panel without proper equipment, electricity can flow backward into the utility's lines. This is called backfeed. It can seriously injure or kill line workers and neighbors, and it can damage the generator and your wiring.

This is the reason safety agencies, utilities and electricians all repeat the same message: do not improvise the connection.

Utilities take backfeed seriously because line crews work on lines they believe are dead. A generator that feeds power backward can turn a safe job into a deadly one.

What does a proper connection involve?

A proper setup uses equipment installed by a licensed electrician that keeps your building's wiring separated from the utility while the generator runs. The type and size depend on your service, your loads and local rules. This guide does not describe how to install it, because that is professional work.

Ask the electrician what equipment suits your setup and what permits or inspections your area requires.

Ask the electrician to explain how the equipment works in plain language, and to show you where the switch is and how to use it.

Why involve the electric utility?

Many utilities have rules and sometimes forms for standby generators. They may want to know about the installation, and some have requirements that differ from the code. Calling early avoids surprises.

The utility's safety staff can also explain how to tell when power has returned and what to do when it does.

How do you decide what to power?

Make a list of what must run during an outage: water pumps, ventilation, milking equipment, refrigeration, heat for young animals and lighting. Ask an electrician to help decide whether to power individual circuits or a larger part of the system, and what size generator is needed.

Overloading is a common cause of generator damage. Think about start-up demand for motors, which can be much higher than running demand.

Include your veterinarian and equipment dealer in the planning if livestock or specialized equipment are on the list.

What about fuel and location?

The generator should sit outdoors in a spot that keeps exhaust away from buildings, as discussed in the placement and ventilation guide. Plan how the connection will reach the building and how fuel will be stored and added safely.

Standby units that run on stored fuel or utility gas have their own installation rules. A qualified installer should handle fuel connections and follow local codes.

Check whether the connection point is protected from rain, snow and animals, and whether it can be locked.

How do you test and maintain it?

Run the system under load at intervals recommended by the manufacturer. Test the transfer equipment as well. Keep a log of runs, fuel changes and repairs, and replace parts on schedule.

Practice the whole procedure with the people who might need to run it, in daylight and in calm conditions. A written, step by step card from your electrician, stored near the equipment, helps in a stressful outage.

Keep the electrician's phone number with the log, so you can reach them quickly if something looks wrong.

What should you avoid?

Do not use homemade cords with two male ends, do not bypass labeled equipment, do not connect to a dryer or welder outlet unless an electrician has designed that setup, and do not assume an old connection is safe because it has always worked.

If your current hookup was done by someone unqualified, have an electrician inspect it before the next outage. It is an inexpensive step compared with the harm that an improper connection can cause.

Key takeaways

Sources and further reading

Last reviewed: November 12, 2026. Written by the Farm Safety Editorial Team. See our editorial policy.

Keep reading

More in Electrical