An independent guide to local permits & inspections

Project permit guide

Do I Need a Permit for a Generator?

Reviewed · 14 cited sources

Short answer

For a permanently installed standby generator, yes. Expect an electrical permit for the generator and transfer switch, a gas permit for the fuel line, and often zoning or site-plan review for its location. A portable generator plugged into its own cords usually needs no permit, but connecting one to your home's wiring through a transfer switch or interlock does.

On this page 11 sections

A home standby generator connects three regulated systems: your electrical service, a fuel supply, and a piece of equipment on your lot that runs an engine near your windows. Each of those can need its own approval, which is why a generator often takes more permits than its price tag suggests. Portable generators are simpler, until you connect one to the house wiring.

The details vary by state and county, especially for setbacks and for who may do the electrical and gas work. Use this guide to see what’s typically involved, then confirm with your local building department.

Standby vs portable: what triggers a permit

  • Portable generator with extension cords. Usually no permit. Appliances plug directly into the generator, and nothing connects to the home’s wiring.
  • Portable generator connected to the house. An electrical permit, in most places. This covers a manual transfer switch, a generator inlet box, or a listed interlock kit on the main panel.
  • Permanently installed standby generator. An electrical permit, plus a gas or plumbing permit for the fuel line, and often a building permit for the pad, zoning review, or both. Diesel or other liquid fuel tanks can add environmental review.

Miami-Dade County’s guidance is a good illustration. A building permit “is not required for the use of a portable generator only when it is intended to power a few appliances … connected directly to the generator.” To connect a portable unit to the building’s wiring, “you must secure an electrical permit for the installation of a device that will allow you to do this safely.” Placing a generator permanently outdoors requires a building permit.

Which electrical code applies

Most of the IRC’s electrical chapters (34 through 43) cover ordinary house wiring. Section E3401.2 says systems not covered there, specifically including “optional standby systems,” must comply with NFPA 70, the National Electrical Code (NEC). Article 702 of the NEC covers optional standby systems, the category that home standby generators fall under. Washington’s state electrical rules, for example, amend NEC Article 702 in WAC 296-46B-702 (Optional standby systems). That section adds to where the warning signs required by NEC 702.7(A) must be posted.

What this means in practice:

  • Transfer equipment. A permanent generator connects to the house through a transfer switch. Miami-Dade requires the transfer switch location on the site plan and the transfer switching to be identified as “not separately derived.”
  • Back-fed breakers. If an interlock kit back-feeds a panel breaker, that breaker has to be secured by an additional fastener that needs a tool to remove (NEC 408.36, as summarized in Minnesota’s inspection checklist).
  • Grounding and bonding. Miami-Dade requires plans to show the connection between the generator frame and a ground rod. Gas pipe bonding must follow the NEC.
  • Underground wiring. Minnesota’s checklist summarizes NEC 300.5 cover depths: 24 inches for direct-burial cable, 18 inches for PVC conduit and 6 inches for rigid metal conduit.

The fuel side

Natural gas or propane piping to a standby generator is new gas piping, so it needs a permit and a pressure test. Under IRC G2417.4, new piping is tested at no less than 1.5 times the maximum working pressure, and never below 3 psig, for at least 10 minutes. IRC G2413 requires the piping to be sized for the total connected load, so the generator’s gas input is added to every other gas appliance on the system. Ask your gas utility whether the meter also needs an upgrade. Our guide to gas line permits covers sizing, burial depth and testing in detail.

For propane, the tank location is regulated separately. Miami-Dade, for example, applies the minimum separation distances in NFPA 58 to propane containers, measured from buildings, property lines and sources of ignition.

Placement: exhaust, setbacks and flood elevation

Where the generator sits is often the hardest approval to get:

  • Exhaust and openings. Miami-Dade requires generator exhaust to be 10 feet from windows, doors, exhaust fans and appliance vents, citing the Florida Residential Code.
  • Portable unit distance. Federal Ready.gov guidance says to run portable generators outdoors at least 20 feet from windows, doors and attached garages, to prevent carbon monoxide poisoning. Palm Beach County Fire Rescue gives the same 20-foot distance. That is stricter than some local permit rules, so when two sources differ, use the larger distance.
  • Property-line setbacks. These are set by zoning. In unincorporated Miami-Dade, permanent generators fueled by natural gas or propane, up to 5 feet tall, are allowed as an accessory use in certain residential districts. Setbacks:
    • Front: behind the front building line.
    • Rear: 5 feet.
    • Interior side: 3 feet in RU districts, 5 feet in EU, AU and GU districts.
    • Side street: behind the side street building line unless fully screened, and never closer than 10 feet to the side street property line.
  • Flood elevation. Miami-Dade requires the generator and related equipment to be above the base flood elevation, or designed to resist floodwaters.
  • Wells. Miami-Dade requires generators and fuel supplies (other than gas-fueled systems) to be at least 100 feet from potable water supply wells.

Noise limits come from local ordinances and vary widely. Ask the zoning office whether there is a decibel limit at the property line and whether weekly self-test runs are restricted.

