Skip to content
Freight Problems
Illustrated cover explaining where demurrage accrues inside the terminal versus where detention accrues once a container is outside it, at the consignee's premises.

Demurrage vs. Detention: What's the Difference?

A clear definition of demurrage and detention in container shipping — where each charge applies, why it matters for cost control, and general ways to avoid it.

Author: Thai Global Freight Editorial TeamReviewed by: Thai Global Freight Editorial TeamPublished: 2026-08-23Updated: 2026-08-23Last verified: 2026-08-23
On this page
  1. 01What Demurrage Is
  2. 02What Detention Is
  3. 03Why the Two Get Confused
  4. 04How the Clock Starts and Stops for Demurrage
  5. 05How the Clock Starts and Stops for Detention
  6. 06Free Time: What It Is and Why This Guide Doesn't Quote a Number
  7. 07Demurrage and Detention Combined: LCL, Reefer, and Multi-Leg Complications
  8. 08Who Typically Bears the Cost
  9. 09General Ways to Reduce the Risk
  10. 10Storage Fees vs. Demurrage/Detention: Not the Same Thing
  11. 11Example

Quick Answer

Demurrage and detention are both charges for holding onto a shipping container longer than the carrier's allowed free time, but they apply at different stages. Demurrage applies while a container is still at the port or terminal — for example, sitting there after discharge before the consignee picks it up, or before an export container is loaded. Detention applies once the container has left the terminal — for example, sitting at the consignee's warehouse being unloaded, or waiting to be trucked back to the carrier's depot after it's empty. A customs hold does not pause the demurrage clock, which is one reason speed matters when resolving a documentary or inspection query. Both charges are separate from storage fees the terminal itself may charge, and specific free-time allowances and fee amounts vary by carrier, port, and contract, so they should be confirmed for each shipment rather than assumed.

Key Takeaways

  • Demurrage applies to a container while it's still inside the port or terminal past free time.
  • Detention applies to a container once it has left the terminal but isn't returned to the carrier past free time.
  • A customs hold doesn't pause the demurrage clock — the container keeps accruing charges inside the terminal while the hold is unresolved.
  • Free time allowances and per-day rates vary by carrier, port, route, and contract — there's no universal figure that applies to every shipment.
  • Both charges are separate from general terminal storage fees, which can accrue independently at the same time.
  • Responsibility for the charges is set by the Incoterm and the service agreement in place, not by a fixed industry rule.
  • Reducing exposure comes down to different actions for each charge — fast pickup/loading for demurrage, fast unloading/return for detention.

Demurrage and detention are two of the most common extra charges in container shipping, and they're often used interchangeably even though they apply to different situations. Understanding the distinction matters because it affects where the delay is actually happening — inside the port or after the container has already left it — and who's usually best positioned to prevent it.

Both charges share a similar structure: a carrier grants a period of free time to move or return a container, and once that free time is used up, a per-day charge applies for as long as the container remains where it is. But the location that triggers each charge is different, and mixing the two up can send corrective effort to the wrong place — chasing a trucking delay when the real exposure is sitting inside the terminal, or vice versa.

This guide explains the mechanism behind each charge — what triggers it, where the clock starts and stops, and how the two interact with other charges like general storage fees. It deliberately doesn't quote specific free-time day counts or per-day rates, because those vary by carrier, port, route, season, and the specific service contract in place — the only reliable number for a given shipment is the one confirmed with the carrier or forwarder handling it directly.

Key points at a glance

Summary panel listing the key points covered in Demurrage vs. Detention: What's the Difference?.
  • Demurrage applies to a container while it's still inside the port or terminal past free time.

  • Detention applies to a container once it has left the terminal but isn't returned to the carrier past free time.

  • A customs hold doesn't pause the demurrage clock — the container keeps accruing charges inside the terminal while the hold is unresolved.

  • Free time allowances and per-day rates vary by carrier, port, route, and contract — there's no universal figure that applies to every shipment.

  • Both charges are separate from general terminal storage fees, which can accrue independently at the same time.

  • Responsibility for the charges is set by the Incoterm and the service agreement in place, not by a fixed industry rule.

  • Reducing exposure comes down to different actions for each charge — fast pickup/loading for demurrage, fast unloading/return for detention.

What Demurrage Is

Demurrage is a charge for keeping a container at the port or terminal beyond the carrier's allotted free time. On imports, it typically applies when a container has been discharged from the vessel and is sitting in the terminal yard, but the consignee — or the trucker acting on the consignee's behalf — hasn't yet picked it up and moved it out through the gate. On exports, demurrage can apply when a container has already been delivered into the terminal for loading but sits there past its scheduled window before it's actually loaded onto the vessel.

