Backup Power

Backup Power for a Townhouse

How to choose backup power for a townhouse, with the CPSC 20 foot generator rule, standby clearances, home battery limits and what an HOA can ban.

By The WattFort TeamHow we research16 min readPublished

Some links may earn us a commission at no cost to you. Read the affiliate disclosure.

In this guide

Quick answer. In a townhouse, start with the space you actually have. CPSC says a portable generator must run outdoors at least 20 feet from homes and buildings, and that includes the houses on either side of you. If your patio or yard cannot give you that distance, use a portable power station indoors instead, or plan a properly installed home battery or standby generator that meets the clearance rules below and your HOA’s approval process.

Most backup power advice is written for a detached house with a big yard, a driveway and no neighbours within shouting distance. A townhouse is different. You share at least one wall, your outdoor space may be a small patio or a strip of lawn, your neighbours’ windows can be a few steps away, and a homeowners’ association may control what goes on the outside of the building.

Those differences change which backup options are safe, which ones are allowed and which ones are worth the money. This guide goes through each option in turn, using what CPSC, Ready.gov, NFPA, Generac and two state laws actually say. It is general guidance rather than legal or electrical advice, so check your local code, your HOA documents and a licensed electrician before you install anything. All sources are listed at the end.

Why townhouses need a different plan

A townhouse sits in a row of attached homes, so three things that rarely matter for a detached house matter a lot here.

  • Distance. The safe distances in generator and battery rules are measured to buildings and openings, and on a townhouse lot the nearest window may belong to your neighbour.
  • Shared air paths. Attached homes are joined by walls, roofs, soffits and sometimes crawl spaces, and exhaust that reaches one home can find its way into the next.
  • Rules. Many townhouse communities have an HOA with architectural rules about equipment on the outside of the home, and some of the land around your unit may be common property that you do not own.

The backup power guide for apartments and renters covers homes where you cannot change anything. A townhouse owner usually has more freedom than that, but less than the owner of a detached house.

The 20 foot rule on a small lot

CPSC is clear about portable generators. In its May 2026 hurricane season warning it says never to use one inside homes, garages, basements, crawlspaces, sheds or other enclosed areas, even with doors or windows open, and to run it outdoors only, at least 20 feet from homes and buildings, with the exhaust pointed away from windows, doors and vents. Its winter tips from March 2026 add that a porch or carport is too close to the home. Ready.gov gives the same 20 feet and names windows, doors and attached garages.

For a townhouse, read “homes and buildings” literally. The 20 feet applies to your neighbours’ homes as well as yours. Before you buy a portable generator, take a tape measure to the spot where you would run it and check these points.

  1. Is there a place at least 20 feet from your walls, doors and windows?
  2. Is that same place at least 20 feet from the homes on either side and behind you?
  3. Will the exhaust point away from every window, door and vent, including your neighbours’ dryer and furnace vents?
  4. Is the spot open to moving air, rather than boxed in by fences or walls?
  5. Can you run a heavy duty extension cord from there to your home without passing it through a door you then cannot close?

If the answer to any of these is no, a portable generator is not a safe fit for that lot, however good the deal on the generator looks.

Carbon monoxide and shared walls

The biggest townhouse specific risk is carbon monoxide reaching a home other than the one running the generator. Generac’s site selection instruction sheet for its standby generators describes how this happens. It says exhaust can enter a building through large openings such as windows and doors, but also through smaller and less obvious ones, including cracks in walls, gaps around doors, windows and pipes, attic and soffit vents, garage doors that do not seal, and furnace and dryer vents. It also warns that corners, alcoves, fences and courtyards can restrict airflow and let exhaust collect.

That list reads like a description of a townhouse row. Small fenced patios, recessed doors and shared roof lines are common, and every one of them is a place for exhaust to gather.

