Nohena Insights · Operations
How to calculate demurrage and detention charges in Nigeria
Demurrage and detention charges are significant financial risks in Nigerian ports. This guide explains how shipping lines and terminals calculate these fees, providing a framework for importers to forecast and mitigate unpredictable costs.
Nohena · 25 October 2026 · 8 min read

Distinguishing demurrage, detention, and storage charges
For importers in Nigeria, demurrage and detention charges represent a significant and unpredictable financial risk. While often used interchangeably, these fees, along with terminal storage charges, are distinct penalties that accrue when cargo clearance and logistics are delayed. Understanding how each is calculated is the first step toward forecasting and mitigating their impact on the final landed cost of goods. While systemic port congestion is a major factor, many of the underlying delays that trigger these costs can be managed through meticulous preparation.
This analysis provides a framework for calculating these charges. It moves beyond a general awareness of port delays, which are discussed in our related post on Apapa and Tin Can port congestion , to focus on the specific mechanics of the fees themselves. By understanding the timeline, the responsible parties, and the cost structure, importers and their agents can more accurately quantify risk and prioritise preventative compliance measures.
The mechanics of container-related charges
Three primary charges can accumulate while a container is in Nigeria: demurrage, detention, and storage. Two are levied by the shipping line for the use of their equipment (the container), and one is levied by the terminal operator for the use of their land (the port terminal).
Demurrage: the cost of container use inside the port
Demurrage is a fee charged by the shipping line for the use of its container within the port terminal beyond an allotted free period. This period typically ranges from five to seven days.
Who charges it: The shipping line.
What it covers: The time a container occupies a terminal from its discharge off the vessel until it is gated out of the terminal.
The trigger: Exceeding the contractual free days. Delays from customs queries, physical examinations, or terminal backlogs are common causes.
Cost structure: Demurrage is almost always tiered. For example, a shipping line might charge $20 per day for the first five days after the free period, and $40 per day thereafter for a 20-foot container.
Detention: the cost of container use outside the port
Detention is a fee charged by the shipping line for the use of its container outside the port terminal beyond an allotted free period. This encourages the prompt return of empty containers so they can be repositioned for export.
Who charges it: The shipping line.
What it covers: The time from when a container is gated out of the terminal until the empty container is returned to the shipping line's designated holding bay or depot.
The trigger: Exceeding the contractual free days for empty return. Delays are often caused by traffic gridlock or unloading delays at the importer's warehouse.
Cost structure: Like demurrage, detention is usually tiered.
Storage: the cost of using terminal space
Often confused with demurrage, the port storage charge is a separate fee levied by the terminal operator. An importer can, and often does, pay both demurrage and storage charges for the same period.
Who charges it: The port terminal operator (for example, APM Terminals or Tin Can Island Container Terminal).
What it covers: The physical space the container occupies on the terminal grounds beyond a free period (often 3 days).
The trigger: The container remaining in the terminal yard beyond the free days, regardless of the customs clearance status.
A practical calculation of port-related charges
To illustrate the financial impact, consider a hypothetical shipment of one 40-foot container arriving at Apapa. The following conditions apply, and the rates are illustrative; actual rates vary by shipping line and terminal.
Vessel arrival and discharge: Day 1.
Demurrage free days: 7 days, starting from discharge date.
Detention free days: 5 days, starting from gate-out date.
Storage free days: 3 days, starting from discharge date.
Illustrative demurrage rate (40ft): $30 per day for days 1-5; $55 per day thereafter.
Illustrative storage rate (40ft): $25 per day after free period.
Illustrative detention rate (40ft): $20 per day after free period.
Scenario 1: efficient clearance
In an ideal scenario, the declaration is lodged pre-arrival and there are no customs interventions.
Clearance completed and duties paid: Day 3.
Container gated out: Day 4.
Empty container returned: Day 7.
Calculation:
Demurrage: The container was in the port for 4 days, which is within the 7 free days. Cost: $0.
Storage: The container was in the port for 4 days. The first 3 days are free. 1 day of storage is charged. Cost: 1 x $25 = $25.
Detention: The container was outside the port for 3 days (Day 4 to Day 7), which is within the 5 free days. Cost: $0.
Total additional cost: $25.
Scenario 2: delay from a customs documentation query
A more common scenario involves a query from the customs processing centre, which halts clearance.
Customs query raised: Day 4.
Query resolved and final release granted: Day 11.
Container gated out: Day 12.
Empty container returned: Day 15.
Calculation:
Demurrage: The 7 free days expire on Day 8. The container was gated out on Day 12. Chargeable days are Day 9, 10, 11, and 12 (4 days). Cost: 4 x $30 = $120.
Storage: The 3 free days expire on Day 4. The container was gated out on Day 12. Chargeable days are Day 5 through 12 (8 days). Cost: 8 x $25 = $200.
Detention: The container was outside the port for 3 days (Day 12 to Day 15), which is within the 5 free days. Cost: $0.
Total additional cost: $320.
Scenario 3: delay from a physical examination
A red channel designation for physical examination causes the most significant delays.
Container flagged for examination: Day 4.
Examination completed and final release granted: Day 16.
Container gated out: Day 17.
Empty container returned: Day 23 (due to traffic and warehouse delays).
Calculation:
Demurrage: The 7 free days expire on Day 8. The container was gated out on Day 17. Chargeable days are Day 9 through 17 (9 days). The rate is tiered. Cost: (5 days x $30) + (4 days x $55) = $150 + $220 = $370.
Storage: The 3 free days expire on Day 4. The container was gated out on Day 17. Chargeable days are Day 5 through 17 (13 days). Cost: 13 x $25 = $325.
Detention: The 5 free days expire on Day 22. The container was returned on Day 23. Chargeable days: 1 day. Cost: 1 x $20 = $20.
Total additional cost: $715.
How to mitigate demurrage and detention risk
While some delays are systemic, the risk of incurring these charges can be significantly reduced. The most effective strategy is to prevent the customs-related delays that extend container dwell time beyond the free period.
Prioritise pre-lodgement compliance
The single most effective mitigation tool is a flawless customs declaration. A declaration that is accurate, consistent, and defensible gives the customs risk engine no reason to flag the shipment for intervention.
Correct HS classification: Ensure the 10-digit HS code is correct according to the current tariff. Misclassification is a primary trigger for queries and examinations.
Defensible valuation: The declared value must be consistent across the Form M, PAAR, commercial invoice, and SGD. It must also be defensible according to WTO valuation principles.
Document completeness: Have all supporting documents, such as SONCAP or NAFDAC certificates, available and correctly referenced before the declaration is prepared.
Use technology for foresight
Modern compliance requires processing complex and interconnected data points. Using decision support technology to analyse a declaration before it is lodged can identify the same risk factors a customs system looks for. This allows an agent to see potential inconsistencies, valuation flags, or classification errors and resolve them proactively. This foresight is critical to preparing a declaration that qualifies for an accelerated, or green channel, release. Nohena prepares a lodgement-ready declaration and document pack; the licensed agent lodges.
Plan for logistics in advance
Effective logistics coordination is crucial for avoiding detention charges. Work with clearing agents and haulage providers who have efficient processes for truck scheduling and returning empty containers. The faster an empty container is returned to the designated depot, the lower the risk of detention fees. For more analysis on trade compliance and operations, you can explore further insights on our blog .
Ultimately, importers and their agents must view demurrage and detention not as an unavoidable cost of business, but as a measurable risk that can be managed. By focusing on preventative compliance and preparing a defensible declaration, it is possible to significantly reduce exposure to these value-eroding charges. Learn more about how Nohena provides foresight for Nigerian import clearance.
FAQ
What is the difference between demurrage and detention?
Demurrage is a charge from the shipping line for using a container inside the port terminal beyond the free period. Detention is a charge from the same shipping line for using the container outside the port terminal beyond the free period, until the empty is returned.
Who pays for demurrage and detention charges?
The importer or consignee listed on the bill of lading is responsible for paying all demurrage, detention, and port storage charges. These costs are typically paid to the shipping line and terminal operator before the container can be picked up or before the next shipment's documents are released.
Can I negotiate demurrage and detention charges?
Negotiating these charges is very difficult as they are part of the contractual terms with the shipping line. While waivers may occasionally be granted for widespread, systemic disruptions (like a port-wide shutdown), it is not a reliable strategy. The most effective approach is to avoid the charges by ensuring a swift clearance process.
How does port congestion affect demurrage?
Port congestion directly increases the risk of demurrage. It slows down every step of the clearance process, from vessel berthing and container discharge to positioning for examination and gating out. These systemic delays consume the free days allotted by the shipping line, making it much more likely that an importer will face demurrage charges, even for minor customs-related issues.