Freight glossaryPortsTruckingFreight PricingContainers

Detention

Definition

Detention is a charge for holding equipment beyond the free time allowed: in ocean shipping, for keeping the carrier's container out too long (often called per diem); in trucking, for keeping a truck and driver waiting at a shipper or receiver.

In simple English

Somebody kept equipment longer than the free time allowed. For a container it is the carrier's box; for a truck it is the truck and driver waiting at a dock.

By RapidShips Dock OperationsLast reviewed 2026-09-306 sources

What it means

The same word is used for two different charges, so it pays to know which one an invoice means.

The two meanings of detention
Container detention (per diem)Truck detention
What is heldThe ocean carrier's container, outside the terminalThe truck, trailer and driver, at a shipper or receiver
Clock usually startsWhen the equipment free days after pickup run outAfter the free waiting time in the contract, often 2 hours
Clock usually stopsWhen the empty is returnedWhen loading or unloading is finished and the truck is released
Billed byOcean carrier or NVOCC, under its tariff or contractThe motor carrier, under its rates or contract

On the ocean side, the FMC describes detention as a charge "for extended use of intermodal equipment."[1] Federal billing rules treat it together with demurrage, "including 'per diem' charges."[2]

On the trucking side there is no single standard definition. The DOT Inspector General found that most of the industry measures detention as time at a shipper or receiver "beyond the limit established in shipping contracts--often 2 hours," and noted that not all contracts include detention pay.[3] FMCSA has said the industry, government and researchers have typically used dwell time over 2 hours to define it.[4] Carriers publish their own terms: one truckload schedule charges detention after 2 free hours,[5] another after 60 minutes.[6]

Why it matters

Mixing up the two is a common billing mistake. Container detention stops only when the empty goes back; truck detention stops when the truck is released. Unloading a container promptly stops the first, and a dock that is ready at the appointment time avoids the second.

Sources

  1. Federal Maritime Commission, “Detention and Demurrage,” Government guidance. Accessed September 2026.
  2. Legal Information Institute, Cornell Law School, “46 CFR § 541.3, Definitions (demurrage and detention),” Federal regulation. Accessed September 2026.
  3. U.S. Department of Transportation, Office of Inspector General, “Estimates Show Commercial Driver Detention Increases Crash Risks and Costs, but Current Data Limit Further Analysis (Report ST2018019),” Government report. Published January 31, 2018. Accessed September 30, 2026.
  4. Federal Motor Carrier Safety Administration, Federal Register, “Agency Information Collection Activities; Impact of Driver Detention Time on Safety and Operations (88 FR 58060),” Federal Register notice. Published August 24, 2023. Accessed September 30, 2026.
  5. Union Pacific, “Accessorial Charges and Payment Terms (truckload),” Carrier accessorial schedule. Accessed September 30, 2026.
  6. Heartland Express, “SRG "A": Rules and Accessorial Charges,” Carrier rules tariff. Accessed September 30, 2026.

General operational information, not legal, customs or regulatory advice. Rules and rates change; confirm current requirements with the agency, carrier or contract that governs your shipment.

Look up another freight term

Search every glossary term, answer, guide and freight tool on RapidShips.