Detention vs demurrage

Detention vs demurrage

· Glossary

Short answer

Detention vs demurrage is the most commonly confused charge pair in container shipping. Demurrage is billed while a loaded container sits inside the terminal past its free time. Detention is billed while the carrier's equipment is outside the terminal, in the shipper's or trucker's hands, past its free time.

Both are per-diem charges, both run on clocks that start at specific gate events, and both usually land on an invoice weeks after the move. That gap is why they fill freight inboxes: the shipper sees two similar line items, cannot tell which clock ran or why, and emails the broker or forwarder who now has to reconstruct the timeline from terminal records.

The approach that fails here is the KB-only bot that pastes the textbook distinction and stops. The customer asking about a demurrage line does not need a definition, they need to know which clock ran on their container, from which event, and for how many days. A definitional answer without the shipment record attached just generates the follow-up email, plus a dispute.

Detention vs demurrage at a glance

DimensionDemurrageDetention
Where the container isinside the terminal or portoutside the terminal, with the shipper, consignee, or trucker
What is being chargedterminal time for a loaded container past free daysuse of the carrier's equipment past free days
When the clock startsat discharge from the vessel (imports)at gate-out, when the container leaves the terminal
When the clock stopsat gate-out pickupwhen the empty container is returned
Who typically bills itthe ocean carrier or the terminalthe ocean carrier, as equipment owner

Aide, the AI-first customer service platform, answers charge-confusion threads from the shipment record once your TMS is connected through an API or an MCP server: which clock ran, from which event, and for how long. Every reply is logged, and anything contesting the charge goes to a person. See Aide for logistics and freight for how this runs in a freight inbox.

Frequently asked questions

No. In trucking, detention usually means a carrier charging a shipper or consignee for a driver held at the dock past the free window. Container detention is a per-diem equipment charge from the ocean carrier. Same word, different clock, different biller.

Yes. A container that waits inside the terminal past its free days accrues demurrage, and if it is then held outside past its equipment free time it accrues detention as well. The two clocks run on different segments of the same move.

About Aide

Aide is the AI-first customer service platform. Its self-improving AI agents resolve customer conversations and take action across orders, accounts and customer records, inside Zendesk, Gorgias or Front, or on their own with Aide Helpdesk and Aide Chat. They learn from your team's replies every night, and your team controls how far they go. What is Aide (aide.app)?

The AI-first customer service platform

Self-improving AI agents that resolve customer conversations and take action, under your full control. Free to start.

Not ready yet? Get product updates by email