Getting clear on demurrage vs detention saves real money. Both charges penalize time, not distance, and both appear when containers sit too long. Yet they apply to different locations and behaviors, run on different clocks, and require different fixes. Treating them as one fee leads to shotgun solutions; understanding the split lets you attack the true cause and stop the leaks.
What Each Charge Actually Covers
Demurrage (inside the terminal)
Demurrage is the terminal’s storage fee when an import container is not picked up (or an export is delivered in too early) and the free time has expired. The box is still on terminal—on a stack or in a rail ramp yard—and you’re consuming scarce ground slots and crane time. That’s why demurrage escalates by tier (day 1–3, 4–7, 8+, etc.).
Detention / Per Diem (outside the terminal)
Detention is the equipment-use fee charged by the carrier when you keep their container off terminal beyond the allotted free days. The clock starts when a full import leaves the gate (or when an empty export is picked up) and stops when the emptied box is returned to an approved depot. It compensates the line for container scarcity, repositioning, and lost turns.
Why the mix-ups happen
Invoices may land in the same week with similar-sounding labels. But demurrage vs detention are triggered by different actors (terminal vs. carrier), at different stages, and solved by different teams (clearance/appointments vs. turn-in planning). Keep that division crisp in your SOPs.
How the Free-Time Clocks Start and Stop
Clock anchors (imports)
- Demurrage clock: arrival or availability notice at the terminal (port or rail), stops when the box gates out full.
- Detention clock: starts at gate-out full, stops at gate-in empty to the line’s designated return location.
Clock anchors (exports)
- Detention clock: starts when you pick up the empty for stuffing, stops when you return the laden box into the terminal within the early/late receiving window.
- Demurrage risk: delivering too early can incur terminal storage; delivering too late can miss cutoff and spill into rollover storage.
Common clock disruptors
- Rolled vessels or sweeper blankings that push arrival windows.
- Customs/PGA holds (inspections, paperwork corrections).
- Chassis shortages and late appointment slots.
- Weather or labor actions that compress gate hours.
Cost Modeling: Seeing the Real Impact
Import FCL illustration (40HC)
- Terminal free time: 5 days; then demurrage $180/day tier 1 → $275/day tier 2.
- Detention free time: 3 days; then $150/day. A one-day documentation delay + missed delivery slot can burn 2 demurrage days ($360) and 2 detention days ($300) on a single box—$660 you didn’t budget. Multiply by a late vessel string and you have a margin event, not a nuisance fee.
Export illustration (20GP)
- Empty pickup on Day 1; earliest receiving Day 4; cutoff Day 6.
- If you pull the empty Day 1 but load late and miss the Day-6 cutoff, you’ll (a) pay detention on the empty from Day 4 onward and (b) risk demurrage if you stage the laden box at terminal too early. Coordinating when to pull empties and when to deliver laden is the heart of export cost control.
LCL and inland ramps
For LCL, storage fees accrue at CFS rather than terminal demurrage, but the logic is similar: miss the window, pay a daily rate. On rail ramps, “ramp storage” maps to demurrage while per diem remains the equipment clock after gate-out.
Root Causes—and the Levers That Actually Work
Clearance and documentation
- Pre-file entries and transmit full, accurate commercial documents early.
- Align broker SLA with sailing schedule; ask for “file complete” status before vessel berths.
- For frequent holds, build “exam-ready” loads (door-end access, photo manifests).
Appointments and yard capacity
- Book delivery slots as soon as arrival notices land.
- Use pre-pulls: extract the full box to a near-dock yard before free time expires, then deliver when consignee is ready.
- Stagger DC receiving hours during peak weeks to absorb clusters.
Chassis and depot dynamics
- Reserve the right chassis (tri-axle for heavy 20s; 45s for long boxes) ahead of vessel ETA.
- Monitor daily depot capacity and alternate return depots; detention ends only at an approved location.
Exception management
- Build 60-minute playbooks: if rolled, who rebooks, who re-slots delivery, who alerts finance to adjust accruals?
- Use milestone alerts (availability, last free day, appointment, return depot status) with red/yellow flags.
Policy and Contract Levers You Can Negotiate
Free-time windows
- Tie free time to actual availability (not pro-forma ETA).
- Seek weekend/holiday exclusions or longer tiers on congested ports.
- For high-volume accounts, swap a lower base rate for more free time if storage risk dominates your lane.
Equipment return flexibility
- Add alternative depots for returns; publish them in routing guides.
- Request detention caps during systemic port congestion events.
Billing transparency
- Ask carriers/terminals for tariff codes, effective dates, and tier ladders; reconcile invoices against that matrix.
- Split GL codes for demurrage vs detention so root causes stay visible.
Process Controls by Team (Who Owns What)
Brokerage & compliance
- HTS/entry accuracy, PGA permits, and pre-clearance targets.
- Hold forecasts and exam booking preferences.
- Entry status synced to ops ETA so trucks aren’t dispatched into holds.
Warehouse & drayage
- Gate-out scheduling, pre-pull rules, and turn-in deadlines by lane.
- Photo evidence (seal, load, lash points) + empty return receipts archived.
- Driver dwell thresholds and fallback depots documented.
Finance & audit
- Weekly accruals by last-free-day risk; three-way match (quote, tariff, invoice).
- Variance reports that name which clock triggered the cost.
- Quarterly renegotiation pack with quantified storage vs per-diem spend.
When Equipment Choice Changes the Storage Risk
Box selection matters more than you think
Certain loads repeatedly weight out and need tri-axle chassis; others cube out and benefit from extra headroom. The choice affects how fast you can load/unload and whether you hit yard bottlenecks. For deeper context, see shipping container types,high cube vs standard container—choosing the right box often trims hours off terminal and yard time, reducing both demurrage and detention exposure.
Early receiving and export windows
High-cube or special equipment (flat-racks, open-tops) sometimes face limited receiving bays or stricter cutoff rules at rail ramps. If your factory finishes early, verify ERD (earliest receiving date) to avoid avoidable demurrage for arriving “too early.”
Peak Season, Blanking Waves, and Inland Knots
Capacity shocks
Blank sailings compress arrivals into bursts, overloading cranes, chassis pools, and appointment books. Treat last-free-day as a project milestone: add buffer days and pre-pull more aggressively.
Inland congestion
A flawless port pickup still turns into detention if inland depots refuse returns by mid-afternoon. Track depot hours, blackouts, and queue times; authorize alternate depots in your SOP to stop the clock.
KPIs and Dashboards That Keep You Honest
Cost KPIs
- Demurrage spend per FEU/TEU by port and terminal.
- Detention spend per FEU/TEU by carrier and depot.
- % of boxes hitting tier-2/3 rates (early warning that plans are slipping).
Service KPIs
- Availability-to-pickup lag (days).
- Gate-out-to-empty-return lag (days).
- Appointment lead time (from notice to confirmed slot).
Compliance KPIs
- Pre-file rate (entries complete before berthing).
- Hold frequency and average exam dwell.
- On-time empty return rate by dray partner.
Practical Scenarios (Applied Playbooks)
Scenario A — Imports with customs holds
Problem: Exams push past last free day; demurrage tiers spike.
Fix: Pre-pull to bonded yard as soon as holds are flagged; stage exam-friendly pallets. Result: terminal clock stops; exam proceeds off-dock.
Scenario B — Retail DC backlogs
Problem: DC can’t receive until next week; detention rises.
Fix: Pre-pull boxes to a near-dock yard and drip-feed to the DC; negotiate extra return depots to shorten turn-in runs.
Scenario C — Export cutoffs keep shifting
Problem: Early empty pickups + rolling cutoff create both detention and demurrage.
Fix: Sync empty pickup to ERD; use live-load windows; adopt “pull late, stuff fast” for predictable lanes.
A Simple, Repeatable Rule Set
For demurrage vs detention control
- Name the clock on every exception ticket (terminal or equipment).
- Stop the right clock first: pre-pull stops demurrage; empty return stops detention.
- Book early: delivery appointments, depot returns, and alternate depots set before the vessel berths.
- Measure weekly: publish a two-line chart—demurrage vs detention spend—by lane.
- Renegotiate quarterly: free-time, depot options, and tier ladders based on your actual risk profile.
Understanding demurrage vs detention turns vague frustration into targeted action. Once you separate terminal storage from container per diem, you can build the right playbook: pre-file and pre-pull to beat demurrage; choreograph appointments, chassis, and returns to kill detention. Do that consistently, and those two dreaded lines on your invoice shrink from surprises to controlled, mostly avoidable costs.