There is also less research to lean on. A NIST simulation study of generator CO exposure in U.S. homes modelled detached and manufactured homes, and the authors say they left out attached homes and apartments because of the challenge of accounting for airflow between units and the lack of leakage data for the walls between them. In plain terms, the risk to the home next door is real, but it has not been modelled well, so the safe distances are the minimum, not a comfortable margin.

Protect both homes.

  • Fit CO alarms that run on a battery or have battery backup on every level and outside sleeping areas, as CPSC advises. Interconnected alarms are best.
  • Generac recommends CO detectors on each level of the structure next to the generator, so talk to your neighbours about theirs before an outage.
  • Look for a portable generator with a CO shut off feature. CPSC says models certified to PGMA G300-2023 and UL 2201-2023 include CO safety technology, and UL 2201 models also have reduced CO emissions.
  • If an alarm sounds, get everyone outside and call 911.

Our generator carbon monoxide safety guide explains symptoms, alarms and safe placement in more depth.

Your backup options compared

OptionExhaustSpace it needsHOA or permitBest townhouse fit
Portable power stationNoneA spot indoorsUsually noneInterior units, small patios, renters
Power station with a transfer switchNoneIndoors plus a switch at the panelElectrical permit likelyOwners who want selected circuits powered
Portable generatorYesOutdoor spot 20 feet from all homesMay face HOA noise or use rulesEnd units with a large yard
Standby generatorYesPad with 5 feet to openings and 18 inches rear clearance or moreUsually HOA approval and permitsEnd units with a side yard and gas or propane
Home batteryNoneGarage, utility space or outside wallPermit and code reviewOwners with a garage or a suitable outside wall

Portable power stations, the default for most townhouses

A portable power station is a battery with an inverter and outlets built in. It makes no exhaust, so it is the only option in this guide that can safely run inside your home. You charge it from the wall before an outage, and many models can also recharge from solar panels or a car.

For an interior townhouse with a small patio, this is where most people should start. A mid size station can keep a fridge cycling, the router running and phones and lights charged through a typical outage, and you can carry it to the room you are using. Our power station runtime calculator shows how long a given capacity will last on your appliances, and the buying guide for home backup power stations explains what to look for.

If you want the station to feed your furnace blower or a few circuits rather than extension cords, an electrician can fit a transfer switch or an inlet and interlock. That keeps the battery indoors while it powers hard wired loads. The steps are in our guide to connecting a power station to a house with a transfer switch.

Portable generators, only with real space

A portable generator gives you far more energy per day than a battery, which matters in a long winter outage. The catch in a townhouse is the 20 feet. End units with a side yard or a large back garden sometimes have room. Interior units with a fenced patio between two neighbours usually do not.

If you do have the space, plan the connection as carefully as the placement. Never plug a generator into a wall outlet to feed the house. That backfeeds the wiring and can endanger utility workers and neighbours on the same line. Use heavy duty extension cords to individual appliances, as Ready.gov advises, or have an electrician install an inlet with an interlock kit or transfer switch. Our guides to the interlock kit versus a transfer switch and the cost of a generator inlet box cover the hardware and typical prices.

Noise is the other townhouse problem. Shared walls and small yards mean your neighbours hear everything, and many HOAs have quiet hours. Inverter generators are usually quieter, and a power station is silent.

Standby generators and clearances

A standby generator sits on a pad outside, runs on natural gas or propane and starts on its own through an automatic transfer switch. It solves the refuelling problem, but it needs space that many townhouse lots lack.

Generac’s installation guidelines for its 9 kW to 22 kW air cooled generators set out the clearances, based on NFPA 37, the standard for stationary engines.

ClearanceGenerac guideline
Rear of unit to a wall18 inches minimum for enclosures tested by Southwest Research Institute, unless local codes say otherwise
Operable windows, doors and wall openingsNone within 5 feet of any point of the generator
Front and ends3 feet, and shrubs and trees count
Overhead5 feet to any structure, overhang or projection
Removable fence panelsNot less than 3 feet in front of the unit

