Generators kill more people from carbon monoxide than from the storms that made them necessary. Not because the machines are unsafe, but because “just outside” isn’t the same as “far enough,” and “the garage door is open” isn’t the same as “ventilated.” Here’s exactly where a portable generator needs to sit, why a cracked garage door doesn’t save you, and the one legitimate way to keep one running through rain.

We independently review everything we recommend. When you buy through our links, we may earn a commission. As an Amazon Associate we earn from qualifying purchases. Learn more.

The 20-Foot Rule Isn’t a Suggestion

The CDC and generator manufacturers both land on the same number: at least 20 feet from your house, measured from every door, window, and vent, not just the nearest wall. Exhaust from a portable generator carries carbon monoxide (CO) at concentrations that can become dangerous indoors within minutes, and CO has no smell, no color, and no warning sting the way smoke does. By the time anyone inside notices anything, blood oxygen is already being displaced.

Twenty feet is a floor, not a target. If the wind is blowing toward the house, or there’s a breezeway, carport, or narrow side yard that channels air back toward a window, push the generator further and reposition it so the exhaust vents away from the structure, not just physically distant from it. A tape measure at setup time takes thirty seconds and beats guessing “that looks about right” during a blackout.

Why “Just Crack the Garage Door” Doesn’t Work

This is the mistake that shows up in nearly every generator CO poisoning case: someone runs the machine in an attached garage with the big door partway open, reasoning that some airflow is better than none. It isn’t enough. A garage with the door cracked still traps CO far above safe levels, because the volume of exhaust a generator produces overwhelms the small amount of air exchange a partial opening allows, and CO drifts through the shared wall, door, and ductwork into the living space regardless of the garage door position.

The rule is simpler than any airflow calculation: a generator never runs in a garage, shed, basement, breezeway, carport, or any other enclosed or semi-enclosed structure, attached or detached, door open or closed. It runs outdoors, in the open air, at least 20 feet from the house. There’s no version of “sort of enclosed” that changes this.

Portable generator placed well away from a house, at least 20 feet from windows and doors

Downwind, Away From Windows and Vents

Distance handles most of the risk, but exhaust direction matters too. Point the generator’s muffler and exhaust outlet away from the house, and check which way the wind is actually blowing when you set up, not just where feels convenient. A generator sitting 20 feet away but exhausting straight into a stiff breeze toward an open kitchen window can still push CO indoors faster than a slightly closer unit exhausting away from the structure entirely.

Also check for anything nearby that pulls air into the house: HVAC intake vents, dryer vents, bathroom exhaust fans, and any window that’s even slightly open. Position the generator so none of these sit directly downwind of the exhaust, and re-check if the wind shifts partway through an outage. A five-minute walk-around beats finding out the hard way.

Running a Generator in the Rain

The instinct to move a generator somewhere covered during a storm is exactly how people end up running one in a garage or under a tarp draped directly over it, and both of those trade one danger (rain) for a worse one (CO buildup or electrical fire from trapped heat and moisture). A generator can get wet on the outside without immediate failure, but water reaching the control panel, outlets, or the internal alternator is a genuine electrocution and fire risk, and standard tarps that touch the engine trap heat against a hot muffler.

The only setup that’s actually safe is an open-sided generator canopy or tent built specifically for the purpose: a rigid or pop-up frame that keeps rain off the unit’s top and sides while leaving the bottom and at least two sides fully open for airflow and exhaust venting. It has to sit on a dry, stable, non-flammable surface, plug into a GFCI-protected outlet or extension cord rated for outdoor use, and stay at the same 20-foot minimum distance and downwind orientation as any other setup. A draped tarp, a lean-to against the house, or anywhere under a covered porch that’s effectively an extension of the house doesn’t qualify, even if it keeps the rain off.

Open-sided generator canopy tent keeping rain off a portable generator while allowing airflow

The One Alarm That Actually Catches This

Every rule above assumes perfect setup every time, and outages don’t always happen in daylight with a level head. A battery-powered combination smoke and CO alarm placed inside the house, near sleeping areas, is the backstop that catches a mistake before it becomes a medical emergency, and it works even during a power outage since it runs on battery rather than house power.

The First Alert combination alarm below covers both smoke and carbon monoxide in one unit and runs on battery, so it stays active exactly when the grid, and therefore your hardwired detectors, might not be.

First Alert SMCO100 Battery Combination Smoke & Carbon Monoxide Alarm with Precision Detection

First Alert SMCO100 Battery Combination Smoke & Carbon Monoxide Alarm with Precision Detection

Combination Smoke & Carbon Monoxide Detectors
FirstAlert
amazon.com

Frequently Asked Questions

How far should a generator be from the house? At least 20 feet from every door, window, and vent, positioned so the exhaust vents away from the structure rather than just physically distant from it.

Can you run a generator in the rain? Only under a purpose-built open-sided generator canopy or tent that keeps rain off while leaving airflow and exhaust venting open. A tarp draped over the unit or a spot under a covered porch attached to the house doesn’t qualify.

Is it safe to run a generator in a garage with the door open? No. A cracked or even fully open garage door doesn’t move enough air to clear the CO a generator produces, and it drifts into the attached living space regardless of door position.

Do carbon monoxide alarms detect generator exhaust? Yes, a CO alarm detects the same carbon monoxide a generator produces regardless of the source, which is why one placed near sleeping areas is a critical backstop even with correct outdoor placement.

Quick Decision Guide

  • Setting up during an outage: measure 20 feet from every door, window, and vent, and check wind direction before you decide where the exhaust points.
  • It’s raining: use an open-sided generator canopy or tent on a dry surface with a GFCI outlet, never a draped tarp or a spot under an attached porch.
  • Only place available is the garage: it isn’t a safe option, door open or closed. Move it outdoors, even in bad weather, with proper rain protection.
  • No CO alarm in the house yet: add a battery-powered combination smoke and CO alarm near sleeping areas before the next outage, not during it.

For more on avoiding carbon monoxide risk specifically, see wikigenerators.com’s carbon monoxide safety and 20-foot rule guide. And for choosing the unit itself, see our best home generator picks or our quietest generator picks for models better suited to close neighbors.