Demurrage and detention: what they are and how to avoid paying them
Demurrage and detention are daily charges for keeping a shipping line’s container too long. Learn the difference, how free time is counted, a worked example and practical ways to keep these charges off your invoices.
Short answer
Demurrage is charged by the shipping line when a full container stays inside the terminal longer than the free time — typically while waiting for customs or collection after discharge. Detention is charged when the container is kept outside the terminal too long — from the moment it leaves the port until it is returned empty (or, for exports, from empty pick-up until the full container is delivered back). Both are calculated per container per day after the free days run out.
Demurrage vs detention vs storage
| Charge | Who charges it | Where the container is | Clock runs (import) |
|---|---|---|---|
| Demurrage | Shipping line | Inside the terminal, full | From discharge until gate-out |
| Detention | Shipping line | Outside the terminal | From gate-out until the empty is returned |
| Port storage | Terminal operator | Inside the terminal | After the terminal’s own free days |
Some lines combine the two into one “D&D” or merged free time — for example 14 days in total, however they are split between port and premises. Always check which model your contract uses.
How free time works
Free time is set in the carrier’s tariff for each port and container type and can be negotiated in a service contract or freight quotation. Typical import free time is a few days of demurrage and a few days of detention; reefers and special equipment usually get less. After the free time, daily rates apply and often rise in steps — for example a higher rate from day 8 than for days 1–7.
A worked example
A 40-foot container is discharged on 3 March with 5 days’ free demurrage and 5 days’ free detention. Customs releases it on 10 March and it is collected that day; the empty is returned on 18 March.
- Demurrage: 3–7 March free, 8–10 March charged = 3 days.
- Detention: 10–14 March free, 15–18 March charged = 4 days.
- At €90 per day demurrage and €75 per day detention: 3 × 90 + 4 × 75 = €570 — for a delay that started with a customs query.
How to avoid demurrage and detention
- Negotiate free time before you book, especially for slow-clearing goods or inland destinations.
- Send documents early: customs data, the commercial invoice, certificates and the original bill of lading — or agree a telex release.
- Book the haulier for collection before the vessel arrives.
- Return empties quickly to the depot the line nominates — a wrong depot does not stop the clock.
- Check invoices against the discharge date, gate-out and gate-in times; errors are common.
Disputing a charge
If a delay was caused by the carrier or terminal — a closed port, missing equipment, no appointment slots — ask for the charge to be waived and keep the evidence: emails, appointment refusals and terminal notices. In the United States, the Federal Maritime Commission has rules on what demurrage and detention invoices must contain and how quickly they must be issued.
Frequently asked questions
Who pays demurrage and detention?
Whoever the shipping line invoices — usually the party that booked the freight or the consignee for import charges. The sales contract or Incoterm decides who bears the cost between buyer and seller.
Are demurrage and detention charged on weekends?
Usually yes: free time and charges run in calendar days unless the tariff says otherwise.
Can free time be extended after arrival?
Sometimes, if you ask before it runs out. Lines rarely agree after the charges have started.
Do demurrage and detention apply to exports too?
Yes. Detention runs from empty pick-up until the full container is back at the terminal, and demurrage if a full container waits in the port for a later vessel.
Sources
This guide is general information, not legal or tax advice. Rules change, so always check the current official texts for your situation.
Templates for this guide
Every field this guide talks about is already in place. Fill them in online, or download them for Word and Excel.
Freight Rate Quotation
Freight quotation with lane, service, transit time, itemised rates and surcharges, validity and customer acceptance.
Shipping Instructions (to Forwarder)
Shipping instructions for your forwarder with collection, cargo, Incoterms®, customs, insurance and a documents checklist.
Bill of Lading (Sea)
Ocean bill of lading with container and seal details, freight terms and automatic prepaid and collect totals.
Freight Quotation
Quote a transport job: route, cargo, rates, surcharges and validity.
Shipper's Letter of Instruction
Tell your forwarder exactly how to ship, insure and clear your export.
More guides
How to fill in a CMR consignment note: all 24 boxes explained
What a CMR consignment note is, when you need one and how to fill in every box from 1 to 24 — plus the three originals, reservations and time limits, carrier liability, e-CMR and the mistakes that cause disputes.
9 min readProforma invoice vs commercial invoice: the difference and when to use each
A proforma invoice is a binding quote in invoice form; a commercial invoice is the real bill and the key customs document. Compare them side by side and learn when to send which, what to include and the mistakes that hold up shipments.
5 min readWhat must an invoice include? Mandatory details in the EU, UK and Norway
The details every VAT invoice must show under the EU VAT Directive, in the UK and in Norway — invoice number, VAT numbers, date of supply, VAT per rate and more — plus simplified invoices, reverse charge, credit notes, e-invoicing and how long to keep invoices.
6 min read