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 of the terminal 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 ocean carrier's box; for a truck it is the truck and driver waiting at a dock.
What it means
The same word is used for two different charges, billed by different parties under different rules, so it pays to know which one an invoice means.
| Container detention (per diem) | Truck detention | |
|---|---|---|
| What is held | The ocean carrier's container, outside the terminal | The truck, trailer and driver, at a shipper or receiver |
| Clock usually starts | When the container's free days outside the terminal run out | After the free waiting time in the contract, often 2 hours |
| Clock usually stops | When the empty is returned | When loading or unloading is finished and the truck is released |
| Billed by | Ocean carrier or NVOCC, under its tariff or contract | The motor carrier, under its rates or contract |
| Federal rules | FMC demurrage and detention rules (46 CFR parts 541 and 545) | No federal definition; set by contract |
The rest of this entry takes each meaning in turn. Who pays when a driver waits at a dock, and how to avoid it, is covered in who pays when a truck driver waits.
Detention in shipping: container per diem
On the ocean side, the FMC describes detention as a charge "for extended use of intermodal equipment."[1] Where demurrage is tied to terminal land, detention is tied to the container itself: federal rules cover charges related to the use of marine terminal space or shipping containers, "including 'per diem' charges."[2]
"Per diem" is the name truckers most often see. The Port Authority of New York and New Jersey's truckers guidebook defines it as a fee charged by the steamship line to a trucker for late return of equipment.[7] Under the UIIA, which drayage carriers sign to interchange equipment, each provider's free time and per diem charges sit in its own addendum.[8]
The FMC found the industry has no standard terminology, so its rule defines demurrage and detention broadly to include anything customarily called per diem. It limited the definition to shipping containers to exclude chassis, because depending on context per diem can refer to containers, chassis or both.[6] Detention invoices from ocean carriers must follow the same FMC billing rule as demurrage, including the free time dates and charged dates.[3] The FMC's reasonableness rule also says practices that charge detention when empty containers cannot be returned are likely to be found unreasonable, absent extenuating circumstances.[5]
Carrier rules shape when the clock pauses. Hapag-Lloyd's U.S. guide, for example, starts detention free time the day after customs release when a container is held by customs outside the terminal, and excludes unplanned terminal and depot closures from detention charges.[9]
Detention in trucking: driver waiting time
In trucking, detention is the charge a motor carrier bills when its truck and driver are held at a shipper's or receiver's facility past the free time agreed for loading or unloading. There is no single standard definition. The DOT Inspector General found that most of the industry measures detention as time at a facility beyond the limit in shipping contracts, often 2 hours, and noted that not all shipping contracts include detention pay clauses.[10] FMCSA has said the industry, government and researchers have typically used dwell time over 2 hours to define it.[11]
Each carrier publishes its own terms, and they differ:
- One truckload accessorial schedule charges detention on tractor time after a standard 2-hour window at pickup or delivery.[12]
- Another carrier's rules tariff allows 60 minutes free, then charges $100 per hour, rounded to the nearest quarter hour, capped at $600 in 24 hours, with weekends and holidays included.[13]
The OIG estimated that a 15-minute increase in average dwell time raises the expected crash rate by 6.2 percent, and that detention is associated with $1.1 billion to $1.3 billion a year in lost earnings for for-hire truckload drivers.[10]
Why it matters
Mixing up the two meanings is a common billing mistake. Container detention stops only when the empty goes back to where the carrier says; truck detention stops when the truck is released. Unloading a container promptly protects the first, and a dock that is ready at the appointment time avoids the second.
Example
Illustrative only: an importer's drayage carrier picks up a 40-ft container on a Tuesday and drops it at the importer's warehouse. The carrier's tariff gives a set number of detention free days from gate-out. The warehouse cannot unload until the next week, so the empty goes back two days after those free days end, and the ocean carrier bills two days of detention (per diem). Separately, when the driver later returns for a live unload at a different site and waits three hours past the appointment under a contract with 2 free hours, the trucking company bills one hour of truck detention to its customer.
Demurrage vs. detention vs. per diem
- [Demurrage](term:demurrage). The full container is still on the terminal after free time. Billed by the terminal or ocean carrier.[1]
- Detention. The container has left the terminal and is kept past its free days. Billed by the ocean carrier or NVOCC.[1]
- Per diem. Usually another name for container detention, billed to the trucker for late equipment return.[7] It can also cover chassis, which is why the FMC excluded chassis from its definition.[6]
The demurrage vs. detention guide compares the two ocean clocks and how to dispute them.
Related
Related terms
- Merchant HaulageMerchant haulage is inland container transport between a port and an inland location that the cargo owner...Glossary
- DemurrageDemurrage is a daily charge for a loaded container that stays at the marine terminal after its free time runs...Glossary
- Free TimeFree time is the number of days a container can stay at the terminal, or stay out with the importer or...Glossary
- LayoverA layover is a charge for a driver and truck held overnight or for a long unplanned stop because a load could...Glossary
- Accessorial ChargeAn accessorial charge is a fee added to the base freight rate for extra services or events, such as...Glossary
- ChassisA chassis is a wheeled trailer frame built to carry a shipping container over the road; the container is...Glossary
- UIIAThe UIIA (Uniform Intermodal Interchange and Facilities Access Agreement) is the standard contract that...Glossary
- Street TurnA street turn is reusing an empty import container for an export load without first returning it to the...Glossary
Related questions
- Who Pays When a Truck Driver Waits at a Shipper or Receiver?Usually the carrier bills detention to the party it contracted with, under the rate confirmation, contract or...Answer
- Live Unload vs. Drop Trailer: What Is the Difference?In a live unload the driver and truck wait at the dock while the trailer is emptied. In a drop, the driver...Answer
- How Long Can a Container Stay at the Port?There is no single limit; three clocks apply. Commercially, a container can sit at the terminal for the free...Answer
- What Happens After a Container Arrives at Port Newark?After the vessel discharges, the container has to be released by both Customs and the ocean carrier before...Answer
Related freight problems
Related guides
- Demurrage vs. DetentionWhere each clock starts and stops, and the FMC invoice rules.Guide
- Chassis Split Fee, Pre-Pulls & Street TurnsDrayage accessorials: what each pays for and which move stops it.Guide
- Truck Driver Out of Hours Before DeliveryThe HOS limits that matter and the legal options when a driver will run out of hours with a load.Guide
- Who Pays Lumper Fees?Who pays a lumper fee under federal law and the rate confirmation, and how to get reimbursed.Guide
Frequently asked questions
What is detention in trucking?
What is detention in shipping?
Demurrage vs detention vs per diem: what is the difference?
Is per diem the same as detention?
Can detention be charged if the empty container cannot be returned?
Sources
- Federal Maritime Commission, “Detention and Demurrage,” Government guidance. Accessed October 5, 2026.
- Legal Information Institute, Cornell Law School, “46 CFR § 541.3, Definitions (demurrage and detention),” Federal regulation. Accessed October 5, 2026.
- Legal Information Institute, Cornell Law School, “46 CFR § 541.6, Contents of invoice,” Federal regulation. Accessed September 2026.
- Legal Information Institute, Cornell Law School, “46 CFR § 541.8, Requests for fee mitigation, refund, or waiver,” Federal regulation. Accessed October 2026.
- Legal Information Institute, Cornell Law School, “46 CFR § 545.5, Unjust and unreasonable practices with respect to demurrage and detention,” Federal regulation. Accessed October 5, 2026.
- Federal Maritime Commission, Federal Register, “Interpretive Rule on Demurrage and Detention Under the Shipping Act (85 FR 29638),” Federal rule. Accessed October 2026.
- Port Authority of New York and New Jersey, “Port Truckers Resource Guidebook (revised August 2025),” Port authority guidance. Published August 2025. Accessed October 5, 2026.
- Intermodal Association of North America, “UIIA Frequently Asked Questions,” Industry association. Accessed October 14, 2026.
- Hapag-Lloyd, “Detention and Demurrage Tariff Guide for the United States (May 2026),” Carrier tariff guide. Accessed October 2026.
- 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.
- 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.
- Union Pacific, “Accessorial Charges and Payment Terms (truckload),” Carrier accessorial schedule. Accessed September 30, 2026.
- 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.
