Skip to content
PermitRoadmap

Compare product types

Portable Generator vs Standby Generator vs Battery Backup: What Each Needs for a Permit

Three ways to keep the lights on in an outage, compared first on permits, wiring and inspection, then on fuel, placement and carbon monoxide.

Updated Nov 28, 2026

A portable generator run with extension cords to a few appliances usually needs no building permit, but the moment it connects to your home's wiring through a transfer switch or inlet, that work usually does. A permanently installed standby generator and a wired-in home battery usually need permits, because they tie into your electrical panel and, for a generator, a gas or propane supply.

Key takeaways

  • Check the generator rule for your address before you buy. For a transfer switch or battery tied into your panel, check the panel rule too.
  • Never plug a generator into a wall outlet to power the house. The CPSC calls this "backfeeding" and says it puts utility workers and neighbors at risk of electrocution.
  • Generac says all required permits must be secured before a home standby generator is installed, and that the work falls under electrical and fuel installation codes.
  • Tesla says Powerwall 3 should only be installed by Tesla Certified Installers, so plan on a certified installer for a wired-in home battery, not a DIY job.

Side by side

QuestionPortable generatorStandby generatorHome battery
Usually needs a permit?Not for cords to appliances. A transfer switch or inlet tied to house wiring usually doesUsually, often more than one (electrical, gas, sometimes zoning)Usually, since it is wired into your electrical system
How it connects to the houseExtension cords to appliances, or a transfer switch or inlet installed by an electricianAn automatic transfer switch wired to your panelWired to your panel through the maker's backup equipment
Fuel or power sourceGasoline, or propane on dual fuel modelsNatural gas or propane. Generac says propane needs at least a 250 gallon tankStored electricity, recharged from the grid or solar
Where it can goOutdoors only, far from doors, windows and ventsA fixed outdoor spot with set clearances, such as 5 ft from windows, doors and vents under NFPA 37Where the maker allows. Tesla: away from heating equipment and safe from flooding
Electrical work involvedNone for cords. A transfer switch or inlet is electrician workTransfer switch, panel connection and control wiringHigh voltage wiring and backup equipment at the panel
Gas or fuel workStore fuel outside living areas in labeled safety containersGas piping or a propane tank and line, under fuel installation codesNone
Carbon monoxideEngine exhaust. Never run it in a home, garage, basement, crawlspace or shedEngine exhaust. Generac says it may need to sit farther away than NFPA minimumsNo engine exhaust
Inspection usually checksThe transfer switch or inlet, if one is installedPlacement and clearances, gas piping, transfer switch and wiringMounting location and electrical wiring
InstallerYou, for cords. An electrician for a transfer switch or inletA certified professional, which Generac strongly advisesA maker-certified installer (Tesla requires one for Powerwall 3)

Do you need a permit for a portable generator?

Not usually for the generator itself, but often for how you connect it. The 2021 International Residential Code (IRC), the model code many states start from, does not require a permit for connecting approved portable electrical equipment to approved permanent receptacles. Running a cord from a generator to a refrigerator fits that idea. Wiring a transfer switch or a power inlet into your panel is new electrical work, and it usually needs a permit and an inspection. Local rules vary, so check with your building department.

What you should never do is plug the generator into a wall outlet to feed the house. The U.S. Consumer Product Safety Commission (CPSC) calls this backfeeding and says it is extremely dangerous: it can electrocute utility workers and neighbors on the same transformer, and it bypasses some of your home's circuit protection.

What does a standby generator permit cover?

A standby generator is permanent equipment, so it usually touches several codes at once. Generac's own guidance says installation must comply with the National Electrical Code (NEC), National Fire Protection Association (NFPA) and OSHA standards and with federal, state and local building and electric codes, and that all required permits must be secured before installation. It adds that homes in an HOA may have their own approval process.

Expect the permit and inspection to cover:

  • The transfer switch. Generac says the automatic transfer switch must be compatible with your utility's requirements, which vary by locality.
  • The fuel supply. Natural gas piping, or a propane tank and line. Generac says propane setups need a tank of at least 250 gallons for its home standby generators.
  • Placement. Clearances from openings, walls and plants, covered below.

How is a home battery different?

A wall-mounted home battery has no engine, no fuel and no exhaust, so the gas and carbon monoxide questions drop away. It is still a permanent, high voltage electrical installation. Tesla's Powerwall 3 manual says installation and service require knowledge of high voltage electricity and should only be performed by Tesla Certified Installers, and that the casing should only be opened by Tesla service or certified technicians. Ask your installer which permits they will pull, and whether your utility has its own approval step. For batteries and portable power stations compared on their published paperwork, see our home battery guide.

Where can each one sit?

  • Portable generator: outdoors only. The CPSC says never to run one inside a home, garage, crawlspace or shed, even with doors and windows open, and to point the exhaust away from buildings. In wet weather, run it under an open, canopy-like structure on a dry surface.
  • Standby generator: a fixed outdoor spot. Generac's summary of NFPA 37 calls for 5 feet from wall openings such as windows, doors and vents, 5 feet of clearance above and 3 feet at the front and ends. Its 18 inch clearance at the back applies only to models marked with the Southwest Research Institute (SwRI) logo; Generac says other units need 5 feet from combustible materials and 3 feet from non-combustible ones. Generac also says not to install one under a wooden deck, and that a unit placed at the code minimums may still let carbon monoxide into the house, so it may need to sit farther away.
  • Home battery: where the maker's site rules allow. Tesla says not to install Powerwall 3 near heating equipment, to put it where flooding cannot damage it, and in a garage to keep it out of the driving path.

Always check local codes, which Generac notes take precedence over its recommendations.

What should you have ready for the permit?

Have the maker's install manual and spec sheet, a site plan showing where the unit sits and its distances to windows, doors, vents and property lines, and your electrician's plan for the transfer switch or panel connection. For a standby generator, include the fuel type and the gas or propane sizing. For a portable generator, keep the owner's manual, and install battery-operated or battery-backup CO alarms in the home, as the CPSC advises. For portable models compared on their published paperwork, see our portable generator guide.

Shop the picks

Frequently asked questions

Do I need a permit to use a portable generator?
Usually not for running extension cords from the generator to appliances. Connecting it to your house wiring through a transfer switch or inlet is electrical work that usually needs a permit, so check the rule for your address.
Can I plug my generator into a dryer outlet to power the house?
No. The CPSC calls this backfeeding and says it is extremely dangerous, with an electrocution risk to utility workers and neighbors. Have an electrician install a transfer switch or inlet instead.
Can I install a standby generator myself?
Generac says it is possible but strongly advises a certified professional, because the job involves electrical and fuel codes, a transfer switch matched to your utility, and permits that must be in place before installation.
How far from the house does a standby generator need to be?
Generac's summary of NFPA 37 calls for 5 feet from windows, doors, vents and other wall openings, with other clearances above and around the unit. Local codes take precedence, and Generac says a unit may need to sit farther away to keep carbon monoxide out.
Does a home battery need a permit?
Usually, because it is permanently wired into your electrical system. Makers such as Tesla require certified installers, who can tell you which permits and utility approvals apply where you live.
Can I run a portable generator in my garage with the door open?
No. The CPSC says never to run a generator inside a home, garage, basement, crawlspace or shed, even with doors and windows open, because carbon monoxide can build up quickly.

Sources

PermitRoadmap is an independent informational service and is not affiliated with any city, county, state agency, or permitting authority. Results are informational and do not replace confirming requirements with the local permitting authority.