Demurrage and Detention: What They Are, Who Pays and How to Avoid Them

Demurrage and detention are charges levied on a container that has stayed where it should not have stayed. Demurrage applies while the container is still inside the terminal — the box has been discharged and is sitting in the yard instead of moving. Detention applies once the container has left the terminal and has not been returned — the equipment is with the consignee, empty or loaded, and the clock is still running. Both are billed by the carrier, both are separate from freight, and both are avoidable in almost every case where the shipment was planned properly.

What makes them worth understanding is that they do not depend on fault. The charge runs because the equipment was somewhere for longer than the tariff allows, not because anyone did anything wrong. A consignee whose customs clearance was held by a document error, whose delivery address was closed for a holiday, or whose truck broke down pays the same as a consignee that simply neglected the paperwork. For an importer, these charges are one of the few costs in a shipment that can appear out of nowhere, on a separate invoice, weeks after the goods have been delivered.

This guide covers what demurrage and detention each are, why they are constantly confused, when free time actually starts, who ends up paying even when the delay was not their doing, where storage fits in, how the charges are avoided in practice, and where importers get caught out.

What demurrage is

Ground-level view along a long row of shipping containers standing on the ground in a port terminal yard with empty lanes

Demurrage is a charge for cargo or containers that remain at the terminal beyond the free time allowed. The container has been discharged from the vessel and is available, and it has not been collected and moved out of the port area within the number of days the carrier’s tariff permits without charge.

Two features define it. The location is inside the terminal — the container has not yet been taken delivery of in the commercial sense, even though it has arrived. And the clock is set by the carrier’s tariff or the negotiated service contract, not by the buyer’s convenience or by how long the customs process happens to take.

The charge escalates. Free time expires, and after it the tariff applies a daily rate that often rises in steps the longer the equipment sits. What looks like a small daily figure on day one is a materially larger one by the time a clearance problem has been running for a week. That escalation is the reason demurrage behaves less like a cost of doing business and more like a penalty for a process failure, even though nothing in the tariff describes it as one.

What detention is, and why the two get confused

Empty container return depot with blocks of stacked containers and a depot building with a shuttered bay and gate lane

Detention runs the other way round. It applies once the container has left the terminal and is not returned to the carrier within the free period allowed for the equipment. The consignee has the box at its premises or in transit; the carrier has lost the use of its asset; and the charge accrues until the empty is back where the carrier can take it.

The confusion between the two is understandable, because from the outside both look like the same invoice arriving for the same shipment, and the words are used loosely even inside the industry. The distinction is worth holding on to, because the two charges have different clocks, different causes and different remedies.

The causes differ accordingly. Demurrage is normally a clearance problem — documents, duty, an inspection, a party who does not know the goods have arrived. Detention is normally a logistics problem — the consignee took the box but did not unload it, or unloaded it and did not arrange the empty return, or the return depot had no appointment available. The first is solved by preparing the entry before the vessel berths. The second is solved by scheduling the return at the same time as the delivery.

  Demurrage Detention Terminal storage
Where the equipment is Inside the terminal, not yet collected Outside the terminal, not yet returned Inside the terminal, cargo not yet collected
Who charges it The carrier, under its tariff or the service contract The carrier, under its tariff or the service contract The terminal or port authority, under its own tariff
Free time starts When the container is discharged and available When the container leaves the terminal When the cargo is discharged and available
What ends the charge Gating the container out Returning the empty to the carrier Collecting the cargo
Usual cause A customs or document problem A delivery or return scheduling problem A customs or document problem
Covered by cargo insurance No No No

Read the first and last rows together. Demurrage and storage are different charges for the same delay, billed by different parties on different tariffs, and neither is a physical loss — which is why cargo insurance does not respond to them. Detention is a different animal again, and it is the one that keeps running after the goods are already with the buyer.

When free time actually starts

Berthed container ship being discharged with ship-to-shore gantry cranes over its deck and stacked containers on the quay apron

Every dispute about these charges eventually becomes a dispute about the clock, and the clock does not start where most importers assume.

For demurrage, free time normally begins when the container is discharged and made available for collection, not when the vessel arrived and not when the shipping documents reached the buyer. A shipment whose documents took a week to arrive by courier has been consuming free time for that week, which is why the arrival of documents and the arrival of the vessel need to be managed as one problem rather than two.

For detention, free time normally begins when the container leaves the terminal. That distinction matters on a shipment with a slow clearance, because a long demurrage period does not necessarily shorten the detention period — the two clocks measure different intervals.

The length of free time is not a fixed industry standard. It is set by the carrier’s tariff and, where the parties have negotiated one, by the service contract, and it varies by carrier, by trade lane, by equipment type and by the contract the two parties signed. That is the practical point: free time is a commercial term that can be negotiated before the shipment, and it is close to impossible to negotiate after the invoice has been issued.

Who pays, and why it is often not the party at fault

Container terminal yard at dusk under high mast floodlighting with stacked container blocks and empty wet lanes between them

The charge is billed to the party that holds the contract with the carrier, and the identity of that party is decided by the booking rather than by who caused the delay.

Where the importer booked directly, the importer is billed. Where a forwarder booked, the position depends on the capacity in which it acted: a forwarder contracting in its own name takes on the carrier-facing relationship and the charges that attach to it, and then decides whether to pass them on. That is the same principal-versus-agent distinction that determines who is liable when cargo is lost, and it is set out in our guide to what a freight forwarder does.

