Stand on a quay beside a large container ship and the stacks of boxes look impossible. Containers rise nine high above the deck, like a wall of steel, and the ship will carry them across an ocean that is rarely calm.
The boxes do not topple because they are not simply piled up. Each container locks to the one below it, steel rods brace the stacks, and the whole arrangement is planned by computer before a single box is lifted aboard.
Stability is the other half of the story. A ship with tall stacks has a high centre of gravity, which makes it tender in a roll. Naval architects and cargo planners balance heavy boxes low and light boxes high, keeping the ship steady even as it leans in a swell.
This article explains the hardware, the planning, and the physics that hold nine-high stacks in place. It is a system of small parts, each doing a simple job, that together carry the world trade in boxes.

Key Takeaways
- Twistlocks join each container to the one below, turning a stack into a single rigid column.
- Lashing rods and turnbuckles brace the lower tiers against rolling and pitching forces.
- Cell guides in the holds slot containers into place and stop them shifting sideways.
- Heavy containers go low and light ones go high, keeping the ship centre of gravity down.
- Cargo planning software checks stability and lashing loads before the ship sails.
How Are Containers Locked Together?
The basic connector is the twistlock, a small steel device that fits into the corner castings of a container. When a box is lowered onto the one below, the twistlock head turns and locks, joining the two corners. Four twistlocks per container create a firm connection at every corner of the stack.
Twistlocks come in several forms. Manual twistlocks are set by dockworkers, while semi-automatic versions lock when the box lands and release when it is lifted. Fully automatic models need no handling at all. All of them share the same job: stop a box from lifting off or sliding sideways.
Above the first few tiers, the forces grow, and twistlocks alone are not enough. That is where lashing comes in. Steel rods run diagonally from the deck or a lashing bridge to the corners of containers in the lower tiers, and turnbuckles tighten them like the rigging on a sailing ship.
A stack is therefore not a pile but a braced structure. The twistlocks carry the vertical load and keep boxes aligned, while the lashing rods resist the sideways pull that appears when the ship rolls. Together they turn nine separate boxes into one column that moves with the ship.
What Do Cell Guides Do Below Deck?
Below deck, containers sit in holds fitted with vertical steel rails called cell guides. These rails form a slot for each stack, and the container slides down between them as the crane lowers it. The guides hold the box firmly in place, so no lashing is needed inside the hold.
Cell guides serve two purposes. They position each box precisely, which matters when hundreds of containers must fit into a hold with only small gaps, and they resist the sideways forces of rolling. The steel structure of the ship itself takes the load, not the containers.
On deck, there are no cell guides, so lashing does the work instead. The deck stacks are the ones you see rising nine high, and they are the most exposed to wind and waves. That is why deck lashing is inspected carefully and why lashing bridges give the crew a platform to work from.
The combination is efficient. Holds use the ship structure to secure boxes, while deck stacks use removable hardware that can be adjusted for each voyage. Both approaches keep the cargo still, and both are checked against the same safety rules.
Why Does Stack Height Change Stability?
Every container added high on the deck raises the ship centre of gravity. A high centre of gravity makes a ship roll more easily and recover more slowly, which is why cargo planners treat the top tiers with care. Light, empty containers go high; heavy, loaded ones go low.
Stability is measured by the metacentric height, the distance between the centre of gravity and a point called the metacentre. A large value means a stiff ship that snaps back upright quickly, while a small value means a tender ship that rolls gently. Too stiff is uncomfortable and strains the lashings; too tender is dangerous.
Planners use software to model the loaded ship before departure. They enter the weight and position of every container, and the program calculates stability, draft, and the forces on each lashing. If a stack would overload its securing, the plan is changed before loading begins.
Ballast water helps too. Pumping seawater into tanks low in the hull lowers the centre of gravity and restores stability when the deck stacks are tall. It is a quiet, invisible adjustment, but it is part of every departure plan.
What Forces Act on a Stack at Sea?
A ship at sea rolls, pitches, and heaves, and each motion pushes the stacks. Rolling is the biggest threat, because it swings the top of a nine-high stack through a wide arc and creates large sideways forces at the base. The lashing rods and twistlocks must resist those forces hour after hour.
Wind adds its own push. A wall of containers nine high presents a huge area to the wind, and a strong beam wind can add a steady heel to the ship. The crew and the master watch the weather and may change course or speed to reduce rolling when a storm is forecast.
Acceleration matters as well. When a ship rolls, the top containers accelerate sideways and then stop, and that repeated loading can fatigue fittings over time. That is why lashing equipment is inspected, tested, and replaced on a schedule, not left until it fails.
Sometimes, despite all this, containers are lost overboard in extreme weather. Those losses are rare compared with the millions of boxes carried each year, but each one is investigated, and the lessons feed back into stowage rules and lashing standards.
How Is a Stowage Plan Made?
Stowage planning starts with the cargo list: the weight, size, and destination of every container. Boxes for the first port of call go on top, so they can be unloaded without moving the boxes beneath. Heavy boxes go low, hazardous cargo goes in approved positions, and refrigerated boxes go near power points.
The planner then checks the stability calculation and the lashing loads. Software flags any stack that would be overloaded or any condition that would leave the ship too tender. The plan is adjusted, boxes are swapped, and the calculation is run again until everything passes.
On the ship, the chief officer checks the plan against reality. If a container weighs more than declared, or the weather forecast worsens, the plan can change. The master has the final say, and can refuse to sail if the loading is unsafe.
Good stowage is therefore a blend of planning and judgement. The software does the maths, but experienced officers know the ship, the route, and the season, and they use that knowledge to keep nine-high stacks standing through an ocean crossing.
Twistlocks vs Lashing Rods vs Cell Guides
Three securing systems share the job of holding containers in place. Each one works in a different place and handles a different kind of force, as the table shows.
| System | Where it is used | What it resists | Main advantage |
|---|---|---|---|
| Twistlocks | Between stacked boxes | Lifting and sliding | Fast, automatic connection |
| Lashing rods | Deck stacks, lower tiers | Sideways rolling forces | Strong diagonal bracing |
| Cell guides | Inside cargo holds | Sideways movement | Ship structure takes the load |
| Turnbuckles | With lashing rods | Slack and tension loss | Tension can be adjusted |
| Lashing bridges | Between deck stacks | Access and bracing | Crew can work safely at height |
A Framework for Safe Container Stowage
Safe stacking follows the same sequence on every voyage, from the planning office to the final check before departure.
- Sort cargo by weight and destination before any box is lifted aboard.
- Place heavy containers low and light containers high to keep the centre of gravity down.
- Lock every box with twistlocks and brace the lower deck tiers with lashing rods.
- Run the stability and lashing calculation, and change the plan if any limit is exceeded.
- Use ballast water to restore stability when tall deck stacks raise the centre of gravity.
- Inspect lashing equipment on schedule and re-check the plan if the weather worsens.
Conclusion
Container ships stack boxes nine high without toppling because the stacks are engineered structures, not piles. Twistlocks lock each box to the next, lashing rods brace the columns, cell guides hold the boxes below deck, and planners balance weight and stability before the ship moves.
It is a system that has carried world trade for decades, and it works because every part is checked. The hardware is inspected, the software does the maths, and the crew watches the weather.
Readers who want to see the other half of the story can read how a container ship stays upright in a storm.
Next time you see a container ship leaving port with its wall of boxes, look past the height. The real engineering is in the corners, the rods, and the plan that put each box exactly where it belongs.
Frequently Asked Questions
How high can containers be stacked on a ship?
On deck, stacks commonly reach nine high on large vessels, and holds add more tiers below deck. The exact limit depends on the ship design, the lashing system, and the stability calculation for that voyage, so it varies from ship to ship.
What is a twistlock?
A twistlock is a steel connector that fits into the corner castings of two stacked containers. Its head turns to lock the boxes together, stopping the upper box from lifting off or sliding sideways while the ship moves.
Why do heavy containers go at the bottom?
Heavy boxes low down keep the ship centre of gravity low, which improves stability and reduces rolling. Light boxes on top add little weight where it matters most, so the ship stays steady even with tall stacks.
Do containers ever fall off ships?
Yes, containers are occasionally lost in extreme weather, though losses are rare compared with the millions carried each year. Each incident is investigated, and the findings feed into stowage rules and lashing standards.
What are lashing rods?
Lashing rods are steel bars that run diagonally from the deck or a lashing bridge to the corners of containers in the lower tiers. Tightened with turnbuckles, they brace the stack against the sideways forces created when the ship rolls.
What are cell guides?
Cell guides are vertical steel rails inside a cargo hold that form a slot for each container stack. The box slides down between the rails, which hold it firmly in place without any lashing, using the ship structure itself.
Who decides how containers are stacked?
A cargo planner creates the stowage plan using software that checks stability and lashing loads. The chief officer and the master review it aboard the ship, and the master has the final say on whether the loading is safe to sail with.



