
What is a TEU? Understanding Container Capacity
13 January 2026
What is a “Milk Run” in Logistics?
14 January 2026

FLEX. Logistics
We provide logistics services to online retailers in Europe: Amazon FBA prep, processing FBA removal orders, forwarding to Fulfillment Centers - both FBA and Vendor shipments.
Your best-selling product has finally arrived at the port. You are ready to restock, but instead of moving the goods to your warehouse, the container sits idle. Days pass. Suddenly, you are hit with a bill that wipes out a significant chunk of your margin for that shipment. This is the nightmare of demurrage and detention.
For e-commerce owners and logistics managers, these two terms are often used interchangeably, yet they represent distinct bottlenecks in the supply chain. They are not just annoying fees; they are penalties for inefficiency that can cripple your cash flow if left unchecked.
Understanding the nuance between these charges is the first step toward a leaner, more profitable logistics operation. In this guide, we will break down exactly what these fees are, why they happen, and how you can prevent them from eating into your bottom line.
Decoding the jargon: What are these fees?
In the world of international shipping, carriers and ports operate on tight schedules. Containers are the lifeblood of this system, and shipping lines need them to keep moving to remain profitable. When a container stops moving—either inside the port or outside of it—someone has to pay for that lost time.
Demurrage and detention are essentially "late fines" charged by shipping lines to ensure the prompt turnaround of their equipment and space. However, to manage them effectively, you must understand exactly where the violation occurs.
What is demurrage?
Demurrage refers to the charge levied when a full container is still holding space inside the terminal (the port) after the allotted "free time" has expired.
Think of demurrage as a storage fee with a penalty attached. When your container is discharged from the vessel, the port gives you a specific number of free days (usually 3 to 7 days) to pick it up. If you fail to collect the container within this window—perhaps due to customs issues or lack of trucking availability—the clock starts ticking.
- Key characteristic: The container is full and inside the port.
- Who charges it: The shipping line (and sometimes the terminal operator).
- Why: To discourage importers from using the port as a cheap storage facility and to clear space for incoming cargo.
What is detention?
Detention comes into play once the container has left the port. It is the fee charged for keeping the container outside the terminal longer than the agreed-upon free time.
This usually happens when a container is picked up for delivery to a warehouse but is not returned to the shipping line’s depot empty within the allowed timeframe. If your warehouse takes too long to unload the cargo, or if the trucking company delays returning the empty shell, detention fees apply.
- Key characteristic: The container is outside the port (either full or empty) and has not been returned.
- Who charges it: The shipping line.
- Why: To ensure the carrier gets their equipment (the container) back quickly to reuse for another shipment.
Key differences at a glance
While both fees hurt your budget, distinguishing between them is vital for troubleshooting the root cause of your logistics delays. The primary difference lies in the physical location of the container and the phase of the import process.
To visualize this, consider the lifecycle of your shipment. Demurrage blocks the flow before you get your goods; detention blocks the flow after you have received the container but failed to return it.
- Location:
- Demurrage: Occurs inside the port terminal.
- Detention: Occurs outside the port (at your warehouse, on a truck, or at a depot).
- Trigger event:
- Demurrage: Failure to pick up the cargo.
- Detention: Failure to return the empty container.
- Responsibility:
- Demurrage: Usually points to issues with customs, documentation, or drayage scheduling.
- Detention: Usually points to issues with unloading speed, warehouse efficiency, or return logistics.
Why do these charges happen?
It is rare for a logistics manager to intentionally incur these fees. Most often, they are the result of unforeseen disruptions or miscommunications in the supply chain. Identifying the common triggers can help you build a more resilient strategy.
Common causes for demurrage
Demurrage is often a symptom of administrative or regulatory gridlock. Since the cargo is physically stuck at the port, the delay is frequently out of the immediate control of the warehouse team.
- Documentation errors: Missing Bills of Lading (BOL) or incorrect commercial invoices can halt the release of cargo.
- Customs inspections: If customs authorities flag a shipment for a random x-ray or physical inspection, the container cannot move, yet the free time clock may still be ticking.
- Payment delays: If freight duties or taxes aren't paid instantly, the carrier will not release the container.
- Port congestion: Sometimes, the port is simply too busy, and your trucker cannot get an appointment to retrieve the container before free time runs out.
Common causes for detention
Detention issues are typically more operational and related to the "last mile" or the receiving end of the supply chain. Since the container is effectively in your custody during this period, these delays directly reflect the efficiency of your warehouse and transport coordination.
- Warehouse bottlenecks: If your fulfillment center is understaffed or overwhelmed, the container might sit in the yard for days waiting to be unloaded.
- Driver shortages: You might unload the container on time, but if there are no drivers available to haul the empty container back to the port, detention fees will accumulate.
- Poor communication: Sometimes the container is empty and ready, but the trucking dispatcher hasn't been notified to schedule the pickup.
The uncontrollable: External logistics disruptions
Sometimes, you can have perfect paperwork and an empty warehouse, yet still face penalties due to forces entirely outside your control. These external factors are common triggers for both demurrage and detention.
- Weather events: Snowstorms, or heavy fog can close port terminals or make roads unsafe. If a truck cannot physically enter the port due to a closure, demurrage charges may still accumulate.
- Equipment shortages: You might have a driver ready to pick up a container, but if there is no chassis available at the port to mount the container on, the pickup cannot happen, leading to avoidable fees.