A second layer decides who ultimately bears the charge between buyer and seller: the delivery term. It fixes which party’s obligation it is to take delivery at a given place, and the party with that obligation is the party with the practical problem when the goods cannot be moved. Our guides to CIF and to DAP Incoterms cover where those two rules put the handover, which is the point at which the risk of this kind of charge changes hands.

The unavoidable conclusion is that liability for demurrage and detention follows the contractual chain, not the moral one. A consignee that was blameless still pays if it holds the contract, and its remedy, if any, is against whoever actually caused the delay — a different argument, with a different burden of proof, on a different schedule.

Per diem and the other names these charges travel under

The vocabulary is genuinely unstable, and an invoice using an unfamiliar term is not an invoice for something different.

Per diem is the daily rate at which detention is charged, and in some trades the word is used for the charge itself rather than for the rate. Container detention, equipment detention and detention per diem describe the same thing. On the import side, storage or port storage is the terminal’s own charge for cargo occupying its area, which is why one delay can produce two invoices from two organisations.

None of the alternatives changes the mechanics. What matters when an invoice arrives is not what it is called but which clock it refers to, which party holds the contract, and whether the free period it assumes matches the free period the booking actually carries. Where a charge is disputed, the answer is found in the tariff and the service contract, and the fastest way to locate it is to establish those three facts before reading anything else on the page. The same discipline applies to the rest of the landed figure, which is why it is worth building the delivered cost from its components rather than treating a shipped price as the answer — see what landed cost includes.

How the charges are avoided in practice

Avoidance is almost entirely a matter of sequencing, and the sequencing is known in advance.

Prepare the entry before the vessel berths. Classification, valuation, origin and duty are decided from the documents, not from the container, and every one of them can be settled while the goods are still at sea. A declaration that is ready when the cargo is discharged removes the single largest cause of demurrage. Our guides to HTS code meaning and what determines a country of origin cover the determinations that hold clearances up when they are left late.

Get the documents to the right party before arrival. Where the transport document has to be surrendered or the release authorised, that step is on the critical path. A document that arrives after the vessel has been a week at berth has already consumed a week of free time. The set that has to arrive together is the one covered in our guide to shipping documents for export.

Book the inland move with the booking, not after it. A delivery slot and — more importantly — an empty-return appointment should exist before the container is collected, because detention is usually caused by the return, not by the delivery. This is the point at which the forwarder’s value is most visible, and where a quotation should be read for what it excludes rather than for its headline figure; the Freight Quote Comparison Calculator and the LCL Freight Charge Calculator are useful for comparing what is actually covered.

Negotiate free time as a contract term. Free time is a commercial term like any other. A shipper that moves regular volume has something to trade, and carriers include extended free time in service contracts as a matter of course. Asking after the invoice exists is asking at the wrong time.

Where demurrage and detention go wrong

• Assuming the carrier’s clock matches the calendar. Free time runs from discharge and availability, not from the date the buyer opens its email. A shipment can be in demurrage before anyone knows it has arrived.

• Treating the two charges as one. They have separate clocks and separate causes. A fix aimed at the wrong one — chasing a clearance problem when the return appointment is missing — leaves the other running.

• Forgetting the empty return. Detention is most often caused by an empty that nobody scheduled to give back. The delivery is the visible part of the job; the return is the part that generates the invoice.

• Expecting cargo insurance to respond. These are financial charges for delay, not physical loss or damage. The cargo policy does not cover them, and neither does the carrier’s liability.

• Blaming the carrier and stopping there. Liability follows the contract. Being right about the cause does not change who is billed, and the dispute route is separate from the invoice.

• Confusing storage with demurrage. Two charges, two organisations, two tariffs, one delay. Paying one does not settle the other.

• Leaving free time unmentioned in the contract. Whatever the tariff says applies. A shipper that never asked for extended free time has accepted the default.

What to do next

Establish the two clocks for every import you control. When the container will be discharged and available, and when the empty has to be back. Then work backwards from those two dates and confirm that the customs entry, the document release and the inland transport are all scheduled to finish before the first one, and that a return appointment exists before the second.

Then put the commercial terms in the right places. Free time belongs in the service contract with the carrier, negotiated in advance. The delivery term belongs in the sales contract and decides which side carries the delivery obligation and the exposure that comes with it. And the cost of being late belongs in the delivered figure, not in a separate column marked “avoidable” — our guide to what landed cost includes shows where delay charges sit, the Customs Duty & Import Tax Calculator and the Landed Cost Calculator put a number on the duties that most often hold a clearance up, and the Export Document Checklist is the fastest way to find the missing document while the container is still on the water rather than after it has been discharged. Where the payment and delivery clauses are still being drafted, they are worth reading together with the transport arrangements rather than separately, see TradeShield Contract Risk Review.

Neither charge is complicated. Both are the price of a sequence running out of order, and both are almost entirely within the control of the party that planned the shipment.

Where to use this next

The charge questions in this article are the ones these calculators answer with your own figures. The volumetric weight calculator works volume, weight and freight charges through the same inputs, and the platform that keeps the shipment details alongside the buyer and product records is described on the services page.

One charge in the same chain looks similar and is not: the short truck move between terminal and warehouse carries its own wait time and its own return-leg cost. What a drayage move covers, and why it is priced per container rather than per weight, is set out separately.

Scroll to Top