The charge exists because terminal yard space is limited and valuable — a container sitting idle in the yard occupies space the terminal and carrier would otherwise use for the next vessel's cargo. Free time is the carrier's way of giving a shipper a reasonable window to arrange pickup or loading before that opportunity cost turns into a direct charge.

Demurrage is billed by the carrier (sometimes in coordination with the terminal), not by the consignee's own logistics provider, and it accrues per container per day for as long as the container remains inside the terminal past the free-time cutoff.

What Detention Is

Detention is a charge for keeping a container outside the terminal — typically at the consignee's premises, a trucking yard, or an off-dock container freight station — beyond the carrier's allotted free time before it's returned empty to the carrier's nominated depot.

On imports, this usually applies after a container has cleared the gate and been picked up: the clock runs while the consignee unloads the cargo, and continues to run if the empty container isn't trucked back and handed over at the designated return point promptly once unloading is done. On exports, a similar structure can apply in reverse — a carrier hands over an empty container for the shipper to load at their own premises, and detention accrues if that loaded container isn't delivered back to the terminal within its free-time window.

The key distinction from demurrage is location: detention is about a container the shipper physically has possession of, away from the terminal, rather than one sitting inside the port. Because the container is off the terminal's own property during detention, the party actually controlling the pace of return — usually the consignee's or shipper's own operation, or the trucker they've engaged — has direct influence over how long the exposure lasts.

Why the Two Get Confused

The confusion between demurrage and detention is common enough that the terms are frequently used as if they're interchangeable, even in casual conversation between experienced logistics staff. A few reasons this happens:

  • Both are billed per container per day past a free-time cutoff, so the mechanics look identical from a distance
  • Some carriers and some contracts bundle both under a single combined free-time allowance, which can make the transition from one to the other feel invisible
  • The same underlying cause — a delay somewhere in the process — can trigger either charge depending on exactly where the container happens to be sitting when the delay occurs
  • Invoices from carriers don't always separate the two charges clearly, especially when both have accrued on the same shipment

The distinction still matters operationally, because the fix for each is different. A demurrage problem is generally addressed by speeding up pickup or loading at the terminal; a detention problem is generally addressed by speeding up unloading and return once the container is already in the shipper's hands. Treating both as the same problem risks applying the wrong fix.

Demurrage vs. detention: where the clock runs

Side-by-side comparison showing demurrage accruing inside the terminal from vessel discharge or before export loading, versus detention accruing outside the terminal from gate-out until the empty container is returned.

Demurrage

  • Applies inside the port or terminal
  • Starts at vessel discharge (import) or terminal receipt (export)
  • Billed by the carrier for occupying limited yard space
  • Clock stops when the container exits the terminal gate

Detention

  • Applies outside the terminal, at the consignee's premises
  • Starts the moment the container exits the gate
  • Billed by the carrier for the container being off-site and unreturned
  • Clock stops once the empty container is returned and accepted at the depot

How the Clock Starts and Stops for Demurrage

For an import container, the demurrage clock generally starts once the container is discharged from the vessel and made available for pickup at the terminal — not from the vessel's arrival date, and not from when customs clearance begins. It stops once the container physically exits the terminal gate, regardless of what happens to it afterward.

This has a direct practical consequence: a customs hold that delays release of the cargo doesn't pause the demurrage clock. The container can continue accruing demurrage inside the terminal while a documentary or inspection issue is being resolved, because from the terminal's and carrier's perspective, the container is still occupying yard space regardless of why it hasn't been picked up. This is one of the reasons speed matters when resolving a customs query — the exposure keeps building in the background even while the hold itself is unrelated to the container's physical location.

For an export container, the clock generally starts once the container is delivered into the terminal and stops once it's loaded onto the vessel. A delay in vessel loading, a missed original sailing, or a documentation issue that holds up loading can all extend the time the container spends inside the terminal accruing demurrage.

How the Clock Starts and Stops for Detention

For an import container, the detention clock generally starts the moment the container exits the terminal gate — the same moment the demurrage clock stops. It stops once the empty container is physically returned and accepted at the carrier's nominated return depot, not when unloading finishes and not when a trucker is merely scheduled to make the return trip.

This means the full period a container spends at the consignee's premises — travel time to the warehouse, unloading, and travel time back to the depot — all counts against the detention free-time window as a single continuous period. A warehouse that's slow to schedule unloading, or a trucker that isn't available on short notice for the return leg, both extend this window in exactly the same way a customs hold extends demurrage.

For an export container, the clock generally starts when the carrier hands over the empty container to the shipper and stops when the loaded container is delivered into the terminal. A delay in loading at the shipper's own premises — waiting on production, packing, or paperwork — accrues detention in the same way an import consignee's slow unloading does.

