Demurrage vs Detention: What's the Difference?

In short: Demurrage is inside the terminal, detention is outside it. Demurrage is charged when a loaded container stays inside the terminal past its free time, up to pickup. Detention, also called per diem, is charged when you keep the carrier's container outside the terminal past its free time, until the empty is returned. They are separate clocks and can stack.

They are often lumped together as “D&D”, but they are two different clocks, billed by different parties, for different parts of the container journey. Confusing them is how forwarders pay a charge twice, or dispute the wrong party.

Demurrage: inside the terminal

Demurrage is charged when a loaded container stays inside the terminal past its free time. The key date is the Last Free Day (LFD) — the last day you can pick up without demurrage. After LFD, charges accrue per container per day, often at tiered rates.

Detention: outside the terminal

Detention, also called per diem, is charged when you keep the carrier's container outside the terminal past its free time — for example at a warehouse — until the empty is returned. The clock starts at pickup and stops at empty return.

Can both apply to the same container?

Yes, and they can stack. You can avoid demurrage by picking up on time, then still incur detention if the empty is returned late. That is why FreightSignal tracks both deadlines, not just discharge.

Quick checklist

Estimate your exposure free →

Related: How to calculate demurrage · How to dispute a demurrage invoice · Deadline monitoring

Frequently asked questions

What is the difference between demurrage and detention?

Demurrage is inside the terminal: a loaded container past its free time, with the Last Free Day as the key date. Detention is outside the terminal: a container kept past its free time, for example at a warehouse, until the empty is returned. They are billed by different parties for different parts of the container journey.

Can demurrage and detention both apply to the same container?

Yes, and they can stack. You can avoid demurrage by picking up on time, then still incur detention if the empty is returned late.

Which date controls demurrage?

The Last Free Day — the last day you can pick up without demurrage. After that day, charges accrue per container per day, often at tiered rates.

What should I record to avoid paying the wrong charge?

Note discharge date, Last Free Day, pickup date, and empty-return due date separately. Check Day 0 versus Day 1 and working-day versus calendar-day rules for each clock, keep evidence for disputed days such as terminal closures, customs holds, or no appointments, and recalculate with the demurrage and detention calculator before paying.

Check your own containers and invoices this way — apply for the 4-week pilot, or test us on 3 live containers for free.

Apply for the pilot → · Try the free calculator →

About FreightSignal: Deadline monitoring and invoice checking for small US freight forwarders, founded by Yousuf. This page was last updated 31 October 2026; the article figures and sources are unchanged by this update.