Skip to content

Detention Fee: What It Is, Who Pays, How to Work It Out

What a detention fee is in trucking and in container shipping, how the free time and hourly rate turn into a bill, who pays it, and a free sheet to check one.

By Koa Sterling. Product specialist at TaroStack and small business owner. Yes, I am a real human, and I actually sit in front of a computer and write these articles. Reviewed November 25, 2026 · 7 min read

A detention fee is what a carrier charges when its truck, or its container, is kept waiting longer than the time it allowed. In trucking, the carrier gives a set amount of free time at each stop to load or unload. Past that, it bills by the hour. The charge is for the driver's and the truck's lost time, and it lands on whoever hired the truck, who may or may not be the one who caused the wait. Below is how the fee is worked out, a bill checked line by line, the container version, who pays, and the file.

The short version

  • Detention: a charge for holding a truck or a container past the free time.
  • In trucking it's hours at a dock, past the free time, times an hourly rate.
  • The free time, the rate and the rounding are in the carrier's rate confirmation or rules.
  • It's billed to whoever booked the truck. Who really bears it depends on your terms of sale.
  • The defense is paperwork: arrival and release times, signed.
  • TaroStack makes receiving quick, and a lot's cost can carry landed costs. More below.

How it's worked out

Detention = hours billed × hourly rate, where hours billed = time at the dock − free time.

Three things come from the carrier, in writing, before the truck moves:

Term What it is In the example
Free time Hours allowed at a stop before charges start 2 hours
Rate The charge for each hour after that $60.00 an hour
Rounding The step hours are billed in Up to the next quarter hour

These are example figures. Carriers differ, and some cap a day's detention or switch to a daily "layover" charge after a number of hours. Use what your own rate confirmation says.

When the clock starts matters as much as the rate. Ask whether it starts at the appointment time or on arrival. If it's the later of the two, a truck that turns up two hours early isn't on the clock. Ask too what happens when the truck is late for its appointment.

A bill, checked

Stop Arrived Released Free time Rate Hours at the dock Hours billed Detention
Distributor's warehouse, Friday 8:00 12:45 2 h $60.00 4.75 2.75 $165.00
Co-packer, pickup 13:00 14:30 2 h $60.00 1.50 0.00 $0.00

At the distributor, the truck checked in at 8:00 for an 8:00 appointment and was released at 12:45. That's 4.75 hours. Two are free. The other 2.75, at $60.00, are the $165.00 on the bill.

At the co-packer, an hour and a half is inside the free time. No charge.

So the bill is right, if the times are. That's the thing to check. The carrier's proof is the driver's log or the in and out times written on the bill of lading and signed by the receiver. Ask for it. If the receiver's gate log says the truck arrived at 9:10, the bill changes.

Who pays

The carrier bills its customer: whoever booked the load. That may be you, your customer, or a freight broker in between.

Who should bear it is a separate question, and it comes from your terms of sale and what you agreed.

Who booked the truck The wait was at Billed to Worth asking
You Your customer's dock You Whether your terms let you pass it on
You Your own dock You Why loading took that long
Your customer Your dock Your customer Whether they'll deduct it from your invoice
Your supplier Your dock Your supplier Whether it comes back to you as a charge

Who arranges and pays freight under each kind of term is in FOB origin vs FOB destination.

A large receiver's routing guide may say it doesn't pay detention at all. Then the charge stays with you, and the only lever is the appointment: book it, hit it, and get the times signed.

Cutting it down

At your own dock, the wait is yours to fix.

  • Have the load staged before the truck arrives: picked, wrapped, labeled, paperwork printed.
  • Book appointments and keep them, in both directions.
  • For inbound trucks, know what's coming. A driver waits while someone hunts for the purchase order.
  • Write the times down on the bill of lading, arrival and release, and have the driver sign.

At someone else's dock, you can mostly choose when. Ask the receiver which days and hours are quiet, and avoid a Friday afternoon. A full truck with one stop is also less exposed than a shared one: see LTL vs FTL.

The container version

In ocean shipping the same word means something a little different, and it has a twin.

Charge For Where the container is
Demurrage Leaving a full container at the terminal past its free days Inside the port
Detention Keeping the carrier's container past its free days Outside the port, at your place

Both are charged by the day, not the hour. If you import ingredients or packaging by the container, the free days for each are on the carrier's quote, and they're worth negotiating before the booking.

In the books

Detention on an inbound load is a cost of getting those goods to you. Whether it joins the freight in the goods' cost or is expensed as an unusual charge is your accountant's call. Either way, record it against the load and the supplier, so it doesn't hide in a general freight line. How freight in is treated is in freight in accounting.

Detention on an outbound load is a selling cost. Track it by customer. A customer whose dock costs you $165.00 every third delivery is less profitable than its invoices say.

Get the sheet

Download the detention sheet. One sheet and a read-me: type a stop's arrival and release times, the free time and the rate, and it works out the hours billed and the charge. The two stops above are filled in. It's an ordinary Excel file with no macros, and it works in Google Sheets, LibreOffice and Numbers.

Where this stops working

The sheet checks one bill. It doesn't stop the next one. Most detention at a small maker's own dock comes from the same few minutes repeated: the truck arrives, nobody is sure which order it's for, the purchase order is in someone's email, and the cases get counted twice because the first count wasn't written down.

How TaroStack does it

TaroStack doesn't book trucks or docks, and it doesn't bill or dispute detention. It shortens the part of the wait that's yours.

Purchase orders are on record with what was ordered, from whom and when it's expected, so an arriving truck is matched to its order at once. Receiving works with or without a purchase order.

Scanning a supplier's GS1-128 case label at receiving fills in its lot and use-by date, with the phone's camera or a USB or Bluetooth scanner. Nobody copies dates while the driver waits.

Going out, there's one picking list for an order, so a load can be staged before the truck is due.

Freight and other landed costs go into each lot's cost. If you treat an inbound detention charge as one, it shows up in what those goods really cost.

The job Clipboard In TaroStack
Which order is this truck Search the inbox Open purchase orders, with expected dates
Lots and dates at receiving Copied by hand Scanned from the case label
Staging an outbound load From the order email One picking list
Where an inbound charge shows A freight expense line In the lots' landed cost, if you add it

Purchase orders, receiving, lots and true cost are on every plan, from $9.99 a month. The first 14 days are free, with no credit card. If you'd like a hand setting up, ask, and we'll do it with you.

Questions people also ask

What does detention fee mean?

A charge from a carrier for keeping its truck or container longer than the free time it allowed.

How is a detention fee calculated in trucking?

Take the hours the truck spent at the stop, subtract the free time, round as the carrier's rules say, and multiply by the hourly rate.

What is the difference between detention and demurrage in shipping?

Demurrage is charged while a full container sits in the terminal past its free days. Detention is charged while the container is out of the terminal past its free days.

Who pays detention charges?

The carrier bills whoever booked the load. Whether that party can pass the charge on depends on the terms of sale and what the buyer and seller agreed.

We use AI to help with the research for these articles. Every one is read, checked against its sources and edited by Koa before it's published. Spot a mistake? Tell us and we'll fix it and say so. How we write these.

Let’s get your stack in order.

Get TaroStack

Sign up now for your free 14 day trial. No credit card required.