The guidelines quote NFPA 37 section 4.1.4, which sets a baseline of 5 feet from openings in walls and from structures with combustible walls, and explain that the 18 inch figure comes from full scale fire tests on the enclosure. They also note that one hour fire rated walls allow closer placement, so ask your installer whether the wall beside the pad has a fire rating.

Generac’s newer site selection sheet, revised in June 2026, adds a caution that matters even more on a tight lot. It says a unit placed to NFPA requirements, including the reduced 18 inch offset, may still allow CO into the building, and that it may need to sit farther away. It also suggests a windbreak at a safe distance if prevailing winds would push exhaust toward the home.

On many interior townhouse lots, the 5 foot rule rules out the side of the house entirely, because a neighbour’s door or window is too close. End units, corner lots and units with a deep side yard have the best chance. A standby generator also needs a gas line or a propane tank, plus electrical and fuel permits. Our comparison of standby and portable generators covers costs and sizing.

Home batteries in a townhouse

A wall mounted home battery is quiet, makes no exhaust and switches over automatically, which makes it attractive where neighbours are close. NFPA 855, the standard for stationary energy storage systems, has a chapter written for one and two family dwellings and townhouse units, so the rules are clear about where batteries can go.

According to the 2020 edition text published by the City of Framingham, Massachusetts, the chapter allows batteries in these places.

  • An attached garage that is separated from living areas as the local building code requires
  • A detached garage or other detached building
  • Outdoors on an exterior wall or on the ground, at least 3 feet from doors and windows
  • An enclosed utility closet or a storage or utility space

It also caps each unit at 20 kWh. The total is capped at 40 kWh in utility closets and storage spaces and 80 kWh in a garage, on an exterior wall or outdoors. Batteries need a UL 9540 listing, interconnected smoke alarms are required, and a battery in a spot where a car could hit it needs approved barriers. NFPA’s own summary of the chapter makes the same points about location, size limits and vehicle protection.

For a townhouse, the garage is often the most practical spot, but tight garages are where the impact barrier rule bites. An outside wall works if you can keep 3 feet from your doors and windows and your HOA allows equipment there. Our guide to what size battery backup a house needs helps with capacity, and the whole home generator versus battery comparison compares running costs and noise.

What your HOA can and cannot do

HOA rules vary by community and by state, and a few states have written generator protections into law.

Texas. Property Code section 202.019 says a property owners’ association may not adopt or enforce a rule that prohibits or restricts an owner from owning, operating, installing or maintaining a permanently installed standby electric generator. The law defines that as a unit fuelled by natural gas, propane, diesel, biodiesel or hydrogen, fully enclosed in a sound attenuating enclosure, connected through a manual or automatic transfer switch and rated at 7 kilowatts or more. The association can still require licensed contractors and code compliance, screening if the unit is visible from the street or a neighbour’s home, reasonable test times, rules on location and a ban on placing the generator on common property. Chapter 202 also applies to townhouse regimes by name.

Florida. Section 720.3035 requires every homeowners’ association board to adopt hurricane protection specifications, and says the board may not deny an application that meets them. The law lists exterior fixed generators and fuel storage tanks as hurricane protection. The board can still ask you to follow the community’s existing look.

Everywhere else. Read your declaration, bylaws and architectural guidelines before you buy, then apply in writing with the model, location, noise figure and installer details. In a townhouse, find out whether the ground where you want the equipment is part of your lot or common property, because that often decides the answer. Portable power stations, which stay indoors, rarely need approval at all.

Winter outages in a townhouse

A winter outage brings extra hazards. CPSC says to clear snow from the outside vents of fuel burning appliances such as furnaces so CO does not build up in the house, and in a townhouse row that includes making sure a neighbour’s generator exhaust is not drifting toward your vents. Ready.gov says a closed fridge keeps food cold for about four hours and a full freezer holds its temperature for about 48 hours, so a power station only needs to run the fridge in bursts.

