Detention and Demurrage

Roeslan Ozdoyev

Detention and demurrage are two of the most common container charges in shipping, and they are also two of the most misunderstood. If you import or export by ocean freight, knowing the difference can help you avoid unnecessary costs, protect your margins, and plan better around free time, terminals, depots, and container returns.

In simple terms, demurrage usually applies when a container stays too long inside the port or terminal, while detention applies when the container stays too long outside the terminal before it is returned. The exact rules, free days, and rates depend on the carrier, route, port, and shipment setup, which is why even experienced shippers still run into unexpected detention charges and demurrage fees.

This guide explains the detention and demurrage meaning in shipping, the difference between demurrage and detention, when charges start, who may be responsible, and what you can do to reduce the risk.

What detention and demurrage mean in shipping

Both charges are linked to container use beyond the free period allowed by the shipping line. Containers are carrier equipment, so they are expected to keep moving. When they are held too long, the carrier may charge for that delay.

The basic detention and demurrage definition is:

  • Demurrage - a charge for keeping a container in the terminal or port beyond the allowed free time

  • Detention - a charge for keeping the container outside the terminal beyond the allowed free time before returning it

You will also see these terms written in different ways, such as demurrage detention, detention & demurrage charges, dem det charge, or container detention and demurrage. In practice, they all refer to time-based container penalties connected to late pickup, late unloading, late return, or operational delays.

The difference between demurrage and detention

The difference between demurrage and detention is mainly about where the container is and what stage of the move the delay happens in.

Demurrage applies while the container is still under terminal control. This often happens after import discharge when the container is available but not picked up in time. It can also happen on export shipments if the container reaches the terminal too early or sits too long before loading, depending on the port and carrier rules.

Detention applies after the container leaves the terminal. For imports, this usually means you picked up the full container, moved it to your warehouse or unloading point, and did not return the empty container to the designated depot within the free detention period. For exports, detention can apply when a container is collected too early and not returned loaded within the agreed time.

Charge type

Where it happens

Typical trigger

Practical meaning

 

Demurrage

Inside port or terminal

Container not picked up or not moved within free time

Terminal dwell or storage-related charge

Detention

Outside port or terminal

Container not returned on time

Extended use of carrier equipment

A simple way to remember it is this: demurrage is about time in the terminal, while detention is about time outside the terminal. That is why many people searching for detention in shipping meaning or detention charge in shipping are really trying to understand equipment use after gate-out, while demurrage is more about terminal congestion, late pickup, or storage pressure.

Some carriers and local markets may combine, rename, or structure these charges differently, so you should always check the specific tariff wording. Still, the operational distinction above is the standard starting point for understanding demurrage and detention difference.

How free time works

Free time is the number of days you can use the container or keep it at the terminal before charges begin. You may also see this described as free demurrage and detention, free detention and demurrage, or free time demurrage and detention.

Free time is not universal. It can vary by:

  • Carrier

  • Port or terminal

  • Import or export move

  • Container type

  • Trade lane

  • Contract terms or negotiated service levels

This is why searches such as 21 days free detention at destination or msc detention free time are common. Shippers want to know how many days they really have before detention charges or demurrage charges start. The answer depends on the booking and tariff, not on a single global rule.

In many shipments, demurrage free time and detention free time are counted separately. You might have a limited number of days to pick up the container from the terminal, then a different number of days to unload it and return the empty.

When detention charges and demurrage charges apply

Detention and demurrage charges start after free time expires. What matters is not only the arrival date, but also cargo availability, customs status, terminal release, pickup timing, unloading speed, and empty return timing.

Common import demurrage situations

  • The container arrives, but customs clearance is delayed

  • The consignee cannot arrange pickup in time

  • Documents are missing or inconsistent

  • There is port congestion or limited truck capacity

  • The terminal holds cargo while payment or release issues are unresolved

Common import detention situations

  • The full container is picked up, but unloading takes longer than planned

  • The warehouse misses its delivery slot

  • The empty container is not returned to the assigned depot on time

  • The return location is congested or temporarily closed

  • Internal coordination between warehouse, transport, and forwarder is slow

Common export situations

  • The shipper collects the empty container too early and loads too late

  • The loaded container is delivered to the terminal outside the allowed timing

  • Booking changes, vessel rollovers, or cutoff issues disrupt the plan

This is also why terms like import detention charges, export demurrage, port detention charges, shipping detention charges, and freight detention charges all appear in search behavior. People are often looking for the same core issue from different operational angles: when does the clock start, and how do I stop extra days from building up?

How detention and demurrage are calculated

Demurrage and detention calculation usually follows a daily tariff after the free period ends. In many cases, the rate increases in steps, so the longer the delay continues, the more expensive each additional day becomes.

A standard calculation process looks like this:

  1. Determine the applicable free time for the shipment

  2. Identify the event that starts the clock, such as discharge, availability, gate-out, or pickup

  3. Count the days used under the carrier's rules

  4. Subtract the free days

  5. Apply the tariff for the remaining chargeable days

For example, if a container has 5 free detention days after pickup and is returned after 8 chargeable days under the carrier's counting method, you may be billed for 3 days of container detention fees. If the tariff escalates by day range, the first extra days may be cheaper than later ones.

Always check whether the calculation uses calendar days, working days, weekends, holidays, or local terminal rules. That detail can materially affect detention charges calculation and the final invoice.

Who sets these charges

Carriers usually set their own detention and demurrage charges, free time allowances, and tariff structures. That is why you see market-specific searches such as cma cgm demurrage and detention, maersk demurrage and detention, msc demurrage and detention, cosco demurrage and detention charges, or evergreen demurrage and detention charges us.

In practice, shipping lines may publish:

  • Standard local tariff schedules

  • Import and export free time by port

  • Special equipment rules

  • Combined or separate detention and demurrage tables

  • Country-specific conditions

