Generator Safety: How Far From the House and How to Hook It Up

Generator safety starts with one number: 20 feet. When the power goes out, a portable generator is the fastest way to run a refrigerator, a furnace fan or a sump pump. It is also one of the fastest ways to kill your family if you put it in the wrong place or wire it in the wrong way.
This guide answers the two questions people search most: how far a generator has to be from the house, and how to connect one to your home without hurting yourself or a utility worker. You will get placement rules, a carbon monoxide (CO) alarm plan, a comparison of connection methods and a startup routine you can practice before the next storm.
One rule up front: the wiring part is not a DIY project. A transfer switch or interlock must be installed by a licensed electrician, and you must never backfeed your house through a wall outlet.
Generator Safety Rule #1: Distance From the House
The Consumer Product Safety Commission says to operate generators outdoors only, at least 20 feet from homes and buildings, with the exhaust pointed away from windows, doors and vents. The CDC gives the same distance in its generator safety handout: more than 20 feet from your home, doors and windows. Ready.gov carries the same message.
Twenty feet is roughly seven big steps. Pace it off once, then mark the spot so you are not guessing in the dark with a storm coming in.
Where a generator must never run
CPSC’s rule is blunt: never operate a portable generator inside a home, garage, basement, crawlspace or shed. The CDC adds that opening doors and windows does not make indoor use safe. Carbon monoxide is colorless and odorless, and CPSC notes it can kill within minutes, often before victims recognize symptoms.
Picking the spot
- Choose level, dry ground at least 20 feet from every door, window and vent, including your neighbor’s.
- Point the exhaust away from the house and away from other buildings.
- Keep the unit dry under a canopy or generator tent with open sides. Wet equipment is a shock hazard.
- Leave clear space around it so heat and exhaust can disperse, and keep kids and pets away.
Wind direction matters. If the wind pushes exhaust toward the house, move the generator or lengthen your cord run rather than accept the risk.
Carbon Monoxide Alarms: Your Backup When Distance Fails
Distance reduces the risk; alarms catch what you miss. The CDC says to install battery-operated or battery backup CO detectors near every sleeping area and to check the batteries when you change your clocks each spring and fall. A plug-in alarm with no battery backup does nothing when the grid is down.
Test every alarm before storm season, not during one. Keep spare batteries with your outage supplies. If an alarm sounds, get everyone outside into fresh air and call 911. Do not go back in to find the source.
Consider a model with CO shutoff
CPSC recommends looking for portable generators with a CO shutoff feature that automatically stops the engine when dangerous CO levels build nearby. It says models certified to the latest PGMA G300-2023 and UL 2201-2023 standards include CO safety technology designed to reduce poisoning risk. A shutoff is a backup, not permission to run the unit closer to the house.

