Your container arrived on time. The freight was paid. Then, two weeks later, an invoice lands for charges you never budgeted: demurrage at the terminal, detention on the box, both billed by the day. Delays at customs, a missing document or a truck shortage can turn a few free days into a bill that rivals the ocean freight itself. Knowing how these fees work, and when you can push back, protects your landed cost.
- Demurrage is charged when a container stays at the terminal past its free time; detention is charged for keeping the carrier's equipment too long outside it.
- Both are daily charges that start after free time ends, and they often run at the same time.
- Most of the cost is preventable with clean documents, early customs filing and booked trucking.
- In the United States, federal rules set deadlines for issuing invoices and give billed parties time to dispute them.
What Are Demurrage and Detention?
Demurrage and detention are both charges for using space or equipment longer than agreed. They sound alike, and carriers sometimes bill them together, but they cover different things. The U.S. Federal Maritime Commission puts it simply: demurrage accrues when a container exceeds free time on a marine terminal, while detention is charged for extended use of intermodal equipment (Federal Maritime Commission, "Detention and Demurrage", 2026).
In practice, demurrage is about the container sitting at the port. Detention is about the container being out of the port, at your warehouse or on a truck, and not returned on time. A third term, per diem, is often used for detention-type charges, especially by truckers and equipment owners. U.S. rules treat per diem charges as part of demurrage and detention when they relate to terminal space or shipping containers (Federal Register, "Demurrage and Detention Billing Requirements", 2024).
| Dimension | Demurrage | Detention |
|---|---|---|
| What it charges for | The loaded container occupying terminal space | Keeping the carrier's container or equipment outside the terminal |
| Where the box is | Inside the port or terminal | At your premises, on a truck or at a depot |
| When the clock starts | After free time at the terminal ends | After free time for equipment use ends |
| When it stops | When the container leaves the terminal | When the empty (or loaded export) container is returned |
| Typical causes | Customs holds, missing documents, unpaid charges, no truck available | Slow unloading, no return appointment, depot congestion |
What free time means
Free time is the number of days you can use terminal space or equipment without paying. It's set in the carrier's tariff, your service contract or the terminal's schedule. Once it ends, a daily rate applies. Many tariffs raise that rate in steps, so each extra day can cost more than the last. That stepping is why a short delay is annoying but a long one is painful.

Why Do Port Fees Pile Up So Quickly?
Demurrage and detention compound because one delay triggers the next. A container held for a customs exam keeps accruing demurrage at the terminal. When it's finally released, there may be no truck available that day. Then the warehouse can't unload it straight away, and detention starts. Each step looks small, but they stack on top of each other.
Both charges can also run at once. Some carriers bill a combined charge that covers the container and the terminal together. Others bill demurrage and detention separately for overlapping days. Either way, a single container can rack up two daily charges for the same delay.
System-wide disruption makes things worse. When terminals are crowded, appointments are scarce and empty returns are slow. Port Congestion can leave importers unable to collect or return containers even when they want to. That's when disputes over fairness become common, because the charge is no longer pushing anyone to move faster. It's simply penalising them for conditions they can't control.
The scale can be significant. Daily rates vary widely by carrier, port and equipment type, so there's no single benchmark. What matters is that these charges belong in your Freight Costs planning, not in a surprise column at the end of the month.
What Usually Causes Demurrage and Detention?
Most charges trace back to a short list of causes. Some are outside your control. Many aren't. Knowing which is which helps you fix the repeat problems.
- Late or incomplete documents: a missing bill of lading release, commercial invoice or certificate can stop the container from leaving the terminal.
- Customs holds and inspections: exams take time, and the container usually keeps accruing charges while it waits.
- Unpaid freight or charges: carriers may refuse to release cargo until outstanding amounts are settled.
- No trucking capacity: if no truck is booked for the release date, the box sits.
- Slow unloading: warehouses without labour or dock space hold containers longer than planned.
- Return problems: depots may refuse empties or have no appointments, keeping detention running.
- Poor free-time terms: a contract with very little free time leaves no buffer for normal delays.
A useful way to sort the causes: ask whether the delay happened before or after you could physically collect the container. Charges that build up because documents, payments or trucks weren't ready are usually yours to prevent. Charges that build up while the terminal was closed or the container wasn't available are the ones most worth questioning.
How Can You Keep Demurrage and Detention Under Control?
The cheapest demurrage is the kind you never incur. Most prevention comes down to preparation before the vessel arrives, not reaction after it does.
Prepare documents before arrival
Send customs documents to your broker before the ship docks. Confirm the bill of lading release with the carrier early. Pay any freight and local charges ahead of time. When the container is discharged, nothing on the paperwork side should hold it back.
Book trucking early
Arrange a trucker as soon as you know the expected arrival date. Confirm terminal appointments where they're required. Plan the empty return at the same time as the pickup, so detention stops as soon as possible.
Negotiate free time
Free time is often negotiable, especially for regular shippers with steady volumes. Ask for more free days in your service contract, or for combined free time that covers both demurrage and detention. A few extra days can absorb a customs exam without any charge at all.
Track every container daily
Keep a simple tracker for each box: discharge date, free time end, pickup date, unload date and return date. Flag any container within two days of its free time ending. That early warning gives you time to act before the charges start.
These habits matter most in Container Shipping, where a single delayed box can carry two daily charges. Importers who move many containers a month can save real money by turning these steps into a routine.

