Run a generator outdoors at least 20 feet from the house, per CPSC, under an open-sided canopy, because portable generator enclosure ventilation cannot make a closed box safe.
Is it safe to put a portable generator in an enclosure?
Not a closed one. A sealed or mostly closed box traps two things: engine exhaust, which contains carbon monoxide (CO), and heat. CO is colorless and odorless. Trapped heat can starve the engine of cooling air, stress the engine and create a fire risk.
What you can safely use is a weather canopy: a waterproof roof held overhead on posts, with the sides left open and nothing touching the generator.
Two caveats up front:
- The 20-foot figure in this guide is a Consumer Product Safety Commission (CPSC) recommendation, not a federal law. Manufacturer manuals and local rules can differ, so your model’s manual and label come first.
- No vent size, fan or open window turns a garage, shed, crawlspace, porch or carport into a safe place to run a generator. CPSC says opening doors or windows does not provide enough ventilation to prevent deadly CO buildup.
The rest of this guide covers where to place the generator, what a canopy must and must not do, and what to do if a CO alarm sounds.
How far should a portable generator be from the house, windows and vents?
CPSC advises running a portable generator outdoors at least 20 feet from the house, with the exhaust pointed away from the home and from neighbors. CPSC also says a porch or carport is too close. For the full reasoning, see our guide to the 20-foot generator rule for carbon monoxide safety.
| Source | What it says |
|---|---|
| CPSC | At least 20 ft from the house, exhaust aimed away from the home and neighbors |
| CPSC | A porch or carport is too close; open doors and windows do not provide enough ventilation |
| Your generator’s manual and label | Required clearance on every side and above; treat it as the minimum |
A manual’s clearance is mainly about heat and fire. It does not by itself guarantee that CO stays away from your home, so use the larger distance when your yard allows it and follow the manual or label for everything else.
If your yard is tight
- Move as far from the house as the cord and yard allow.
- Point the exhaust outlet away from every window, door and vent, including your neighbors’.
- Check wind direction. Do not set up where wind pushes exhaust toward the house.
- Confirm working CO alarms are in place indoors before you start the engine.
Portable generator enclosure ventilation: canopy vs closed box
The key difference is whether exhaust and cooling air can leave freely in every wind condition. An open-sided canopy can. A box with vent holes usually cannot.
| Setup | Exhaust | Cooling | Verdict |
|---|---|---|---|
| Open-sided canopy, roof overhead only | Disperses outdoors | Normal airflow on all sides | Acceptable if the roof clears the generator and the manual’s clearances are met |
| Manufacturer-approved tent or cover | Per that product’s instructions | Per that product’s instructions | Use only if your generator’s manual approves it |
| Closed box with vent holes | Can pool or recirculate | Can overheat the engine | Do not use |
| Garage, shed, crawlspace, porch, carport | Can seep into the home | Varies | Do not use |
What any housing would have to get right
Engineers who design noise-reducing generator housings treat these as separate problems:
- Cooling air: the generator needs a steady flow of fresh air in and hot air out, and the openings must stay clear of snow, leaves and walls.
- Exhaust: the engine exhaust needs its own sealed path out of the housing, kept separate from the cooling airflow.
- Fire clearance: combustible walls, roofs and tarps must stay away from the muffler and the engine.
- Rain protection: the housing must shed water without blocking airflow.
Vent sizes depend on the specific engine, so the manual is the only reliable source for them. If your manual does not describe an approved enclosure, do not build a closed one.
Mistakes that defeat a canopy
- Building a plywood box with a few vent holes. It looks like protection but can trap exhaust and overheat the engine.
- Running it in a garage with the door cracked. CO can still enter the house through shared walls, doors and ducts.
- Setting it beside an open window or a fresh-air intake, where exhaust is pulled straight inside.
- Letting the canopy roof rest on the generator or cover the muffler.
- Wrapping a tarp down the sides or letting snow and leaves block airflow.
- Relying on a built-in CO shutoff as a reason to run closer. Some manuals treat it only as a backup.
- Skipping indoor alarms because the generator is outside.
Checklist: setting up a generator with a weather canopy
- Read the manual’s clearance section. Note the required space on every side and above.
- Pick a spot outdoors on level, dry ground as far from the house as your cord allows, using the distances above.
- Aim the exhaust away from the house, neighbors, windows, doors, vents and air intakes.
- Add the canopy overhead only. Keep the sides open and the roof off the generator.
- Check that nothing combustible (tarp, wood, siding, dry leaves) sits within the manual’s clearance of the muffler.
- Test the CO alarms indoors before you start the engine.
- Connect power safely. Run heavy-duty outdoor-rated cords, or use a transfer switch or interlock installed by a licensed electrician. Never plug the generator into a wall outlet.
- Let the engine cool before refueling.
For the wider set of rules on fuel, grounding and wet conditions, see our portable generator safety rules.
CO alarms, symptoms and what to do if one sounds
CO builds up when exhaust collects faster than fresh air replaces it, which is what happens in a closed space. It can also drift in through gaps, doors, vents and window frames near the generator, which is why placement matters as much as the canopy. Our carbon monoxide placement guide explains how exhaust travels.
Alarms
- Choose battery-powered alarms or plug-in alarms with battery backup, listed to UL 2034.
- Install one on every level and outside sleeping areas, and follow the alarm maker’s placement instructions.
- Test them before every outage and replace them on the schedule printed on the alarm.
Symptoms
Headache, dizziness, weakness, nausea, confusion and chest pain. They can resemble the flu, and people who are asleep may never notice them.
If an alarm sounds or you feel symptoms
- Get everyone, including pets, into fresh air immediately.
- Call 911 from outside.
- Do not go back in until responders say it is safe.
- Have the generator and setup checked before using it again.
Warranty and local codes
Modifying a generator or running it in a way the manual forbids can affect warranty coverage. Ask the manufacturer before you add any cover or housing, and ask whether they sell or approve one for your model.
Check your city or county for rules on generator placement, noise and fuel storage. Hire a licensed electrician for any house connection, since codes for transfer switches and interlocks vary by location.
Our Top Picks
Ready to shop? These are the top-rated options from our hands-on roundup, Best Dual Fuel Portable Generators For Whole House of 2026.
Westinghouse iGen4000DFc 4000 Peak Watt Dual Fuel Inverter Generator - Super Quiet RV Ready Remote Start CO Sensor
PowerSmart 3800 Watt Dual Fuel Inverter Generator Quiet Portable Gas Propane with CO Sensor RV Ready
maXpeedingrods MXR4000GT 4000W Dual Fuel Inverter Generator with Bluetooth App Control
As an Amazon Associate we earn from qualifying purchases. Product prices and availability are accurate as of the date/time indicated.
Frequently Asked Questions
Can I run a generator under a carport or a pop-up tent?
Not under a carport, since CPSC calls a carport too close to the house. A pop-up tent is acceptable only if the generator’s manual approves it, the sides stay fully open and the exhaust points away from the home. Decision rule: if the manual does not approve it, keep the canopy open-sided and on posts.
Is it OK to run a generator in the rain?
Only with protection that keeps water off the unit while leaving air flow open, such as an open-sided canopy or a cover your manual approves. Keep it on dry ground, away from standing water, and use outdoor-rated cords. Decision rule: if the ground is wet where the generator sits, move the generator, not the cord.
Can I run a generator in the snow?
Yes, under an open-sided canopy, as long as snow cannot pile against the unit or block its air openings. Clear the area around it often. Decision rule: if you can no longer see around all sides of the generator, snow is blocking its airflow.
Is a fence or wall next to my generator a problem?
It can be. Solid fences and walls can hold exhaust near the ground and steer it toward your home or a neighbor’s. Keep the manual’s clearance on every side, point the exhaust at open space, and watch wind direction. Decision rule: if exhaust has nowhere open to go, pick another spot.
Can I use a tarp as my canopy roof?
Yes, if it is stretched overhead on posts, sits well clear of the muffler and engine, and the sides stay open. Never drape it over the generator or down its sides. Decision rule: if the tarp touches the generator or hangs lower than the top of it, raise it or remove it.
{“@context”: “https://schema.org”, “@type”: “FAQPage”, “mainEntity”: [{“@type”: “Question”, “name”: “Can I run a generator under a carport or a pop-up tent?”, “acceptedAnswer”: {“@type”: “Answer”, “text”: “Not under a carport, since CPSC calls a carport too close to the house. A pop-up tent is acceptable only if the generator’s manual approves it, the sides stay fully open and the exhaust points away from the home. Decision rule: if the manual does not approve it, keep the canopy open-sided and on posts.”}}, {“@type”: “Question”, “name”: “Is it OK to run a generator in the rain?”, “acceptedAnswer”: {“@type”: “Answer”, “text”: “Only with protection that keeps water off the unit while leaving air flow open, such as an open-sided canopy or a cover your manual approves. Keep it on dry ground, away from standing water, and use outdoor-rated cords. Decision rule: if the ground is wet where the generator sits, move the generator, not the cord.”}}, {“@type”: “Question”, “name”: “Can I run a generator in the snow?”, “acceptedAnswer”: {“@type”: “Answer”, “text”: “Yes, under an open-sided canopy, as long as snow cannot pile against the unit or block its air openings. Clear the area around it often. Decision rule: if you can no longer see around all sides of the generator, snow is blocking its airflow.”}}, {“@type”: “Question”, “name”: “Is a fence or wall next to my generator a problem?”, “acceptedAnswer”: {“@type”: “Answer”, “text”: “It can be. Solid fences and walls can hold exhaust near the ground and steer it toward your home or a neighbor’s. Keep the manual’s clearance on every side, point the exhaust at open space, and watch wind direction. Decision rule: if exhaust has nowhere open to go, pick another spot.”}}, {“@type”: “Question”, “name”: “Can I use a tarp as my canopy roof?”, “acceptedAnswer”: {“@type”: “Answer”, “text”: “Yes, if it is stretched overhead on posts, sits well clear of the muffler and engine, and the sides stay open. Never drape it over the generator or down its sides. Decision rule: if the tarp touches the generator or hangs lower than the top of it, raise it or remove it.”}}]}