What We Move How We Move It Why Xervion Insights Get a Quote

Demurrage and Detention Charges: Meaning, Differences and How to Avoid Them

Demurrage is a charge for leaving a container at the port or terminal for longer than its free time allows. Detention is a charge for keeping the container, after you have taken it out of the terminal, for longer than its free time before you return it empty. The carrier’s aim is the same in both cases: to keep containers moving. What differs is where the container is and what is holding it up.

First-time importers often meet these charges as a surprise invoice. Both can be avoided with planning, and this guide explains the meaning of each, how they differ, what usually causes them and what to do before and after the invoice arrives.

What is demurrage?

Every container comes with a free time allowance at the destination port. Free time is a grace period, which one shipping glossary describes as usually two to seven days, to unload and collect the container without extra fees. Once it ends, charges build up per day (or per hour). That is demurrage. Source: Clarksons shipping glossary, “What is demurrage”.

The most common reasons a container overstays are a customs hold, missing or mismatched documents, or a truck and warehouse that are not ready when the cargo clears.

What is detention?

Once you collect the container, a second free time allowance applies to how long you may keep it before returning it empty to the carrier. If it comes back late, detention accrues daily. This usually has nothing to do with the port or customs. It happens when the container waits for a free unloading slot, a busy warehouse or a delayed return trip.

Demurrage vs detention

DemurrageDetention
Where is the container?Inside the port or terminalOutside the terminal, with you
What starts the charge?Free time ends before you collect itFree time ends before you return it empty
Typical causeCustoms hold, missing documents, no trucking arrangedSlow unloading, no warehouse space, delayed return
What fixes it?Clean paperwork and quick clearanceUnloading plan and return booking

How are the charges calculated?

The free time and the daily rate come from the carrier’s or terminal’s own tariff, and the rate often rises the longer a container stays. Always ask for the free time at both the origin and the destination before you book.

Here is how the arithmetic works, with made-up numbers for illustration only. If free time is 5 days, the container is collected on day 9 and the rate is USD 100 a day, there are 4 chargeable days and the demurrage is USD 400 per container. Real tariffs differ, so use your carrier’s figures.

Who pays demurrage and detention?

Usually the party responsible for the cargo, typically the importer or exporter. The contract says who pays, and it can place the cost elsewhere: a freight forwarder may be liable, for example, if its own error such as wrong customs paperwork caused the delay. Check the contract terms before an invoice arrives, not after.

Demurrage in chartered shipping

The word is also used outside container shipping. Where a vessel is chartered, cargo owners who go over the loading or discharge time agreed in the charter contract pay the shipowner demurrage. If you ship in containers, your charges follow the carrier’s or terminal’s tariff instead.

Common causes

  • A customs hold or inspection. See why customs clearance gets delayed.
  • Documents that do not match, such as a different quantity or description on the invoice and packing list. See the commercial invoice and packing list guide.
  • Missing licences, permits or certificates that customs needs before it releases the cargo.
  • A customs broker or trucker who was not briefed until the ship had already arrived.
  • A warehouse with no space or staff to unload on the day the container is collected.
  • Port congestion or a shipment that arrives earlier or later than planned.

How to avoid demurrage

  • Get documents right before the ship arrives: commercial invoice, packing list, certificate of origin, bill of lading and any permits.
  • Brief your customs broker early and agree who files what and by when.
  • Track the vessel and book trucking for the expected clearance date, not after it.
  • Use the bill of lading correctly: if the original is needed to release cargo, plan for the courier time. See the bill of lading guide.
  • Know your free time and count it from the date the carrier states, not from the day you notice.

How to avoid detention

  • Confirm the warehouse has space and staff on the day you collect the container.
  • Collect only when you can unload straight away.
  • Book the empty return as soon as you know the unloading date.
  • Ask your forwarder what free time applies at the destination before you book, and compare it between carriers.

If you receive an invoice

  • Check the container number, dates and daily rate against the carrier’s tariff and your free time.
  • Find out which delay caused it, and keep proof (clearance dates, emails, port notices).
  • Ask the carrier for mitigation or a waiver in writing, and do it quickly.
  • Keep these charges in your landed cost estimate. See the import landed cost guide.

What the rules say for US ocean shipping

In the United States, the Federal Maritime Commission (FMC) has a billing rule for these charges. It requires ocean carriers and marine terminal operators to issue a demurrage or detention invoice within 30 calendar days of when the charges were last incurred. The invoice must include certain required information. If it misses the deadline or the required content, the billed party has no obligation to pay that charge. Billed parties also get at least 30 calendar days to ask for mitigation, a refund or a waiver. Source: FMC, Final Rule on Detention and Demurrage Billing Practices.

A court later set aside one section of the rule, the one limiting who can be invoiced. The rest remains in effect, according to the FMC’s notice on the court decision. This is a US rule, so check what applies in your own destination.

To plan the whole shipment, read FCL vs LCL shipping, ocean freight transit times and how long an import from China or Pakistan takes.

Frequently asked questions

What is demurrage in simple words?

A charge for leaving a container at the port or terminal longer than its free time allows. Once free time ends, a daily charge applies until the container is collected.

What is detention in shipping?

A charge for keeping a container outside the terminal longer than its free time before returning it empty to the carrier.

What is the difference between demurrage and detention?

Demurrage happens while the container is inside the port or terminal. Detention happens after you have collected it and are holding it outside. Different delays cause each one.

How many free days do you get?

It depends on the carrier, terminal and route. One shipping glossary describes free time as usually two to seven days. Ask for the exact free time in writing before you book.

Who pays demurrage and detention?

Usually the party responsible for the cargo, typically the importer or exporter, but the contract decides. A freight forwarder can be liable if its own error caused the delay.

How can I avoid demurrage?

Have documents accurate and ready before the vessel arrives, brief your customs broker early, track the shipment and arrange trucking and unloading in advance.

Can I dispute a demurrage or detention invoice?

Yes. Check the dates and rates, keep proof of what caused the delay, and ask the carrier in writing for mitigation or a waiver. US rules require invoices within 30 calendar days with required content.

What does demurrage mean in chartered shipping?

In chartered shipping, demurrage is paid to the shipowner when cargo owners exceed the loading or discharge time agreed in the charter contract. Container charges follow the carrier tariff instead.

Ahad Shah

About the author

CEO & Founder, Xervion Trading

Ahad Shah is the founder and CEO of Xervion Trading, a cross-border sourcing and export company that connects buyers in the UK, US and Saudi Arabia with verified suppliers in Pakistan and China. Xervion works across rice, surgical instruments, safety equipment and FMCG goods, with offices in Pakistan, the United Kingdom and the United States. He writes about sourcing, shipping, payment terms and customs for importers buying from Pakistan and China.

Ready to move something real?

Whether it's a single shipment or an ongoing supply line, tell us what you need. We respond to every enquiry within 24 hours.

Get In Touch Or message us on WhatsApp