Container Demurrage and Detention: Free Time, Who Pays and How to Avoid the Charges
How container demurrage, detention and storage charges work, how free time is counted, who pays under each Incoterm, why charges escalate so quickly, and a pre-arrival routine that keeps boxes moving.

Importers who ship in containers usually budget carefully for freight and duty, then lose money on a charge they did not plan for: the daily cost of a container that sat too long. A shipment of bagged polymer or drummed product can pick up charges at the terminal, with the shipping line and at a depot, all running at the same time, and the total can grow faster than anyone expects. Almost all of it is avoidable with preparation that starts before the vessel sails.
This guide explains what demurrage, detention and storage are, how free time is counted, who pays, why the charges rise so steeply and how to avoid them. It gives no tariff figures, because they vary by shipping line, port and contract and change frequently. It is general guidance, so confirm the rules for your shipment with your shipping line, forwarder and terminal. For bulk vessels, where the word demurrage means something different, see our guide to laytime and demurrage. For packing and loading containers, see container shipping for polymers.
Three charges that are easy to confuse
Answer first: demurrage is for a full container staying inside the terminal too long, detention is for keeping the line's container outside the terminal too long, and storage is the terminal's own charge for occupying its yard. The names and definitions vary, so always check the tariff.
Demurrage
In container shipping, demurrage normally means the charge raised by the shipping line when a loaded import container remains in the port or terminal beyond the free time allowed. The clock usually starts when the container is discharged from the vessel, or on the day after, and stops when the container is collected.
Detention
Detention normally means the charge raised by the shipping line when its container is held outside the terminal beyond the free time, from the day you collect the full container until you return it empty to the nominated depot. The container is the line's equipment, and detention is the line's way of getting it back.
Storage
Storage is the terminal's or port's own charge for space, separate from what the shipping line charges. A container that overstays can attract terminal storage and line demurrage at the same time.
Variations to watch
- Some lines offer combined demurrage and detention, with one pool of free days covering both periods.
- Some call the charges by other names, such as per diem.
- The same ideas apply on the export side, when a container is collected empty too early or delivered full too early or too late.
- Special equipment, such as tank containers, reefers and open tops, usually has shorter free time and higher rates.
- Dangerous goods often have shorter free time at the terminal, or must be removed quickly. See dangerous goods in shipping chemicals.

How free time is counted
Answer first: free time is the number of days you may hold the container without charge. How those days are counted differs between lines and ports, and small differences matter.
Check each of these in writing:
- Start point. Vessel arrival, discharge of the container, or the day after.
- Days counted. Calendar days or working days, and how weekends and public holidays are treated.
- End point. Gate-out of the full container for demurrage, gate-in of the empty for detention.
- Separate or combined. One allowance for each, or one shared allowance.
- Tiers. How the daily rate rises after the first period.
- Who granted it. Free time in the freight contract at origin may differ from the destination tariff, and the destination office must have it on record.
Never assume. A buyer who believes there are two weeks of free time when there is one will discover the difference on the invoice.
Why the charges escalate
Answer first: rates are usually tiered, so the daily charge increases the longer the container stays. Several charges can also run together.
A typical structure has a free period, then a first tier at a daily rate, then higher tiers. The intention is to push importers to return equipment and clear the yard. When a shipment with many containers is delayed, the charge multiplies by the number of boxes. Add terminal storage, and possibly charges for reefer power or hazardous cargo, and a delay of a few weeks can approach or exceed the value of low-priced cargo.
It is worth understanding this before a delay rather than during one, because the right decision when things go wrong is often to pay a cost to move the container quickly instead of waiting for a cheaper solution.
Who pays
Answer first: the party that controls the stage where the delay happens usually ends up paying. At destination that is normally the buyer or consignee, but the shipping line may also look to the shipper.
By Incoterm
- FOB, CFR and CIF. The seller's delivery obligation ends at loading. Destination clearance, collection and return of the container are the buyer's responsibility, so destination demurrage and detention are normally the buyer's.
- Delivered terms. Where the seller delivers to a named place, more of the chain is the seller's. Even so, delays caused by the buyer's import clearance or unloading are usually for the buyer.
See FOB versus CIF and Incoterms 2020 for how the terms divide the chain.
The line's view
The contract of carriage is between the line and the party named on the bill of lading. The line's terms often make the shipper, consignee and holder of the bill all responsible for charges. If a consignee abandons the cargo, the line may pursue the shipper. Sellers should bear this in mind when a buyer stops responding. Our guide to bills of lading explains who the parties are.
Between buyer and seller
If the delay was caused by the seller, for example late or wrong documents, the buyer may claim the charges back under the sale contract, but it will usually have to pay the line first to get the cargo. Put responsibilities for documents and deadlines into the contract. See key clauses in a sale contract.