How the rules differ by city

  • Miami-Dade County, Florida. In unincorporated areas, a permanent generator needs a building permit (Category 38 for a standalone permit). Plans must be signed and sealed by a design professional, though a licensed contractor may prepare the electrical sheets. Requirements include a site plan with distances to buildings and property lines, a gas piping diagram with pipe sizes and appliance Btu ratings, and generator pad and anchoring details. Fuel tanks need environmental (DERM) review.
  • Austin, Texas. Austin requires an Electrical Auxiliary Power permit “for any generation facility that interfaces with Austin Energy’s distribution system.” Owners can do some trade work on their own homestead, but the Homestead Permit excludes the main electric service and liquefied petroleum (propane) plumbing systems.
  • Philadelphia. Electrical permits cost $25 for each $1,000 of estimated electrical construction cost, with a $63 minimum (fee schedule effective October 1, 2026). A fuel gas piping permit on a one- or two-family home is $189. For electrical work under its EZ permits, the city says a licensed contractor is “always required,” even on owner-occupied homes.
  • Minnesota (Minneapolis). Minneapolis directs residents to get electrical permits from the Minnesota Department of Labor and Industry, not from the city. An owner who lives in a single-family home may do their own electrical work by filing a permit. That filing is an affidavit that they will personally do all of it. Unlicensed owners may not do electrical work in two-family homes, apartment or condo buildings, or any property that is rented or occupied by others.
  • Fairfax County, Virginia. The county requires a residential electrical permit for “new electrical equipment and/or fixtures.” Gas appliance installations are not exempt from permits, and new gas piping goes on a Residential Plumbing permit.

What to have ready

  • Site plan showing the generator, any fuel tank, distances to the house, windows, doors and vents, and distances to every property line.
  • Manufacturer’s specification sheet and installation manual, including required clearances and the generator’s kW rating and fuel use.
  • Electrical details: transfer switch or interlock make and model, a load list or one-line diagram, and conductor and breaker sizes.
  • Gas details: pipe route, material and size, plus the Btu ratings of the generator and all other gas appliances, and the meter or tank size.
  • Pad or anchoring detail if your area requires one, especially in hurricane or flood zones.
  • HOA approval and any zoning or screening approval.
  • Contractor license numbers for the electrical and gas work, or your homeowner eligibility where allowed.

Questions to ask your building department

  • Which permits do I need: electrical, gas or plumbing, building, zoning?
  • Can I pull the electrical permit as the homeowner?
  • What setbacks apply from property lines, and can the generator sit in a side yard?
  • Is there a noise limit or a restriction on weekly test runs?
  • Do you accept a listed interlock kit for a portable generator, or only a transfer switch?
  • Does my gas utility need to approve a meter upgrade?

If a generator was installed without permits, see our guide to unpermitted work. For related electrical rules, see do I need a permit for electrical work.

Frequently asked questions

Do I need a permit for a portable generator?

Not to run one with extension cords. Miami-Dade County, for example, says no permit is needed when a portable generator powers a few appliances plugged directly into it. Once you connect a portable generator to the house wiring, through a transfer switch, an inlet box or a panel interlock, you need an electrical permit.

How far from the house does a generator have to be?

It depends on the type and the local code. For portable units, Ready.gov says to run them outdoors at least 20 feet from windows, doors and attached garages. For permanent units, Miami-Dade requires the exhaust to be 10 feet from windows, doors, vents and other wall openings under the Florida Residential Code, plus zoning setbacks from property lines. The NEC (110.3) also requires listed equipment to be installed according to the manufacturer's instructions, which include clearances.

Can I install a standby generator myself?

It depends on state licensing law. Minnesota lets an owner who lives in a single-family home do their own electrical work under a state permit. Philadelphia requires a licensed electrical contractor for electrical work even on owner-occupied homes. Gas connections have their own rules, and some places limit homeowner gas work.

Is an interlock kit legal instead of a transfer switch?

That is up to your department, so ask before you buy one. An interlock feeds the panel through a breaker, so the code's rules for back-fed breakers apply. Minnesota's inspection checklist, for example, notes that back-fed overcurrent devices must be held in place by an additional fastener that requires a tool to remove. Either way, connecting a generator to house wiring is permit work.

Does my HOA or zoning code affect where the generator goes?

Often. Miami-Dade, for example, requires permanent gas generators to sit behind the front building line, at least 5 feet from the rear lot line and 3 to 5 feet from interior side lines depending on the district. Many HOAs also require screening or approval. Confirm both before you pour a pad.

Sources

  1. 2021 International Residential Code as adopted in Utah, Chapter 34 (Section E3401 General), UpCodes (up.codes)
  2. WAC 296-46B-702, Optional standby systems (Washington State Legislature) (app.leg.wa.gov)
  3. 2021 International Residential Code as adopted in Utah, Chapter 24 Fuel Gas (Section G2417 Inspection, testing and purging), UpCodes (up.codes)
  4. Miami-Dade County, Generators (permit requirements) (miamidade.gov)
  5. Ready.gov, Power Outages (ready.gov)
  6. Palm Beach County Fire Rescue, Hurricane Generators (discover.pbcgov.org)
  7. Minnesota Department of Labor and Industry, Electrical Inspection Checklist for One-Family Dwellings (2023 NEC) (dli.mn.gov)
  8. City of Minneapolis, Types of Construction Permits (minneapolismn.gov)
  9. City of Austin, Types of Permits (austintexas.gov)
  10. City of Austin, Homeowner's Permit and Registration (austintexas.gov)
  11. Fairfax County Land Development Services, Electrical (ELER) - Residential (fairfaxcounty.gov)
  12. Fairfax County Land Development Services, Household Appliance (HAPL) - Residential (fairfaxcounty.gov)
  13. City of Philadelphia, Get permits without plans (EZ permits) (phila.gov)
  14. City of Philadelphia L&I, Construction Permit Fees, Effective October 1, 2026 (PG_012_INF Rev 7.2026) (phila.gov)

This guide is general information, not legal or code advice. How we research · Suggest a correction