The container handling process at ports runs in four physical stages wrapped around a fifth administrative one: documents and electronic filings arrive before the ship, a ship-to-shore crane lifts the box off the vessel, yard equipment sorts and stacks it, and a gate transaction hands it off to a truck or rail car. Each stage has its own paperwork, its own equipment, and its own clock. Miss a step and the container either doesn’t move or starts generating charges.
Paperwork and Data Before the Ship Arrives
A container cannot enter a terminal without a trail of paperwork and electronic data that precedes it, sometimes by days. The bill of lading is the foundational document. It works as a receipt confirming the goods were loaded, evidence of the contract between shipper and carrier, and a document of title that controls who can claim the cargo at the destination.
The vessel manifest compiles every bill of lading on the ship into a single record submitted to customs authorities. If merchandise on board doesn’t match the manifest, the responsible party faces a penalty of up to $10,000 or the domestic value of the unaccounted goods, whichever is lower. Failing to produce a manifest when an officer asks for it carries a separate $1,000 penalty.1Office of the Law Revision Counsel. 19 U.S. Code 1584 – Falsity or Lack of Manifest; Penalties
Terminals don’t wait for paper forms to reach the dock. Loading and discharge instructions come in through standardized electronic messages. A COPRAR message tells the terminal which containers to load or discharge from a specific vessel, including size and type codes so the right equipment is ready.2United Nations Directories for Electronic Data Interchange for Administration, Commerce and Transport. Container Discharge/Loading Order Message A MOVINS message transmits the full stowage plan, covering discharges, shifts, restows, and loads for every container on the vessel. These exchanges let the terminal begin planning crane sequences and yard positions before the ship is anywhere near the berth.
Verified Gross Mass
Under SOLAS amendments that took effect in 2016, no packed container can be loaded onto a ship without a verified gross mass (VGM) provided in advance by the shipper. Method 1 weighs the entire packed container on a certified scale. Method 2 weighs every item going into the container individually, including pallets and dunnage, then adds the container’s tare weight using a process approved by the national authority where the container was packed.3International Maritime Organization. Verification of the Gross Mass of a Packed Container Terminals refuse to load a container that lacks a VGM. Overweight containers have caused vessel structural failures and yard stack collapses, so enforcement here tends to be strict.
Seals, Hazmat, and the Importer Security Filing
Every loaded container bound for the United States must carry a high-security seal meeting the ISO 17712 standard, designed so any tampering attempt leaves visible evidence on physical inspection.4U.S. Customs and Border Protection. Customs-Trade Partnership Against Terrorism Compliance With ISO 17712 Standards for High Security Seals Seal numbers are recorded in the digital manifest and verified at multiple points along the supply chain. A broken or mismatched seal at the terminal gate is treated as a potential security incident.
Containers carrying dangerous goods need additional documentation under the International Maritime Dangerous Goods (IMDG) Code, which governs packing, stowage, and segregation of hazardous materials at sea.5International Maritime Organization. The International Maritime Dangerous Goods (IMDG) Code The U.S. enforces these rules through the Pipeline and Hazardous Materials Safety Administration.6Pipeline and Hazardous Materials Safety Administration. International Maritime Organization
For U.S.-bound ocean cargo, the importer or their agent must submit an Importer Security Filing, commonly called “10+2” for its ten importer data elements and two carrier data elements, to Customs and Border Protection. Most of the required data, including seller, buyer, manufacturer, country of origin, and commodity classification, must be transmitted at least 24 hours before the cargo is loaded onto the vessel at the foreign port. Two elements, the container stuffing location and the consolidator, can be submitted later but must arrive at least 24 hours before the vessel reaches a U.S. port.7eCFR. 19 CFR 149.2 – Importer Security Filing Late or missing filings can trigger a $5,000 liquidated damages claim per shipment, and CBP may place the cargo on hold for increased inspection.
Discharge From the Vessel
Once the ship is secured at the berth and the discharge plan is finalized, ship-to-shore (STS) gantry cranes take over. Each crane uses a telescoping spreader that locks onto the four corner fittings of a container, lifts the box out of the vessel’s cell guides, clears the ship’s rail, and lowers it to the quay. Precision matters. A swinging forty-foot box suspended 100 feet in the air near a vessel hull leaves no room for error.
Modern STS cranes at well-equipped terminals average 30 to 35 container moves per hour, and that number can climb to 45 or 50 with dual-cycling, where the crane picks up an export container on its return trip to the ship instead of traveling empty. That pace demands constant vehicle supply at the base of the crane. Terminal tractors or automated guided vehicles queue beneath the crane and receive each container the moment it touches down. The handoff from vertical lift to horizontal transport has to happen quickly because the crane’s cycle time is the bottleneck for the entire discharge operation. An idle STS crane at a busy terminal is one of the most expensive pauses in logistics.
Yard Sorting and Stacking
From the quay, containers are driven to the terminal yard, a vast grid of storage blocks where units are organized for efficient retrieval. Rubber-tyred gantry (RTG) cranes or rail-mounted gantry (RMG) cranes lift containers from the transport vehicles and slot them into designated positions. The terminal operating system (TOS) assigns each container a location identified by block, row, bay, and tier. The software groups containers by their next move: units headed to the same inland rail line sit together, containers with an early truck pickup go near the front of the stack, and boxes awaiting transshipment to another vessel land close to the berth where that ship will dock.
Loaded containers are typically stacked four to six high in port yards, while empties can go up to nine. The limiting factor is not just the crane’s reach; it’s the structural rating of the corner castings. ISO 1496-1 sets a stacking weight limit of about 213,000 kilograms across the four corner posts for newer containers. Yard operators also account for wind exposure and ground conditions. A stack that is safe on a calm day becomes hazardous in a storm if it is too tall or if heavy units sit on top of light ones. Heavier containers always go at the bottom. When the TOS gets the stacking order wrong and a container needed next is buried under three others, the crane has to reshuffle the stack, which the industry calls “rehandling.” Every rehandle wastes crane time and slows the terminal down.
Refrigerated Containers
Refrigerated containers (reefers) add complexity. They need to be plugged into electrical power as soon as they land in the yard so their cooling units keep running. Terminals designate specific reefer racks with electrical outlets, which limits where these containers can be placed and reduces stacking flexibility. OSHA guidance requires that all live parts on reefer units be guarded or insulated, that power cords be checked for damage before plugging in, and that workers use protective equipment near the units since the internal fans can start up without warning. Terminal staff monitor reefer temperatures remotely, and a power failure can spoil an entire container of perishable cargo within hours.
Gate Operations and the Handoff to a Truck
The last phase inside the terminal moves the container from the yard onto a truck chassis or rail car for inland delivery. Most terminals use appointment systems that assign truck drivers a specific time window, spreading arrivals throughout the day to prevent congestion at the gate and inside the yard.
When a truck arrives at the gate, cameras equipped with optical character recognition (OCR) software automatically read the container number, chassis number, and other markings from standard ISO 6346 labels. The system captures images from multiple angles and cross-references the data against the terminal’s expected-arrival list. OCR systems successfully identify containers about 95 to 97 percent of the time; the remaining cases involve damaged or obscured markings and are handled by a gate clerk reviewing the images manually. Gate cameras also capture high-resolution images of the container’s physical condition and can detect security seals and locked doors.
TWIC Credentials for Drivers
Anyone needing unescorted access to a secure area of a maritime terminal must hold a Transportation Worker Identification Credential (TWIC) issued by TSA. A new TWIC costs $124, lasts five years, and TSA recommends applying at least 60 days before it is needed because processing can take more than 45 days. Online renewals run $116, and a replacement card for a lost or damaged credential costs $60.8Transportation Security Administration. TWIC A driver who shows up without a valid TWIC will not be allowed past the gate, which means a wasted trip and a missed appointment.
The Equipment Interchange Receipt
Once inside the terminal, the driver proceeds to the assigned transfer point. A yard crane retrieves the container from its stack and lowers it onto the truck’s chassis. Before leaving, the driver receives an Equipment Interchange Receipt (EIR), which documents the container’s physical condition at the moment of handover, noting any existing dents, holes, or damage. The EIR is the legal line for liability. If the container arrives at its final destination with new damage, the EIR proves whether the damage existed when the terminal handed it off or happened afterward. A final security check at the exit gate confirms that the correct container is leaving with the authorized carrier, and OCR cameras record the outbound container number. That exit process closes the terminal’s chain of custody.
Chassis
Not every driver owns the chassis that carries the container. The ocean carrier can supply one, the driver can rent from an intermodal equipment pool, or the trucking company can use its own fleet. Drivers using pool chassis typically pay a daily rental fee that ranges roughly from $22 to $41 depending on the region and provider. That daily charge accumulates fast if the container sits at a warehouse waiting to be unloaded, which ties directly into the detention clock.
Free Time, Demurrage, and Detention
The financial risk most likely to catch importers off guard is demurrage and detention. These charges are the shipping industry’s way of penalizing slow container returns, and they can escalate from an annoyance to a serious cost within days.
Demurrage accrues when a container sits at the terminal beyond its allotted “free time,” which typically runs two to seven days after discharge. Once free time expires, terminals charge roughly $50 to $150 per container per day, and rates climb the longer the box stays. Detention applies after the container leaves the terminal. It is the charge for keeping the carrier’s equipment beyond the allowed return window. Different parties control each clock. Demurrage is about how quickly you pick up from the port; detention is about how quickly you return the empty box.
What the Invoice Must Include
The Ocean Shipping Reform Act of 2022 added significant protections for shippers. Under federal law, every demurrage or detention invoice must include specific information: the container number, the port of discharge, the allowed free time in days, the start and end dates of that free time, the daily rate, the total amount due, and contact information for disputing the charges. The invoice must also include a statement that the carrier’s own performance did not cause or contribute to the charges and a certification that the fees comply with Federal Maritime Commission rules.9Office of the Law Revision Counsel. 46 U.S. Code 41104 – Common Carriers
Here is the part most importers don’t realize: if the invoice fails to include the required information, the billed party has no obligation to pay the charge at all.9Office of the Law Revision Counsel. 46 U.S. Code 41104 – Common Carriers That is a powerful lever. On timing, the billing party must issue the invoice within 30 calendar days from the date the charge was last incurred. Miss that window, and the billed party again owes nothing.10eCFR. 46 CFR 541.7 – Issuance of Demurrage and Detention Invoices If the FMC later determines that an invoice was inaccurate or false, penalties and refunds apply.
One Thing Handling Doesn’t Cover: Cargo Loss
The handling process protects the container. It does not protect the value of what’s inside. Under the Carriage of Goods by Sea Act (COGSA), a carrier’s maximum liability for lost or damaged cargo is $500 per package, or per customary freight unit if the goods weren’t shipped in packages, unless the shipper declared a higher value on the bill of lading before shipment.11Office of the Law Revision Counsel. 46 U.S. Code 30701 – Definition That $500 figure dates to 1936 and has never been adjusted for inflation. Bill-of-lading language decides whether the “package” is the container itself or each carton inside it, and courts in different federal circuits have reached different conclusions. Most shippers of high-value goods buy separate marine cargo insurance rather than rely on the default cap.