Who pays the bill? Role of Incoterms
One of the most common questions is: "Is this really my bill to pay?" The answer often depends on the Incoterms (International Commercial Terms) agreed upon in your purchasing contract.
While the shipping line will bill the entity listed as the consignee (usually you, the importer), your liability depends on where the transfer of risk occurred.
DDP (Delivered Duty Paid)
If you are buying on DDP terms, the seller (exporter) is responsible for delivering the goods to your door. Technically, they are responsible for demurrage incurred at the port. However, you must still be vigilant, as delays on your end (like failing to provide a tax ID) could shift liability back to you.
FOB (Free On Board) or ExWorks
Under these common terms, you, the buyer, take responsibility once the goods are on the ship or leave the factory. This means both demurrage and detention charges are fully your responsibility. Since you bear the full risk, choosing a proactive freight forwarder is the best way to protect your margins.

Carrier haulage vs. Merchant haulage: Who controls the truck?
Beyond Incoterms, liability for detention specifically often hinges on who arranged the trucking:
- Merchant haulage: In this scenario, you bear 100% of the operational risk. If your driver is delayed the shipping line will still charge you detention fees because the delay is seen as your responsibility.
- Carrier haulage: The shipping line arranges the delivery from the port to your door. If the shipping line’s designated driver is late picking up the empty container after you have unloaded it, you are generally not liable for detention, provided you notified them in time that the equipment was ready for return.
How to avoid unexpected logistics costs
In the low-margin world of e-commerce, avoiding demurrage and detention is effectively finding "free money." While you cannot control port strikes or customs hold-ups, you can take proactive steps to minimize your exposure to these risks.
1. Negotiate more free time
Before you even book a shipment, discuss "free time" with your freight forwarder or carrier. Standard free time might be 4-5 days, but if you know your warehouse is busy or the port is congested, negotiating for 14 or 21 days upfront can save thousands later. This is especially important for high-volume shippers.
2. Pre-clear your cargo
Do not wait for the vessel to dock before starting the paperwork. Submit all customs documentation (ISF, commercial invoices, packing lists) as early as possible. The goal is to have the cargo "customs cleared" days before the ship actually arrives, allowing for immediate pickup.
3. Optimize warehouse operations
Ensure your receiving team is ready for the arrival of the shipment. If you have five containers arriving on a Friday afternoon, do you have the staff to unload them? If not, those containers will sit over the weekend, eating into your detention free time.
Role of a 3PL in cost mitigation
Managing international freight, customs clearance, drayage, and warehousing simultaneously is a heavy lift for any e-commerce business. This is where partnering with a specialized logistics provider becomes a strategic advantage.
A competent 3PL (Third-Party Logistics) provider acts as your control tower. They don't just move boxes; they manage the flow of information that prevents fees.
At FLEX. Logistique, we understand that visibility is the antidote to demurrage and detention.
- Real-time tracking: We monitor vessel arrivals closely to schedule pickups the moment containers become available.
- Integrated customs: By handling the customs clearance in-house, we reduce the communication lag that often leads to documentation delays.
- Efficient warehousing: Our fulfillment centers are optimized for rapid intake, ensuring containers are unloaded and returned well within the free time limits.
By consolidating these steps, you remove the friction points where fees typically generate.
Mastering your supply chain costs
Demurrage and detention may be standard industry terms, but they should not be standard costs on your balance sheet. They are often the result of a disconnected supply chain where information doesn't flow as fast as the cargo.

By understanding the difference—demurrage inside the port, detention outside—and implementing strict scheduling and pre-clearance protocols, you can protect your margins. Logistics is about precision, and in this game, time literally is money.
Ready to streamline your shipping and stop paying unnecessary fees? Contact FLEX. Logistique today. Let’s optimize your supply chain from port to door.








