Demurrage vs Detention: Avoid Fees & Boost Profits
Master demurrage vs detention charges. Learn to avoid, calculate, and dispute these fees to protect your haulage business's profits.
You know the pattern. A container move looked profitable when the job was booked. Then the vessel slipped, the pickup slot vanished, the warehouse couldn't unload on time, and a week later an invoice landed from the carrier with charges nobody budgeted for. By the time accounts asks whether the customer can be billed back, margin is already gone and the planner is trying to reconstruct what happened from emails, gate receipts, and WhatsApp messages.
That's why demurrage vs detention matters so much in day-to-day haulage. These aren't abstract shipping terms. They're the charges that can erode a good week if your team can't tell where the delay happened, who controlled it, and what evidence exists. The difference also decides whether you should absorb the cost, recharge it, or challenge it.
A lot of operators still treat these fees as unavoidable. They're not. Some are legitimate. Some are preventable. Some should be disputed. And if your operation still runs container milestones from scattered notes and inboxes, the problems described in what good container transport software fixes are usually sitting right behind the invoice.
Table of Contents
The Hidden Costs of Container Delays
The expensive part of container delay isn't just the invoice itself. It's the chain reaction that follows. Dispatch loses time checking timestamps. Finance holds the customer invoice because backup is incomplete. Operations argues with the carrier too late, after the facts have gone cold.
In practice, most unexpected container penalties fall into two buckets. Demurrage usually starts while the laden box is still inside the terminal. Detention usually starts after the box leaves the port and the equipment isn't returned on time. Teams often mix them up, then dispute the wrong charge for the wrong reason.
That confusion hurts twice. First, the operator misses the last clean chance to avoid the fee. Second, the back office struggles to decide liability. Was it a customer delay, a terminal access problem, a warehouse bottleneck, or a carrier issue? If nobody can answer that quickly, the easiest outcome is often the worst one. The haulage company pays.
Practical rule: If your team can't place the container at a specific location on a specific day, you're not managing fee risk. You're guessing.
The pressure gets worse because these charges don't arrive with much sympathy for how the delay happened. A planner may know the terminal was chaotic. A driver may know the return depot changed. The carrier invoice won't reflect that unless someone documented it properly at the time.
That's the operational reality behind demurrage vs detention. You need a clean distinction, a timeline for each shipment, and a repeatable method for proving when the delay was outside your control.
Understanding Demurrage Charges Inside the Port
Demurrage is the charge for leaving a laden container inside the terminal after the free period expires. The easiest way to explain it is a parking fee for loaded equipment. The container is taking up space in the port, and the charge exists to push cargo out of that space quickly.
According to Vizion's explanation of demurrage and detention, demurrage charges apply to laden containers stored inside a terminal beyond free days, typically 4+ days for ocean, and rates commonly range from $75–$300 per container per day depending on the carrier, terminal, and contract terms.

What demurrage actually pays for
This fee isn't about the customer's warehouse. It isn't about truck waiting. It isn't about how long the cargo takes to unload at destination. It's about terminal storage and terminal flow.
The charge usually starts once the free days end and the loaded box still hasn't been gated out. The billing party may be the shipping line or terminal, depending on the setup, but the practical trigger is the same. The container remained inside the port too long.
A few operational causes come up repeatedly:
- Customs and document holds: The box is physically available, but paperwork isn't ready for release.
- Pickup timing failures: Drayage wasn't booked early enough, or the appointment window disappeared.
- Receiving site misalignment: The delivery point couldn't accept the container when the port window was still open.
- Port-side disruption: Congestion, equipment shortages, and gate friction slow down movement even when the operator is trying to act.
Where planners get caught out
The trap with demurrage is that teams often notice it too late. They focus on vessel ETA and collection planning, but they don't actively manage the free-day clock after discharge. Once the container sits through that window, cost starts stacking by day.
A demurrage problem usually begins as a visibility problem.
Strong operators treat discharge date, availability date, customs release, appointment status, and final pickup plan as one connected timeline. Weak operators treat them as separate updates owned by different people.
That distinction matters because demurrage is often still reversible before it starts. If the terminal appointment is unavailable or access is blocked, the response should be immediate and documented. If a customer warehouse can't receive, someone should decide right away whether to accelerate labor, switch timing, or escalate cost exposure to the customer before the free period ends.
When people say demurrage is unavoidable, they're often describing a process that surfaced the risk after the charge had already accrued.
Explaining Detention Fees Outside the Port
A driver picks up the import box on Tuesday. The warehouse unloads on Wednesday. Then the empty sits in the yard because no one secured a return slot, the depot changed, and the carrier starts billing by the day. That is detention. The container has already left the terminal, but the line still has not gotten its equipment back.
The Federal Maritime Commission explains demurrage and detention as charges tied to the use of terminal space and carrier equipment. For detention, the operational question is simple. How long did the shipper, consignee, trucker, or intermediary keep the carrier's container outside the port beyond the free time allowed under the tariff or service contract?

