Demurrage and detention are two of the most common unexpected shipping expenses faced by importers. While both charges result from exceeding an allotted period of free time, they occur at different stages of the international shipping process.
Understanding the difference between demurrage and detention, how these fees are calculated, and how to prevent them can help importers reduce shipping expenses, improve landed cost tracking, and protect profit margins.
What Is the Difference Between Demurrage and Detention?
Demurrage is a shipping charge typically incurred when a container remains inside a port or terminal beyond its allotted free time. Detention is a charge typically incurred when a container remains outside the terminal and is not returned within the agreed timeframe.
The simplest way to remember the difference is that demurrage generally occurs inside the terminal, while detention occurs outside the terminal.
Both charges can increase the overall cost of importing goods. However, shipping lines and terminals may use different billing arrangements, including combined demurrage and detention free time.
Demurrage vs. Detention: Comparison Table
| Comparison | Demurrage | Detention |
|---|---|---|
| Container location | Inside the port or terminal | Outside the port or terminal |
| Primary cause | Late container pickup | Late container return |
| When charges begin | After terminal free time expires | After equipment free time expires |
| Typical billing method | Daily charge per container | Daily charge per container |
| Common causes | Customs delays, port congestion, missing documents | Warehouse delays, unloading delays, trucking shortages |
| Prevention | Timely customs clearance and container pickup | Efficient unloading and container return |
| Financial impact | Increased import expenses | Increased import expenses |
What Is Demurrage in Shipping?
Demurrage is a fee assessed when a shipping container remains at a port or terminal longer than the permitted free-time allowance.
When an imported container arrives at its destination, the importer generally has a specified number of days to complete customs clearance, arrange transportation, and collect the container.
If the container remains at the terminal after the free-time allowance expires, demurrage charges may begin accumulating.
What Causes Demurrage Charges?
The most common causes of container demurrage include:
- Delays in customs clearance.
- Missing or inaccurate shipping documentation.
- Port congestion and terminal delays.
- Limited trucking availability.
- Failure to monitor container arrival dates.
- Missed container pickup appointments.
- Delays in obtaining cargo release.
- Poor communication between importers, customs brokers, and freight forwarders.
Importers with limited visibility into their international shipments are particularly vulnerable to unexpected demurrage charges.
What Is Detention in Shipping?
Detention is a fee assessed when an importer retains a shipping container outside the port or terminal beyond the permitted equipment free-time allowance.
After collecting a container, the importer must transport it to a warehouse or distribution center, unload the merchandise, and return the empty container to an approved location within the required timeframe.
Failure to return the container on time may result in daily detention charges.
What Causes Detention Charges?
The most common causes of container detention include:
- Warehouse scheduling conflicts.
- Delays in unloading merchandise.
- Insufficient warehouse labor.
- Limited trucking availability.
- Container return appointment restrictions.
- Changes to approved empty container return locations.
- Failure to monitor container return deadlines.
What Is Free Time in International Shipping?
Free time is the period during which an importer can use or retain a shipping container without incurring applicable demurrage or detention charges.
Free-time allowances vary depending on the shipping carrier, terminal, container type, destination, and negotiated shipping agreement.
Importers should understand the following shipping milestones:
- Estimated Time of Arrival (ETA): The anticipated arrival date of a shipment.
- Actual Time of Arrival (ATA): The date the shipment actually arrives.
- Container availability date: The date the container becomes available for collection.
- Last Free Day (LFD): The final day before applicable additional charges begin.
- Container gate-out date: The date the container leaves the terminal.
- Empty container return deadline: The date by which the empty container must be returned.
Tracking these milestones allows importers to identify potential delays and prioritize containers that are approaching their deadlines.
How Are Demurrage and Detention Charges Calculated?
Demurrage and detention charges are commonly calculated by multiplying the number of chargeable days beyond the applicable free-time allowance by the daily rate per container.
When a flat daily rate applies, the calculation is:
Total Charge = Chargeable Days Beyond Free Time × Daily Container Rate
Demurrage Calculation Example
Suppose an importer receives five free days to collect a container. The container is collected after eight chargeable calendar days, assuming the carrier counts all eight days toward the allowance.
| Demurrage Calculation | Amount |
|---|---|
| Total elapsed days | 8 days |
| Free-time allowance | 5 days |
| Chargeable days | 3 days |
| Daily demurrage rate | $300 |
| Total demurrage charge | $900 |
Detention Calculation Example
After collecting the container, the importer receives seven free days to unload and return it. The container is returned after ten days, assuming all days count toward the allowance.
| Detention Calculation | Amount |
|---|---|
| Total elapsed days | 10 days |
| Free-time allowance | 7 days |
| Chargeable days | 3 days |
| Daily detention rate | $200 |
| Total detention charge | $600 |
In this hypothetical example, the importer incurs a combined $1,500 in demurrage and detention charges.
Actual shipping charges vary by carrier, terminal, equipment type, and shipping agreement. Some carriers use tiered pricing that increases as the number of overdue days grows. Importers should consult the applicable carrier tariff and billing terms when calculating actual charges.
How Do Demurrage and Detention Affect Landed Costs?
Demurrage and detention increase the total expenses associated with importing merchandise. If these charges are not properly tracked, importers may underestimate shipment expenses, overestimate profit margins, and make inaccurate pricing decisions.
Tracking these expenses through landed cost software helps importers understand the financial impact of unexpected shipping charges.
Landed Cost Calculation Example
Consider an importer purchasing 1,000 units of merchandise from an overseas supplier.
| Expense | Without Additional Fees | With Additional Fees |
|---|---|---|
| Product cost | $25,000 | $25,000 |
| Ocean freight | $3,500 | $3,500 |
| Customs duties | $2,000 | $2,000 |
| Other import expenses | $1,000 | $1,000 |
| Demurrage charges | $0 | $900 |
| Detention charges | $0 | $600 |
| Total shipment expense | $31,500 | $33,000 |
| Effective cost per unit | $31.50 | $33.00 |
In this example, demurrage and detention increase the total economic cost of the shipment by approximately 4.8%, adding $1.50 in expenses to every imported unit.
If a business experiences similar charges on 100 shipments annually, these additional expenses could total $150,000 per year.
Effective landed cost tracking allows importers to identify these expenses, evaluate their impact on profitability, and determine where operational improvements are needed.
For financial reporting purposes, abnormal shipping and delay-related expenses may need to be expensed separately rather than capitalized into inventory. Businesses should follow their applicable accounting standards and policies.
How to Avoid Demurrage and Detention Charges: 10 Best Practices
Importers can reduce demurrage and detention charges by tracking container shipments, preparing customs documentation in advance, monitoring free-time deadlines, coordinating transportation, and using integrated import/export software.
The following ten strategies can help businesses reduce avoidable shipping expenses.
1. Implement Container Tracking Software
Container tracking software gives importers greater visibility into international shipments, including estimated arrival dates and transportation milestones.
Instead of relying exclusively on carrier websites, spreadsheets, and email updates, importers can centralize shipment information and coordinate activities across their organization.
Effective container tracking helps logistics teams:
- Monitor incoming container shipments.
- Identify changes in estimated arrival dates.
- Prepare for incoming inventory.
- Coordinate customs clearance and transportation.
- Identify shipments requiring immediate attention.
Greater shipment visibility allows importers to respond proactively to potential delays before they become expensive problems.
2. Prepare Customs Documentation Before Arrival
Missing or inaccurate customs documentation is a common cause of delayed container releases.
Importers should coordinate with overseas suppliers, customs brokers, and freight forwarders to prepare applicable documentation before shipments arrive.
Common international shipping documents include:
- Commercial invoices.
- Packing lists.
- Bills of lading.
- Certificates of origin.
- Import permits and licenses, when required.
- Customs declarations and applicable advance filings.
Documentation requirements vary depending on the merchandise, origin, destination, and applicable trade regulations.
3. Monitor Last Free Day and Container Return Deadlines
Importers should maintain accurate records of free-time allowances, container availability dates, last free days, and empty container return deadlines.
Establishing a daily process for reviewing approaching deadlines helps logistics teams prioritize shipments that are most at risk of incurring additional charges.
Where available, automated reminders can help prevent important deadlines from being overlooked.
4. Coordinate Trucking Services in Advance
Waiting until a container arrives to arrange transportation can increase the risk of demurrage charges, particularly during periods of port congestion or high shipping demand.
Importers should communicate anticipated arrival dates to transportation providers and coordinate pickup appointments as early as practical.
Maintaining relationships with multiple reliable trucking providers can also provide greater flexibility when unexpected scheduling conflicts occur.
5. Improve Warehouse Scheduling and Inventory Planning
Warehouse delays can prevent containers from being unloaded and returned on time.
Importers should coordinate incoming shipments with warehouse capacity, staffing requirements, inventory levels, and customer orders.
Connecting container tracking with inventory management gives warehouse teams greater visibility into upcoming deliveries and allows them to allocate resources more effectively.
6. Negotiate Additional Free Time
Importers with predictable shipping volumes may be able to negotiate additional free time with ocean carriers or logistics providers.
When evaluating shipping agreements, businesses should consider more than the quoted ocean freight rate.
A shipping agreement with a slightly higher freight rate but more favorable free-time allowances may produce lower overall import expenses, depending on the importer’s operations.
7. Centralize Operations With Global Trade ERP Software
Many importers manage purchasing, shipping, inventory, sales, and accounting through separate software applications and spreadsheets.
This fragmented approach makes it difficult to maintain accurate shipment information and coordinate time-sensitive logistics activities.
Integrated global trade ERP software connects essential import operations within a centralized platform.
An ERP for importing can help businesses manage:
- International purchase orders.
- Container shipments.
- Incoming inventory.
- Supplier information.
- Customer sales orders.
- Estimated and actual landed costs.
- Shipment profitability.
Centralizing this information improves visibility and helps departments make decisions using consistent, up-to-date information.
8. Use Landed Cost Software to Track Shipping Expenses
Preventing demurrage and detention is important, but understanding their financial impact is equally valuable.
Landed cost software helps importers track expenses associated with international shipments, including freight, customs duties, insurance, transportation, and additional shipping charges.
By comparing estimated expenses with actual expenses, importers can identify recurring cost overruns and make better purchasing, pricing, and logistics decisions.
9. Analyze Historical Shipment Performance
Historical shipping data can help importers identify recurring problems that contribute to demurrage and detention charges.
Businesses should evaluate performance by:
- Ocean carrier.
- Port and terminal.
- Freight forwarder.
- Customs broker.
- Trucking provider.
- Warehouse location.
- Overseas supplier.
For example, an importer may discover that shipments arriving at a particular port consistently generate higher additional expenses, even when the initial freight rates are lower.
Analyzing total shipment expenses rather than freight rates alone helps importers make more informed logistics decisions.
10. Review and Dispute Incorrect Shipping Charges
Importers should review demurrage and detention invoices to confirm that charges are consistent with their shipping agreements and applicable regulations.
Maintain documentation of container availability, pickup attempts, terminal closures, return restrictions, and communications with transportation providers.
Accurate records can help businesses identify billing errors and support legitimate disputes.
For shipments subject to United States regulations, the Federal Maritime Commission (FMC) provides information about demurrage and detention billing requirements, shipping regulations, and dispute resolution resources.
What Are the Federal Maritime Commission Rules on Demurrage and Detention?
The Federal Maritime Commission regulates aspects of ocean transportation in United States foreign commerce, including certain demurrage and detention billing practices.
The Ocean Shipping Reform Act of 2022 and subsequent FMC regulations established requirements intended to improve billing transparency and accountability.
Applicable requirements address matters such as:
- Who may receive certain demurrage and detention invoices.
- Information that must appear on applicable invoices.
- Timeframes for issuing invoices.
- Processes for requesting fee mitigation, refunds, or waivers.
Importers should review current FMC regulations and their shipping agreements when evaluating disputed charges.
Additional information is available through the Federal Maritime Commission and the 46 CFR Part 541 Demurrage and Detention Billing Requirements.
What Is the Difference Between Demurrage, Detention, and Storage Fees?
Demurrage generally relates to a container remaining at a terminal beyond its free time, detention relates to retaining a container outside the terminal beyond its free time, and storage fees generally relate to the space occupied by cargo or equipment at a facility.
| Shipping Fee | What It Generally Covers | Common Billing Party |
|---|---|---|
| Demurrage | Extended container use within a terminal | Ocean carrier or terminal operator |
| Detention | Extended container use outside a terminal | Ocean carrier or equipment provider |
| Storage | Extended occupation of terminal or facility space | Terminal or storage facility operator |
Depending on the shipping agreement and terminal billing structure, importers may encounter multiple types of charges on the same shipment.
Which Logistics KPIs Should Importers Track?
Importers looking to reduce demurrage and detention expenses should monitor key performance indicators that measure shipment efficiency, container utilization, and import profitability.
| Logistics KPI | What It Measures |
|---|---|
| Average container dwell time | Average time containers remain at a terminal |
| Container turnaround time | Time between container pickup and empty return |
| Demurrage cost per container | Total demurrage expenses divided by containers handled |
| Detention cost per container | Total detention expenses divided by containers handled |
| On-time container pickup rate | Percentage of containers collected within free time |
| On-time container return rate | Percentage of containers returned within free time |
| Landed cost variance | Difference between estimated and actual landed costs |
| Shipment profitability | Revenue generated relative to shipment-related expenses |
Monitoring these KPIs helps importers establish performance benchmarks, identify operational inefficiencies, and measure the effectiveness of their cost-reduction strategies.
How Can Import/Export Software Help Reduce Demurrage and Detention?
Import/export software helps businesses reduce the risk of demurrage and detention by centralizing shipment information, improving container visibility, connecting purchasing with inventory management, and tracking import-related expenses.
Traditional accounting software and generic ERP systems may not provide the specialized international shipping and landed cost tracking capabilities required by importers.
Purpose-built software for importers connects the operational and financial aspects of global trade, giving businesses greater visibility into the entire import process.
Container Tracking and Landed Cost Tracking in One Platform
When container tracking and landed cost tracking are managed separately, importers may struggle to understand how transportation delays affect shipment profitability.
Combining these functions within a global trade management ERP allows businesses to connect shipment activity with purchasing, inventory, sales, and financial information.
This integrated approach helps importers answer important business questions:
- Where are our incoming containers?
- When is our inventory expected to arrive?
- Which shipments require immediate attention?
- How much are unexpected shipping charges costing us?
- What is the actual cost of our imported merchandise?
- Which suppliers and shipping arrangements are most profitable?
How VISCO Software Helps Importers Manage International Shipping Costs
VISCO Software is a specialized global trade ERP software solution designed for businesses that import and distribute products.
Unlike generic business management software, VISCO is designed around the operational and financial requirements of international trade.
VISCO helps importers manage:
- Container tracking: Monitor international shipments and incoming inventory.
- Landed cost tracking: Track estimated and actual expenses associated with imported merchandise.
- Purchase order management: Manage international purchasing and supplier relationships.
- Inventory management: Gain visibility into available and incoming merchandise.
- Sales order management: Connect customer demand with inventory and purchasing activities.
- Profitability analysis: Better understand the financial performance of imported products and shipments.
By combining these capabilities within an integrated ERP for global trade, VISCO helps businesses improve operational visibility, identify unexpected expenses, and make more informed decisions.
Frequently Asked Questions About Demurrage and Detention
What is the main difference between demurrage and detention?
Demurrage generally applies when a container remains inside a port or terminal beyond its allotted free time. Detention generally applies when a container remains outside the terminal and is not returned within the agreed timeframe.
Can importers be charged both demurrage and detention?
Yes. Importers may incur demurrage charges for collecting a container after its free time expires and detention charges for returning the empty container after its applicable return deadline. Some carriers use combined demurrage and detention billing arrangements.
Who pays demurrage and detention charges?
Responsibility for demurrage and detention charges depends on the shipping contract, applicable regulations, and commercial arrangements between the parties. Importers should review their transportation agreements and applicable billing requirements to determine responsibility.
How many free days do importers receive before demurrage begins?
There is no universal free-time allowance. The number of free days depends on the ocean carrier, terminal, container type, destination, and negotiated shipping agreement. Importers should confirm the applicable allowance for each shipment.
Do weekends and holidays count toward demurrage and detention?
Weekends and holidays may count toward demurrage and detention free time, depending on the applicable carrier tariff, terminal rules, shipping agreement, and regulations. Importers should verify whether free time is calculated using calendar days or working days.
How much does demurrage cost per day?
Demurrage rates vary by shipping carrier, port, container type, and length of delay. Charges may reach hundreds of dollars per container per day, and some carriers apply escalating rates as delays increase. Consult the applicable carrier tariff for actual pricing.
Can demurrage and detention charges be waived?
In some circumstances, importers may request a waiver, refund, or reduction of demurrage and detention charges. Supporting documentation may be required, particularly when charges result from billing errors, container availability issues, or circumstances outside the importer’s control.
What is combined demurrage and detention?
Combined demurrage and detention is a billing arrangement that provides a shared free-time allowance covering specified periods inside and outside the terminal, rather than separate allowances for container pickup and return. The exact terms vary by carrier and shipping agreement.
How does container tracking software help prevent demurrage?
Container tracking software improves visibility into shipment arrival dates and transportation milestones. This information helps importers coordinate customs clearance, trucking appointments, and warehouse operations before containers exceed their applicable free-time allowances.
Are demurrage and detention included in landed cost?
Demurrage and detention increase the overall economic cost of importing goods and should be tracked when evaluating shipment profitability. Whether these expenses are capitalized into inventory or recognized separately depends on applicable accounting standards and company accounting policies.
What is the best way to reduce demurrage and detention charges?
The most effective approach combines proactive container tracking, timely customs clearance, accurate deadline monitoring, advance transportation scheduling, efficient warehouse operations, and centralized import management software.
What software do importers use to manage shipping costs?
Importers can use specialized global trade ERP software, such as VISCO Software, to manage container shipments, international purchase orders, inventory, landed costs, and shipment profitability within an integrated platform.
Reduce Import Costs With VISCO Software
Demurrage and detention charges can significantly reduce the profitability of international shipments. Although some shipping delays are unavoidable, businesses can reduce their exposure to unnecessary expenses through better planning, container visibility, and accurate landed cost tracking.
VISCO Software combines container tracking, landed cost management, purchasing, inventory management, and sales operations within a specialized global trading software platform designed for importers and distributors.
Whether your business imports a few containers each month or manages hundreds of international shipments annually, having the right import/export software can help you gain greater control over shipping expenses and improve operational efficiency.
Contact VISCO Software today to schedule a demonstration and discover how an integrated global trade ERP solution can help your business manage international shipments, track landed costs, and protect profit margins.
Additional Resources and References
- Federal Maritime Commission (FMC): United States ocean shipping regulations and industry resources.
- 46 CFR Part 541: Demurrage and detention billing requirements.
- Maersk Demurrage and Detention Terms: Carrier-specific demurrage and detention information.
- VISCO Landed Cost Software: Landed cost management for importers.
- VISCO Global Trade ERP Software: Integrated business management software for importers and distributors.


