Can I Have a Shipping Container in My Backyard?

Yes, you can usually put a shipping container in your backyard, but only after you clear three separate gates: your local zoning district’s rules for accessory structures, any permits your building department requires, and your HOA’s covenants if you have one. On top of that, a used container carries industrial paint and floor treatments that need to be checked before you spend time near it. Skip any of those steps and you’re looking at fines, forced removal, or a health risk you didn’t know you brought home.

Whether Your Zoning District Allows It

Zoning is the first thing to check. Cities and counties divide land into districts and tell you what can sit on each type of lot. Shipping containers usually fall under the rules for accessory structures, which means they follow the same setback, height, and lot coverage limits as a detached garage or a storage shed. A few jurisdictions have written container-specific rules. Many haven’t addressed containers at all, and that silence isn’t permission. Zoning offices in those areas apply the general accessory structure rules and can deny a placement that doesn’t fit them.

Setbacks are the measurement that trips people up most. Your container has to sit a minimum distance from every property line, and those minimums vary widely. Some areas require as little as three to five feet from side or rear lot lines. Others demand fifteen feet or more. The setback from your house may be a separate number from the setback from the property boundary, so both measurements matter. Corner lots and irregularly shaped parcels often face stricter rules.

Height caps for accessory structures typically sit at the lesser of a fixed number of feet or the height of your house. Fifteen feet is a common ceiling in single-family zones, though some jurisdictions allow up to 22 or 24 feet with extra setback. A standard container is about 8 feet 6 inches tall, so height isn’t usually a problem unless you’re stacking or elevating.

Lot coverage is the sneakier constraint. Your house, garage, driveway, and container all count toward a percentage cap on how much of your lot can be covered by structures. If you’re already close to that cap, a 20-foot container adds about 160 square feet of footprint and can push you over. Some jurisdictions prohibit containers in residential zones outright, or allow them only as temporary storage during active construction.

HOA Rules Can Override the Zoning

Even if your city clears the project, a homeowners association can shut it down. HOA covenants, conditions, and restrictions bind every owner in the community, and they routinely prohibit structures that don’t match the neighborhood’s architectural style. A corrugated steel box is a hard sell in most HOAs no matter how nicely you paint it.

These restrictions are enforceable through fines, liens, and lawsuits. If your CC&Rs prohibit metal outbuildings or require architectural review board approval for exterior structures, dropping a container without approval opens you up to escalating penalties and possibly a court order to remove it. Read your governing documents before you buy, not after. If the language is ambiguous, get an answer from your HOA board or management company in writing.

Permits You’ll Need To Pull

Almost any permanent or semi-permanent placement needs at least one permit, and often two or three. A zoning permit (sometimes called a land-use permit) confirms your placement complies with district rules. A building permit covers structural work, including the foundation, any modifications to the container, and utility connections. Running electricity to the container typically requires a separate electrical permit and inspection.

Some uses trigger a special use permit. Converting a container into a home office, rental unit, or workshop can cross that line because the use doesn’t fit standard residential categories. Special use permits usually involve a public hearing before the planning commission and sometimes a second hearing before the city council, which adds weeks or months and lets neighbors weigh in.

Simple accessory-structure permit fees often run $50 to a few hundred dollars. Projects with habitable space, plumbing, or electrical work push costs into the thousands, and those figures don’t always include plan review fees, trade-specific permits, or impact fees.

If you’re modifying the container for anything beyond basic storage, building codes apply. The 2021 International Building Code added a section specifically covering intermodal containers repurposed as buildings, requiring foundations designed to the same standards as any other building and welds matching the original construction.1UpCodes. IBC Section 3114.8 Structural The International Code Council published a standalone guideline in 2019 for reviewing and approving repurposed containers.2International Code Council. Code Council Releases Shipping Container Guidelines Not every jurisdiction has adopted the 2021 edition yet, so your building department may evaluate the project under general structural requirements. Either way, expect to need a professional structural analysis if you’re cutting openings, because removing steel panels compromises the corrugation that gives the box its rigidity. Wind and seismic loads also factor in, and hurricane- or earthquake-prone areas will require more demanding anchoring and foundation work.3ASCE American Society of Civil Engineers. ASCE 7-22 Minimum Design Loads and Associated Criteria for Buildings and Other Structures

Toxic Hazards in Used Containers

Most container-buying guides skip this, and it matters more than any permit question. Used containers were built for ocean freight, and they carry industrial coatings and chemical treatments that create real health risks when you put one in your yard and start spending time near it.

Paint and Exterior Coatings

Marine-grade paints used on shipping containers commonly contain chromate and lead-based compounds designed to hold up against saltwater for years. Lead chromate is classified as a known human carcinogen by the International Agency for Research on Cancer (IARC Group 1) and the National Toxicology Program.4Sigma-Aldrich. Safety Data Sheet Lead(II) Chromate It’s also a known reproductive toxicant. Lead salts cross the placenta, and chronic exposure damages the blood, nervous, and digestive systems.

The exposure risk peaks when you sand, grind, or cut the container’s exterior, because those activities release paint particles you can inhale or absorb through skin. If you plan to repaint or modify a used container, treat the existing coating as hazardous material. Get it tested. If it contains lead or chromate, hire a certified lead abatement professional rather than grinding it off in your backyard.

Floor Treatments

