


In a common ocean-import arrangement, demurrage applies when a container remains at the terminal beyond its allowed free time. Container detention concerns extended use of the carrier’s equipment outside the terminal, usually until the empty container is returned. Per diem means “per day” and can be the billing label for equipment detention.
These are starting definitions, not universal invoice rules. Some carriers use combined demurrage and detention, while terminal storage may be separate. Always check the tariff or contract for the actual charge, time period and equipment involved. FMC overview, FMC treatment of terminology and per diem.
The table describes common import usage. The applicable terms determine the exact start and stop events.
| Term | What the charge concerns | What to check |
|---|---|---|
| Demurrage | A container remaining at a terminal beyond free time | Availability, last free day, pickup/gate-out and whether storage is included |
| Container detention | Carrier equipment retained outside the terminal beyond free time | Pickup date, empty-return deadline and accepted return location |
| Per diem | A daily equipment-use charge; it can mean container detention | Equipment number, dates and whether it duplicates another invoice line |
| Terminal storage | Occupation of terminal, port or depot space | The facility's own free time and tariff; it may be separate or bundled |
| Truck or driver detention | Waiting time during pickup, delivery, loading or unloading | Arrival/departure records, free waiting allowance and hourly or other billing increments |
For a documented example of separate facility and equipment charges, see Hapag-Lloyd’s US detention and demurrage policies.
Truck waiting detention and container detention can arise on the same shipment, but they measure different services and periods. Ask your haulier to explain its waiting-time conditions separately. The drayage guide explains the port-to-inland transport stage.
This guide focuses on ocean containers. For LCL cargo, confirm the warehouse or container-freight-station storage and handling terms; the full-container empty-return example below may not describe your booking.
See where each charge generally applies and which deadlines, documents and operational steps can help reduce your exposure.
Free time is the allowance before a specified time-based charge begins. The last free day, often abbreviated LFD, is the final charge-free day under that allowance.
One shipment can have different deadlines for terminal pickup, equipment return and other services. Ask for these details in writing:
Do not assume weekends are always free or always chargeable. For example, Hapag-Lloyd’s US guide distinguishes free-time calculations from charging after expiry and includes specific closure provisions. Confirm the policy that applies to your booking. Hapag-Lloyd US tariff guide.
Hypothetical example only. This is an invented tariff and schedule for one container, not a carrier quotation or a statement of legally applicable charges.
Assumptions: all days are countable calendar days; there are no holds, closures or other exclusions. Demurrage counting starts on Day 1 with four free days, and the pickup day is included. Detention counting starts the day after pickup, with three free days, and the accepted empty-return day is included.
| Day | Shipment event | Position in the assumed charging schedule |
|---|---|---|
| Day 1 | Container is discharged and available; assumed clock starts | Demurrage free day 1 |
| Days 2–3 | Container remains at terminal | Demurrage free days 2–3 |
| Day 4 | Last free day for terminal pickup | Final demurrage free day |
| Days 5–6 | Container remains at terminal | Chargeable demurrage days 1–2 |
| Day 7 | Loaded container is collected | Chargeable demurrage day 3; terminal period ends |
| Days 8–10 | Delivery, unloading and return preparation | Three detention free days; Day 10 is the return LFD |
| Day 11 | Empty container has not been returned | Chargeable detention day 1 |
| Day 12 | Empty container is accepted at the authorized return location | Chargeable detention day 2; equipment period ends |
Delivery to the warehouse does not, by itself, establish that the empty container has been returned. Keep the return receipt or equipment interchange record showing acceptance at the instructed location.
Using the timeline above, assume these invented rates:
| Charge | Calculation | Amount |
|---|---|---|
| Demurrage, Days 5–6 | 2 × $150 | $300 |
| Demurrage, Day 7 | 1 × $225 | $225 |
| Detention, Days 11–12 | 2 × $100 | $200 |
| Illustrative total | $525 demurrage + $200 detention | $725 |
The subtotal excludes any separately applicable terminal storage, chassis charges, truck waiting, taxes or other services. Add a charge only if it applies to the shipment and has not already been included elsewhere.
For tiered rates, calculate each tier separately. Do not apply the highest daily rate to every day unless the actual tariff expressly uses that method.
With a combined allowance, one equipment-use period can cover both time inside the terminal and time outside it. Pickup does not necessarily start a fresh free-time allowance. Terminal storage may still have a separate schedule.
A useful Spain example is Maersk’s published import guidance: it describes combined D&D from discharge through empty gate-in, invoiced as detention, and terminal storage through full gate-out, invoiced as demurrage. This is one carrier’s arrangement, not a rule for every Spanish shipment. Maersk Spain import guidance.
Assume a different, invented contract for one container:
| Period | Calculation | Amount |
|---|---|---|
| Days 1–7 | Combined free time | €0 |
| Days 8–10 | 3 × €80 | €240 |
| Days 11–12 | 2 × €120 | €240 |
| Illustrative combined equipment charge | Five chargeable days | €480 |
Gate-out on Day 5 does not reset the clock in this example. Separate terminal storage, if applicable, must be calculated under its own terms.
The euro figures are invented for illustration. They are not Maersk’s rates, an estimate for Spain, or a currency conversion of the previous example. These examples describe alternative charging models; do not add their totals together.
Export schedules use different events. Equipment detention can concern the period from collecting an empty container to returning it loaded, while export demurrage concerns time at the terminal before loading under the applicable tariff. Confirm the receiving window and what happens if the vessel schedule changes. Do not reuse an import timeline without changing its events. Hapag-Lloyd’s US export and import policies.
| Stage | Action | Who to coordinate with |
|---|---|---|
| Before booking | Confirm separate or combined free time, rate tiers and any additional storage charges | Booking team and carrier |
| Before arrival | Prepare customs documents, transport-document release and required payments | Importer, broker and forwarder |
| When arrival information is available | Confirm cargo availability, holds, pickup LFD and the actual release status | Carrier, terminal and broker |
| Before pickup | Arrange the truck, required equipment and receiving appointment | Haulier and receiving warehouse |
| Before delivery | Confirm unloading staff, equipment, capacity and the driver’s waiting allowance | Warehouse and haulier |
| Before empty return | Check the authorized depot, appointment, acceptance conditions and return LFD | Carrier and haulier |
| After return | Obtain the accepted gate-in record and check the invoice dates | Haulier, carrier and accounts team |
For US ocean imports, prepare the ISF filing within its required timeline. ISF acceptance does not by itself complete customs entry or terminal release.
For port collection planning, use the drayage guide. Track release and empty-return tasks as well as vessel arrival; arrival alone does not make a container ready for collection.
Report the problem promptly to the relevant carrier, terminal or haulier. Keep dated evidence of unavailable appointments, terminal closures, return instructions, rejected returns, holds and attempts to resolve the issue.
Request written instructions and a review of the affected days. Do not assume that every delay automatically earns a waiver, or that every invoice is valid simply because a tariff was cited.
For US-regulated movements, the FMC’s interpretive rule considers cargo availability and whether detention serves its purpose when empty containers cannot be returned. The facts matter; it is not a blanket waiver for all congestion. 46 CFR 545.5.
For Spain and other destinations, use the applicable local terms and dispute process. Do not apply US regulatory guidance as a worldwide rule.
Before accepting the calculation, reconcile:
Send a dispute through the stated channel within the applicable deadline, identify the specific disputed days or amounts, and attach supporting records. Keep the written response. If cargo is awaiting release, separately confirm the payment, credit or other release arrangement while the dispute is reviewed.
When requesting freight services, include the delivery location, unloading needs, receiving hours and intended service scope. Ask how free time, terminal collection and empty return will be coordinated.
Explore ocean freight services or US customs clearance and delivery services. Confirm the services and charges included in your booking.
Related Articles
