Yard Insight
Outdoor Storage & Sheds

Storing Gas Cans in a Shed: Ventilation and Siting

Published · Updated

This post may contain affiliate links. As an Amazon Associate I earn from qualifying purchases. Affiliate disclosure

Storing gas cans in a shed is generally a better choice than a house or basement, and it is close to what the U.S. Consumer Product Safety Commission suggests. But "a shed" is not automatically safe. The CPSC's condition is a well-ventilated, cool place away from ignition sources. An unvented plastic or metal shed sitting in full sun in July fails the "cool" and "ventilated" parts, and a shed that also holds a charging station, a fuel-burning heater or an electric mower can fail the ignition part. The shed only works when you set it up to meet all three.

What the safety authorities actually say

Two pages from the CPSC frame this whole decision, and they are worth reading in the regulator's own words rather than through a shed seller's summary.

The first is the CPSC's current gasoline and portable fuel container safety page (read September 25, 2026). It says to "store gas cans and portable fuel containers in well-ventilated, cool areas only," and to never store them "inside a house, basement, or near sources of ignition, such as fuel-burning appliances, open flames, pilot lights, stoves, heaters or electric mowers." It also says to buy a child-resistant can, keep it out of children's reach, and always put the cap back on after use. The same page notes that a federal safety standard requiring flame mitigation devices on fuel containers went into effect on July 12, 2023.

The second is an older CPSC news release from July 30, 1979 (read September 25, 2026), still on the agency's site, which told consumers to keep storage cans "outdoors and far away from living quarters and ignition sources (such as in a well-ventilated shed)." That is where the shed advice you see repeated everywhere comes from. Notice the qualifier: well-ventilated. The release also warned that vapor from less than one-half pint of gasoline is enough to fill an entire home garage with explosive vapors, which tells you how little fuel it takes for a closed space to become a problem. Its container advice reflects 1979 products, so for choosing a can today, use the current CPSC page above and the label on the can.

Neither page says any shed is fine. Both say a ventilated one, away from things that spark or burn.

Why a shed beats the attached garage, and when it does not

Why a shed beats the attached garage, and when it does not

The case for the shed is distance. A detached structure puts walls and open ground between the fuel and the rooms where people sleep, cook and run appliances with pilot lights. An attached garage often shares a wall, a door and sometimes a water heater or furnace with the house. That is the arrangement the CPSC guidance steers you away from.

The shed loses that advantage in three situations:

  • It is built against the house. A lean-to shed on the back wall, or a shed tucked a few feet from a window or dryer vent, has given up most of the distance that made it the better choice.
  • It is sealed tight. Many resin and metal sheds ship with small gable vents or none you would notice. Fumes from a can that is not fully closed, or from a small spill, have nowhere to go.
  • It has become the workshop. Once a shed has a heater, a bench grinder, a battery charger or an extension cord running in, it holds ignition sources, and the fuel is no longer "away" from them.

If your shed is in any of those situations, the answer is not to give up on the shed. It is to fix the siting, the airflow or the contents first.

The ventilation question: is an unvented plastic shed in July a bad place for a gas can?

The ventilation question: is an unvented plastic shed in July a bad place for a gas can?

Yes, it is the weak point of the whole setup. The CPSC wording asks for two things that an unvented shed in summer sun struggles to deliver: cool, and well ventilated.

A closed shed in direct sun traps heat, and a dark or metal roof adds to it. Warm fuel gives off more vapor than cool fuel, and in a closed box that vapor has no way out. So any fumes that escape a cap that is not fully seated, or from a drip on the outside of the can, collect instead of clearing. Always read and follow the label on your specific can for how to open, fill and close it, since designs differ and the label is written for that container.

What helps, in order of how much it changes:

  1. Shade the shed or move it. A shed in afternoon shade stays cooler than one in full sun. If you are still choosing where the shed goes, this is the cheapest fix you will ever get.
  2. Give it real airflow. A shed needs an intake and an exhaust so air actually moves through it, not one grille that lets heat sit. The same trapped, still air that causes dripping condensation also traps fumes, which is why the fixes in our guide on how to stop condensation in a metal or resin shed overlap with fuel storage more than people expect.
  3. Keep the can closed and upright. The CPSC's cap-back-on rule is not a formality. A closed, upright, undamaged can is what keeps vapor inside the container instead of inside your shed.
  4. Keep cans out of direct sun inside the shed. Do not park them under a window where sunlight lands on them for hours.

What we will not give you is a vent size or a number of square inches for fuel storage. Any figure worth using depends on the shed's size, its material and your local code, and the manufacturer's documentation for your shed model is the place to check what vents it can take and where openings are allowed. Cutting holes in a resin or metal panel without that guidance can weaken it.

Ignition sources: the list most shed-seller guides skip

Ignition sources: the list most shed-seller guides skip