Who Carries the Risk: Contracts and Budgeting
Demurrage and detention don't only depend on what happens at the port. They also depend on who agreed to carry them. Three documents usually decide that: the sales contract between buyer and seller, the contract with the carrier or forwarder, and the carrier's tariff.
Your sales terms
The trade term in your sales contract sets who is responsible for the goods at destination. Under terms where the seller delivers at the destination port and the buyer handles import clearance, delays caused by the buyer's customs filing are normally the buyer's cost. Under terms where the seller delivers duty paid, the seller carries more of that risk. Spell out in the contract who pays port charges caused by delays, and in which situations. Vague wording is a common source of arguments when the invoice arrives.
Your forwarder or carrier contract
Forwarders often pass carrier charges straight through to the customer, sometimes with an added fee. Check your agreement for how they handle demurrage and detention, how quickly they forward invoices and whether they will dispute charges on your behalf. If a forwarder invoices you late, ask when the underlying carrier invoice was issued. That date matters for any time-based defence.
Building it into the budget
Treat delay charges as a normal cost line, not an exception. Look at your own history: how many containers went past free time last year, and by how many days? Use that to set a realistic allowance per container in your landed cost. When the allowance is regularly exceeded, it's a signal to fix the process, renegotiate free time or change the routing. When it's rarely used, you know your preparation is working.
For example, imagine an importer that brings in 20 containers a quarter. If a handful of them each quarter overrun free time by a few days, the total can quietly match the cost of an extra shipment. Seeing that number in a budget line, rather than scattered across invoices, is what prompts action.
Can You Dispute a Demurrage or Detention Invoice?
Yes, and in some markets the rules give you specific rights. In the United States, the Federal Maritime Commission adopted billing rules for demurrage and detention in 2024. They apply to invoices issued by ocean common carriers, marine terminal operators and non-vessel-operating common carriers (Federal Register, "Demurrage and Detention Billing Requirements", 2024).
Who can be billed
Under the rule, a properly issued invoice goes either to the party that contracted for the ocean transportation or storage, or to the consignee. A billing party that invoices one of them cannot also invoice the other, and it cannot invoice anyone else (Federal Register, "Demurrage and Detention Billing Requirements", 2024). That stops the same charge being chased from several directions.
Invoice and dispute deadlines
The billing party must issue the invoice within 30 calendar days from the date the charge was last incurred. If it doesn't, the billed party is not required to pay. The billed party must also get at least 30 calendar days from the invoice date to request mitigation, refund or waiver. The billing party must then attempt to resolve that request within 30 calendar days, or a later date both sides agree (Federal Register, "Demurrage and Detention Billing Requirements", 2024).
The rule also sets out minimum information that invoices must contain, such as container numbers, free time dates and the applicable rate. That section was delayed when the rule was published, so check the FMC's current guidance for its status before you rely on it.
Whether the charge was reasonable
Timing isn't the only ground. The FMC's view is that these charges should encourage cargo and equipment to move. In 2026, a U.S. federal appeals court upheld an FMC finding that a carrier charged unreasonable detention fees to a trucker during a three-day port closure. The trucker could not retrieve the equipment before the closure, so the fees did not encourage an earlier return. The court also affirmed that carriers bear the burden of showing how their fees serve a compensatory purpose (FMC court decision summary, "U.S. Court of Appeals Upholds FMC Decision that Detention Fees Must Promote Freight Fluidity", 2026).
How to build a strong dispute
- Check the invoice date against the date the charge was last incurred.
- Confirm the invoice went to the right party.
- Compare the free time and rates with your contract or the carrier's tariff.
- Gather evidence of anything outside your control: terminal closures, unavailable appointments, refused empty returns.
- Submit the request within the stated window, in writing, and keep a copy.
Other countries handle these charges differently, and many have no specific billing rules at all. Outside the United States, your contract and the carrier's tariff usually decide what you can challenge. Read them before the cargo ships, not after the invoice arrives.
Demurrage and detention are predictable once you understand them. Demurrage charges for time at the terminal, detention for time with the equipment, and both start the moment free time ends. Prepare documents early, book trucks ahead, negotiate free time and track every box. When an invoice looks wrong, check the dates, the party billed and the circumstances. Rules described here reflect official U.S. guidance as of 2026 and may change, so confirm current requirements with the FMC or your freight forwarder.
Frequently Asked Questions
Sources
- Federal Maritime Commission (fmc.gov)
- Federal Register (govinfo.gov)
- FMC court decision summary (fmc.gov)