TMS Guides

How to Reduce Demurrage and Detention Charges: A Guide for Importers and Exporters

October 30, 2026 ยท 5 min read

To reduce demurrage and detention charges, you need to know exactly when each container’s free time ends, have inland transport booked before that date, and check every charge before you pay it. Most of these charges are not caused by the sea leg. They build up in the gap between the port and your warehouse, when nobody owns the next step.

This guide explains what demurrage and detention are, why they pile up, and seven practical steps importers and exporters can take to control them.

What is the difference between demurrage and detention?

Both charges are fees for keeping a container longer than the free time agreed with the shipping line or terminal. The difference is where the container is.

  • Demurrage is charged when a full container stays inside the port or terminal after its free time ends. For imports, the clock usually starts when the container is discharged from the vessel.
  • Detention is charged when a container stays outside the port, with you, after its free time ends. For imports, this covers the time from gate-out until the empty container is returned. For exports, it covers the time from picking up the empty container until the loaded box is returned to the port.

Some shipping lines combine the two into one free-time allowance. Others also add separate port storage charges from the terminal. Always read the free-time terms in your contract or the carrier’s tariff, because they differ by line, port and country.

Why demurrage and detention charges pile up

These charges rarely come from one big mistake. They come from small delays between teams and systems:

  1. The release date is not shared in time. The container is discharged, but the logistics team learns about it days later.
  2. Inland transport is booked late. Trucks are arranged only after customs clearance, not before.
  3. Customs or documents are delayed. A missing bill of lading, bill of entry or permit holds the container at the port.
  4. Warehouse slots are not planned. The truck arrives, but the warehouse cannot unload, so the container waits outside.
  5. Empties are returned late. The goods are unloaded, but nobody books the empty return.
  6. Nobody sees the full picture. Shipping line status sits in one place, trucking in another, and invoices in a third.
  7. Charges are paid without checking. Invoices are approved without matching them against free time and actual dates.

Do you know when each container’s free time ends?

Xfrate tracks free time for every container and alerts your team before demurrage starts.

7 ways to reduce demurrage and detention charges

1. Track free time for every container, not every shipment

One shipment can have several containers with different discharge and gate-out dates. Record the free-time end date for each container ID, for both demurrage and detention, and keep it in the same system your transport team uses every day.

2. Get alerts before free time runs out, not after

A report that shows charges after they start is too late. Set alerts a few days before free time ends, so the team still has time to clear the container, book a truck and plan the return.

3. Book inland transport before the container is released

The most common cause of demurrage is a truck that was never booked. Line up your transporters as soon as the vessel’s arrival date is confirmed. If you work with several transporters at a port, use lane-wise bidding or fixed rates agreed in advance, so a booking takes minutes, not days.

4. Keep shipping and customs documents in one place

Keep the bill of lading, bill of entry, delivery order and permits attached to the shipment record. When documents are scattered across email, clearance is slow and the container waits.

5. Plan the warehouse and the empty return together

Share expected arrival times with the warehouse, so unloading is planned. Book the empty container return as part of the same job, not as a separate task someone has to remember.

6. Negotiate free time when you sign the contract

If your volumes are steady, ask the carrier or forwarder for extended free time at the ports you use most. Use your own history of dwell times and charges to support the request.

7. Check every demurrage and detention invoice before you pay

Match each invoice against the container’s real dates: discharge, gate-out, empty return and the agreed free time. Disputes are much easier when the evidence is already on the shipment record.

In the United States, the Federal Maritime Commission’s billing rule gives businesses at least 30 days to dispute demurrage and detention charges, and carriers must bill within 30 days of when the charges were last incurred (FMC). Rules in other countries differ, so check local regulations.

How a TMS helps reduce demurrage and detention

Demurrage and detention are mostly a coordination problem. A transport management system that covers both the sea leg and the road leg closes the gap between “released” and “moving”.

With Xfrate’s AI-native TMS, importers and exporters can:

  • Track each container from the port to the warehouse on one shipment record.
  • Get proactive alerts before free time expires.
  • Allocate trucks through bidding or fixed rates with their own empanelled transporters.
  • Keep customs and shipping documents with the shipment.
  • Check freight and detention charges against agreed rates and real dates before payment.

See how this works for trade businesses on the TMS for Importers & Exporters page.

Stop paying for time you did not plan

Demurrage and detention charges start counting the day free time ends. Xfrate helps importers and exporters see every container’s free time, plan the truck before release, and check every charge before payment, across road and sea freight.

Request a demo to see it working on your own lanes and ports.

Prefer that we contact you?

Share a few details about your freight, and our team will get back to you within 24 hours.

Frequently asked questions

What is the difference between demurrage and detention?

Demurrage is charged when a container stays inside the port or terminal beyond its free time. Detention is charged when the container stays outside the port, with the importer or exporter, beyond its free time.

When does free time start for an import container?

For demurrage, free time usually starts when the container is discharged from the vessel. For detention, it usually starts when the container leaves the terminal. The exact terms depend on the shipping line’s tariff and your contract.

Can demurrage and detention charges be disputed?

Yes. If the charges do not match the real dates or the agreed free time, you can raise a dispute with the carrier or terminal. In the US, the FMC rule gives businesses at least 30 days to dispute these charges.

How can I avoid detention charges on export containers?

Pick up empty containers as close to the loading date as possible, load them quickly, and return them to the port before the cut-off. Track the free-time end date from the moment the empty leaves the depot.

Does a TMS help reduce demurrage and detention?

Yes. A TMS that tracks containers and inland transport together can alert you before free time ends, help you book trucks earlier, and check charges before you pay them.

โ† Back to Resources

Ready to see Xfrate in action?