Generator Envy
Housing a generator

Generator sheds and enclosures: what’s safe and what’s allowed.

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.

Two kinds of generator, two different answers

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.

A portable generator in a shed

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.

“My little cousins with wheels get rolled out of the shed in the rain and yanked on with a rope. And people wonder why they are cranky.”Stan the Standby, from his concrete pad

A standby generator in a shed or enclosure

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.

“Put a roof over me and I cook. Put walls around me and I choke. I am an outdoor fellow. Always have been.”Stan the Standby, from his concrete pad

What you can do to make it look better

Sound deadening enclosures

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.

The building that is supposed to have walls

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.

“They gave the batteries a whole building. With a door. And a loft. I got a concrete pad and a view of the air conditioner.”Stan the Standby, from his concrete pad

Questions people ask

Can you put a generator in a shed?

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.

Can a standby generator be enclosed?

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.

How do I hide a standby generator?

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.

How can I make my generator quieter?

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.

Is there a backup power option that can go inside a building?

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.

Keep reading

Have a question we did not answer? Write to stan@generatorenvy.com. Stan grumbles, but a real person answers.