The common causes of delay
- Documents arriving late. Original bills in the post, bank delays under a letter of credit, or discrepancies. See our letter of credit guide.
- Document errors. Wrong consignee, weights, HS codes or descriptions needing amendment. See the export shipping documents guide.
- Import permits or registrations missing. See import permits and registration.
- Customs holds and inspections, including classification or valuation queries. See HS codes and landed cost and customs valuation.
- Unpaid charges. The line will not release until freight and local charges are paid.
- Trucking shortages or appointment systems at the terminal.
- Warehouse not ready to receive or unload.
- Empty return problems. Depot full, closed or far away, or the container rejected as dirty or damaged.
- Holidays and port congestion.
- Disputes between buyer and seller, during which nobody collects the cargo.
Most of these are known in advance. That is what makes these charges avoidable.
A pre-arrival routine
Answer first: treat the vessel's arrival date as a deadline that everything works back from. Have documents, payments, customs and transport ready before the ship berths.
At the time of booking
- Ask for the free time at destination, in writing, and negotiate more if your clearance is known to be slow. Extra free days are far cheaper agreed in advance than paid for afterwards.
- Confirm whether demurrage and detention are separate or combined.
- Make sure the free time is recorded on the booking or bill of lading and with the destination agent.
Before shipment
- Check draft documents: bill of lading, invoice, packing list, certificate of origin and certificates of analysis. Fix errors before originals are issued.
- Decide how the cargo will be released: original bill, telex release or sea waybill. A fast release method avoids waiting for couriers.
- Confirm permits and registrations are in place.
While the vessel is at sea
- Track the vessel and note schedule changes.
- Pre-lodge the customs declaration where the system allows.
- Arrange funds for duty, tax and local charges.
- Book trucks and confirm terminal appointments.
- Prepare the warehouse, labour and equipment for unloading.
- Confirm the empty return depot and its opening hours.
On arrival
- Pay charges and obtain the delivery order immediately.
- Collect and unload promptly. Unload first and sort later if needed.
- Return empties clean and undamaged, and keep the interchange receipt that proves the date and condition.
If something goes wrong
- Tell the line and forwarder early and ask about options, such as extended free time, moving the container to an off-dock facility, or unloading into a warehouse so the box can be returned.
- Compare the cost of each option against the daily charges. Sometimes paying for storage elsewhere is cheaper than leaving the container at the terminal.
- Record the cause and keep documents in case you need to recover the cost from another party.
Checking and disputing an invoice
Answer first: check every charge against the tariff, the agreed free time and the actual dates before you pay, and raise queries quickly.
- Dates. Compare discharge, gate-out and empty return dates with the terminal and depot records.
- Free time. Confirm the agreed days were applied.
- Rates and tiers. Check them against the tariff or contract.
- Excluded periods. Some tariffs or local rules exclude days when the terminal was closed or the container was unavailable through no fault of the importer. Ask your forwarder what applies locally.
- Duplicates. Make sure storage and demurrage are not charged twice by the same party for the same period.
Lines sometimes reduce charges where the delay was outside the importer's control or for commercial reasons, but this is at their discretion. A prompt, documented request has a better chance than a late complaint. In some countries, regulators have rules on how these charges may be applied, so ask your forwarder or a lawyer about local protections.
Reducing exposure by design
- Negotiate free time as part of the freight contract, especially for regular volumes.
- Choose release methods that do not depend on couriered paper where the payment terms allow.
- Stagger arrivals so your warehouse and trucks can cope. Many containers arriving at once is a common trigger.
- Consider shipper-owned containers or other equipment arrangements for special cases, with advice on the trade-offs.
- Use bonded or off-dock storage when customs clearance is likely to be slow.
- Match payment terms and documents. A letter of credit with tight presentation periods and clean documents speeds release.
- Keep a checklist for every shipment and one person responsible for it.
For decisions about whether containers are the right mode at all, see our guide to choosing between bulk, container and breakbulk.
The export side
Answer first: the same charges exist at the loading end. They matter to buyers on FOB terms and to anyone whose supplier's delay becomes their own.
At origin, the shipper collects an empty container, loads it and delivers it full to the terminal before the vessel's cut-off. Charges can arise when:
- The empty is collected too early and held beyond the export free time (detention).
- The full container is delivered too early and sits in the terminal (demurrage or storage).
- The container misses the cut-off and is rolled to a later vessel, which adds storage and may add other fees.
- Documents such as the shipping instruction or the verified weight are late, so the container cannot load.
These costs normally fall on the seller under FOB, CFR and CIF, but a rolled container also delays the buyer's arrival and can upset a letter of credit's latest shipment date. Ask your supplier how they manage cut-offs, and build a margin into shipment windows. Chemineral ships from Sohar and Salalah, and the trade desk can explain the cut-off and document timings for a given sailing.
A worked example, for illustration only
The figures are invented to show how the arithmetic behaves. They are not tariff rates.
An importer receives ten containers. The line allows a set number of free days at the terminal and a separate number for returning the empties. Original documents arrive four days after the vessel, customs asks a question about the tariff code that takes three more days, and the trucker can move only three containers a day.
By the time the last container leaves the terminal, the first tier of demurrage has been running for several days on every box, and the final containers have crossed into a higher tier. Terminal storage has been charged in parallel. The empties then go back late, because the warehouse unloads slowly, so detention starts as well.
Now run the same shipment with preparation. Release is by an agreed electronic method, so no time is lost waiting for paper. The customs entry was pre-lodged with the classification confirmed in advance. Trucks were booked for the day after discharge, at a rate of ten boxes over two days, and the warehouse unloaded on arrival. Every container leaves inside free time, and the empties are back within their allowance. The charge is zero.
The difference between the two outcomes is not luck. It is four or five actions taken before the vessel arrived.
What to put in the sale contract
A few lines in the sale contract prevent arguments later:
- Document deadlines. When the seller must send drafts and originals, and by what method.
- Release method. Original bill, telex release or sea waybill, agreed in advance and matched to the payment terms.
- Free time. If the seller books the freight, the free days it will request at destination.
- Responsibility for delay. That charges caused by a party's late or incorrect documents are for that party's account.
- Notification. That each side tells the other promptly of schedule changes, holds or disputes.
- Disputes. That the buyer will not leave cargo uncollected during a quality or commercial dispute, without prejudice to its claim, since charges harm both sides. See quality claims and disputes.
Budgeting for it
A realistic landed cost includes an allowance for delay. Using your own history, estimate how often containers overstay and for how long, and include an expected cost per tonne. If the allowance is uncomfortably large, the fix is in your process, not in your budget. Our guide to landed cost shows where this line sits.
Common mistakes
- Assuming the number of free days.
- Not knowing whether demurrage and detention are separate or combined.
- Waiting for original documents when a faster release was possible.
- Starting customs clearance after arrival.
- No truck booked, or no terminal appointment.
- Warehouse not ready to unload.
- Forgetting the empty return, or returning a dirty container.
- Leaving cargo at the terminal during a dispute, letting charges build.
- Paying invoices without checking dates and rates.
- Not keeping receipts that prove gate-out and return dates.
Frequently asked questions
What is the difference between demurrage and detention?
Demurrage is normally charged while the full container sits in the terminal beyond free time. Detention is normally charged while the container is outside the terminal beyond free time, until the empty is returned. Definitions vary by line, so check the tariff.
How many free days will I get?
It depends on the line, the port, the equipment and your contract. Ask for it in writing before booking, and negotiate more if you need it.
Who pays container demurrage under CIF?
At destination, normally the buyer, because clearance and collection are the buyer's responsibility. If the seller caused the delay, the buyer may be able to claim it back under the sale contract.
Can demurrage charges be waived?
Sometimes they are reduced, at the line's discretion or under local rules, particularly when the delay was outside your control. Ask promptly and provide evidence.
What is the best way to avoid these charges?
Prepare before arrival: correct documents, a quick release method, pre-lodged customs entry, funds ready, trucks and warehouse booked, and a confirmed empty return depot.
Next step
If you are planning a containerised shipment and want to line up documents, release method and timing before it sails, send the trade desk your product, quantity and destination through the contact page. We quote Suez and Cape routing side by side for shipments from Sohar and Salalah, and firm offers are valid for 72 hours.
Our trade desk can turn the views in this report into firm offers on today's indicative prices — valid 72 hours, with complete documentation.
Request a quote


