Demurrage is what the terminal charges when a container sits at the port past its free time before pickup. Detention is what the carrier charges when you keep its equipment too long after the container leaves the terminal. They are different charges, owed to different parties, triggered by different clocks, and almost all of both is avoidable with timely customs release and drayage scheduling. This guide covers the exact distinction, how free time is calculated, and the operational steps that keep a container moving before either charge starts.

The reason this matters for a small forwarder is that demurrage and detention are not freight cost. They are reaction-time cost. They accrue because a document was actioned slowly, not because the shipment was priced wrong. That makes them one of the few large cost lines a back office can directly remove.

Demurrage vs detention, precisely

Demurrage is charged by the terminal or carrier for an import container that remains inside the terminal beyond the allotted free time before it is picked up. The clock is about the box occupying terminal space.

Detention is charged by the carrier for its container and chassis being kept outside the terminal, by you, beyond the allowed free time after pickup and before the empty is returned. The clock is about the equipment being held off-terminal.

The simplest way to keep them straight: demurrage is the box sitting at the port waiting to leave; detention is the box out in your control taking too long to come back. One is a space charge at the terminal, the other is an equipment charge from the carrier. A single shipment can incur both, in sequence, on the same container.

Who charges what, and where

Demurrage is billed by the ocean carrier or the marine terminal operator, depending on the port and the carrier’s tariff, for time inside the terminal. Detention is billed by the ocean carrier for its equipment held off-terminal. Per-diem combinations of the two also exist under different names depending on the carrier, but the underlying split is always terminal-time versus equipment-time.

The governing framework in the United States is the Federal Maritime Commission. The FMC’s demurrage and detention rule and its interpretive guidance set the standard for when these charges are reasonable and what billing parties must show, so the FMC, not a blog or a carrier sales sheet, is the authority to cite on the rules. The exact per-day amounts are set in each carrier’s published tariff, not by the FMC, and they vary by carrier, port, and equipment type.

How free time works

Free time is the number of days, after a defined start point, during which the container can sit or the equipment can be held without a per-day charge. After free time expires, the charge accrues per day, often on an escalating tier, until the box is picked up or the empty is returned.

Here is an illustrative example, not a quoted tariff. Treat the numbers as a worked illustration of the mechanism, not as any specific carrier’s rate.

Illustrative only. Suppose a container is discharged and made available on day 0 with 4 calendar days of demurrage free time. If it is not picked up by end of day 4, demurrage accrues from day 5. Many tariffs escalate: a lower per-day rate for the first tier of overdue days, a higher rate after that. Detention free time then starts when the loaded container leaves the terminal, with its own day count before equipment charges begin. Confirm the actual free-time days and the start point against the specific carrier tariff for the shipment. Source for the rules framework: U.S. Federal Maritime Commission demurrage and detention rule and interpretive guidance.

The lesson from the math is not the numbers. It is the structure. There is a known, countable window between availability and the first charge, and a second known window between pickup and equipment charges. Both windows are visible in advance from the arrival notice and the carrier’s terms. Missing them is almost always a process failure, not a surprise.

Demurrage vs detention at a glance

DimensionDemurrageDetention
What it chargesContainer in the terminal too longCarrier equipment held off-terminal too long
Billed byCarrier or terminal operatorOcean carrier
Clock startsContainer available at terminalLoaded container leaves terminal
Clock stopsContainer picked upEmpty equipment returned
Rules authorityFMC framework; carrier tariff sets amountsFMC framework; carrier tariff sets amounts
How it is preventedFast customs release + drayage schedulingFast unload + prompt empty return

Per diem and combined charges

Not every carrier bills demurrage and detention as two clean, separate lines. Some publish a combined per-diem that merges terminal time and equipment time into a single daily charge once free time is exhausted, under a name that varies by carrier. Others bill the two separately but apply different free-time day counts to each, and different counts again for reefer, flat rack, or out-of-gauge equipment. Chassis can carry its own clock on top of the container in some markets.

The practical consequence is that you cannot reason about the charge from a generic rule of thumb. The free-time days, the start point, the escalation tiers, and whether the charge is split or combined are all tariff-specific to the carrier and the equipment on that shipment. Treating “the standard is a few days” as fact is exactly how avoidable charges happen, because the team plans against an assumption instead of the actual term for that container. Confirm it per shipment, every time, and record what you confirmed against the job so the next person is not guessing.

