Portable or standby, here is where a generator can live, what the makers allow, and how to make one easier to look at and listen to.
People search for a generator shed for two reasons. Some have a portable generator, the kind on wheels, and want somewhere dry to keep it and run it. Others have a standby generator, the permanent kind on a pad beside the house, and want to hide it or quiet it down. The rules are different for each.
Storing it there is fine. Running it there is not. A gasoline engine pours out carbon monoxide, a poison gas you cannot see or smell. In a shed, garage or any closed-in space it builds up to deadly levels within minutes, and opening the door or a window does not make it safe. Generac's own instructions for its portables say never to run one indoors, in a garage or in an enclosed area.
The short version: the makers say no. Generac states that its home standby generators are not designed or intended to go inside a second enclosure. The metal housing they come in is already the enclosure. It is built and tested to move cooling air through the engine and carry the exhaust away in open air. Boxing it in can block the emergency shutoff switch that electrical code requires to be easy to reach, and Generac says that may make the installation fail code.
The placement rules point the same way. Generac's guidance, which follows the national fire code for engines, calls for:
A shed with a roof over the generator breaks the overhead rule on its own. Your local building office has the final say, and some ask for more.
Sound-deadening enclosures are real products, but mostly for portables and for large commercial generators with engineered housings. For a home standby unit, the housing it ships with is already built to cut noise, and the makers do not approve adding a box around it. Distance and placement do the most. Every time you double the distance, the sound drops noticeably, and a solid wall between the generator and a bedroom helps too, as long as the clearances are kept.
Raised generators are their own problem. On the coast, where flood rules put the generator up on a platform, there is nothing between the engine and the neighborhood, and the sound carries farther.
Here is the turn. Batteries do not burn anything. There is no exhaust, no heat to speak of and no engine noise, so they can live inside a closed building. That is what we build: a pool house, barn or garden building with the solar panels on the roof and the batteries inside, out of sight and out of earshot. The building is not hiding the backup power. It is the backup power.
It is a different set of trade-offs from a generator. A battery holds a set amount of power and leans on the sun to refill it in a long outage. The generator vs. battery backup page lays both out fairly.
You can store a portable generator in a shed once it has cooled, but never run it there. Carbon monoxide builds up to deadly levels in minutes, even with the door open. Run it outdoors at least 20 feet from the house.
Not in a second enclosure. Generac says its home standby generators are not designed to be enclosed, and boxing one in can block required safety switches and may make the installation fail code. It needs 5 feet of open space above it and clear space around it.
Use an open screen or low plantings set back at the required clearances, with no roof, and choose a spot away from patios and bedrooms. Some makers also sell housings in colors.
Placement matters most: distance, the side of the house it sits on, and a solid wall between it and where people sleep. Do not box in a standby unit. For portables, there are purpose-built enclosures that keep the exhaust in open air.
Yes. Batteries have no exhaust, so they can sit inside a closed building. That is the idea behind putting the batteries and solar panels into a backyard structure.
Where this comes from. Checked November 27, 2026. Follow your generator's manual and your local building office; they have the final word.
Generac is a trademark of Generac Power Systems. Generator Envy is not connected with Generac. Stan's remarks are his own.
How they work, fuel, sizes, sound and upkeep.
Read it →
The machine, the install and the upkeep.
Read it →
What it runs, how long, and what it costs.
Read it →
Have a question we did not answer? Write to stan@generatorenvy.com. Stan grumbles, but a real person answers.