Generator Hookup Options Compared
There are three legitimate ways to get power from a generator into your home. The fourth, backfeeding, is the one that kills people.
| Method | What it does | Who installs it | Best for |
|---|---|---|---|
| Heavy-duty extension cords | Run appliances directly from the generator’s outlets | You | A fridge, lights, a few small loads |
| Manual transfer switch | Moves selected circuits to generator power and isolates them from the utility | Licensed electrician | Furnace, well pump, fridge, lights |
| Interlock kit | Mechanically blocks the main breaker and generator breaker from being on together | Licensed electrician | Powering more of the panel on a budget |
| Backfeeding through an outlet | Pushes power into house wiring with a double-male cord | Nobody. Never do it. | Nothing |
Option 1: Extension cords
Cords are the simplest setup. Use outdoor-rated, heavy-duty cords in good condition, with a wire gauge and length rated for the load. Check the generator manual for what it supports. Run cords in through a cracked window or door opening, not under a closed door where they get pinched. Plug directly into the generator, not into a power strip chained to other cords.
The downside is that you cannot run hardwired loads like a furnace or well pump this way.
Option 2: Generator transfer switch
A generator transfer switch is a dedicated sub-panel that feeds chosen circuits from either the utility or the generator, never both. Its whole job is to keep your house wiring from being connected to the grid and the generator at the same time. Installations must meet the National Electrical Code, and utilities generally call for a double-pole, double-throw switch when a generator ties into existing wiring.
A licensed professional should install the connection, and a permanently installed standby generator must have an approved transfer switch. Permits and inspections vary by city and state, so ask your local building department what applies.
Option 3: Generator interlock
An interlock is a mechanical plate on your main panel. It physically prevents the main breaker and the generator breaker from being switched on together. It usually pairs with a power inlet box mounted on the outside wall. An electrician must verify that the interlock is approved for your specific panel brand and model, so do not buy a generic kit and bolt it on.
Never Backfeed: Why It Kills
Backfeeding means plugging a generator into a household outlet with a homemade double-male cord to power the house. It sends electricity out through your wiring and into the utility lines. Safe Electricity explains that backfeed is dangerous for line workers and anyone near downed lines.
It also endangers you and your neighbors, and it bypasses the breaker protection inside the house. When grid power returns, the mismatch can destroy the generator and start a fire.
If you do not have a transfer switch or interlock, use cords. If you want to power the furnace or well pump, call an electrician now, while the lights are still on.
Safe Startup and Shutdown Routine
Rehearse this once in daylight with a full tank so you are not learning it in the dark.
- Read the manual. Know the oil check, fuel type and load limit for your model.
- Place the generator outside, more than 20 feet from the house, on level ground under a dry cover.
- Confirm your CO alarms have fresh batteries and work.
- Start the generator with nothing plugged in. Let it run a minute.
- Add loads one at a time, largest first, and stay within the rated wattage.
- To shut down, unplug or switch off loads, then stop the engine.
- Let the engine cool before refueling, and never add fuel to a hot or running unit.
Fuel and fire basics
Store gasoline in approved containers, outside living space and away from ignition sources such as water heaters and pilot lights. Fuel spilled on a hot engine can ignite, which is why you wait for the engine to cool. Rotate stored fuel according to the container and fuel-stabilizer instructions.

Size Your Loads Before the Outage
Overloading a generator trips its breaker, shortens its life and can damage the equipment you plug in. List what you must run: refrigerator, a few lights, a furnace fan, a sump pump, phone chargers. Check each label for running watts, and remember that motors draw more when they start. Our off-grid solar sizing guide walks through a load audit you can reuse here.
A generator is also only one piece of an outage plan. If you are running it to stay warm, read how to stay warm without power, and use our power outage food safety guide to decide how much fridge and freezer power you really need.
Want a quiet option with no fuel or fumes? Compare a solar generator for home backup.
Quick Checklist
- Generator runs outdoors only, more than 20 feet from doors, windows and vents.
- Never in a garage, basement, crawlspace or shed, even with doors open.
- Battery-powered or battery backup CO alarms near every sleeping area, tested.
- Transfer switch or interlock installed by a licensed electrician.
- No backfeeding, ever.
- Dry, level placement under a canopy with open sides.
- Engine cooled before refueling; fuel stored safely outside living space.

FAQ
How far should a generator be from the house?
At least 20 feet, per CPSC and CDC guidance, with the exhaust pointed away from the house and from windows, doors and vents. Farther is better when wind or terrain pushes exhaust toward a building.
Can I run a generator in my garage with the door open?
No. The CDC says never to use a generator inside your home or garage, even with doors and windows open. CO can seep into living space.
Do I need a transfer switch for a portable generator?
Only if you want to power house wiring, such as a furnace or well pump. For a few appliances, outdoor-rated extension cords work. If you connect to house wiring, you need a transfer switch or interlock installed by a licensed electrician.
Can I install a transfer switch myself?
Some jurisdictions allow homeowner work with a permit, but panel mistakes cause backfeed and fire. Hire a licensed electrician and confirm local permit rules.
What are the signs of carbon monoxide poisoning?
Headache, dizziness, weakness, nausea and confusion are common warning signs. If an alarm sounds or you suspect CO, get outside to fresh air and call 911. This article is general education and does not replace professional medical care.