Why teams blow the window

The window is known in advance, so why do forwarders pay these charges at all. The answer is almost never that the team did not understand demurrage. It is that the trigger document was actioned slowly.

The most common reason a small forwarder eats demurrage is not a lack of knowledge. It is that the arrival notice and the customs release status sat in an inbox while the team was buried in data entry on other jobs. The free-time clock does not wait for the back office to get to it. By the time someone opens the email, a day or two of the window is already gone, and on a cluster of containers that is real money.

Detention follows the same pattern at the other end: the container gets picked up in time, then sits at a yard or a customer dock because the empty return was not scheduled, and the equipment clock runs while no one is watching it.

Six steps to keep a container under free time

This is the operational sequence that prevents most of both charges.

  1. Bind the arrival notice to the job the moment it arrives, not when someone gets to the inbox.
  2. Confirm the free-time days and the start point against the actual carrier tariff for that shipment, do not assume the standard.
  3. Start the customs clearance and release track immediately, in parallel with everything else, not after.
  4. Schedule drayage against the demurrage clock, with a buffer, before release is even confirmed where possible.
  5. The moment the empty is in your control, schedule its return against the detention clock the same way.
  6. Put both clocks on a visible per-job countdown so a slipping container is seen before it is overdue, not after the invoice.

The pattern across all six is the same: turn deadline-bearing documents into tracked actions with a visible clock, instead of emails to read later.

If you still get a charge: the dispute path

Not every demurrage or detention charge is correctly owed. The FMC’s framework sets expectations for what a billing party must be able to show and for the information a demurrage or detention invoice should contain, which gives the receiving party a basis to challenge a charge that is unclear or unsupported. A charge billed without the detail needed to verify it, or assessed for days when the container could not actually have been retrieved or returned, is the kind of charge worth contesting rather than paying on reflex.

The thing that wins a dispute is contemporaneous documentation. The arrival notice with its timestamp, the customs release time, the terminal availability and appointment records, the gate-out and empty-return times, and any record showing the box could not be moved through no fault of yours. The forwarder that logs these against the job as they happen can dispute from evidence. The forwarder reconstructing it from a scattered inbox weeks later usually just pays.

This is the quieter argument for treating these documents as tracked events rather than emails. The same record that prevents the charge also substantiates the dispute when a charge comes anyway. Cite the FMC framework, not a blog, when you make the argument.

What it costs over a year

The per-container number can look small in isolation, which is why this cost is underrated. It is not one container. It is the avoidable share of demurrage and detention across every box you move, concentrated into the weeks when the team is busiest and slowest to react, which are also the highest-volume weeks. A small forwarder moving a few hundred containers a year can carry a meaningful four or five figure annual line here that is almost entirely reaction-time, not freight. The point is not a specific figure, which depends on your volume and lanes. The point is that it scales with volume the wrong way, exactly like manual data entry, so it is worth measuring your own number before deciding it is too small to chase.

What this has to do with the back office

Demurrage and detention are a reaction-time tax on a slow inbox. Everything in the prevention list above fails for the same reason the rest of the ocean import workflow fails: the arrival notice is a document that arrives in an inbox and has to be turned into a tracked action under a clock, and a team doing that by hand across every job is always one busy week away from missing one.

This is the same structural problem as the manual email-to-TMS step. When a person is the only thing standing between an inbound document and an action, the action happens at the speed the person gets to the inbox, and the free-time clock does not care how busy the person is.

TIO reads the arrival notice on arrival, binds it to the job, and surfaces the free-time-sensitive next action with the clock visible, so the container gets scheduled before demurrage starts rather than after the invoice lands. It does not replace your TMS or your broker relationship. It removes the lag between the document arriving and the team seeing it, which is where the charge comes from. TIO runs this in production for small forwarders across ocean import today. The ocean import workflow covers where this sits in the full job.

How to start without new software

You can cut a meaningful share of these charges before changing any tools. Make the arrival notice a tracked intake step, not an inbox item. Confirm free time per shipment instead of assuming the standard. Put a visible countdown on every container between availability and pickup, and between pickup and empty return. Those three changes alone move most of the avoidable charge, and they make the case, with your own numbers, for whether automating the intake step is worth it.

When you want to see the tracked-action version run on a real arrival notice, a live demo walks it end to end in about twenty minutes with no slides.