Container lifecycle: from discharge to empty return

Chronological sequence showing a container moving from vessel discharge, through the demurrage zone inside the terminal, out the gate, through the detention zone at the consignee's premises, to final empty return.
  1. 1

    1. Vessel Discharge

    Container is unloaded and made available at the terminal

  2. 2

    2. Terminal — Demurrage Zone

    Container sits in the yard awaiting pickup; demurrage clock is running

  3. 3

    3. Gate-Out

    Container physically exits the terminal; demurrage stops, detention starts

  4. 4

    4. Consignee Premises — Detention Zone

    Container is unloaded off-site; detention clock is running

  5. 5

    5. Empty Return

    Empty container is delivered to and accepted at the carrier's depot; detention stops

Free Time: What It Is and Why This Guide Doesn't Quote a Number

Free time is the window a carrier grants before demurrage or detention charges begin — effectively a grace period built into the shipping contract. It's set by the carrier, sometimes negotiated as part of a service agreement, and can differ by port, by route, by season, and even by container type.

There's no single free-time allowance that applies universally, which is why this guide deliberately doesn't state a specific number of days for either charge. Any figure quoted without reference to a specific carrier, port, and contract would be misleading at best, since a shipper relying on it could plan around the wrong window entirely. The reliable source for a specific shipment's free time is the carrier's own terms, or the freight forwarder handling the booking, confirmed at the time of booking rather than assumed from memory or a previous shipment.

The same caution applies to the per-day rate charged once free time is exhausted — it varies by the same factors and should be confirmed the same way rather than estimated.

How the charge accrues (structure only — no rates or day counts)

Structural formula showing that demurrage or detention charges accrue as a per-container-per-day rate multiplied by the number of days beyond free time, without stating any actual rate or day count since both vary by carrier and contract.

Charge = Per-Container-Per-Day Rate × Days Beyond Free Time

Per-Container-Per-Day Rate
Set by the carrier and the specific service contract; varies by port, route, and container type — not stated here
Days Beyond Free Time
Counted from when free time expires until gate-out (demurrage) or empty return acceptance (detention)

Demurrage and Detention Combined: LCL, Reefer, and Multi-Leg Complications

A few shipment types add complexity to how these charges apply. For LCL cargo, the container carrying multiple shippers' goods is managed by the forwarder or consolidator, not by any single shipper directly — demurrage and detention on that shared container are the consolidator's responsibility to manage, though delays caused by one shipper's slow deconsolidation or documentation can affect the whole container's exposure.

For refrigerated (reefer) containers, free time is often shorter than for standard dry containers, since a reefer occupies a powered plug at the terminal that's in more limited supply than general yard space — the terminal has a direct operational reason to want reefers moved quickly, independent of demurrage policy.

For shipments involving a transshipment — where cargo moves through an intermediate port before reaching final destination — demurrage exposure can, in principle, arise at the intermediate port as well as the final one, depending on how the routing and free-time terms are structured. This is one more reason free-time terms should be confirmed for the full routing of a specific shipment, not just its final leg.

Who Typically Bears the Cost

Responsibility for demurrage and detention charges isn't fixed by the charges themselves — it's determined by the Incoterm agreed between buyer and seller and by the specific service agreement in place with the forwarder or trucker. Neither of those documents is standardized in a way that makes responsibility predictable without checking them directly.

As a general pattern, whichever party controls the decisions that affect pickup, loading, unloading, or return timing tends to be the one contractually on the hook for the resulting charge — a consignee who is slow to arrange pickup is often responsible for resulting demurrage, and a consignee who is slow to return an empty container is often responsible for resulting detention. But this isn't automatic: some service agreements shift responsibility to the forwarder or trucker if the delay originates from their side of the process, such as a truck that isn't available when the consignee is ready to receive the container.

Because responsibility varies by agreement rather than by a fixed industry rule, it's worth confirming as part of arranging a shipment — ideally before a delay happens, not after a charge has already accrued.

General Ways to Reduce the Risk

  • Track the container's discharge or gate-out date closely so pickup or return isn't left to the last day of the free-time window
  • Coordinate trucking and warehouse unloading capacity in advance so a container isn't waiting idle once it's collected
  • Confirm the applicable free-time allowance and responsibility split for a specific booking rather than assuming it matches a previous shipment
  • Flag potential delays — customs holds, documentation issues, warehouse capacity constraints — as early as possible so there's time to act before free time runs out
  • For LCL cargo, stay in close contact with the consolidator on deconsolidation timing, since that affects the shared container's exposure
  • Build a buffer into internal planning rather than treating the last day of free time as the target completion date