Never use a gas stove or oven to heat your home, which Ready.gov warns increases the risk of carbon monoxide poisoning. Our guides on heating a house during a power outage and winter storm outage prep cover safe heat and the steps to take before a storm. An electric blanket on a power station is a light way to stay warm if a heater is not safe or not allowed. Keep the router on the same battery if you can, as our guide on how to keep Wi-Fi on during a power outage explains.

A simple townhouse backup plan

  1. Measure your outdoor space and note the nearest windows, doors and vents, yours and your neighbours’.
  2. List what you need in an outage, such as the fridge, router, phones, lights, a furnace blower or medical devices.
  3. If you cannot get 20 feet from every home, choose a portable power station and size it with the runtime calculator.
  4. If you have an end unit or a garage, price a standby generator or home battery and check the clearances above.
  5. Read your HOA documents and get written approval before any outdoor installation.
  6. Use a licensed electrician and a permit for any connection to your panel.
  7. Fit battery powered or battery backup CO alarms on every level, and ask your neighbours to do the same.

Bottom line

A townhouse can have reliable backup power, but the safe choice depends on distance more than on budget. If you cannot keep a portable generator 20 feet from every home in the row, use a power station indoors or a properly installed battery. Standby generators can work on end units and wider lots that meet the 5 foot and 18 inch clearances, and your HOA’s rules, plus any state law that protects you, decide what you can put outside.

Sources we used

Frequently asked questions

Can I run a portable generator on my townhouse patio

Only if the patio lets you keep the generator at least 20 feet from every home and building, including your neighbours' units, with the exhaust pointed away from windows, doors and vents. CPSC says never to run one on a porch or in a carport, and Ready.gov says to keep it 20 feet from windows, doors and attached garages. Many townhouse patios are too small or too enclosed to meet that, and in that case a power station is the safer choice.

Can generator exhaust get into my neighbour's townhouse

Yes, it can. Generac warns that exhaust and carbon monoxide can enter a building through small gaps around windows, doors, soffits, pipes and vents as well as through open windows, and that corners, alcoves, fences and courtyards can trap exhaust. Those are exactly the features of a typical row of townhouses. Tell your neighbours before you run a generator and make sure every level of both homes has a working CO alarm with a battery.

Can my HOA ban a generator at my townhouse

It depends on your state and your governing documents. In Texas, Property Code section 202.019 stops a property owners' association from prohibiting a permanently installed standby generator that meets the law's definition, though it can regulate location, screening, test times and installers, and can bar generators on common property. In Florida, section 720.3035 counts exterior fixed generators and fuel tanks as hurricane protection that a board must approve if the application meets its specifications. Elsewhere, read your declaration and ask the board in writing.

How close can a standby generator be to a townhouse

Generac's installation guidelines, based on NFPA 37 and fire testing by Southwest Research Institute, allow 18 inches from the back of its air cooled units to a wall. No operable window, door or opening is allowed within 5 feet of any point of the generator, the front and ends need 3 feet and there must be 5 feet overhead. Generac also warns that a unit placed to these rules can still let CO into a building, so on a tight lot it may need to sit farther away, and local codes can require more.

Can I install a home battery in a townhouse

Yes, in most cases. NFPA 855 has a chapter for one and two family dwellings and townhouse units. It allows batteries in an attached garage, a detached garage, a utility closet or storage space, or outdoors on a wall or the ground at least 3 feet from doors and windows. Each unit can store up to 20 kWh, and the total is capped at 40 kWh in a utility closet and 80 kWh in a garage or outdoors. Your local code and the battery's installation manual decide the final details.

What is the best backup power for a townhouse

For most interior units, a portable power station sized for the fridge, router, lights and phones is the simplest and safest choice, because it makes no exhaust and needs no installation. End units with a side yard may have room for a standby generator or a portable generator kept 20 feet from all homes, and owners with a garage can look at a home battery. Check the space, your HOA rules and your local code before you buy.

Keep reading

More from the journal.