Negotiated contracts may offer different terms from standard public tariffs. That means a shipper with a service contract may have more favorable free time than a spot booking customer. The most reliable source is always the actual booking confirmation, carrier tariff, and local release terms for the shipment.

Who is responsible for paying detention and demurrage

Responsibility is not always as simple as "the importer pays" or "the exporter pays." In many cases, the party that booked the shipment is contractually responsible to the carrier. But in day-to-day operations, costs may be passed along between shipper, consignee, buyer, seller, freight forwarder, or another party depending on the contract, Incoterms, and cause of delay.

Typical responsibility questions include:

  • Who arranged the ocean booking?

  • Who controlled customs clearance?

  • Who caused the late pickup or late return?

  • Who had possession of the container when the clock was running?

  • What do the sales contract and shipping instructions say?

For example, a consignee may face urgent pressure to pay charges before a container is released, even if the root cause was a document issue created upstream. Likewise, an exporter may be billed by the carrier and then need to recover the cost from another supply chain party if the delay was not under their control.

This is one reason detention and demurrage can become commercially sensitive very quickly. If nobody acts fast, charges continue to rise while parties argue over responsibility. Good shipment control, document accuracy, and clear communication are often more important than legal debate in the early stage, because they stop the clock from running further.

Why these charges exist

Detention and demurrage fees are designed to keep containers and terminal space moving. Carriers need equipment returned quickly so it can be reused, and terminals need yard capacity available for incoming cargo.

From an operational perspective, these charges are meant to discourage:

  • Long container storage in crowded terminals

  • Slow pickup after discharge

  • Using containers as temporary warehouse space

  • Late empty returns that reduce equipment availability

That is also why demurrage may feel more severe in congested ports. Terminal space is limited, and carriers or terminals want containers moved out quickly.

How to reduce detention and demurrage risk

You usually cannot control every disruption in global shipping, but you can reduce avoidable charges by improving planning, visibility, and execution.

Before booking

  • Confirm free time at origin and destination

  • Check carrier tariff wording for detention and demurrage charges meaning

  • Make sure your warehouse can receive and unload on time

  • Validate who is responsible for container return and local trucking

Before vessel arrival

  • Prepare documents early

  • Monitor ETA changes and possible rollovers

  • Align customs clearance, haulage, and unloading slots

  • Confirm terminal release conditions and empty return depot details

After arrival or pickup

  • Track the free time countdown daily

  • Escalate delays immediately instead of waiting

  • Return empties as soon as possible

  • Keep records of release timing, gate moves, and return confirmation

At Ocean Quest Logistics, the focus is on reducing mistakes, delays, and penalties through automation, strict checks, centralized real-time data, and direct expert support. That operational discipline matters because many detention fee and demurrage fee problems begin with preventable process gaps such as missed milestones, poor handover timing, incomplete documents, or weak follow-up on free time.

Practical examples

Import example

Your container arrives on Monday. The terminal grants 4 free demurrage days. Customs documents are incomplete, and pickup only happens the following Monday. Because the container stayed in the terminal beyond free time, demurrage charges may apply.

After pickup, you have 5 free detention days to unload and return the empty. If your warehouse unloads late and the empty is returned on day 8, detention charges may also apply.

Export example

You collect an empty container too early for loading. Production is delayed, and the loaded container misses the planned terminal window. Depending on the carrier and terminal rules, you may incur detention for extended use of the empty or loaded container outside the terminal, and potentially additional storage-related costs if the unit later sits too long in the terminal.

Detention and demurrage FAQ

What is the difference between detention and demurrage?

Demurrage applies when a container stays too long inside the port or terminal after free time expires. Detention applies when the container stays too long outside the terminal before the empty or equipment is returned.

What is detention in shipping meaning?

Detention in shipping means a charge for using the carrier's container or equipment longer than the allowed free time outside the terminal. It often starts after pickup and ends when the empty container is returned.

What is a detention charge for container use?

A container detention charge is a daily fee billed when the container is not returned within the allowed free period. It is commonly seen on import shipments when unloading or empty return takes too long.

What is demurrage and detention meaning in shipping?

It refers to time-based charges linked to delayed container movement. Demurrage covers delay inside the terminal, and detention covers delay outside the terminal.

What is 14 days free detention at destination?

It means the carrier allows 14 free days at destination to keep and use the container outside the terminal before detention fees begin. The exact counting method depends on the carrier's tariff and local rules.

What is 21 days free detention at destination?

It means you have 21 free days to hold the container after pickup at destination before detention charges apply. This is a contract or tariff condition, not a universal standard.

Can you be charged both detention and demurrage?

Yes. A shipment can first incur demurrage if the container is not picked up from the terminal in time, and later incur detention if the empty is not returned within the allowed period after pickup.

Are detention and demurrage the same for every carrier?

No. Carriers such as Maersk, MSC, CMA CGM, COSCO, Evergreen, ZIM, ONE, Sealand, Hamburg Sud, EMC, MCC, or PIL may have different tariffs, free time rules, and local conditions. Always verify the current shipment-specific terms. For more related shipping insights, visit our blog.

How can you avoid detention charges and demurrage fees?

The best approach is to combine early document preparation, reliable tracking, customs readiness, terminal coordination, fast pickup, efficient unloading, and prompt empty return. The earlier you identify a delay, the better your chance of avoiding extra costs. If you need help with a specific shipment, contact our team.

Are these charges negotiable?

Sometimes. Standard tariffs are often published by the carrier, but contract customers may negotiate free time or rate structures. Even when rates are fixed, good planning can reduce exposure more effectively than trying to dispute charges later.

Let’s Move Your Business Forward.

Fast, reliable, and customized logistics solutions at your fingertips.