Shipping container floors are usually marine plywood, and that wood was historically treated with pesticides to prevent insect damage during transit. Methyl bromide, a fumigant still used for container pest treatment, is an extremely hazardous neurotoxic gas. It’s fatal at high concentrations and causes delayed lung, nerve, and brain injury at lower ones.5US EPA. Amended Label for Meth-O-Gas Q (Methyl Bromide) The gas dissipates, but residues in the wood can off-gas in enclosed spaces, and the vapor is odorless. You won’t smell it.

Check the container’s data plate and any treatment markings on the wood. Containers marked “MB” were fumigated with methyl bromide. Those marked “HT” received heat treatment instead and are generally safer. If you can’t verify the treatment history and you plan any enclosed use, replace the floor entirely.

Foundation and Delivery Access

A container sitting on bare ground will trap moisture, corrode, and settle unevenly. At minimum you need a level, compacted surface. The three common foundations are a compacted gravel pad, concrete pier blocks placed under the container’s corner castings, and a poured concrete slab. Gravel works for basic storage. Piers are the most common choice for semi-permanent placement. A full reinforced slab is right for habitable conversions or jurisdictions that require one, and runs roughly $12 to $18 per square foot. Your building department will specify foundation type, depth, and reinforcement based on soil conditions and frost line.

Delivery is where a lot of projects hit their first real problem. A container arrives on a flatbed or tilt-bed trailer, and the truck needs a straight-line path to the drop site. Plan on at least 60 feet of clear distance for a 20-foot container and around 100 feet for a 40-footer. Overhead clearance of 14 feet is needed during transport and up to 20 feet at the drop site if the driver uses a tilt-bed. Standard containers are 8 feet wide, and a 20-foot unit is about 20 feet long by 8 feet 6 inches tall.6iTeh Standards. International Standard ISO 668-2020 Trees, fences, overhead power lines, and narrow side yards between houses are the usual barriers. If a tilt-bed can’t reach the site, a crane adds cost, anywhere from a few hundred dollars to well over a thousand depending on lift distance and local rates.

What It Costs

The container itself is often the cheapest part. As of 2026, a used 20-foot container in cargo-worthy condition typically runs $1,150 to $4,000, and a new one-trip unit costs roughly $2,350 to $6,000. For 40-foot containers, used prices range from about $1,475 to $6,500 and new one-trip units from $4,200 to $9,000. Prices move with steel markets and proximity to shipping ports; buying near a major port city is almost always cheaper.

Beyond the purchase price, budget for:

  • Delivery and placement. Tilt-bed delivery is a few hundred dollars for short distances. Crane placement adds $150 to $1,500 or more depending on complexity.
  • Foundation. A gravel pad is cheapest. A poured slab for a 20-foot footprint (about 160 square feet) runs roughly $1,900 to $2,900 at national averages.
  • Permits. Simple accessory-structure permits often cost $50 to $200. Habitable, electrical, or plumbing work can push total permit fees into the low thousands.
  • Modifications. Cutting openings for windows and doors, adding insulation, and running electrical vary enormously by scope, and typically become the largest line item after the container itself.

Insurance and Property Tax

A container usually qualifies as an “other structure” under your homeowners policy (Coverage B), which covers detached structures. Standard policies set that coverage at 10% of your dwelling limit, so a $400,000 home carries $40,000 in coverage for all detached structures combined. If you’re converting the container into a home office, rental unit, or workshop, call your insurer first. Business use of a detached structure can void coverage.

A permanent container can also raise your property tax assessment. Assessors generally treat detached structures with foundations as improvements, meaning they add to assessed value. Larger structures and those with utility connections tend to trigger higher assessments. Small sheds sometimes fly under the radar, but a 40-foot modified container on a concrete slab won’t.

What Happens If You Skip Permits

Placing a container without required permits feels low-risk until it isn’t. Code enforcement usually finds unpermitted structures through neighbor complaints, satellite imagery reviews, or an inspection tied to a different project. The typical sequence starts with a notice of violation and a stop-work order.

Most jurisdictions allow after-the-fact permitting but charge double the standard fee as a penalty. That’s the best case. If the container violates setbacks or other zoning rules that can’t be cured by a permit, you can be ordered to remove it. Removal, site restoration, and penalties often cost more than doing it right the first time.

Unpermitted structures also cause problems at sale. Title searches and buyer inspections flag structures that don’t appear on building permits, and buyers or their lenders often require proof of permitted construction before closing.

Checking Your Local Requirements

Start by calling your city or county planning department, zoning office, or building inspection office. Have your property address, the container size (20-foot or 40-foot), the intended use (storage, workshop, habitable space), and the proposed location on your lot ready. Officials can tell you quickly whether containers are allowed in your district and what permits you’ll need.

Most municipalities post zoning ordinances online. Search for “accessory structures,” “shipping containers,” “storage structures,” or “temporary structures” within your local code. Reading the code first lets you ask more targeted questions about setback distances, height limits, and how lot coverage is calculated for your district.

If you’re in an HOA community, pull the CC&Rs and architectural guidelines before you call the city. HOA restrictions override permissive zoning, and there’s no point paying for a city permit for something your HOA will fine you for building.

Once you know the rules, prepare a site plan showing your property boundaries, existing structures, and the proposed container location with dimensions and distances from lot lines. Permit applications generally require it, and drawing it early will surface delivery access problems before you commit to a purchase.