Your data stays yours
Chart Room›Ocean shipping›Demurrage and detention
Chart RoomOcean shipping

Free time, demurrage and detention: the two clocks on every container

A container is a rented box. The rent is free for a few days, then a daily charge starts. Here is which clock runs inside the port, which runs outside it, and how the bill is built.

OpEx 3Ws8 min readUpdated 19 Nov 2026Facts checked Nov 2026

The short answer

  • Free time is the number of days a shipper or consignee may use a carrier's container, or keep it at the terminal, without paying extra.
  • Demurrage is the daily charge once a full container stays in the port or terminal past its free time. It is about the box sitting on the terminal's ground.
  • Detention (often called per diem) is the daily charge once the container is outside the terminal, at a warehouse or on a truck, and has not come back in time.
  • Both are usually set in the carrier's tariff or the service contract, often as a rate per container per day that climbs in steps.
  • In the US, the Federal Maritime Commission's billing rule says an invoice must be issued within 30 calendar days of the charge last being incurred and contain set information, or the charge need not be paid.

What are free time, demurrage and detention?

Free time is an allowance of days during which a container can be used or stored without a daily charge. Ocean carriers own or lease most containers, and terminals own the ground they sit on. Neither wants boxes parked for weeks, so each sets a short free period and then charges by the day.

Demurrage is the charge for keeping a loaded container in the terminal after the free days end. On an import, the clock usually starts when the box is discharged from the ship and available for pick-up. It stops when the box leaves the gate.

Detention is the charge for keeping the carrier's equipment outside the terminal too long. On an import, it usually runs from gate-out until the empty container is returned. On an export, it runs from when the empty box is collected until the full one is delivered back for loading. Some carriers call it per diem, and some bundle demurrage and detention into one combined free period.

DEMURRAGEDETENTIONTHENbox INSIDE the terminalclock stops at gate-outbox OUTSIDE the terminalclock stops at empty returnSame box, two clocks, often two bills.
Where the box stands. The question is not how long you had the box, but where it was standing while the days ran.

How the clock runs on an import

Free time is set in the carrier's published tariff or the shipper's service contract, and a contract can buy extra days. Rates usually rise in tiers after free time ends, and refrigerated or special boxes cost more per day than a standard dry box.

MomentWhat happensClock that matters
Vessel dischargesBox lands at the terminal; it may still be on hold for customs or freight paymentDemurrage free time often starts when the box is available
Last free dayFinal day the box can sit in the terminal at no chargeDemurrage starts the next day
Gate-outTrucker collects the full boxDemurrage stops; detention free time runs
Unloading at the warehouseGoods are stripped from the boxDetention keeps running
Empty returnEmpty box goes back to the terminal or a depot the carrier namesDetention stops

Exactly when each clock starts and stops is set by the tariff or contract. Weekends, holidays and terminal closures are where most disputes begin.

One import box, two clocksinvented free time: 5 days in port, 7 days outport free timedemurragedetention freedetention024681012141618daysbox availablelast free daygate-outempty returnedA late customs release or a missing truck moves the gate-out, and both charges grow.
Six paid days. Three days late out of the port and three days late back: two separate charges on one box.

Who can bill it, and what the invoice must show (US)

Demurrage and detention are charged by ocean carriers, by marine terminal operators and by NVOCCs (non-vessel-operating common carriers, which sell ocean transport without running ships). Each country treats the bills differently. In the United States, the Federal Maritime Commission (FMC) set billing requirements in 46 CFR Part 541, published in February 2024.

  • The invoice must be issued within 30 calendar days of the date the charge was last incurred. If it is late, the billed party does not have to pay.
  • It must show, among other things, the bill of lading and container numbers, the free time allowed with its start and end dates, the dates charged, the rate and the tariff or contract it comes from, and how to ask for a waiver or refund.
  • The billed party gets at least 30 calendar days from the invoice date to dispute it, and the billing party is expected to try to resolve a dispute within 30 calendar days of receiving it.
  • One section, on who may be billed, was set aside by a US federal appeals court in September 2025, and the FMC removed it from the rule in December 2025. The invoice timing and content rules remain.

Other countries set their own rules or leave the matter to contracts and courts. Free time is also a common point in service contract talks.

A worked example

Invented numbers. An importer receives one 40-foot container. The tariff gives 5 free days in the terminal and 7 free days outside it. Demurrage is 150 dollars a day for days 1 to 4 after free time, then 250. Detention is 90 dollars a day.

Customs releases the box on day 6, and the trucker collects it on day 8. That is 3 demurrage days: 3 × 150 = 450 dollars. The warehouse is busy and returns the empty on day 18, 10 days after gate-out. Detention: 10 − 7 = 3 days × 90 = 270 dollars. Total: 720 dollars on a box that arrived on time.

Formula, written plainly: Charge = (days used − free days) × daily rate, worked tier by tier when the rate steps up.

Common demurrage and detention mistakes

Treating them as one billDemurrage and detention may come from different parties, on different dates, under different free time. Checking one and paying the other blind is common. See why the bill arrives five weeks late.
Counting from arrivalFree time often starts when the box is discharged or available, not when the importer hears about it. A late arrival notice does not always stop the clock.
Forgetting the truckA released box that cannot leave keeps adding days. When trucks or chassis are short, demurrage grows without anyone deciding anything, as in the chassis shortage.

Questions to ask before you act

  1. How many free days does our tariff or contract give, and does the count include weekends?
  2. Is free time combined for demurrage and detention, or split into two clocks?
  3. Who in our chain owns the last free day: the broker, the trucker or the warehouse?
  4. Does each invoice show the free time dates and the dates charged, so it can be checked line by line?

Frequently asked questions

What is the difference between demurrage and detention?

Demurrage is charged while a full container stays in the terminal after its free time. Detention is charged while the container is outside the terminal, at the shipper's or consignee's premises, and not returned in time.

What is free time in shipping?

Free time is the number of days a container can be kept in the terminal, or used outside it, before daily charges start. It is set in the carrier's tariff or the service contract.

Who pays demurrage and detention?

Usually the party whose actions keep the box, often the importer on arrival or the exporter before loading. The contract of carriage and the sales terms decide who carries the cost in the end.

How long does a carrier have to send a demurrage invoice in the US?

Under the FMC billing rule in 46 CFR Part 541, a billing party must issue the invoice within 30 calendar days of when the charge was last incurred, or the billed party need not pay it.

Read next

Sources

Sources opened and checked Nov 2026.

The list sees it first

One Logbook entry a week, one wave at a time. Nothing you upload is ever kept.