Most pages ranking for this topic list pilot lights and cigarettes. The CPSC's own list is broader, and it includes one item that lives in a lot of sheds: electric mowers.

Walk your shed and check for these before the gas cans move in:

Item in the shed Why it matters What to do
Electric or cordless mower, trimmers, chargers CPSC names electric mowers as an ignition source to keep fuel away from; motors and chargers are electrical equipment Keep fuel on the opposite side of the shed, or charge batteries somewhere else
Space heater or any fuel-burning appliance Named by CPSC as ignition sources Do not run one in a shed that stores fuel
Extension cords, power strips, light switches Electrical connections in the same air as fuel vapor Keep fuel away from outlets and cords; unplug what you are not using
A gas mower or tiller with fuel in the tank Adds a second fuel source and more vapor in the same space Follow the storage section of that machine's owner's manual, and let a hot engine cool before closing it in
Grill, fire pit or smoker gear Items that were recently hot, and lighters or matches Store lighters and matches away from fuel; never put hot equipment away

The row about a gas-powered machine is deliberately short. Whether a particular mower or tiller should be stored with fuel in the tank, drained or stabilized is a question for its own manual, not for a general storage article.

Siting the shed itself

If the gas cans are the reason you are choosing where a shed goes, the siting decision carries most of the safety weight.

  • Away from the house. More distance from doors, windows, vents and anything with a flame is better. We are not going to quote a distance, because local fire code sets that where it is set at all.
  • Away from the fire pit and grill. A shed full of fuel should not sit downwind of where you burn wood or light charcoal.
  • Accessible. You should be able to reach the cans without climbing over the lawn equipment, since carrying a full can through a cluttered shed is how spills happen. If you also keep bulky cleanup gear in there, plan the layout the way you would for storing a tow-behind lawn sweeper through the off-season: big equipment at the back, frequently used items near the door.
  • Lockable. The CPSC singles out children as a concern with fuel. A shed you can lock is doing a safety job, not only a security one.

How much fuel, and who decides

How much fuel, and who decides

This is where the article stops and your local authority takes over. Fire codes in many places limit how much gasoline a household can keep and how large each container can be, and those limits vary by jurisdiction. Your homeowners' insurance policy may have its own conditions too.

The right call is to your local fire marshal, your fire department's non-emergency line, or your city or county fire prevention office. The same logic applies to any backyard fire question, which we cover in who actually decides whether you need a fire pit permit: the local authority, not a national rule of thumb, sets the limit where you live.

In the meantime, the conservative approach is to store only what you expect to use in a season. The less fuel sitting in a warm shed, the less there is to go wrong.

The container is part of the decision

The container comes before the shed. The CPSC says not to use plastic bags or other inappropriate containers with gasoline or other flammable liquids, and to choose a child-resistant can. Since July 12, 2023, a federal standard has required flame mitigation devices on portable fuel containers. If your cans are older than that, they may lack those devices, and a cracked, swollen or leaking can should be replaced rather than stored.

Keep each can labeled for the fuel it holds. Gasoline, mixed two-stroke fuel and diesel in identical cans is how the wrong fuel ends up in the wrong machine. And whatever this article says, the label printed on your specific container wins. It is written for that design.

What storing gas cans in a shed cannot fix

What storing gas cans in a shed cannot fix

A shed cannot make a leaking can safe, cannot make up for fuel stored next to a running heater, and cannot replace the local fire code. It also cannot stop vapor from reaching an ignition source if you refuel equipment inside it. Refuel outdoors, with the engine off and cool, then put the can away closed.

If you are weighing a full shed against a small outdoor storage box for a single can, remember that a small sealed box has the same heat and ventilation problem as a sealed shed, just in a smaller space. The same three conditions apply: ventilated, cool, away from ignition sources.

FAQ

Is it safe to store gas cans in a plastic shed? It can be, if the shed is ventilated, shaded and free of ignition sources. The material matters less than the airflow and the contents. An unvented resin shed in full sun is the weak case, because the CPSC asks for a cool, well-ventilated area.

Can I store gas cans in the same shed as my mower? Many people do. Keep the fuel away from anything electric, including cordless mowers and chargers, since the CPSC lists electric mowers among ignition sources. For a gas mower, follow its owner's manual on storing with fuel in the tank and let the engine cool before you close the door.

How many gas cans can I keep in a backyard shed? There is no single national answer. Your local fire code sets quantity and container-size limits where they exist, so ask your fire marshal or local fire prevention office.

Should gas cans sit on the floor or a shelf in a shed? Keep them upright, stable, out of direct sun and out of children's reach. Wherever they sit, they should be away from outlets, chargers and cords.

Is a detached shed safer than an attached garage for gasoline? Generally yes, because it puts distance between the fuel and the house. CPSC guidance says never to store gas cans inside a house or basement, and to keep storage cans far away from living quarters.