Leveling a shipping container starts with preparing a flat foundation and then fine-tuning each corner until the entire frame sits in plane. Even a small slope across a 40-foot container can rack the steel frame enough to jam the doors, stress weld joints, and eventually cause permanent structural damage. The process is straightforward with the right tools and a systematic approach.
Why Leveling Matters
Shipping containers are rigid steel boxes, but they’re not immune to twisting. When even one corner sits lower or higher than the other three, the frame experiences torsional stress. Over time, this leads to microcracks in welds, wall deformation, and in extreme cases, a permanent loss of load-bearing capacity. The most immediate symptom is doors that won’t open or close properly, since even slight racking shifts the door frame out of square.
If you plan to stack containers or connect multiple units side by side, leveling becomes even more critical. The corner castings (the thick steel fittings at each corner) need to align precisely for twist-locks to engage. A container that’s out of plane won’t lock securely to the one above or below it, creating a serious safety risk in windy conditions.
Choose the Right Foundation First
The single biggest factor in keeping a container level is the surface underneath it. Placing a container directly on bare ground is asking for trouble: soil settles unevenly, water pools beneath the frame, and corrosion accelerates. Your foundation choice depends on how permanent the installation is.
Gravel pad: A compacted layer of crushed stone, typically 4 to 6 inches deep, provides a stable and well-draining surface that prevents sinking and moisture buildup. Laying geotextile fabric underneath stops the gravel from slowly migrating into soft soil. This is the most common choice for storage containers and semi-permanent setups.
Concrete piers: For permanent installations like container homes, cylindrical concrete piers (often steel-reinforced) are sunk into the ground until they rest on compact soil. Each pier supports a corner casting, and sometimes additional piers are placed at midpoints along the container’s length for better weight distribution. Piers give you the most precise leveling control because you can set each one to an exact height before the container arrives.
Railroad ties or timber skids: These rectangular wood beams keep the container elevated off the ground, preventing water from pooling along the bottom and causing rust. They work well for short-term or budget-conscious installations. The downside is that wood can rot over time if untreated, so pressure-treated ties are worth the extra cost.
Tools You’ll Need
A laser level is the most accurate way to check for height differences across the container’s length and width. If you’re working with a smaller container or a tight budget, a long spirit level (4 feet or longer) or a water level will get the job done. You’ll also want a tape measure for checking clearances and a chalk or marker for reference points.
For lifting, you need jacks rated for the weight. Purpose-built container jacks typically start at a 2,500 kg (about 5,500 lb) rating per jack, and heavy-duty versions go up to 10 tons. A standard 20-foot container weighs roughly 5,000 pounds empty, so a pair of jacks rated at 2,500 kg each can handle one end. A loaded container is a different story entirely: know your total weight before choosing jacks. Bottle jacks or heavy-duty hydraulic jacks from an equipment rental shop work if you don’t want to buy specialized container jacks.
Step-by-Step Leveling Process
1. Prepare and Grade the Site
Before the container arrives, clear the area of vegetation, large rocks, and debris. If you’re using a gravel pad, excavate the topsoil, lay geotextile fabric, spread crushed stone in layers, and compact each layer with a plate compactor. Use your laser level or spirit level to check the surface at multiple points. Getting the foundation close to level now saves significant effort later.
2. Place the Container and Take Measurements
Once the container is set down (usually by a tilt-bed truck or crane), take level readings at all four corners and at several points along the length and width. Don’t just check the top rails. Measure at the bottom corner castings, since that’s where the container actually contacts its supports. Note which corners are high and which are low, and by how much.
3. Lift and Shim
Position your jack under the low corner’s casting and lift until that corner reaches the target height. Slide your shim material into the gap between the corner casting and the foundation surface. For outdoor installations, plastic shims outperform wood and metal because they resist moisture, ground chemicals, microorganisms, and temperature extremes without rotting or rusting. Steel shims work if properly treated or galvanized, but untreated wood will deteriorate within a few seasons.
Lower the jack slowly and let the container settle onto the shim. Then move to the next corner that needs adjustment. Work methodically: adjusting one corner changes the readings at adjacent corners, so expect to go around the container more than once.
4. Verify at Multiple Points
After shimming, recheck level readings at every corner and at midpoints along the container’s length and width. A 40-foot container can bow slightly in the middle, so don’t rely solely on corner measurements. Keep making small adjustments until the container is sitting flat. ISO 668 allows dimensional tolerances of up to about 1/4 inch on a 20-foot container and about 3/8 inch on a 40-foot container, which gives you a rough sense of acceptable variance, but tighter is always better for door operation and stacking.
5. Test the Doors
The best functional test of a level container is its doors. Both doors should swing open freely, close without forcing, and latch with the cam locks engaging smoothly into their keepers. If one door drags or the latch doesn’t line up, the container is still slightly racked. Go back to your level readings, find the discrepancy, and adjust.
Leveling Feet and Twist-Lock Anchoring
For a cleaner, more adjustable setup, purpose-built leveling feet bolt directly into the container’s bottom corner castings. These are heavy steel assemblies with a threaded adjustment mechanism that lets you dial in the height at each corner independently, without jacks or shims. They’re especially useful on uneven terrain where the height difference between corners is significant.
Some leveling feet incorporate a twist-lock mechanism that creates a firm mechanical connection between the foot and the corner casting, following the ISO 1161 standard. This matters in windy locations or anywhere the container might shift. If your site is exposed to strong winds and you’re not using twist-lock feet, consider anchoring the container to the ground with auger anchors or concrete deadmen to prevent tipping or sliding.
Common Mistakes to Avoid
- Skipping ground preparation: Even a perfect leveling job will fail if the ground beneath settles unevenly over time. Compact your base thoroughly before placement.
- Checking only two corners: A container has four contact points. All four need to be in the same plane. Checking just the front-to-back slope misses side-to-side tilt and diagonal twist.
- Using unstable shim materials: Stacking loose pieces of wood or concrete chips under a multi-ton container is unsafe and imprecise. Use purpose-made shims or solid blocking that won’t compress, split, or decay.
- Leveling once and forgetting: Soil settles, especially in the first year. Recheck your container’s level after heavy rains, freeze-thaw cycles, or any time the doors start to stick.

