How to Avoid Demurrage and Detention Fees at US Ports

If you’ve ever imported goods through a US port, you’ve probably seen — or been hit by — demurrage and detention charges on your invoice. They’re billed per container, per day, usually at rates that climb the longer the container stays out of place, and they often come as a surprise to first-time importers.
Here’s what these fees are, why they exist, and how to avoid them.
How to Avoid Demurrage and Detention Charges, in Short
- Clear customs before the vessel arrives — ISF on time, entry filed early, documents clean.
- Book the truck before the container is available, not after.
- Get the container out of the terminal inside free time — pre-pull it to a yard if your dock isn’t ready.
- Unload fast and return the empty inside detention free time — or transload near the port if the cargo is going far inland.
- Check every invoice against the FMC’s billing rules before you pay it.
The rest of this guide explains each step, and what to do when charges arrive anyway.
Demurrage vs Detention vs Per Diem
| Charge | What it’s for | The clock runs while | Who bills it | How to stop it |
|---|---|---|---|---|
| Demurrage | The loaded container occupying space at the terminal | The container sits at the terminal after free time | The ocean carrier (some terminals bill storage separately) | Pick the container up — or pre-pull it to a yard |
| Detention | Keeping the carrier’s container outside the terminal | The container is out of the terminal after free time, until the empty is returned | The ocean carrier | Unload promptly and return the empty |
| Per diem | The US trucking term for the same daily equipment charge | The container (and often the chassis) is out of the terminal | Billed to the trucker under its interchange agreement, then passed on | Same as detention |
| Chassis charges | Renting the chassis the container rides on | Every day from pickup until the chassis is returned | The chassis provider, through the trucker | Shorten the time from pickup to return |
| Truck waiting time | The driver waiting at your dock or at the terminal | Waiting beyond the free time in the trucker’s rates | The trucking company | Book receiving appointments and unload on time |
“Detention” and “per diem” are often used interchangeably. What matters is where the container is: inside the terminal, it’s demurrage; outside, it’s detention.
What Is Demurrage?
Demurrage is a fee charged when your container sits at the port terminal beyond the allowed free time. Think of it as storage rent at the port.
- Who charges it: The ocean carrier (steamship line); at some terminals the terminal operator bills its own storage charge as well
- When it starts: After the free time expires (typically 3-5 days after the container is discharged from the vessel)
- How it’s charged: Per container, per day, usually in tiers that rise the longer the container stays. The rates are in the carrier’s tariff or your service contract.
What Is Detention?
Detention is a fee charged when you keep the container (the actual equipment) beyond the allowed free time after picking it up from the port.
- Who charges it: The ocean carrier
- When it starts: After the container leaves the port, you have a window (typically 4-7 days) to unload and return the empty container
- How it’s charged: Per container, per day, until the empty is back at the terminal or depot the carrier names
When the Free-Time Clock Starts — and What Doesn’t Stop It
Free time is set by the carrier’s tariff or your contract. Check it, and the last free day for each container, on the arrival notice and the terminal’s availability information as soon as you get them:
- Demurrage free time usually starts when the container is discharged or becomes available at the terminal. Carriers differ on whether weekends and holidays count.
- Detention free time starts when the container leaves the terminal and ends when the empty is returned.
- A customs hold or exam does not automatically stop the clock. The container keeps accruing charges while it waits — which is why clean, early filings matter so much.
- When you physically can’t pick up, the rules lean your way. The Federal Maritime Commission’s interpretive rule on demurrage and detention treats these charges as incentives to move cargo; when cargo isn’t available for pickup — for example, when a terminal is closed or has no appointments — charging for that time is open to challenge.
Why Do These Fees Keep Going Up?
At congested ports like the Port of Los Angeles and Port of Long Beach, terminal space is limited. Carriers use demurrage and detention as financial incentives to keep containers moving. During peak seasons or port congestion events, these fees can escalate rapidly.
9 Strategies to Avoid Demurrage and Detention
1. File Customs Entry Before the Vessel Arrives
The most common cause of demurrage is waiting for customs clearance. If your entry isn’t filed before the container is discharged, it sits at the port accumulating charges.
Solution: Work with your freight forwarder to file customs entry and ISF as early as possible — ideally before the vessel arrives. Our licensed customs brokers file the entry before arrival as standard.
2. Have Your Documentation Ready
Missing or incorrect documents cause customs holds. Before your shipment arrives, ensure you have:
- Correct commercial invoice with proper product descriptions
- Accurate HTS classification
- Any required permits (FDA, USDA, EPA)
- ISF filed at least 24 hours before the cargo is loaded at the origin port
- A customs bond on file — a continuous bond saves arranging one per shipment
3. Use Pre-Pull Services
Pre-pull means your drayage provider picks up the container from the port terminal and moves it to a nearby yard before you’re ready to unload. This stops the demurrage clock.
A pre-pull adds a yard storage charge and an extra move, so it pays off when the alternative is several days of escalating demurrage. Keep in mind that a pre-pulled container is outside the terminal, so detention free time is now running.
4. Schedule Drayage in Advance
Don’t wait until the vessel arrives to book your truck. Container availability windows are tight, and truck appointments at the port fill up fast.
Solution: Have your drayage provider schedule the pickup as soon as you know the vessel arrival date. Our drayage in Los Angeles is booked against your receiving appointment before the container is available.
5. Coordinate Warehouse Receiving
Your container can’t be delivered if your warehouse isn’t ready to receive it. Make sure your warehouse:
- Has an appointment scheduled
- Has space and labor available to unload
- Can receive during the scheduled window
6. Consider Transloading
If returning the empty container on time is a challenge (especially for inland deliveries), consider transloading — unloading the ocean container into a domestic truck at a facility near the port. This lets you return the container quickly while your goods continue moving inland. See transloading in Los Angeles for how it works.
7. Choose a Freight Forwarder Who Manages This Proactively
The best way to avoid demurrage and detention is to work with a freight forwarder who actively manages the timeline — not one who sends you a bill after the fact.
8. Negotiate Free Time Before You Ship
Free time is part of the price of the freight. Importers with steady volumes can ask for extended free time in their contract or through their forwarder’s rate — it is far easier to agree before booking than to argue about after the charges start.
9. Check Every Invoice Before You Pay
Demurrage and detention invoices in US trade have to meet federal rules (below). Check the dates, the free time and the rates against your arrival notice and the carrier’s tariff. If the invoice is missing required information or arrived late, you may not have to pay it.
The FMC’s Billing Rule: What a Demurrage or Detention Invoice Must Show
Since May 28, 2024, the Federal Maritime Commission’s rule on demurrage and detention billing (46 CFR part 541, under the Ocean Shipping Reform Act of 2022) has applied to invoices from ocean carriers, NVOCCs and marine terminal operators. The key points:
- 30 days to bill. The invoice must be issued within 30 calendar days of the date the charge was last incurred. An NVOCC passing on a carrier’s charge has 30 days from the carrier’s invoice.
- Required contents. The invoice must show, among other things:
- the bill of lading number, container number and, for imports, the port of discharge
- why you are the party being billed
- the invoice date and due date
- the allowed free time in days, with its start and end dates
- for imports, the date the container became available for pickup
- the specific dates the charges were applied, the rates and the tariff rule or contract section they come from, and the total due
- a contact and a web link explaining how to request a reduction, refund or waiver
- statements that the charges comply with FMC rules and that the billing party’s own performance did not cause them
- Time to dispute. You must have at least 30 calendar days from the invoice date to request mitigation, a refund or a waiver, and the billing party must try to resolve the request within 30 days.
- Consequence. If the invoice is missing required information or is issued late, the billed party is not required to pay the charge.
One provision of the rule — the section that limited which parties could be billed — was set aside by the US Court of Appeals for the D.C. Circuit in September 2025 and removed by the FMC in December 2025. The other provisions remain in effect. Separately, OSRA 2022 lets shippers and truckers file a charge complaint with the FMC over demurrage or detention they believe doesn’t comply with the law; the carrier has to justify the charge, and the FMC can order a refund or waiver.
Demurrage at Los Angeles and Long Beach
The two ports sit side by side on San Pedro Bay and share the same pressures: busy terminals, appointment systems that fill up, and free time that differs by carrier and terminal. What works there:
- Track the last free day for each container, not just the vessel — containers from the same ship can become available on different days.
- Book terminal appointments early, especially in peak season.
- Keep a pre-pull option ready with your drayage partner for containers that become available before your dock can take them.
- Return empties to the right place. The carrier names the return location; an empty taken to the wrong one can be refused, and detention keeps running until it’s accepted.
- Plan storage near the port if your buyer can’t receive on arrival — see warehousing near the Port of Los Angeles.
How AGF Helps You Avoid These Fees
At American Global Freights, demurrage and detention avoidance is built into our process:
- Early customs filing — Entries filed before vessel arrival by our licensed customs brokers
- Port of LA/Long Beach expertise — We know the terminal operations, appointment systems, and carrier-specific free time windows
- Coordinated drayage — Our drayage partners time the pickup with customs clearance
- Pre-pull options — When timing is tight, we arrange a pre-pull to a nearby yard through our drayage partners to stop the clock
- Proactive communication — We alert you to potential issues before they become expensive
Frequently Asked Questions
What is the difference between demurrage and detention?
Demurrage is charged while a loaded container stays at the terminal past its free time. Detention is charged while the carrier’s container is outside the terminal past its free time, until the empty is returned. Both are daily charges set in the carrier’s tariff or your contract.
What are detention fees?
Daily charges from the ocean carrier for keeping its container outside the terminal longer than the free time allows. The clock starts when the container leaves the terminal and stops when the empty is returned to the location the carrier names.
What is per diem in shipping?
In US trucking, per diem is the daily charge for keeping a carrier’s container — and often the chassis — outside the terminal. It’s effectively detention, usually billed to the trucker first and passed on to the importer.
Who pays demurrage and detention — the shipper or the importer?
Whoever is responsible for the cargo at that stage under the contract. On imports that is usually the importer or consignee, because the charges arise at destination; the Incoterms in the sales contract decide where the seller’s responsibility ends.
Can I dispute a demurrage or detention charge?
Yes. Check the invoice against the FMC’s required contents and the 30-day billing window, and request a waiver or refund within the dispute period printed on the invoice — at least 30 days. If the charge was caused by something outside your control, such as no available appointments, say so with evidence. You can also file a charge complaint with the FMC.
Does a customs exam stop demurrage?
Not automatically. Containers held for a CBP exam usually keep accruing demurrage, and the exam costs are billed on top. That is why accurate, early filings matter.
Are demurrage charges a customs fee?
No. CBP does not charge demurrage — carriers and terminals do. But customs delays are one of the most common causes of demurrage, which is why the entry should be filed before the vessel arrives.
How do I avoid demurrage charges if my warehouse isn’t ready?
Pre-pull the container to a yard before the last free day, or store or transload the cargo near the port. Either stops demurrage at the terminal, though detention free time starts once the container leaves.
If you’re importing through the Port of Los Angeles or any other US port, contact AGF for a quote that includes proactive demurrage management. Call +1 (818) 220-8800.

