No US state bans shipping containers. There is no statewide “container permit” anywhere in the country. Container siting is regulated at the city and county level — by zoning ordinance, not state statute — and the rules vary between neighbouring towns.
That is the honest answer, and any article claiming to list 50 state container laws is inventing them. What states actually control is the building code that applies once a container becomes a structure people occupy. What your city controls is whether you can put one on your lot at all, where it must sit, how it must look, and whether it needs a permit.
This page explains that split, gives you the national code provisions that genuinely apply, shows you how to check your own jurisdiction in about twenty minutes, and provides a 50-state table of statewide building-code status with links to each state’s authority.
Last reviewed: July 2026.
Disclaimer — Read This Before You Buy
Zoning is local and this page is not legal advice. Nothing here overrides your city or county ordinance, your HOA covenants, or a determination by your local building official. Confirm the rules with your municipal planning or building department before you purchase or take delivery of a container. A container that arrives on a non-compliant lot is an expensive thing to move twice.
The Three Questions You Actually Have to Answer
People say “do I need a permit for a shipping container?” as though it is one question. It is three, and they are answered by different offices under different rules.
1. Does zoning allow it here?
This is the planning or zoning department. Zoning determines land use: whether an accessory structure of this type is permitted in your zoning district at all, how far it must sit from property lines (setbacks), how tall structures may be, how much of the lot may be covered, and sometimes whether it must be screened from the street or finished to look like something other than a steel box.
Zoning is where containers most often get refused. A container is legal in the state, legal under the building code, and still not allowed on your particular parcel because the district prohibits accessory storage structures or the ordinance names shipping containers specifically.
2. Does it need a building permit?
This is the building department. Both model codes exempt small detached accessory structures from permit requirements, but they use different thresholds, and the difference decides the answer for a 20ft container:
- IRC Section R105.2 (residential) exempts a one-story detached accessory structure of no more than 200 square feet, no more than 15 feet high, that does not create a dwelling, contains no plumbing, and is not located within a flood hazard area.
- IBC Section 105.2 (commercial) exempts one-story detached accessory structures used as tool and storage sheds and similar uses, with floor area not greater than 120 square feet.
Now the footprints. A 20ft container is 8 ft × 19 ft 10.5 in, about 160 square feet. It falls under the IRC’s 200 sq ft exemption and over the IBC’s 120 sq ft exemption. A 40ft container at roughly 320 sq ft exceeds both. A 10ft container is about 78 sq ft and an 8ft container around 56–64 sq ft — comfortably under either threshold.
So a 20ft container on a residential lot may well be permit-exempt, while the same container behind a commercial building is not. And if your parcel sits in a mapped flood hazard area, the residential exemption does not apply at all regardless of size. Two more cautions: your jurisdiction may have amended these thresholds, and a permit exemption is never a zoning exemption — setbacks, screening and use restrictions still apply.
3. Does it have to meet a construction code?
If the container stays an unoccupied storage box, usually very little applies beyond anchoring. The moment you convert it into something people occupy — an office, a shop, a dwelling, a rental unit — it becomes a building and the full building code attaches.
What the National Codes Actually Say
Containers used to sit in a code grey area. That ended with the 2021 code cycle.
The 2021 International Building Code added Section 3115, “Intermodal Shipping Containers” (renumbered to Section 3114 in the 2024 edition and in the 2025 California Building Code). It is the first comprehensive model-code treatment of containers repurposed as buildings, and where your jurisdiction has adopted a 2021-or-later IBC, this is the governing text.
In summary, it requires:
- Construction documents verifying container dimensions and establishing the physical properties of the steel and the wood floor components.
- Container identification — a data plate conforming to ISO 6346 showing manufacturer, date of manufacture, safety approval number, identification number, maximum operating gross mass, allowable stacking load, transverse racking test force and maintenance examination date. In practice this means the CSC plate on the door, which is why a container with a missing or illegible plate can be a problem for a permitted conversion.
- Decay and termite protection for the wood structural floor, and ventilation of under-floor spaces.
- Structural conformance to ISO 1496-1, the standard governing container structural design and testing.
- Foundations and anchorage providing a continuous load path for all applicable loads — wind, seismic, snow.
- Welding on new connections that matches or exceeds the strength of the original.
- Additional structural requirements where containers are stacked.
The code offers two routes. Either a full engineered design analysis — which can require material testing to establish the steel grade where it cannot be identified — or a simplified procedure available only to a single stand-alone container. The simplified path is what most small projects will use, and its limits are strict:
- Stand-alone on a foundation, not attached to or stacked with other structures.
- Top and bottom rails, corner castings and corner columns unmodified.
- Erected level, floor at the bottom.
- Seismic Design Categories A, B, C or D only. In SDC E or F you are pushed into full engineered design.
- Openings no greater than 50% of the wall length, with openings framed in steel of equal or greater strength.
- Wall segments under 4 feet are not counted as resisting elements, and generally no more than one small penetration per 8-foot wall section.
- Where the end-wall doors form part of the lateral system, they must be welded closed.
The practical consequence: cutting a generous window and door package into a side wall, or touching the corner castings and rails, kicks you out of the simplified route and into engineered design. That is a real cost, and it is worth knowing before you buy rather than after you have cut.
The International Residential Code handles containers differently, and this is widely misreported. The IRC does not put containers in an appendix. The provision is Section R301.1.4, in the main body of the code, and it states that intermodal shipping containers repurposed as buildings or structures shall be designed in accordance with the structural provisions of Section 3115 of the IBC. Because it sits in the body rather than an appendix, it applies automatically wherever the 2021 IRC is adopted — there is no separate adoption step.
(The “appendices only apply if the jurisdiction specifically adopts them” rule is genuine, but it attaches to other appendices — notably Appendix AQ, Tiny Houses, which is separately adopted in some states. It has nothing to do with the container provision.)
ICC also publishes ICC G5-2019, “Guideline for the Safe Use of ISO Intermodal Shipping Containers Repurposed as Buildings and Building Components.” It is explicitly nonmandatory — an advisory document for owners, designers and code officials — but it is useful background when you are discussing a project with a building official.
Storage Box vs Occupied Structure: the Real Dividing Line
Almost every permitting outcome turns on this distinction, so be clear about which side you are on.
| Use | Typical treatment | What you usually need |
|---|---|---|
| Temporary storage during active construction | Permitted as a construction-site accessory | Usually covered by the existing building permit; time-limited |
| Permanent unoccupied storage, residential lot | Accessory structure | Zoning compliance, setbacks; permit if over the size threshold |
| Storage on agricultural land | Exempt in some states and counties | Varies widely — confirm locally |
| Storage on industrial or commercial land | Usually straightforward | Zoning compliance; screening may be required |
| Converted office, shop or workspace | Building — full code applies | Permit, plans, often engineered drawings, inspections |
| Dwelling or accessory dwelling unit | Building — full residential code applies | Permit, engineering, egress, energy code, utilities, inspections |
Two of those rows deserve a note. On temporary use, the IBC’s temporary-structures provisions apply to structures erected for less than 180 days. A jobsite storage container is usually treated as equipment rather than a structure, but 180 days is the code’s own boundary and it is the number a building official will reach for if the container is still there a year later.
On agricultural exemptions, these are real but strictly state and county specific. Oregon, for example, bars application of the state structural specialty code to agricultural buildings by statute, and several California counties exempt agricultural buildings on parcels above a minimum acreage. Do not generalise from that — verify with your own county before assuming an ag exemption covers you.
Most buyers are in row two or row four, where the process is genuinely simple in the majority of jurisdictions. The horror stories almost all come from the last two rows, where people bought a container and started cutting before speaking to anyone.
Common Local Restrictions to Expect
These are the provisions that appear repeatedly in municipal codes across the country. You will not encounter all of them, but knowing the vocabulary makes the phone call to your planning department far more productive.
- Outright prohibition in residential districts. Some cities ban shipping containers as accessory structures in single-family zones, full stop.
- Setbacks. Minimum distance from front, side and rear property lines. Rear-yard placement is commonly required.
- Screening and finish requirements. Fencing, landscaping, or a requirement that the container be painted, sided or roofed to match the principal building.
- Quantity limits. One container per lot is a common cap in residential zones.
- Time limits. Temporary permits of 30, 90 or 180 days for construction and moving, with renewal required.
- Front-yard and driveway prohibitions. Very common even where containers are otherwise allowed.
- Foundation and anchoring requirements. Increasingly common regardless of permit status.
- HOA covenants. These are private contracts, entirely separate from zoning, and they are often stricter than the city. An HOA can prohibit a container the city would happily permit. Read your CC&Rs.
Wind, Seismic and Snow: the Anchoring Question
An empty 40ft container weighs under 9,000 lb and presents roughly 380 square feet of side elevation to the wind. That is a large sail on a light object, which is why anchoring requirements are the one technical issue that surfaces even for unpermitted storage units.
- Coastal and high-wind regions. Florida applies the strictest regime. The High-Velocity Hurricane Zone covers Miami-Dade and Broward counties and is governed by Florida Building Code Chapter 44, with products generally requiring a Miami-Dade Notice of Acceptance or Florida Product Approval. Coastal jurisdictions from Texas to the Carolinas apply elevated design wind speeds.
- Seismic regions. California and the Pacific Northwest require anchorage designed for seismic loads with a continuous load path to the foundation. Remember that the IBC’s simplified container procedure stops at Seismic Design Category D — in SDC E or F, every container conversion needs full engineered design under ASCE 7.
- Snow load. A container is engineered to ISO 1496-1 for stacking and racking in transit, not for ground snow. Roof snow loads derive from ground snow load under ASCE 7, and they apply regardless of the code’s roof-assembly exemption for single stand-alone units. Standard practice in snow country is to build a secondary shed roof over the container.
- Flood hazard areas. A sealed container is buoyant, so anchoring against flotation is the practical issue. Note also that the IRC’s 200 sq ft permit exemption is expressly void inside a flood hazard area, and flood-resistant design runs through the IBC and ASCE 24.
Regardless of code, set the container on level supports at the corner castings — four points for a 20ft container, six for a 40ft container — never directly on soil. Level corners keep the doors operating and keep the frame out of a bending condition it was not designed for.
How to Check Your Own Jurisdiction in Twenty Minutes
This is the part that actually answers your question, and it is faster than people expect.
- Identify your jurisdiction. Inside city limits, the city governs. Outside, the county does. Check your parcel on the county assessor’s GIS map — many properties with a city mailing address are in fact unincorporated county land, which frequently has looser rules.
- Find your zoning district. The same GIS map usually shows it. You want the district code, e.g. R-1, A-1, I-2.
- Search the online code. Most US municipal codes are hosted on Municode, American Legal Publishing or eCode360. Search for “shipping container”, “cargo container”, “intermodal container”, “storage container”, “conex” and “accessory structure”. Those synonyms matter — many ordinances use only one of them.
- Read the accessory structure section for your district: permitted structures, setbacks, height, lot coverage, screening.
- Call the planning department. Twenty minutes of reading makes this call short and specific.
What to ask, verbatim
- “I own a parcel at [address], zoned [district]. Are shipping containers permitted as accessory storage structures there?”
- “What are the setback requirements for an accessory structure in that district?”
- “Is a building permit required for a detached storage structure of [159 / 78] square feet?”
- “Are there screening, painting or finish requirements?”
- “Is a foundation or anchoring detail required?”
- “Which edition of the IBC or IRC has this jurisdiction adopted, and have you adopted the residential appendices?”
- “Can I get that in writing or by email?”
That last one matters. Verbal approvals do not survive a change of staff or a neighbour complaint. Get the answer in an email and keep it.
Statewide Building Code Status by State
Read this table for what it is. The middle column tells you whether the state mandates a construction code statewide or leaves adoption to local governments. It does not tell you whether you can put a container on your lot — that is always a local zoning decision, which is why the third column reads the same for every state. The states listed as having no mandatory statewide code are drawn from published summaries of US building code adoption.
Deliberately absent: specific IBC/IRC edition years per state. Those change on multi-year cycles, states amend them, and a stale edition number in a table is worse than no number. Confirm the current edition with the authority linked in the right-hand column. Where no official state URL could be verified at time of review, the link goes to a third-party code listing for that state or the entry reads “Check local jurisdiction”.
| State | Statewide building code status | Container zoning & permits | Where to check |
|---|---|---|---|
| Alabama | Limited scope — state code covers state-funded work, schools, hotels; not general private residential | Local — city or county | AL Division of Construction Management |
| Alaska | Statewide code excludes 1- and 2-family dwellings; residential is local | Local — city or borough | AK Fire & Life Safety |
| Arizona | No mandatory statewide code | Local — city or county | Arizona code listing |
| Arkansas | Statewide code adopted | Local — city or county | Arkansas code listing |
| California | Statewide code adopted (Title 24) | Local — city or county | California code listing |
| Colorado | No mandatory statewide code | Local — city or county | CO Dept of Local Affairs |
| Connecticut | Statewide code adopted | Local — city or town | CT State Building Code |
| Delaware | Statewide code adopted; locals may be stricter only | Local — city or county | Delaware code listing |
| Florida | Statewide code adopted (Florida Building Code) | Local — city or county | Florida Building Commission |
| Georgia | Statewide code adopted | Local — city or county | Georgia code listing |
| Hawaii | State code adopted; counties implement | Local — county | Hawaii code listing |
| Idaho | Uniform statewide code content, but local enforcement is optional | Local — city or county | Idaho code listing |
| Illinois | Statewide code adopted (mandatory statewide code took effect 2025) | Local — city or county | IL Capital Development Board |
| Indiana | Statewide code adopted | Local — city or county | IN Dept of Homeland Security |
| Iowa | Conditional — applies to opt-in jurisdictions, state-funded work and larger cities | Local — city or county | Iowa State Building Code |
| Kansas | No mandatory statewide code | Local — city or county | Kansas code listing |
| Kentucky | Statewide code adopted | Local — city or county | KY Housing, Buildings & Construction |
| Louisiana | Statewide code adopted | Local — parish or city | LA Uniform Construction Code Council |
| Maine | No mandatory statewide code (MUBEC applies to larger municipalities) | Local — town or city | Maine code listing |
| Maryland | Statewide code adopted | Local — county or city | MD Dept of Labor |
| Massachusetts | Statewide code adopted | Local — city or town | Massachusetts code listing |
| Michigan | Statewide code adopted | Local — city, township or county | MI Bureau of Construction Codes |
| Minnesota | Statewide code adopted | Local — city or county | MN Dept of Labor & Industry |
| Mississippi | No mandatory statewide code | Local — city or county | Mississippi code listing |
| Missouri | No mandatory statewide code | Local — city or county | Missouri code listing |
| Montana | Statewide code adopted | Local — city or county | Montana code listing |
| Nebraska | Statewide code adopted; locals may adopt their own if generally conforming | Local — city or county | Nebraska code listing |
| Nevada | Largely local adoption — confirm scope | Local — city or county | NV State Public Works Division |
| New Hampshire | Statewide code adopted | Local — city or town | NH Division of Fire Safety — check local jurisdiction |
| New Jersey | Statewide code adopted (Uniform Construction Code) | Local — municipality | NJ DCA Codes & Standards |
| New Mexico | Statewide code adopted | Local — city or county | NM Construction Industries Division |
| New York | Statewide code adopted (NYC has its own) | Local — city, town or village | NY Building Standards & Codes |
| North Carolina | Statewide code adopted | Local — city or county | NC Office of State Fire Marshal |
| North Dakota | Local opt-in; state code becomes mandatory once a jurisdiction enforces any code | Local — city or county | ND Division of Community Services |
| Ohio | Statewide for nonresidential; residential code uniform but local-option to enforce | Local — city or county | OH Board of Building Standards |
| Oklahoma | Statewide code adopted | Local — city or county | OK Uniform Building Code Commission |
| Oregon | Statewide code adopted | Local — city or county | OR Building Codes Division |
| Pennsylvania | Statewide code adopted (Uniform Construction Code) | Local — municipality | PA Uniform Construction Code |
| Rhode Island | Statewide code adopted | Local — city or town | RI Building Code Commission |
| South Carolina | Statewide code adopted | Local — city or county | SC Labor, Licensing & Regulation |
| South Dakota | No mandatory statewide code; local adoption optional under SDCL 11-10 | Local — city or county | SDCL Chapter 11-10 |
| Tennessee | Statewide code adopted | Local — city or county | Tennessee code listing |
| Texas | Local adoption and enforcement, over a statutory 2012 IRC/IBC floor; no state enforcement agency | Local — city or county | Texas code listing |
| Utah | Statewide code adopted | Local — city or county | UT Div. of Professional Licensing |
| Vermont | Statewide code adopted | Local — town or city | VT Division of Fire Safety |
| Virginia | Statewide code adopted (USBC) | Local — city or county | VA Dept of Housing & Community Development |
| Washington | Statewide code adopted | Local — city or county | WA State Building Code Council |
| West Virginia | Local adoption optional — state code applies only where adopted | Local — city or county | WV State Fire Marshal |
| Wisconsin | Statewide code adopted | Local — city or county | WI Dept of Safety & Professional Services |
| Wyoming | No mandatory statewide code for private construction; local standards must meet a state equivalency floor | Local — city or county | Wyoming code listing |
What Happens If You Skip the Process
Enforcement is almost always complaint-driven. Nobody patrols for containers. A neighbour calls, a code officer visits, and you receive a notice of violation with a compliance deadline.
From there the usual sequence is: apply for the permit you should have had, relocate the container to meet setbacks, add required screening, or remove it. Daily fines accrue in some jurisdictions after the deadline. The genuinely expensive outcome is an unpermitted conversion — a container office or dwelling that has to be brought up to code retroactively, with an engineer’s report, or demolished.
The unpermitted structure also surfaces at sale. Title and appraisal processes routinely flag structures that do not appear on permit records, and buyers’ lenders can require removal before closing.
Practical Guidance Before You Order
Do these four things and you will avoid essentially every problem described above:
- Confirm zoning first, in writing. Before you pay for anything.
- Size to the permit threshold if you want to avoid the process. A 10ft or 8ft unit sits under the common accessory-structure exemptions; a 20ft generally does not.
- Check the HOA separately. City approval is not HOA approval.
- Plan the delivery access. Zoning approval is worthless if the truck cannot reach the spot. A tilt-bed delivery needs roughly 60 feet of straight approach and 12 feet of width for a 20ft container, and around 100 feet for a 40ft.
HR Trailer Service LLC is based in Wickenburg, Arizona and ships new one-trip and used wind and watertight containers to the lower 48 with flat-rate freight quotes and a 30-day guarantee. We cannot tell you what your city allows — nobody outside your planning department can — but we can help you match a size to the constraints you come back with. Browse sizes under shipping containers, including 9ft units and 45ft high cubes, or see everything on the shop page.
If you are moving containers yourself rather than taking delivery, our container chassis, tilt decks, flatbed trailers, equipment trailers and gooseneck trailers cover the equipment side.
Frequently Asked Questions
Do I need a permit to put a shipping container on my property?
It depends on your city or county, not your state. The IRC exempts detached accessory structures up to 200 sq ft; the IBC exempts only 120 sq ft. A 20ft container is about 160 sq ft, so it clears the residential threshold but not the commercial one. Zoning setbacks apply either way. Confirm locally first.
Which states allow shipping containers?
All of them. No US state bans shipping containers outright and no state issues container permits. Regulation happens at the municipal level through zoning ordinances, which vary between neighbouring towns. What states control is the building code that applies once a container is converted into an occupied structure.
What does the building code say about shipping containers?
The 2021 International Building Code added Section 3115, “Intermodal Shipping Containers” (Section 3114 in the 2024 edition). It requires construction documents, an ISO 6346 data plate, conformance to ISO 1496-1, engineered foundations and anchorage, and qualified welding. The IRC points to it from Section R301.1.4 in the code body.
Can my HOA stop me putting a container on my lot?
Yes. HOA covenants are private contracts entirely separate from city zoning, and they are frequently stricter. An HOA can prohibit a container that your city would permit without issue. Read your CC&Rs before purchasing, and get any approval from the architectural review committee in writing.
Do I need a permit for a container on a construction site?
Usually not a separate one. Temporary storage containers on an active construction site are typically covered by the existing building permit, often with a time limit tied to the project. Once the permit closes, the container generally has to leave or be permitted separately as a permanent accessory structure.
Does a shipping container need a foundation?
For unoccupied storage, most jurisdictions accept level piers, blocks or ties under the corner castings rather than a poured foundation. For occupied conversions, the code requires engineered foundations and continuous-load-path anchorage for wind and seismic loads. High-wind and seismic regions impose anchoring requirements even on storage units.
How do I find my local shipping container ordinance?
Confirm whether your parcel is inside city limits or unincorporated county using the county GIS map, then search that jurisdiction’s online code — usually hosted on Municode, American Legal Publishing or eCode360. Search “shipping container”, “cargo container”, “conex” and “accessory structure”, then call the planning department to confirm.