Detention is an equipment control problem
Once the box exits the gate, the cost exposure shifts from terminal storage to equipment use. The line wants its container turned quickly so it can be reused. If unloading drags, the empty return location changes late, or nobody books the return in time, detention starts to build.
That makes detention more operationally recoverable than many teams assume. If the carrier's return instructions were unclear, the depot refused empties, or appointments were unavailable, those facts matter. Under the FMC's Incentive Principle, charges should encourage cargo movement and equipment return, not punish parties for delays they could not reasonably clear.
Common detention triggers usually sit outside the port:
- Slow unloading at the delivery site
- Empty return appointments not booked early enough
- Last-minute depot or return-location changes
- Weekend, holiday, or shift gaps at the warehouse
- Weak handoff between drayage, warehouse, and customer service teams
Responsibility starts with the contract, then shifts to execution
Liability for detention often gets argued too late. Teams debate who caused the delay after the invoice arrives, even though the commercial allocation should have been clear before pickup.
Incoterms can affect who bears the cost risk in the broader transaction, but the invoice still lands on the party named in the carrier relationship, booking, or local handling arrangement. In practice, that means operations needs two answers before the container leaves the port. Who is controlling the box day to day, and who will pay if the empty is returned late?
I treat detention as a workflow issue, not just a rate issue. Before pickup, confirm the last free day, the approved empty return depot, the booking method for return, the warehouse unload plan, and the escalation path if the depot rejects empties. If any of that is missing, the TMS should flag the move for same-day review.
A useful dispute file is built while the move is still live. Capture pickup time, out-gate time, unload completion, return appointment requests, depot rejection notices, revised return instructions, and all carrier emails. That record is what supports a waiver request later. Without it, the dispute turns into opinion against invoice.
The costly mistake is assuming the risk ends once the container is collected. For detention, the effective control point starts at pickup and ends only when the empty is returned and the return receipt is on file.
Key Differences Demurrage vs Detention Compared
The fastest way to settle demurrage vs detention is to ask two questions. Where is the container now? What exactly is being charged, terminal space or carrier equipment?
If the loaded box is still inside the port beyond free time, that points to demurrage. If the container has already left and hasn't been returned on time, that points to detention. In real operations, one shipment can trigger both, but not at the same moment.
Demurrage vs. Detention At a Glance
| Criterion |
Demurrage |
Detention |
| Location |
Inside the port or terminal |
Outside the port, after pickup |
| What the fee relates to |
Occupation of terminal space by a laden container |
Extended use of the carrier's container equipment |
| Typical trigger |
Free days expire before the loaded box is collected |
Free days expire before the empty box is returned |
| Operational focus |
Cargo release, terminal access, collection timing |
Unloading speed, return booking, depot return timing |
| Who usually charges it |
Shipping line or terminal |
Shipping line |
| Core planning question |
Can we get the box out before terminal free time ends? |
Can we return the equipment before equipment free time ends? |
That table helps in meetings, but it becomes clearer when you map the shipment timeline.
One shipment can trigger both
Take a standard import container. The vessel discharges. The box becomes available. Customs is slow, then terminal appointments are tight, and the loaded container sits in the port too long. That creates demurrage exposure because the box is still inside the terminal after free time.
Eventually the box is collected. At that point, demurrage doesn't continue because the container is no longer occupying terminal space. But the risk hasn't disappeared. The container goes to the consignee, unloading takes longer than planned, the empty return slot isn't secured, and the depot changes instructions late. Now detention starts because the equipment remains outside the port too long.
That sequence matters because teams often collapse it into one complaint. They'll say the shipment had “demurrage charges” even though part of the invoice was detention. That weakens both internal accountability and external disputes.
Use this operating lens instead:
- Before gate-out, ask whether release, appointment, and collection can happen before terminal free time ends.
- After gate-out, switch the team's attention to unloading completion, empty return planning, and depot acceptance.
- At invoice stage, separate the charge lines and test each one against the actual timeline.
If your dispute letter doesn't distinguish the inside-port delay from the outside-port delay, the carrier has no reason to untangle it for you.
That's why good planners track milestones, not just jobs. “Container delivered” isn't enough. You need the sequence. Available, collected, delivered, emptied, returned. Without those timestamps, demurrage vs detention becomes an argument based on memory.
How to Calculate and Dispute Unfair Fees
The invoice lands on Friday afternoon. Three containers show demurrage, two show detention, and the carrier gives you a rate table but no usable timeline. At that point, the arithmetic is the easy part. The primary job is proving whether the clock was allowed to run.

