The container landed at Felixstowe on Monday. It’s now Thursday, customs still haven’t released it, your haulier can’t get a slot until next week, and an email from the shipping line has just told you the free days are almost gone. From tomorrow, the meter is running, and nobody can tell you exactly what the final bill will be.
Demurrage and detention charges are among the most expensive surprises in importing, and among the most avoidable. They are almost never about bad luck. They come from a container sitting still while paperwork, transport or unloading capacity catches up.
Demurrage is what a shipping line or terminal charges when a full container stays at the port beyond its free time. Detention is what the shipping line charges when you keep its container, full or empty, outside the port beyond its free time. Both are charged per container, per calendar day, and the daily rate rises the longer the container sits. This guide explains how each one works, shows a worked example using a real UK tariff, and sets out the steps that stop them building up.
In this guide
- Demurrage, detention and port storage: what’s the difference?
- How free time works
- How the charges are calculated
- A worked example
- Why containers get stuck
- How to avoid demurrage and detention
- Can you dispute demurrage and detention?
- Frequently asked questions
Demurrage, detention and port storage: what’s the difference?

Use this infographic on your site: copy the code below. Please keep the credit link.
<a href="https://solarislogistics.co.uk/demurrage-and-detention-charges/"><img src="https://solarislogistics.co.uk/wp-content/uploads/2026/10/infographic-demurrage-detention.png" alt="Demurrage and detention explained: when each charge starts, from vessel discharge to empty return" width="1200" /></a>
<p>Infographic by <a href="https://solarislogistics.co.uk/demurrage-and-detention-charges/">Solaris Logistics</a></p>
The terms are used loosely, and different shipping lines label them differently on their invoices, which is half the confusion. The underlying idea is simple: there are two clocks.
| Charge | What it’s for | Clock starts | Clock stops |
|---|---|---|---|
| Demurrage (often called port or terminal storage) | The full container occupying space at the port or terminal | When the container is discharged from the vessel | When the full container is collected (gated out) |
| Detention | Keeping the shipping line’s container away from the line | When the full container leaves the port (or, on combined tariffs, from discharge) | When the empty container is returned to the line’s depot |
Some lines charge the two separately. Others combine them. Maersk, for example, invoices terminal storage as demurrage and runs a combined detention clock from discharge until the empty is returned (Maersk UK import information). Always check which model your line uses, because it changes when the clock starts.
How free time works
Every container comes with free time: a number of days before charges start.
- Free time is counted in calendar days, including weekends and bank holidays.
- It’s set by each shipping line, usually differs by port and container type, and can be different for demurrage and detention.
- It can often be extended by agreement, usually as part of the freight contract negotiated by your forwarder, before the goods ship.
- Customs holds, inspections and haulier delays generally don’t stop the clock. The container is still sitting there.
Once free time ends, the charge applies for every day, often in tiers that get more expensive the longer the container sits.
How the charges are calculated
Charges are per container, per day, and depend on:
- Container type and size: a 40 ft costs more per day than a 20 ft. Reefers and specialist equipment (flat racks, open tops) cost more again.
- Port: each port or terminal can have its own free days and rates.
- Days over free time: most tariffs step up in bands, so day 15 costs more than day 8.
- The tariff in force: lines update their tariffs, so the rate that applies is set by the tariff on the relevant date in your contract.
Shipping lines publish their tariffs. Maersk, for example, has a D&D calculator and publishes its UK rates on its local information page. Your forwarder can tell you the rules for your line and port.
A worked example
This uses Maersk’s published UK import tariff effective from 1 August 2026, for a 40 ft high cube discharged at Felixstowe (source). It’s an illustration only: tariffs change, and other lines’ rates and rules are different.
The tariff (per container, per calendar day):
| Free days | Days 6 to 10 | Days 11 to 14 | Day 15 on | |
|---|---|---|---|---|
| Terminal storage (invoiced as demurrage), 40 ft | 1 to 5 | £51 | £97 | £113 |
| Free days | Days 8 to 12 | Days 13 to 17 | Day 18 on | |
|---|---|---|---|---|
| Combined detention, 40 ft | 1 to 7 | £80 | £115 | £135 |
What happens: the container is held for a customs check and isn’t collected until day 9. It’s delivered, but the unload takes a while and the empty isn’t returned until day 16.
- Storage: days 6 to 9 are chargeable: 4 x £51 = £204
- Detention: days 8 to 12 at £80 (5 x £80 = £400) plus days 13 to 16 at £115 (4 x £115 = £460) = £860
- Total: £1,064 for one container, before any VAT, haulier waiting time or re-booking costs.
Collect it on day 5 and return the empty by day 7, and the same container costs nothing in either charge. Multiply by every container in a shipment, and that’s the difference a few days makes.
Why containers get stuck
From the receiving end, it’s nearly always one of these:
- Customs documents not ready, so the container can’t be released.
- Customs checks or holds, which keep it at the port while the clock runs.
- No haulier slot, especially at peak, or a port booking system with no availability.
- Nowhere to unload it. The warehouse is full, there’s no team available, or the goods are loose-loaded and take longer than planned.
- Late empties. The container is unloaded, but nobody books the empty return.
- Arrival date changes. The vessel arrives early or late, and the plan built around the original date falls apart.
How to avoid demurrage and detention
- Know your free time before the goods ship. Ask your forwarder for the free days and the tariff for your line and port, in writing.
- Negotiate extra free time up front if your supply chain regularly needs it. It’s far cheaper to agree before shipping than to argue after.
- Get customs paperwork ready before arrival. Commercial invoices, packing lists and commodity codes checked in advance, so clearance isn’t the bottleneck.
- Book transport and the unload before the vessel lands. Collection, delivery slot and unloading team all lined up against the ETA, and re-checked when it changes.
- Plan for loose-loaded containers. A handball container takes far longer to empty than a palletised one. Make sure the receiving end has the people and the space.
- Return empties fast. The detention clock doesn’t stop at unloading; it stops when the empty is back at the depot.
- Use a warehouse that can take the container straight away. If your own site is full, having it unloaded at a 3PL means the box is emptied and can go back, while the stock is stored and delivered on to you as you need it.
Can you dispute demurrage and detention?
Sometimes. Charges caused by the shipping line or the terminal, such as a port closure, a terminal that couldn’t release the container, or equipment the line failed to provide, may be waived if you challenge them with evidence. Keep a record of booking attempts, terminal notices and correspondence. Charges caused by late paperwork or a late collection on your side are much harder to argue.
Frequently asked questions
What is the difference between demurrage and detention?
Demurrage (often called port or terminal storage) is charged when a full container stays at the port beyond its free time. Detention is charged when you keep the shipping line’s container outside the port, full or empty, beyond its free time.
Who pays demurrage and detention?
Usually the importer (the consignee), depending on the shipping terms agreed with the supplier. The line or forwarder invoices whoever is responsible under the contract.
Do demurrage and detention charges include weekends?
Usually yes. Free time and charges are normally counted in calendar days.
Does a customs hold stop demurrage?
Generally no. The container is still at the port, so the clock keeps running unless the line agrees otherwise.
How much is demurrage in the UK?
It depends on the shipping line, port and container type, and tariffs change. As one published example, Maersk’s UK tariff from 1 August 2026 charges terminal storage on a 40 ft container at £51 a day for days 6 to 10, rising in steps after that.
Containers unloaded without the wait
Solaris unloads containers at our warehouse in Trafford Park, Manchester: handball or palletised, counted against your packing list, checked for damage and put away into pallet storage, then delivered onward on our own fleet. Tell us when your container lands and we’ll book it in.
Call 0330 133 4650 or send us the arrival date.
