What we do
Tools
Industries
Department
How we workLet's talk →
Home/Demurrage and Detention
Freight Billing

Demurrage and Detention: What Each Charge Is and How Free Time Works

Both charges exist because a container is being kept too long. The difference is where it's sitting when the free days run out, and that decides which clock applies and what you can dispute.

The short version

Demurrage is charged when a loaded container stays at the port or terminal past its free time. The ocean carrier bills it, and some terminals bill their own storage on top.

Detention is charged when you keep the carrier's container outside the terminal past its free time, until the empty is returned. The ocean carrier bills it. In US intermodal it's often called per diem.

Free time is a set number of days for each, from your contract or the carrier's tariff. The demurrage clock usually starts when the box is discharged and available; detention starts when it leaves the terminal gate. Some carriers pool the two into one combined allowance.

In trucking, detention also means the fee a carrier charges when its driver waits at your dock past free time, commonly two hours.

Demurrage vs. detention side by side

Demurrage

Inside the terminal

  • The full container is waiting at the port, rail yard or terminal.
  • Clock runs from discharge or availability until the box is picked up.
  • Typical causes: customs holds, no truck or chassis, no pickup appointment.
Detention

Outside the terminal

  • The container is at your warehouse, a yard, or on the road.
  • Clock runs from gate-out until the empty is back at the return location.
  • Typical causes: slow unloading, return locations refusing empties, no appointment to return.

Same problem, equipment held too long, at two different points. Free time and daily rates often differ between them, which is why a day billed under the wrong one is worth disputing.

One import container, both clocks

A made-up container with four free days of each, to show how the days are counted.

Example only · free time and daily rates are invented
Discharged and available Monday; picked up Sunday (7 days at the terminal) 7 days
Demurrage free time − 4 days
Demurrage: 3 days at $150 $450.00
Out the gate Sunday; empty returned the following Saturday (6 days out, counted from the day after gate-out) 6 days
Detention free time − 4 days
Detention: 2 days at $120 $240.00

Many tariffs charge more per day the longer the box is held, so check whether your rate steps up after a set number of days. And whether weekends and holidays count depends on your contract or the tariff, not on the invoice. Which day each clock starts and stops on also depends on the tariff.

Billing errors worth checking on every D&D invoice

The clock started on the wrong day

How you'll know: Demurrage counted from vessel arrival, though the box wasn't discharged or released for pickup until two days later.

Fix: Compare the start date to the terminal's availability or discharge event, and to the release date if there was a hold.

Days you couldn't have moved the box

How you'll know: Charges for days the terminal was closed, had no pickup appointments, or the return location wouldn't accept empties.

Fix: Keep screenshots or emails of refused appointments and returns. They're the evidence a waiver or refund request needs.

Free time from the wrong source

How you'll know: The invoice uses the carrier's standard tariff free time when your contract gives you more days.

Fix: Check each invoice against the free time in your own service contract or quote, not just the tariff.

An invoice that arrives months later

How you'll know: A detention bill turns up long after the container went back.

Fix: In the US, the Federal Maritime Commission's billing rule generally requires the invoice within 30 days of the charges last accruing, or the billed party doesn't have to pay. Confirm how it applies to your shipment before refusing.

Where demurrage and detention sit among accessorial charges

Accessorial charges are any fees on top of the base freight rate for work outside a standard pickup and delivery. Demurrage and detention are two of them. These are the others that show up most.

01

Liftgate fee

For loading or unloading at a site with no dock, so the truck needs a powered liftgate. Common on residential and small-business deliveries.

02

Inside delivery

For carrying freight past the dock door or curb and into the building. Standard rates assume the handoff happens at the dock or curb.

03

Residential delivery surcharge

Added when the delivery address is a home, which takes longer and is harder to reach than a commercial stop.

04

Reweigh and reclassification

Added when the carrier weighs or classes the shipment after pickup and finds it differs from the booking. Often disputed, because the reweigh itself can be wrong.

05

Limited access fee

For sites with restricted entry, such as construction sites, military bases, schools or places that need a scheduled appointment.

Questions people ask

What's the actual difference between demurrage and detention?

Where the container is when free time runs out. Demurrage covers a loaded box kept at the port, rail yard or terminal before pickup. Detention covers the carrier's container kept outside the terminal, usually at a shipper's or receiver's site, until the empty goes back.

Are accessorial charges always legitimate, or are they often disputed?

Most reflect real extra work, like a liftgate or a residential stop. They're also among the most disputed freight lines, because whether the work really happened, and at what rate, isn't always right on the invoice.

How do we know if we're being overcharged on demurrage or detention?

Line up each charged day against your contracted free time and the container's real events: discharge, availability, gate-out and empty return. Days outside those dates, or days you couldn't move the box, are where overcharges hide.

What does nVision Global actually do, and should we just use a service like that?

nVision Global runs freight audit as an outsourced service, checking invoices against contracts at volume. Outsourcing suits companies that want the function off their books; building the audit into your own systems suits those who want the data and the disputes in-house.

Can software actually automate catching these billing errors?

Yes, when it has your contract terms (free time, daily rates, accessorial rates) and the shipment's event timestamps. Then every invoice line can be checked, and only the ones that don't match go to a person.

Do you build this into existing freight or TMS software, or is it a separate tool?

Usually into, or connected to, the freight or TMS software you already run, so the audit result shows up where your team manages the shipment.

Let's talk

Tell us the one thing your team does manually that eats up time. We read every message and reply within a day.