Skip to content
Back to Blog
Insights

Demurrage vs Detention: What They Are and How to Avoid Container Charges

November 30, 2026
4 min read

The short answer: demurrage is charged when a full import container stays inside the port terminal beyond its free time. Detention is charged when the container has left the terminal but is not returned empty to the carrier on time. Terminal storage is a separate fee charged by the terminal operator. All three are daily charges that grow quickly, and most are avoidable with early documents, pre-arranged customs release and booked trucking.

Demurrage, detention and storage side by side

  • Demurrage: charged by the shipping line while a loaded container sits in the terminal after the free time ends. It stops when the container is picked up.
  • Detention: charged by the shipping line while you keep the container outside the terminal beyond the free time. It stops when the empty container is returned to the designated depot. In the United States it is often called per diem.
  • Terminal storage: charged by the terminal operator for occupying terminal space, separate from what the carrier bills.
  • On exports, the same logic applies in reverse: picking up an empty too early or delivering a full container late can trigger charges.

Free time and the last free day

Free time is the number of days the carrier allows before charges start. It is set in your contract or the carrier's tariff, and it differs by carrier, port, equipment type and season. Some carriers count demurrage and detention separately, others combine them into one allowance. The last free day (LFD) is the date to track: after it, charges usually rise in tiers, getting more expensive the longer the container stays.

Reefer and special equipment such as open tops and flat racks generally have shorter free time and higher daily rates.

Why containers get stuck

  • Original bills of lading arrive late, so the carrier will not release the cargo. See bill of lading types explained.
  • Customs release is delayed by missing documents, a classification question, an inspection, or a CARM account problem. See our CBSA CARM guide.
  • Duties and taxes are not paid, or Release Prior to Payment security is insufficient.
  • Other government department holds, for example food, plants or regulated products.
  • No trucking capacity or no warehouse appointment during peak periods.
  • The empty return depot is full or has changed, and returns are refused.

A checklist to stay within free time

  • Ask for the free time in writing when you book, and negotiate more for slow-moving or peak-season cargo.
  • Get documents to your licensed customs broker before the vessel arrives so release can be pre-arranged.
  • Use a telex release or sea waybill when payment is secured, instead of waiting on couriered originals.
  • Book drayage as soon as the arrival date is confirmed, with a backup carrier.
  • Track the last free day for every container, not just every shipment.
  • Plan unloading capacity at your warehouse to turn containers around quickly.
  • Confirm the empty return location before pickup, and keep proof of return with time stamps.
  • Check every invoice against the actual gate-out and gate-in dates and dispute charges caused by port or carrier delays.

What it really costs

Daily rates vary widely, but even a few days of combined demurrage and detention on several containers can exceed the ocean freight itself. Build a realistic allowance for these charges into your landed cost, and compare it with the cost of the fixes above. Our logistics ROI calculator can help you quantify the savings, and our ocean vs air freight guide covers when speed justifies a different mode.

How MLCI helps

As a CIFFA-certified freight forwarding consultancy in Montreal, MLCI reviews carrier contracts and free time terms, audits demurrage and detention invoices, and sets up arrival processes that keep containers moving. MLCI is not a licensed customs broker; we coordinate with your licensed customs broker on release timing. Download our free cross-border shipping toolkit, see our services, or contact us.

Frequently asked questions

What is the difference between demurrage and detention?

Demurrage applies while a full container remains inside the terminal beyond its free time. Detention applies while the container is outside the terminal and has not been returned empty by the end of its free time.

Who pays demurrage and detention?

Usually the party that controls the cargo at that stage, which on imports is typically the consignee or importer. Your sales contract and Incoterm determine who ultimately bears the cost.

What is the last free day?

The last free day is the final day a container can stay in the terminal, or remain outside it, before daily charges start.

Can demurrage charges be disputed?

Yes. Check invoices against the actual gate dates, and dispute charges caused by delays outside your control, such as terminal closures or carrier issues. Keep written evidence.

Get expert advice today