Bury a Shipping Container?
By Jimmy Lee — Builder & Founder, ContainerHomes.net | San Ramón, Costa Rica
Every few months I get a message from someone who has seen a photo online of a shipping container buried underground, and they want to do the same thing. It looks impressive. The internet makes it look easy. Dig a hole, drop a container in, cover it up — instant bunker, root cellar, or hidden room.
I’ve been building with shipping containers in Costa Rica for over 20 years. I’ve seen what these structures can do and what they cannot. And I want to give you the honest, no-nonsense answer to this question — the one that most websites skip because they’re trying to sell you a container.
So: can you bury a shipping container in the ground?
Technically, yes. In practice, it is one of the most dangerous and expensive mistakes you can make with a container — unless you go in with your eyes wide open and your engineering fully sorted.
Let me explain exactly why.
First, Understand How a Shipping Container Is Actually Built
To understand why burying a container is problematic, you need to understand how these boxes are engineered.
A shipping container is designed to do two specific things: stack on top of other containers on a ship, and be lifted by crane using the corner castings. That’s it. That is what the engineers who designed these boxes were solving for.
The structural load on a shipping container travels through the four corner posts. Those posts are thick, heavy steel. They carry enormous vertical weight — a fully loaded 40-foot container can weigh up to 30 tons, and when you stack six of them on a ship, the bottom container is handling close to 180 tons pressing straight down. The corner posts can do that job because they were built for it.
Now look at the walls. The corrugated side panels on a standard shipping container are approximately 1.6mm of steel — about as thick as a coin. The corrugated shape adds some rigidity, the same way corrugated cardboard is stronger than flat cardboard. But those walls were never engineered to resist lateral pressure — force pushing inward from the sides.
This is the fundamental problem with burial.
When you put a shipping container underground, the soil presses in from all four sides and from above. That pressure is not being directed at the corner posts. It is pushing straight into those thin corrugated walls and onto the roof — the two weakest parts of the entire structure.
This is why I personally do not recommend burying shipping containers. Not because I’m being cautious. Because I’ve seen what happens to steel when it buckles, and I know what it looks like from the outside before it fails — which is nothing. There are often no visible warning signs before a wall collapses inward.
What Happens When You Bury a Container Without Proper Reinforcement
Let’s walk through exactly what soil pressure does to an unreinforced buried container over time.
Wall Buckling
Backfilled soil — especially wet soil — exerts significant inward pressure on whatever is buried beneath it. Dry soil at a depth of three feet can exert hundreds of pounds per square foot on the walls. Saturated soil is dramatically worse. The 1.6mm corrugated walls begin to flex, then bow inward. In the worst cases, they collapse entirely.
This can happen gradually over months, or it can happen suddenly. Either way, by the time you see deformation on the interior wall, the structural compromise is already advanced.
Roof Failure
The roof of a standard shipping container is even thinner than the walls. It is designed to shed rain, not to bear load. A standard container roof is rated for roughly 300 kg of evenly distributed load — enough for a light snowfall. A single foot of compacted soil over a 40-foot container puts many tons of weight on that roof. Without heavy reinforcement, it will cave in.
Some people suggest burying the container upside-down so the thicker floor panel faces upward. This is better than using the roof, but it doesn’t solve the wall problem — and it creates new complications with drainage, door access, and interior finishing.
Corrosion from Below
Shipping containers are made from Corten steel, which is designed to form a stable rust layer on its surface that protects the metal underneath. This works well in open air, where the steel gets wet and then dries out.
Underground, it does not dry out. The steel is in continuous contact with damp soil, and corrosion moves quickly in those conditions. Without an aggressive waterproofing system applied to every exterior surface, a buried container can begin to show serious corrosion within 5 to 10 years. The floor panel — which often has a wooden interior layer — tends to fail first.
By the time you notice corrosion on the inside, the damage on the outside is already severe.
Hydrostatic Water Pressure
In many regions — and throughout much of Costa Rica — the water table is not far below the surface. When groundwater rises around a buried container, it exerts hydrostatic pressure from all directions. Even a well-welded steel container is not waterproof under sustained water pressure. Water finds seams, penetrations, and weld points.
A flooded underground container is not just a loss of the structure. In an enclosed underground space, it is a serious life-safety hazard.
The Real Cost of Doing This Right
Some websites will tell you that you can bury a container safely if you just reinforce it properly. This is technically true. But let’s talk about what “properly” actually means and what it actually costs.
To safely bury a standard 20-foot shipping container, you need at minimum:
Structural reinforcement: Interior steel framing with vertical supports every 2–3 feet along all four walls, welded floor to ceiling. Cross-bracing on the roof. This alone consumes 12–18 inches of interior width on each wall. An 8-foot-wide container becomes a 5-foot-wide interior space after proper reinforcement — barely enough to stand in comfortably.
Waterproofing: A full exterior coating with rubberized asphalt, tar, or specialized waterproof membrane on every surface. This is not a brush-on weekend project. A proper waterproofing job on a buried container requires surface prep, primer, and multiple coats of heavy-duty product.
Drainage: A perforated drain pipe system (French drain) around the perimeter of the container to redirect groundwater away from the structure. In clay soils or high-water-table areas, this system needs to be designed by someone who understands your specific site conditions.
Ventilation: An underground container is a confined space. Confined spaces can accumulate carbon dioxide, carbon monoxide, and methane from soil off-gassing. You need vertical ventilation shafts that extend above grade, plus a powered air exchange system to maintain safe air quality.
Emergency egress: Local regulations in most countries require that any occupied underground structure have at least two means of exit. Engineering an emergency exit from a buried container adds significant complexity and cost.
Structural engineering sign-off: Any reputable contractor will require a structural engineer to review and approve the burial plan before work begins. This is not optional if you are building something you or anyone else will occupy.
When you add all of this up — excavation, reinforcement, waterproofing, drainage, ventilation, engineering fees, and permitting — you will frequently spend more money than the container cost just preparing it for burial. And you end up with a smaller interior space than you started with, in a structure that requires ongoing inspection and maintenance to remain safe.
What People Actually Want — And Better Ways to Get It
The people who ask me about burying a container usually want one of a few things. Here is what I recommend instead:
For underground storage or a root cellar: A poured concrete bunker or block-wall structure is typically cheaper to build correctly than a reinforced container, and it will outlast the container by decades. Concrete is designed to handle hydrostatic pressure and soil load in ways that Corten steel is not.
For a storm shelter or bunker: Purpose-built precast concrete storm shelters are engineered specifically for underground installation. They are tested, rated, and certified — and often less expensive to install correctly than a properly reinforced container.
For a hidden or low-profile structure: Consider a partially buried or bermed container — where one end or one side is set against a slope and covered with earth, but the container itself is not fully underground. This provides natural insulation and visual concealment while keeping the structural loads manageable. I have used this approach on hillside properties in Costa Rica with excellent results. The container handles the loads it was designed for; the hillside does the concealment.
For an off-grid home that feels tucked into the landscape: There are excellent above-ground design approaches — setting the container into a hillside from the rear, adding a planted green roof, or building earthen berms on two or three sides. You get the aesthetic and the insulation without the structural compromise.
The Bottom Line: My Honest Answer After 20 Years
Can you bury a shipping container in the ground? Yes. Should you? In most cases, no — not without more engineering, more money, and more ongoing maintenance than the project is worth.
Shipping containers are extraordinary building materials. In the right application, they are strong, fast to build with, resistant to earthquake and hurricane damage, and surprisingly comfortable to live in. I have built homes with them across all kinds of terrain in Costa Rica — steep jungle hillsides, beachfront plots, remote mountain properties, flat urban lots. I love what you can do with these structures when you work with their engineering rather than against it.
Burying them fully underground works against their engineering. The forces they were designed for run vertically through the corner posts. The forces they face underground press laterally against their weakest points.
If you have a project in mind that involves putting a container fully or partially underground, get a structural engineer involved before you break ground. Do not rely on photos you have seen online. Do not assume that because the container is heavy steel it can handle anything you throw at it.
I am happy to talk through your specific project. If there is a version of what you are imagining that can be done safely and cost-effectively, I will tell you what it is. And if there is a better approach for your land and your goals, I will tell you that too.
Frequently Asked Questions
How deep can you safely bury a shipping container? There is no universally safe depth for an unreinforced container. Even at 12–18 inches of burial, lateral soil pressure can cause problems over time. Any burial depth requires engineering analysis of your specific soil conditions, water table, and container condition.
How long does a buried shipping container last? Without proper waterproofing and reinforcement, most buried containers show serious degradation within 5–10 years. With proper preparation, 15–25 years is more realistic — still far less than a purpose-built underground concrete structure.
Can you bury a shipping container for a bunker? It is possible but not recommended without substantial reinforcement, waterproofing, ventilation, and engineering oversight. The cost and complexity typically exceed that of purpose-built alternatives.
Is a buried shipping container legal in Costa Rica? Any underground structure intended for occupancy requires approval from the relevant municipal authority and a SETENA environmental review. Do not assume it is permitted without checking first.
What is the best alternative to burying a shipping container? For underground storage: a poured concrete or block-wall vault. For shelter: purpose-built precast concrete bunkers. For a low-profile container home: a bermed or hillside-set design with the container remaining above grade.
Jimmy Lee is the founder of ContainerHomes.net, based in San Ramón, Costa Rica. He has been designing and building shipping container homes, offices, and commercial structures for over 20 years and is the author of Notes on Shipping Container Home Construction, 5th Edition. Have a project in Costa Rica? Contact us at ContainerHomes.net.