How the calculation usually works
Start by rebuilding the charge line from the carrier's own logic. Free time expires. A daily rate applies. The billed days are counted until pickup, return, or another stop event defined in the tariff or contract.
The internal audit should check five points every time:
- Free time granted: Which dates and cutoffs applied under the booking, service contract, tariff, or written exception?
- Charge type: Is the line item demurrage, detention, per diem, or another equipment fee?
- Clock start and stop: Which operational events triggered the charge and ended it?
- Daily rate: Does the invoiced rate match the published or agreed schedule?
- Supporting dates: Do terminal, carrier, drayage, and consignee records match the billed timeline?
A simple example shows the method. If free time ends on Day 5 and the container becomes chargeable through Day 8, the carrier will usually bill three days. That confirms the math. It does not confirm the fairness of the charge.
That distinction matters for finance teams. The invoice can be mathematically correct and still dispute-worthy if the container was unavailable, access was blocked, or the return instruction changed too late to give the importer or trucker a fair chance to avoid the fee.
For teams tightening audit and customer recharge control, transport invoicing software helps keep the dispute file, shipment timeline, and customer billing record tied to the same operational data.
A short explainer can help if your team needs a refresher on the mechanics:
When a dispute is justified
The strongest disputes are built around the Federal Maritime Commission's Incentive Principle. The FMC explains in its final rule on demurrage and detention billing requirements and related guidance that these charges should encourage cargo movement. If the billed party had no reasonable ability to pick up cargo or return equipment, the charge may fail that standard.
That changes the tone of the dispute. A weak letter asks for a courtesy waiver. A strong letter shows, with timestamps and records, that the charge did not create an incentive because the container was not retrievable, the terminal had no appointments, the depot rejected returns, or the carrier's instructions made compliance impossible.
Use this test before disputing any line item:
Dispute standard: Can you show that the billed party lacked a fair opportunity to avoid the charge during the billed period?
If the answer is yes, the dispute is worth filing. If the answer is no, focus on internal recovery or customer recharge instead of burning time on a weak claim.
The evidence that helps
A good dispute package reads like a documented sequence of events. It should let the carrier, and if needed a regulator, see what happened day by day without guessing.
Include:
- Appointment evidence: Screenshots or portal records showing pickup or return slots were unavailable.
- Availability and hold status: Terminal status, customs holds, exam notices, or release delays showing the container was not actionable.
- Terminal or depot notices: Advisories on congestion, reduced hours, labor disruption, or return restrictions.
- Carrier communications: Emails or messages showing late depot changes, conflicting return instructions, or delayed release information.
- Gate records: Gate-out, gate-in, turn-time, and failed return attempts where available.
- Drayage and TMS milestones: Dispatch time, driver arrival, out-gate, delivery, empty-ready, return attempt, and final return.
- Commercial terms: Booking confirmation, free-time agreement, tariff reference, and any written exception.
- Invoice defects: Missing container numbers, missing billing party details, incorrect dates, or unsupported charge periods.
The order matters. I have seen good evidence ignored because it was sent as a pile of screenshots without a timeline tying it together.
A practical dispute file should follow this sequence:
- Identify the exact invoice line. Container number, invoice number, charge type, billed dates, and amount.
- Set out the timeline. List each operational event by date and time.
- Apply the Incentive Principle. Explain why the billed party had no reasonable chance to avoid the charge during that period.
- Attach labeled proof. Match each factual statement to a document, screenshot, or system record.
Keep the language plain. “No return appointments were available from May 6 through May 8 despite daily checks” is stronger than “we experienced significant operational challenges.”
If the carrier rejects the dispute, keep the file intact. The same record is what your finance team will need to decide whether to absorb the charge, recharge it, or escalate the matter under the carrier's formal billing dispute process.
How to Proactively Reduce Demurrage and Detention Risk
The good news is that the market pressure around these fees has eased from the worst disruption period. According to ISM's report on the 2023 benchmark shift, average demurrage and detention charges declined by 25 percent year over year in 2023 globally. That matters, but it doesn't mean operators can relax. Lower averages don't protect an individual job with a bad handoff.
Operational habits that reduce exposure
The operators who keep these costs down usually do a few things consistently.
- Pre-clear wherever possible. If documents, customs status, and release conditions aren't lined up before arrival, the free-time clock starts chasing paperwork.
- Book appointments early. As soon as the window opens, secure the pickup or return slot. Waiting for “more certainty” often creates less control, not more.
- Match collection to unloading capacity. A fast pickup is pointless if the consignee can't strip the box and return the empty promptly.
- Confirm empty return instructions before delivery. If the depot changes late, the planner should know immediately, not after the driver is already trying to return the unit.
- Escalate at-risk containers daily. Containers near free-day expiry should be reviewed as exceptions, not buried in the general plan.
That sounds simple because it is simple. The hard part is doing it every day across dozens or hundreds of jobs.
Where visibility changes the outcome
Most fee exposure comes from fragmented information. One person has the carrier email. Another has the warehouse update. The driver experiences the delay. Finance only sees the invoice at the end.
A useful operating model is a central jobs grid that shows the live state of container moves in one place. Not as a reporting layer after the fact, but as the dispatch surface the team already uses. When container references, milestones, driver updates, delivery status, and exception notes live together, approaching free-time risks become visible while action is still possible.
Teams reduce fee risk when they stop managing containers as isolated emails and start managing them as timed workflows.
That's also why prevention isn't just an operations topic. It touches customer service, warehouse coordination, drivers, and billing. If the operation can't surface a risk early enough for someone to act, the best dispute process in the world is still a fallback.
A disciplined workflow does three things well. It identifies the containers that are close to cost exposure, routes that information to the people who can still change the outcome, and captures the evidence automatically if the fee can't be avoided.
Using a TMS to Automate Fee Management and Recovery
Manual fee handling fails in two places. First, teams miss the warning signs early because milestones are scattered across portals, spreadsheets, calls, and message threads. Second, once the charge lands, nobody has a clean operational record that links the event to the customer job, the delivery proof, and the invoice.
That's why transport teams keep moving toward connected logistics software solutions rather than stand-alone tracking or invoicing tools. Fee management sits across planning, execution, proof, and billing. If those pieces aren't connected, recovery is slow and margin leaks out in admin.
Why disconnected workflows lose money
A common failure pattern looks like this:
- The planner knows a container is at risk but records it in notes.
- The driver completes the move, but return issues sit in messages.
- Accounts receives a carrier invoice later and asks operations what happened.
- The customer invoice goes out late, without support, or not at all.
That's where a TMS earns its place. A connected system should hold the job record, container references, status changes, attachments, POD, and commercial charges in one workflow. The primary advantage isn't just visibility. It's being able to turn an operational exception into a documented charge event without rekeying everything.
What an automated recovery flow looks like
The target process is straightforward. A charge is linked to the job. Supporting evidence is attached to the same record. The completed job and POD are already there. Billing can then add the pass-through line item with context instead of chasing files.

Practical AI also helps here when it's applied to routine admin work instead of abstract forecasting. Extracting charge details from carrier documents, matching them to jobs, and prompting staff to validate the dates can remove a lot of manual re-entry. That doesn't replace human review. It speeds up the boring part so the team can focus on whether the fee is valid, disputable, or billable.
A cloud workflow matters for this too. If planners, drivers, and back-office staff are working from one current record, you don't get the version-control problems that turn small charge queries into week-long investigations. For operators comparing platforms, the value of a cloud-based TMS is less about buzzwords and more about having live operational and financial context in the same system.
The end result is simple. Fewer avoidable fees. Better dispute files. Faster customer billing when the cost is legitimate. Better cash protection when the margin on each move is already under pressure.
If you run container haulage and want fewer missed milestones, cleaner POD capture, and faster recovery of pass-through charges, Logivo is built for that day-to-day workflow. It gives planners, drivers, and billing teams one connected flow from job creation through to invoice, without the heavy setup that usually slows TMS projects down.