Demurrage or Detention: What the Charge Is Actually For and How to Avoid It
Demurrage, detention and terminal storage are three different charges that get mixed up. Who bills each one, why, and how to avoid paying extra.

Demurrage and detention are two different container-delay penalties that almost always get confused, because they arrive as one invoice bundle from the carrier or forwarder. Demurrage is a fee for a loaded container sitting at the terminal past its free time. Detention is a fee for the container itself — the carrier’s equipment — staying with the consignee past the allowance, from pickup until the empty box is returned to the depot. This mix-up isn’t just terminology: it’s what keeps importers from understanding exactly what a charge is for and whether there is any chance of reducing or disputing it. Duty and VAT on top of these charges depend on the destination country and are separate from carrier and terminal fees.
Below: what each charge actually means, how much free time is standard, what causes most invoices, and how to structure the process so you don’t pay for delay at all.
Demurrage, detention, and storage: three different charges
When cargo pickup is delayed, a consignee can receive three separate invoices — from different parties, for different things:
| Charge | Billed by | What it’s for | When it starts |
|---|---|---|---|
| Demurrage | Shipping line | Loaded container sits at the terminal, not picked up | After free time ends, from the vessel discharge date |
| Detention | Shipping line | The container itself is not returned empty to the line’s depot | After free time ends, from when the container left the terminal |
| Storage | Terminal/port operator | The container occupies yard space | Often earlier than demurrage — from day 3-5 after discharge |
Key point: demurrage and storage can accrue in parallel for the same delay — that’s not double billing, it’s two separate charges from two separate parties (the line and the terminal). Detention only starts once demurrage has already closed out — meaning the container has physically left the terminal.
How much free time you get, and what overstaying costs
Free time is the number of days the line and terminal allow before the clock starts on penalties. Typical ranges on China trade lanes:
- Demurrage: 5-7 calendar days from the vessel discharge date at the destination port.
- Detention: 5-14 days from when the container leaves the terminal — the range is wide and depends on the carrier and trade lane.
- Storage: often starts counting earlier than demurrage, from day 3-5, on its own separate scale.
The overstay rate is usually tiered: the first days past free time are cheaper, then the line and terminal raise the rate to push the container out. A representative example for a 40-foot container: days 1-5 past free time — $40-80/day, days 6-10 — $80-150/day, beyond 10 days — $150-300/day and up. Exact rates vary by carrier and are set out in its demurrage & detention tariff, attached to the carriage contract — always request it in advance, not after the invoice arrives.
What usually causes the charge
- Customs clearance only starts after the vessel is discharged, not before. While the declaration is being prepared, the cargo physically sits at the terminal racking up demurrage — a common mistake on a first independent shipment; more in the article on customs clearance from China.
- Document mismatches — a wrong code, or weight and cargo description that don’t match between the invoice, packing list, and bill of lading — trigger an inspection and a declaration correction, which costs days.
- Delayed final payment blocks the release of the telex release or original bill of lading: the cargo is physically in port, but it can’t be picked up until the line confirms release — the mechanics are covered in the article on the bill of lading.
- The consignee or warehouse isn’t ready to receive the cargo by the vessel’s arrival date — no truck booked, no unloading window confirmed, no free warehouse space.
- The container isn’t returned to the depot on time after unloading at the consignee’s warehouse — detention accrues regardless of whether demurrage at the terminal has already closed out.
Case: $2,100 in demurrage over a 9-day delay
A building-materials importer received the bill of lading and only started assembling the declaration paperwork once the vessel had already arrived at the destination port — before that, there seemed to be no rush. The cargo sat at the terminal for 9 days while the declaration was prepared and one item’s HS code was clarified. Free time under the line’s contract was 5 days.
The demurrage invoice, on the line’s tiered scale, came to $2,100 for a 40-foot container — comparable to the freight cost for part of the route. Yet clearance itself would have taken the same amount of time whether started 5-7 days before the vessel’s arrival based on the arrival notice or after — declaration paperwork doesn’t depend on the discharge event, and can be prepared in parallel with the sea transit.
Checklist: how to avoid paying extra
- Start the declaration early, using pre-arrival filing based on the arrival notice rather than after discharge — this removes the root cause of most invoices.
- Cross-check documents before shipment, not after arrival: the invoice, packing list, and bill of lading need to match on weight, piece count, and cargo description.
- Request the carrier’s demurrage & detention tariff in advance, at booking — not after the invoice arrives. Free time and rates vary significantly between carriers on the same lane.
- Sync the final payment with the vessel’s arrival date if paying after shipment — otherwise the telex release won’t be issued in time, and the cargo sits in port even though the deal is fully paid.
- Negotiate combined free time with the forwarder for time-sensitive shipments — a pooled allowance for demurrage and detention gives more flexibility than two separate short windows.
- Confirm transport and warehouse readiness ahead of the vessel’s arrival date, not on the day it arrives — this removes the most common cause of detention.
A document package submitted a week before the vessel arrives, plus a tariff requested from the carrier in advance, usually eliminates demurrage risk entirely on a planned shipment — these charges are almost always a timing problem, not a force-majeure event.
Received a demurrage or detention invoice and aren’t sure whether it can be disputed, or planning a shipment and want to rule out this risk in advance? Send the shipment details to orders@dreamviewchina.com or via Telegram at t.me/dreamviewchina — we’ll review your logistics chain free of charge before the cargo ships.
Frequently asked questions
What is the difference between demurrage and detention?
Demurrage is a fee the carrier charges because a loaded container is sitting at the terminal past its free time and has not been picked up. Detention is a fee for the container itself (the carrier's equipment) staying with the consignee past the allowed time — from pickup until the empty box is returned to the depot. Demurrage is counted at the terminal; detention is counted after the container leaves the terminal gate.
Who pays demurrage — the seller or the buyer?
By default, whoever holds the risk and control over the cargo after arrival pays — usually the buyer (the consignee named on the bill of lading), since they arrange pickup and customs clearance. The Incoterms clause in the contract can shift this line — see the article on [FOB, EXW, CIF](/en/blog/inkoterms-fob-exw-cif).
How many free days are typically given before demurrage and detention kick in?
Typically 5-7 calendar days of free time for demurrage and a separate 5-14 days for detention, depending on the carrier and trade lane. These are not a shared pool: demurrage days and detention days are counted separately unless combined free time was agreed in advance.
Can a demurrage invoice be disputed?
Yes, if the carrier cannot confirm the actual vessel arrival date, the gate-out date, or if the delay was caused by the terminal itself (a force-majeure port closure, for example). This requires timeline documents: the arrival notice, gate-out receipt, and correspondence with the terminal. Without documentation, disputing the invoice is nearly impossible.
How is demurrage different from terminal storage fees?
Demurrage is billed by the shipping line — a fee for using its container beyond the free allowance. Storage is billed by the terminal or port operator — a separate fee for the yard space the container occupies, regardless of who owns the box. When cargo pickup is delayed, both invoices often arrive together, and that is not double billing — it is two separate charges from two separate parties.
How do I avoid detention if customs clearance is delayed?
The main tool is starting the customs declaration and submitting documents before the vessel arrives, using pre-arrival filing instead of waiting until after discharge. The second tool is agreeing extended or combined free time with the forwarder in advance for any shipment at risk of delay. More on the clearance process itself in the article on [customs clearance from China](/en/blog/rastamozhka-tovarov-iz-kitaya).
Sources
- Federal Maritime Commission — Detention and Demurrage(fmc.gov)
- ICC — Incoterms® 2020 rules(iccwbo.org)