Few line items surprise finance teams more than demurrage and detention. The freight rate was agreed, the goods arrived, and weeks later an invoice appears for container fees nobody planned for. The frustrating part is that most of these charges are preventable. They come from small delays in information and handoffs, not from bad luck.
Demurrage vs detention
The two terms are often used together, but they cover different situations.
| Demurrage | Detention | |
|---|---|---|
| What is being charged | The container staying inside the port or terminal | The container (and equipment) being used outside the terminal |
| Clock usually starts | After discharge from the vessel, when free time begins | After the container leaves the terminal, when free time begins |
| Clock usually stops | When the full container is picked up | When the empty container is returned |
| Typical cause | Late customs release, no trucking booked, missing documents | Slow unloading, no empty return slot, warehouse delays |
Rules, free time and daily rates differ by carrier, terminal, route and contract. Always read the tariff and your service contract for the specifics that apply to your shipments. Some regions also have regulatory rules about how and when these charges can be billed, so confirm current requirements where you operate.
Why the charges happen
- Nobody knew the container arrived. Notices go to an unmonitored inbox, or the ETA in your system is a booking-time guess. Free time is running while people assume the goods are still at sea.
- Customs is not ready. Documents are incomplete or data does not match, so release is delayed. See reducing customs holds with better declaration data.
- Trucking is booked too late. Haulier capacity, terminal appointments and warehouse dock slots all need lead time.
- The warehouse is not prepared. Labor and dock doors are planned around old dates, so unloading waits.
- Empty return is forgotten. The container is unloaded but returned days later, quietly building detention.
- Incoterm confusion. Teams are unclear who is responsible for which stage. See the incoterms 2020 guide.
A simple way to see the cost (illustrative numbers)
Suppose free time is 5 days and a daily rate applies afterward. If a container is released on day 9 and picked up on day 10, five chargeable days pass. Multiply that by the number of containers in a delayed batch, and add detention if the empty is returned late. The figures in your contract will differ, but the pattern is always the same: a few days of delay multiplied across several containers becomes a material cost.
Ten habits that keep demurrage and detention low
- Track every container against a live ETA and alert the team days before arrival. A shared view helps; see how freight tracking software works.
- Know your free time per carrier and port and put the last free day on the shipment record.
- Prepare customs documents before the vessel arrives, not after.
- Book trucking and terminal appointments early and confirm them when the ETA changes.
- Plan warehouse labor against the current arrival estimate, not the original booking.
- Schedule the empty return at the same time as the delivery.
- Escalate holds immediately and record who owns the next action.
- Keep evidence such as gate records, terminal closure notices and email timestamps in case you need to dispute a charge.
- Review every D&D invoice against your records before paying.
- Report the numbers monthly: containers with charges, cost per container, and root cause.
Put the last free day on every shipment and get alerts before it passes. See QueChains freight cost management or book a demo.
How to dispute a charge
- Compare the invoice dates against gate-out and gate-in records and the free time in your contract.
- Look for events outside your control: terminal closures, equipment shortages, or system outages.
- Send a written dispute quickly, with evidence attached, to the party that invoiced you.
- Keep the case reference and follow up. Unanswered disputes are often paid by default.
For the wider picture of controlling logistics spend, see 17 strategies to reduce international freight costs.
Build a simple demurrage and detention dashboard
You cannot reduce what you do not measure. A one-page monthly view, built from your invoices and shipment records, is enough to start.
| Measure | How to calculate it | Why it matters |
|---|---|---|
| Containers with charges | Count of containers that incurred any demurrage or detention | Shows how widespread the problem is |
| Total charges by type | Sum of demurrage, detention and storage | Separates terminal problems from equipment problems |
| Average dwell days | Days from discharge to pickup, per port | Points at slow ports or slow release |
| Root cause | One tag per charge: customs, documents, trucking, warehouse, empty return, dispute | Tells you which process to fix first |
| Charges disputed and recovered | Value challenged and value credited | Shows whether evidence keeping pays off |
Contract points worth negotiating
- Free time in days, and whether it differs by port, container type or season.
- Calendar days or working days, since weekends and public holidays can consume free time.
- Combined or separate free time for demurrage and detention.
- Tariff transparency: a written schedule of daily rates and how they escalate.
- Exclusions for terminal closures, system outages and equipment shortages.
- Extension terms if your cargo is held by authorities for reasons outside your control.
Who owns what during the critical window
- Logistics: tracks arrival, books trucking and the empty return.
- Customs: completes declarations before arrival and clears queries the same day.
- Warehouse: confirms dock slots and labor against the current estimate.
- Finance: reviews invoices against evidence and raises disputes before payment.
Write the last free day on the shipment record, and make each of these teams responsible for a specific action before it.
Frequently Asked Questions
What is the difference between demurrage and detention?
Demurrage is charged when a container stays inside the port or terminal beyond free time. Detention is charged when the container is kept outside the terminal beyond free time, until the empty is returned.
What is free time?
Free time is the number of days you may use the terminal or the container before charges start. It varies by carrier, port and contract, and is not always the same for demurrage and detention.
Who pays demurrage and detention?
The party named in the contract, and often the consignee or shipper depending on the terms of sale and the carrier's bill of lading. Check your commercial agreements and incoterm.
How can I avoid demurrage charges?
Know the arrival date early, prepare customs documents in advance, book trucking and dock slots ahead, and monitor the last free day for every container.
Can demurrage and detention be disputed?
Yes, especially when delays were outside your control. Keep evidence and raise the dispute promptly and in writing.
How do I track demurrage exposure?
Record the free time and last free day on each shipment, then report containers approaching that date and the total charges by cause every month.
Key Takeaways
- Demurrage relates to containers in the terminal; detention relates to containers outside it.
- Most charges come from late information, customs delays and unplanned trucking.
- Put the last free day on every shipment and alert before it passes.
- Keep evidence and review every invoice before paying.
Stop finding out about container fees from the invoice. Start with QueChains or talk to the team.
Written by the QueChains Editorial Team
