Freight & NVOCC

Detention

Detention is a penalty fee charged by a shipping line when the merchant holds the line's container beyond the agreed free time after it leaves the port — typically while it's at the consignee's warehouse for unpacking, or being repositioned for an export load.

Free time for detention is usually 3-5 days (sometimes longer for specialised containers like reefers). After that, charges accrue per day in tiered bands. Detention is owed by the importer/consignee or whoever holds the container.

Detention is sometimes combined with demurrage charges (which apply while the container is inside the port). The two together are often referred to as "D&D" — demurrage and detention. They are among the highest-margin revenue streams for shipping lines and one of the most controversial charges in the freight industry.

Why it matters

Detention is the second half of the "D&D" cost pair, and it is easy to rack up unnoticed — every day a container sits at your warehouse for unpacking, or waits to be repositioned for an export load, the meter runs. Because the free period is short (often 3–5 days), even a modest delay in unloading and returning the empty can generate a real charge.

Diagram
Leaves port
At warehouse
(free days)
Free time ends
→ detention
Empty returned
Detention runs from the moment free time ends until the empty container is returned to the line's depot.
Formula
Detention = (Days held − Free days) × Daily rate × Containers
Days held — from gate-out at the port to return of the empty container
Free days — the days allowed after the container leaves the port (typically 3–5)
Specialised equipment (e.g. reefers) may have shorter free time and higher daily rates.
Real example

An importer collects a container from the port on 1 April with 4 free days of detention. The empty is returned to the depot on 8 April — 7 days held, minus 4 free = 3 charged days. At US$90/day:

Detention = 3 × $90 = US$270, on top of any demurrage that accrued while the box was still inside the terminal.

Also known as
Container DetentionPer Diem
Related terms
Where this matters at WHIZTEC
Frequently asked
Is detention the same as demurrage?

No. Detention is charged after the container leaves the port and is not returned empty in time; demurrage is charged while it is still inside the terminal. Both together are "D&D".

What is "per diem" in shipping?

"Per diem" is another name for detention — a per-day charge for holding the carrier's equipment beyond the free period.

More Freight & NVOCC terms

Voyez WHIZ dans votre opération.

Un Architecte de Solutions adaptera une démonstration de 30 minutes à vos modules, intégrations et plan de déploiement. Sans engagement.