None of these steps make demurrage or detention impossible — an unexpected customs hold, a documentation issue, or a capacity constraint elsewhere in the chain can still extend a container's time at the terminal or at the consignee's premises despite good planning. The goal is reducing exposure and catching potential delays early enough to act, not eliminating risk entirely.

Ways to reduce demurrage/detention exposure

Checklist of practical steps to reduce demurrage and detention exposure — tracking discharge dates, coordinating trucking in advance, confirming free time per booking, and flagging delays early.
  • Track the container's discharge or gate-out date closely

  • Coordinate trucking and warehouse unloading capacity in advance

  • Confirm the applicable free-time allowance and responsibility split for a specific booking

  • Flag potential delays as early as possible so there's time to act before free time runs out

  • For LCL cargo, stay in close contact with the consolidator on deconsolidation timing

Storage Fees vs. Demurrage/Detention: Not the Same Thing

A third category of charge, general storage or wharfage, is often confused with demurrage but is actually a separate line item charged by the terminal itself rather than the carrier. Storage typically covers the terminal's cost of physically holding the container in the yard, calculated independently of the carrier's own free-time and demurrage structure.

In practice, a container sitting in the terminal past free time can accrue both demurrage (from the carrier) and storage (from the terminal) simultaneously, since they're billed by different parties for related but distinct reasons — one for exceeding the carrier's contractual free time, the other for the terminal's own handling and space costs. A shipper reviewing charges on an invoice should check which party issued each line item, since disputing or querying a charge means contacting the party that actually billed it.

This is also why total cost exposure from a delayed container can be higher than demurrage or detention alone would suggest — storage fees run in parallel and aren't offset by resolving the demurrage or detention side of the issue.

Example

Suppose an import container is discharged from the vessel on a Monday. If the consignee's trucker doesn't collect it until after the carrier's free-time window has passed, demurrage begins accruing for each day the container remains in the terminal beyond that cutoff — regardless of why the pickup was delayed. Once the trucker does collect the container and it exits the gate, the demurrage clock stops and the detention clock starts.

If the consignee then takes several days to unload the container at their warehouse before arranging the return trip, detention accrues for that entire period — travel to the warehouse, unloading, and travel back — until the empty container is delivered to and accepted at the carrier's return depot.

This example is illustrative only and doesn't reflect any specific free-time allowance, rate, or timeline — those details vary by carrier, port, and contract and should always be confirmed directly for an actual shipment rather than assumed from a general example like this one.

Common Mistakes

  • Using "demurrage" and "detention" interchangeably, which can cause confusion about where a delay is actually occurring.
  • Assuming the free-time allowance is the same as a previous shipment without confirming it for the current booking.
  • Waiting until the last day of free time to arrange pickup, return, or unloading, leaving no buffer for unexpected delays.
  • Assuming a customs hold pauses the demurrage clock — it generally doesn't, so the container keeps accruing charges while the hold is being resolved.

Frequently Asked Questions

Is demurrage the same as detention?

No. Demurrage applies while a container is still inside the port or terminal past free time; detention applies once the container has left the terminal but hasn't been returned to the carrier past its free time.

How many free days do I get before demurrage or detention applies?

This varies by carrier, port, and the specific shipping contract, so it should be confirmed for each booking rather than assumed to be a fixed number.

Who is usually responsible for paying demurrage or detention charges?

This depends on the Incoterm and the specific service agreement in place — it's worth confirming responsibility for these charges as part of arranging the shipment.

Can demurrage and detention charges be avoided entirely?

They can generally be reduced by prompt pickup, unloading, and return of the container within the applicable free-time window, though unexpected delays like a customs hold can still trigger them.

Does demurrage stop accruing while my cargo is held for a customs inspection?

Generally no. The demurrage clock is based on how long the container physically remains inside the terminal, not on why it hasn't been picked up, so it typically continues to run during a customs hold. This is one reason resolving a hold quickly matters for cost control.

Are demurrage and detention the same as terminal storage fees?

No, they're separate line items. Storage fees are charged by the terminal itself for holding the container in the yard, while demurrage and detention are charged by the carrier for exceeding the contractual free-time allowance. Both can apply to the same delayed container at the same time.

Does LCL cargo carry the same demurrage and detention exposure as FCL?

The mechanism is the same, but for LCL cargo the shared container is managed by the forwarder or consolidator rather than any single shipper, so exposure on that container is generally the consolidator's responsibility to manage, even though a delay from one shipper can affect the whole container.

Freight Forwarder Thailand

Ready to plan your next shipment?

CallLINEGet a Quote