Short answer Demurrage is charged while your full container stays inside the terminal after the free days. Detention is charged while you keep the carrier's container outside, until the empty is returned. Port storage is a separate terminal fee. At Felixstowe, Maersk gives 7 free days, then GBP 50.00 per day for a 20ft.
Key takeaways
Free time is short: Maersk gives 3 calendar days of combined demurrage and detention at its UAE ports. At Los Angeles it gives 4 working days for each.
Rates climb in steps: a 20ft at Jebel Ali goes from AED 100.00 to AED 500.00 per day under Maersk's tariff. In Jeddah, port storage starts at SAR 350.00 per day.
Two clocks can run at once: at Felixstowe, Maersk's 5 free storage days and 7 free detention days both start on discharge.
You can buy time before arrival: Hapag-Lloyd sells up to 10 extra detention days online, from booking until the vessel arrives.
US invoices have deadlines: under the FMC rule, carriers must bill within 30 days, and you get at least 30 days to dispute.
Some links on this page are affiliate links. We may earn a commission at no extra cost to you. It never changes our ranking. How we make money
Your container has landed, but the customs broker is still waiting for a corrected invoice. Every day it sits at the port, a bill grows. That bill is demurrage and detention charges, and a few late days can cost more than the ocean freight.
Most guides stop at the definitions. Your bill is decided by the carrier's tariff at your port: free days, counted days and rate steps. This guide shows real 2026 tariffs at five ports and a worked example. It then covers extra free days and disputes.
Detention fee vs demurrage vs port storage: the quick answer
What is a detention fee? It is the daily charge a shipping line bills when you keep its container outside the terminal after the free days. The clock stops when the empty box is back at the agreed depot. Rates rise in steps. At Felixstowe, Maersk's combined tariff charges GBP 50.00 a day per 20ft after 7 free days.
Three different charges hit a container after it is unloaded. They are billed by different people and run on different clocks. Mixing them up is the first reason importers overpay, because each one needs a different fix.
| Charge | What you pay for | Clock starts | Clock stops | Who bills you |
|---|---|---|---|---|
| Demurrage | Full container still inside the terminal | End of free time after discharge | Full container leaves the gate | Shipping line (carrier) |
| Detention | Carrier's container kept outside the terminal | Gate-out of the full box (or discharge, if combined) | Empty box returned to the agreed depot | Shipping line (carrier) |
| Combined D&D | Both, under one free-time allowance | Discharge day | Empty gate-in | Shipping line (carrier) |
| Port storage | Space in the terminal yard | Discharge day | Full container leaves the gate | Terminal or port authority |
| Per diem (US) | Detention when a trucker holds the box | Pick-up from the terminal | Empty return | Carrier, often passed to the trucker |
Maersk's explainer for buyers sums it up well. Demurrage is "the time the filled containers spend inside the terminal". Detention is the time containers spend outside it, until the empty comes back. Free time is the period the carrier gives you free of charge, and it "differs between ports and carriers".
Port storage is the one people forget. It is a terminal fee, not a carrier fee. In the UK, Maersk lists terminal storage separately from detention. In Saudi Arabia, the port authority Mawani publishes its own storage tariff. So one late container can carry two daily bills: one from the line and one from the port.
Who pays depends on your Incoterm. Under FOB, CFR or CIF, destination charges are normally the buyer's. See our guide to Incoterms for China imports.
How free days and the D&D clock work
Every tariff answers four questions. When does the clock start? How many days are free? Which days count? How does the daily rate climb? Read those four lines before you read the price, because they decide most of the bill.
1. Separate or combined free time
Some carriers give separate free days for demurrage and detention. Hapag-Lloyd's Netherlands import tariff gives 4 free days of each at a sea terminal. Others merge them. Maersk's UAE tariff gives one block of 3 calendar days, from discharge day to empty return.
Here is what this means in practice. With combined free time, a slow pick-up eats into your detention days. If customs holds the box for 3 days, you have zero days left to unload it at your warehouse.
2. Calendar days or working days
Most tariffs count calendar days, weekends included. Hapag-Lloyd's US guide says charges apply "on a calendar / continuous day basis". Maersk's US tariffs count free time in working days: any day the gate is open, Monday to Saturday.
3. Tiers that get more expensive
Daily rates rise in steps, called slabs or periods. The longer a box stays, the higher the rate. The carrier wants its container back, so the price is set to push you to move it. The US FMC calls this the "incentive principle": charges should encourage freight to keep moving.
4. Which tariff date applies
Maersk UK and US say the free time and charges in force on the origin "price calculation date" apply. That date is fixed when the cargo is booked or loaded, not when it lands. So a tariff change in transit may not touch your shipment.
Published D&D tariffs at five destination ports (2026)
Carriers publish standard import tariffs on their websites. Your own contract or spot booking may give more free days. These public figures are the default when nothing else was agreed. The table shows a 20ft dry container. Rates are per container per day after the free days.
| Port (carrier, tariff date) | Free time | 20ft daily rates after free time | Cost of 10 days over free time |
|---|---|---|---|
| Jebel Ali, UAE (Maersk, from 01/01/2022) | 3 calendar days, combined D&D | AED 100.00 (days 4–7), 200.00 (8–14), 350.00 (15–21), 500.00 (22+) | AED 1,600.00 |
| Jeddah, Saudi Arabia (Mawani port storage, 4th edition) | 3 days from discharge | SAR 350.00 (days 4–10), 400.00 (11–15), 500.00 (16+) | SAR 3,650.00 |
| Rotterdam, Netherlands (Hapag-Lloyd demurrage, from 19/01/2026) | 4 calendar days at the sea terminal | EUR 80.00 (first 5 days), then 140.00 (indicative reading) | EUR 1,100.00 |
| Felixstowe, UK (Maersk combined detention, from 01/08/2026) | 7 calendar days | GBP 50.00 (days 8–12), 75.00 (13–17), 80.00 (18+) | GBP 625.00 |
| Los Angeles, USA (Maersk demurrage, effective 20/06/2026) | 4 working days | USD 300.00 (days 5–8), 345.00 (9–13), 395.00 (14+) | USD 3,320.00 |
The last column is our arithmetic on each tariff. Take Jebel Ali: 4 days at AED 100.00 plus 6 days at AED 200.00 gives AED 1,600.00. Los Angeles is the most expensive port in this table, at USD 3,320.00 for ten late days on a single 20ft.
Each row covers only one charge. In Jeddah, Maersk also charges detention outside the port: 7 free calendar days, then SAR 30.00 per day for a 20ft. At Felixstowe, terminal storage comes on top, after 5 free days. At Los Angeles, Maersk detention adds USD 210.00 per day from day 5.
📌 Note: the Rotterdam row is our reading of Hapag-Lloyd's PDF table, whose columns are not labelled by size. 40ft rates are higher at every port. Treat this table as a guide and check your own carrier's tariff on the booking date.
MSC detention tariff: where to find it
MSC posts its demurrage and detention tariff per country on msc.com Local Information pages, often as a PDF. Its US file, undated when checked on 21/11/2026, gives 4 working days free at container yards. It then lists USD 65.00 a day for a 20ft for 5 days, then USD 120.00 (indicative).
Fees and rules change often. Get the TRG Importer Brief: one short email a week with changes that affect importers.
How charges escalate: the day-by-day cost ladder
A tariff looks harmless when you read the first tier. GBP 50.00 per day sounds like a parking fee. The ladder is what hurts: each step up applies to every extra day, and two charges can run in parallel.
Take Maersk's Felixstowe tariff from 01/08/2026 for a 40ft dry box. Combined detention is free for 7 days. Then it costs GBP 80.00 per day for days 8–12, GBP 115.00 for days 13–17 and GBP 135.00 from day 18. Terminal storage is free for 5 days. Then it costs GBP 51.00, GBP 97.00 and GBP 113.00 per day.
Here is what this means in practice. A 40ft that stays in the terminal until day 15 pays storage for 10 days. That is 5 days at GBP 51.00, 4 days at GBP 97.00 and 1 day at GBP 113.00, or GBP 756.00. Detention for days 8 to 15 adds 5 days at GBP 80.00 and 3 days at GBP 115.00, or GBP 745.00.
So one 40ft that is one week late costs GBP 1,501.00 before the empty is even returned. A shipment of four containers would pay four times that amount. That is why large importers track the "last free day" of every box.
Rates also rise over time. Maersk's previous UK tariff, valid until 31/07/2026, charged GBP 46.00 per day for a 20ft from day 8.
Worked example: a 20ft held 9 days at Felixstowe
Example: a Manchester importer brings in one 20ft dry container of kitchenware from Ningbo with Maersk. The vessel discharges at Felixstowe on Monday 07/12/2026, which is day 1. The commercial invoice has the wrong commodity code, so the customs entry is held.
The corrected documents arrive late. The box leaves the terminal on day 9, 15/12/2026. The importer's warehouse is busy, so the empty only returns on day 16, 22/12/2026. We use Maersk's UK import tariff from 01/08/2026.
| Line | Calculation | Amount |
|---|---|---|
| Terminal storage, days 1–5 | Free | GBP 0.00 |
| Terminal storage, days 6–9 | 4 days × GBP 33.00 | GBP 132.00 |
| Combined detention, days 1–7 | Free | GBP 0.00 |
| Combined detention, days 8–12 | 5 days × GBP 50.00 | GBP 250.00 |
| Combined detention, days 13–16 | 4 days × GBP 75.00 | GBP 300.00 |
| Total, 20ft | 132.00 + 250.00 + 300.00 | GBP 682.00 |
| Same timeline, 40ft | (4 × 51.00) + (5 × 80.00) + (4 × 115.00) | GBP 1,064.00 |
| Documents right, box out on day 3, empty back on day 7 | Inside both free windows | GBP 0.00 |
The lesson is simple. A single wrong code on the invoice cost GBP 682.00, plus the broker's time to fix it. Haulage waiting time and VAT on some charges can come on top, depending on your contract.
A second, shorter example from the Gulf. A Dubai trader collects a 40ft at Jebel Ali and returns the empty on day 12. Maersk's 3 combined free days end on day 3. Days 4–7 cost 4 × AED 200.00, or AED 800.00. Days 8–12 cost 5 × AED 400.00, or AED 2,000.00.
The total is AED 2,800.00, about USD 762.42 at the official peg of AED 3.6725. Terminal charges are not included. If you budget a shipment, add a D&D buffer line to your landed cost calculation for China imports.
How to negotiate extra free days before you book
Free time is cheapest to get before the cargo sails. Once the box is at the port, your leverage is almost gone.
1. Ask the forwarder for the free time in writing
A freight quote without free days is incomplete. Ask for the destination free time, its tariff and the daily rates after it. Ask whether days are combined or separate, calendar or working.
2. Buy extra days with the booking
Several carriers sell extra free time. Hapag-Lloyd's "Additional Freetime" adds up to 10 import detention days. You can buy it from booking until the vessel reaches the discharge port. It is non-refundable, and it does not cover demurrage or storage.
Maersk says you can buy extra detention days at the time of your import booking. Its US page also offers spot prices with extendable free time. Bought days are usually cheaper than tariff days, because you pay before the risk exists.
3. Put free time into the contract or the quote
Regular importers can negotiate free time in a service contract or a forwarder rate sheet. Forwarders who buy space in volume often hold better free time than the public tariff.
4. Match free days to your real timeline
Count the days you really need: customs, a possible inspection, delivery, unloading and the return trip. Add a buffer for weekends and holidays. Buy the days you need, not the days the tariff offers.
How to avoid demurrage and detention charges
Most charges come from one cause: the box is ready, but you are not. Customs papers, payment or a truck are missing on the day the container lands. Fix those before arrival and most bills disappear.
1. Have the documents ready before the vessel arrives
Your broker needs the commercial invoice, packing list, bill of lading and any certificates. Errors here cause most customs holds. Our guide to import documents shows what each paper must contain.
2. Lodge the customs declaration before arrival
Many customs systems accept a declaration before the goods arrive. In the EU, the Union Customs Code allows it. The goods must then be presented within 30 days, or the declaration is treated as never lodged. In Saudi Arabia, the 3 free storage days depend on filing the Bayan import entry within 3 days.
3. Pay the carrier's charges early
The line will not release a delivery order until freight and local charges are paid. Pay as soon as you receive the arrival notice. If you pay suppliers through a fintech account, the same account can often pay local charges. Our guide to paying Chinese suppliers compares the options.
4. Book the truck and the empty return
Book haulage before the vessel arrives, and ask where the empty must go back. A return to the wrong depot can keep the detention clock running.
5. Consider LCL for small volumes
With LCL, the warehouse unpacks the box, so you pay warehouse storage instead of detention. See our LCL vs FCL break-even guide.
What goes wrong in practice
These are the most common traps, and what to do when one happens.
1. A customs exam, container X-ray or hold
A customs X-ray of a container is a non-intrusive scan of the sealed box. If the image matches the declaration, the box is released; if not, customs opens it. Exam costs vary by port. In the US, 19 CFR 151.7 makes the importer pay to prepare goods examined outside the public stores, such as at an exam station.
Inspections take days and the clock keeps running in most tariffs. Ask the carrier for a waiver with proof of the hold. In the US, the FMC lists government inspections as a factor when it judges whether charges are reasonable.
2. The terminal closes or has no appointments
A strike, a storm or a full appointment system can stop you from collecting the box. Maersk US says a full-day closure during free time does not count. Hapag-Lloyd US says shut-out days extend free time. Keep screenshots of every failed booking attempt.
3. No place to return the empty
Depots sometimes refuse empties. Under the FMC rule, detention when an empty cannot be returned is "likely unreasonable", absent extenuating circumstances. Save the refusal in writing with the date and time.
4. The supplier ships early, or the vessel rolls
Goods that arrive before your funds or papers are ready start the clock too soon. Agree the shipping date with the supplier.
📌 Note: under DDP terms, the seller's agent may still send you the D&D invoice. Check your contract before paying, and forward the bill to the party responsible.
How to dispute a demurrage and detention invoice
Many invoices can be reduced or cancelled. Disputes succeed on facts and dates, not on complaints about price.
1. Check the invoice line by line
Match the container number, bill of lading, discharge date, gate-out date and empty return date. Check the free time against your quote or contract. Then check the tariff rates and the number of days in each tier.
2. Collect the evidence
Gather the arrival notice, customs release time, terminal appointment records, depot refusals and the equipment interchange receipt. Note any holiday or closure inside the free time.
3. Send a written request for a waiver or correction
Write to the billing party within its deadline. Use a short, factual message that covers these points:
Reference: invoice number, bill of lading and container numbers.
Error: the days or rates you contest, with your own calculation.
Reason: closure, customs hold, depot refusal, wrong free time or wrong party.
Evidence: attached documents, listed by name and date.
Request: a corrected invoice or a credit note for the stated amount.
4. Escalate if there is no answer
Ask your forwarder to raise it with the carrier's account manager. In the US, you can also file a charge complaint with the FMC at [email protected]. Elsewhere, use the contract's dispute clause.
By region: MENA, Europe/UK, USA
MENA. In the UAE, Maersk publishes its import D&D tariff on its local information page. In Saudi Arabia, the Mawani port tariff sets storage for full import containers. Maersk adds its own detention outside the port. Importers in Egypt, Morocco or Jordan should ask for the local line tariff before booking.
Europe and the UK. No EU or UK regulator caps D&D charges. The tariff and your contract decide the bill. Hapag-Lloyd publishes country tariffs as PDFs, and Maersk lists UK rates on its UK import page.
USA. The Federal Maritime Commission (FMC) regulates D&D billing under 46 CFR part 541. Most of the rule took effect on 28/05/2024, including the invoice contents in section 541.6. Carriers must invoice within 30 calendar days of the last charge day. You get at least 30 calendar days to request a waiver, and the carrier must try to resolve it within 30 days.
An invoice that misses required information, or comes late, does not have to be paid. The section on who may be billed was set aside by a US appeals court on 23/09/2025. The FMC removed it on 29/12/2025, and the rest of the rule stays in force.
Checklist: before booking, before arrival, after discharge
Use this list on every container shipment. Tick each line before the vessel arrives.
Related guides
Import Documents Checklist 2026: 10 Papers, Line by Line
16 min read
ShippingLCL vs FCL from China: CBM Break-Even Guide (2026)
16 min read
ShippingLanded Cost from China: Formula, Calculator, Examples
16 min read
Free toolSetup Route Finder: which company and bank fit you?
7 questions, 2 minutes
Glossary
Demurrage: a carrier charge for a full container kept inside the terminal after the free days.
Detention: a carrier charge for keeping its container outside the terminal until the empty is returned.
Combined (merged) D&D: one free-time allowance covering both demurrage and detention.
Port storage: a terminal or port authority fee for yard space, separate from carrier charges.
Per diem: the US name for detention, often billed to the trucking company.
Free time: the days a carrier or terminal allows before charges start.
Last free day: the final day you can collect or return a box without charges.
Equipment interchange receipt (EIR): the gate document that proves when a container left or came back.
FMC: Federal Maritime Commission, the US regulator of ocean shipping practices.
FAQ
What is the difference between demurrage and detention?
Demurrage is charged while the full container stays inside the terminal. Detention is charged while you keep the container outside, until you return it empty.
Who pays demurrage and detention charges?
Usually the consignee or the party that booked the freight. Under FOB, CFR and CIF, that is normally the buyer. Check your Incoterm and contract.
How many free days do carriers give?
Between 3 and 7 days at the ports in this guide. Maersk gives 3 combined days in the UAE and 7 at UK ports. Contracts can give more.
Are weekends counted in free time?
Most tariffs count calendar days, weekends included. Maersk's US import tariffs count working days, Monday to Saturday. Read the tariff line on day counting.
Can I negotiate demurrage and detention?
Yes, mainly before booking. You can ask for longer free time in a contract or buy extra days online. After charges arise, you can still ask for a waiver with evidence.
Is port storage the same as demurrage?
No. Port storage is billed by the terminal or port authority. Demurrage is billed by the shipping line. Both can run on the same days.
Do I pay demurrage during a customs inspection?
Usually yes, unless your contract says otherwise. Ask for a waiver with proof of the hold. In the US, the FMC considers inspections when it judges reasonableness.
How long does a US carrier have to send a D&D invoice?
30 calendar days from the last day the charge was incurred. A late invoice does not have to be paid under the FMC rule.
How are detention charges calculated?
Count the days from the end of free time until the empty box is returned. Multiply each day by the rate of its tier, then add the tiers. Our Felixstowe example above shows the maths.
Where can I find the MSC detention tariff?
On the Local Information page for your country on msc.com, usually as a PDF. Check the date on the file, and ask your forwarder whether your booking has extra free days.
Who pays for a customs X-ray of a container?
Usually the importer, through the broker or forwarder. Customs orders the scan, but moving and handling costs are passed on. The carrier's free-time clock normally keeps running during the scan.
This guide is general information for importers. It is not legal, tax or financial advice. Tariffs and free time change often and differ by contract; confirm the figures with your carrier or forwarder before you book. Our step-by-step guide to importing from China places this cost in the full import process.
Sources
20 official and provider pages, each with the date we checked it
Maersk: what is demurrage and detention in shipping for buyers (checked 04/11/2026)
Maersk UAE: import information, demurrage and detention tariff from 01/01/2022 (checked 04/11/2026)
Maersk Saudi Arabia: import information, port demurrage and carrier detention (checked 04/11/2026)
Mawani: port tariff, fourth edition, full English (checked 04/11/2026)
Hapag-Lloyd: Netherlands import demurrage and detention tariff, 2026 (checked 04/11/2026)
Maersk UK: import demurrage, detention and storage from 01/08/2026 (checked 04/11/2026)
Maersk USA: import information and D&D rules (checked 04/11/2026)
Maersk USA: import demurrage tariff, PDF dated effective 20/06/2026 (checked 04/11/2026)
Maersk USA: import detention tariff, PDF dated effective 20/06/2026 (checked 04/11/2026)
MSC USA: detention, demurrage and per diem charges, undated (checked 04/11/2026)
Hapag-Lloyd: Detention and Demurrage Guide USA, May 2026 (checked 04/11/2026)
eCFR: 46 CFR part 541, demurrage and detention billing (checked 04/11/2026)
Federal Register: effective date of 46 CFR 541.6, 14/05/2024 (checked 04/11/2026)
Federal Register: FMC removes 46 CFR 541.4, 29/12/2025 (checked 04/11/2026)
Cornell LII: 46 CFR 545.5, interpretive rule on demurrage and detention (checked 04/11/2026)
FMC: services available during supply chain challenges, charge complaints (checked 04/11/2026)
Regulation (EU) No 952/2013, Union Customs Code, Article 171 (checked 04/11/2026)
MSC USA: detention, demurrage and per diem charges (undated file) (checked 21/11/2026)
eCFR: 19 CFR 151.7, examination elsewhere than at public stores (checked 21/11/2026)