Is it safe to run a generator in the garage? (No, and here's where to put it)

A portable generator and two red fuel cans on a concrete surface

Updated November 20, 2026. Based on guidance from CDC, CPSC, OSHA.

No. Not with the big door up, not with a fan running, not for a few minutes. CDC, CPSC and NFPA all say the same thing: a portable generator never runs in a garage, attached or detached, even with the doors and windows open. Put it outside on open ground, at least 20 feet from the house with the exhaust aimed away, and run heavy-duty outdoor cords back in.

A garage feels like outdoors, which is why people use it. It isn't. Exhaust collects there and works its way into the house through the connecting door, the attic and gaps in the shared wall, and carbon monoxide gives you nothing to see or smell while it happens.

Printable checklist (PDF)

Why an open garage door doesn't help

An open door lets some air in but doesn't clear exhaust as fast as an engine makes it, and what builds up has an easy path into the house. CPSC's wording is blunt: opening doors or windows won't provide enough ventilation to prevent lethal CO buildup. NFPA specifically names the attached garage with the door open as a place a generator must never run.

Outdoors isn't automatically safe either. After Hurricane Ida, CPSC staff investigating CO inside homes found generator exhaust that had traveled at least 25 feet, spread sideways and risen more than 10 feet before getting inside, enough to set off CO alarms. That was mostly from permanently installed standby units, but the physics is the same for a portable one parked beside a window.

CO shut-off models, which turn the engine off when CO builds up around them, are worth buying. CPSC recommends them. They're a backup for good placement, not permission to run the generator somewhere enclosed.

Where to put it

Outside, and farther away than most people think. Here's what CPSC, NFPA, CDC and OSHA say about the spot:

  • Keep it at least 20 feet from the house, measured from the generator to the wall, and more than 20 feet from windows, doors and vents.
  • Point the exhaust away from your house and your neighbors' houses.
  • Don't put it under a window, near a dryer vent, or upwind of an open door.
  • Leave 3 to 4 feet of open space on every side and above it.
  • Set it on firm, level ground where water won't pool.
  • Never run it on a porch, deck or balcony, or in a carport.
  • If you can smell exhaust where you're standing, you're breathing it. Move it or move yourself.
  • Worried about theft? Chain it to something solid outside rather than bringing it in.

Twenty feet is a minimum. If wind blows toward the house, move it farther or to the other side. A spot near the edge of a driveway, well clear of the garage door, works for most houses.

Rain, snow and wet ground

The agencies differ a little here. OSHA says to keep a generator dry, not to use it in rain or wet conditions, and to protect it with a canopy if needed. CPSC says to follow the manufacturer's instructions on shock hazards in bad weather, and notes the manufacturer may tell you to wait until the rain or snow passes. Read your manual before the storm, because that's the rule that applies to your unit.

  • Use a cover or tent made for running generators, and only if your manual allows one. It has to stay open enough that exhaust and engine heat escape and the 3 to 4 feet of clearance holds.
  • A tarp draped over it, a lean-to against the house or a box built around it all trap exhaust. Don't.
  • Plug cords into GFCI-protected outlets or GFCI cords. OSHA calls for them wherever equipment is used in wet or damp locations.
  • Never touch the generator, its outlets or plugs with wet hands, or while standing in water.
  • Don't run anything that's been underwater until it has dried out and been checked.

Safety: Moving a generator into the garage or onto the porch to keep it out of the rain is exactly how many CO deaths happen. Shut it off and wait, or shelter it outdoors in the open. A wet generator is a shock risk. A sheltered one in the wrong place can kill everyone asleep in the house.

Extension cords

Twenty feet of distance means at least a 25-foot cord, and usually 50. OSHA says cords should be grounded three-prong, undamaged, and rated in watts or amps for the load, using heavier-gauge wire when one isn't. Outdoor-rated cords are marked on the jacket, typically with a W in the type code.

Cord gauge (AWG)Typical rating, 50 ftFits
16About 10 to 13 ALamps, chargers, a router, a TV
14About 15 AA fridge plus a few small loads
12About 15 to 20 AA fridge and freezer together, or a microwave
10About 20 to 30 AHeavy loads, or runs past 50 feet

Those ratings are typical, not universal. The amp rating printed on the cord or its package is the one that counts. To check a load, divide watts by 120 for amps: a 700 W microwave is about 6 A and a 1,200 W coffee maker is 10 A. A cord that's warm to the touch is overloaded. Run cords where they won't be pinched in a closed door or window, which crushes the insulation and leaves a gap for exhaust.

Refueling

  • Shut the generator off and let it cool before you open the tank. OSHA notes gas spilled on hot engine parts can ignite, and generators stay hot for a long time after they stop.
  • Fill it outdoors, in daylight if you can, with a funnel and a flashlight rather than a lantern with a flame.
  • Keep gas in approved, vented, labeled containers, never in the house. OSHA warns that fuel vapors travel a long way to an ignition source.
  • Store cans away from the generator itself, the water heater and anything that sparks.
  • Top up before dark, so you're not refueling a hot engine at 2 a.m.

Running it overnight

It can be done, outside and placed as above, with working CO alarms inside. Night is the riskiest time, because CDC says people who are asleep can die from CO before they ever feel symptoms. The alarm is what wakes you.

  • CO alarms with battery backup on every level and outside every sleeping area
  • Interconnected alarms, if you have them, so one sounding sets off all of them (CPSC)
  • Tested monthly (CPSC); batteries checked when the clocks change (CDC)
  • Replaced per the maker's instructions or every 5 years (CDC)
  • Placement and mounting height from the alarm's own instructions (NFPA)
  • Windows on the generator side of the house shut
  • Generator topped up and fueled before bed, not in the middle of the night

If you're relying on it to power a medical device through the night, a battery power station between the generator and the device is cheap insurance. When the generator runs dry, the battery carries on and you sleep through it.

If the CO alarm goes off

Safety: Get everyone outside to fresh air right away, then call 911. Don't stop to find the source, open windows or shut off the generator first. CPSC's instruction is to get outside immediately and then call. Don't go back in until the fire department says it's safe.

CPSC lists the symptoms as headache, dizziness, weakness, nausea, vomiting, sleepiness and confusion. If more than one person, or a pet, feels sick at once, assume CO even with no alarm. Tell the 911 dispatcher about any symptoms, and anyone who feels ill should be checked, especially infants, older adults and people with heart or breathing problems, whom CDC lists as more likely to become seriously ill.

The scale is worth knowing. CDC counts more than 400 U.S. deaths a year from CO not linked to fires, more than 100,000 emergency room visits and more than 14,000 hospital stays. CPSC attributes an average of nearly 100 deaths a year to portable generators alone.

Live deals on this gear

Questions people ask

Can I run a generator in the garage with the door open?

No. CDC, CPSC and NFPA all say never, even with the door and windows open. Exhaust builds up faster than an open door clears it and seeps into the house. Put it outside at least 20 feet away.

Is a detached garage or shed OK?

No. CPSC lists sheds and garages among the places never to run one, and the risk to anyone inside the building is the same. Run it in the open.

Does a generator with CO shut-off make indoor use safe?

No. The shut-off is a backup that stops the engine when CO builds up. It measures CO at the generator, not in your bedroom, and it doesn't make an enclosed space safe.

Can I run a generator in the rain?

Only if your manual allows it, under a cover made for running generators that stays open on the sides. OSHA says to keep generators dry. Never move one into the garage or onto a porch to get it out of the weather.

Is it safe to run a generator overnight?

Yes, if it's outside at least 20 feet from the house and you have working battery-backed CO alarms inside on every level. CDC warns that sleeping people can die from CO before noticing symptoms, so the alarms aren't optional.

Buying guides

More on emergency prep

Sources

Every claim here is checked against these sources before it goes up. How we check facts, and how to report a mistake.

General guidance, not medical or professional advice. In an emergency, call 911 and follow local officials.