What are demurrage and detention on containers shipped from China?
Demurrage is a carrier or terminal charge when a laden import container stays inside the port container yard or terminal beyond the free days in your ocean contract; detention is the charge when you hold the carrier’s container outside the terminal—during trucking, unpacking at your site, or waiting to return the empty—beyond its free days. Port storage (sometimes called terminal storage) may apply separately at some hubs when the box is still under terminal control but not yet on the carrier’s demurrage clock, depending on local rules and line tariffs. On shipments from China, free time usually starts at destination arrival (import) or after gate-out for detention, while origin free time for export containers starts around empty release and stuffing—exact triggers are in the carrier tariff named on your booking, not on this page. Importers in East Africa, the Middle East, North Africa, West Africa, and South America often need longer free time because customs, bonds, and inland haulage take longer than at high-throughput hubs; multi-container projects and out-of-gauge flat racks or open tops have shorter default free allowances on many lines. Ask Yihang to state import demurrage, detention, and combined D&D terms in writing on the prepaid quote before you confirm space.
Dalian Yihang Shipping Agency Co., Ltd. — Class-A international freight forwarder, NVOCC (Ministry of Transport), AEO advanced-certified (founded 2020). One desk for routing, documents, and prepaid ocean freight. A real person on our desk reviews every inquiry and replies with a written plan.
Published 2026-11-22 · By Delia Qu, Deputy General Manager
Pre-clearance, docs ready before vessel arrival, stagger arrivals for big projects
Detention (import)
Carrier’s container outside terminal after gate-out
Return empty to named depot; SOC avoids line box detention
Port / terminal storage
Local terminal rules before or alongside carrier demurrage
Terminal tariff on the quote; not always identical to line demurrage
Combined D&D
Single merged free-time pool on some carrier tariffs
Read whether import demurrage and detention share one balance
Origin (China export)
Empty pickup, stuffing, gate-in before cutoff
Factory readiness and VGM—avoid early gate-in with no sailing
OOG flat rack / open top
Often shorter free time; equipment is scarce
Negotiate free time before booking; see /solutions/flat-rack-open-top/
Checklist: avoid demurrage and detention on China imports
Before booking: ask Yihang for import demurrage, detention, combined D&D if applicable, and whether port storage is separate—get tariff references or carrier excerpts on the quote.
Negotiate extended free time for multi-container projects, flat racks, open tops, and destinations with slow customs (East Africa, Middle East, North Africa, West Africa, South America)—see /solutions/multi-container-projects/.
Pre-clearance or draft entry filed when the destination allows lodging before arrival.
Stagger container arrivals to match yard capacity and trucks—do not send ten boxes if the site clears two per week.
Decide SOC (shipper-owned container) vs COC (carrier container): SOC shifts box control but has its own return and repair rules.
At origin in China: align factory ready date, export docs, and VGM so containers are not gated in early then demurraged waiting for a delayed sailing.
After discharge: track free-day balance in the line’s portal or agent notices; return empties to the depot named on the delivery order—not an informal yard.
Key facts (planning summary)
Demurrage clocks laden import containers inside the port terminal after free time; detention clocks the carrier’s box outside the terminal after free time.
Free time start and end points are defined in the carrier tariff on your booking—do not assume another port’s allowance applies.
Combined demurrage and detention merges some clocks on certain lines; others keep separate demurrage and detention balances.
Port storage charges may still apply under local terminal rules in addition to line demurrage, depending on the port.
Origin China: late VGM, missed cutoff, or early gate-in without a sailing can trigger origin demurrage or storage on export legs.
This guide does not publish dollar rates or a universal number of free days—only qualitative planning.
Demurrage vs detention vs port storage
Demurrage (import): charged when the full container remains in the port’s controlled yard, container freight station, or rail ramp under terminal rules after the gratis period in the ocean bill of lading or carrier tariff.
Detention (import): charged when the importer keeps the carrier-owned container outside the terminal—while unpacking at a warehouse, on chassis, or awaiting empty return—after detention free days expire.
Port storage or terminal storage: a charge levied by the terminal operator under local published tariffs; it may run before carrier demurrage or in parallel, depending on jurisdiction and contract.
Combined D&D: some carriers offer one pool of free days covering both yard time and off-terminal container time; others bill demurrage first, then detention when the box leaves the gate—read the tariff excerpt on your quote.
Export from China: demurrage and detention on the origin side usually relate to how long the empty container was held for stuffing and how long a laden box waited inside the export terminal before load—distinct from import clocks at destination.
Where free time starts and ends (origin vs destination)
Destination import: free time typically begins on the calendar day defined in the carrier tariff—often related to container availability or discharge—and ends when the box is gated out for delivery or meets a stated condition in the tariff.
Detention at destination usually starts after gate-out from the terminal until the empty is returned to the carrier’s nominated depot within the allowed period.
Origin in China: after the line releases an empty for stuffing, detention may accrue if the box is not gated in before empty free time expires; terminal storage may accrue if a laden export box sits in the yard before vessel loading.
Transshipment ports add a third clock on some routings if cargo is discharged and held at a hub—ask whether hub dwell is included in ocean free time or billed locally.
Yihang names the carrier and points you to tariff language on the prepaid quote; it does not replace the line’s published D&D table.
Negotiating extended free time before booking
Multi-container projects: when many boxes arrive in a short window, default free days may be insufficient for sequential customs clearance—request extended combined or separate D&D up front on /solutions/multi-container-projects/.
Flat rack and open top: equipment is scarce; lines often grant fewer free days than dry boxes—negotiate before confirming OOG on /solutions/flat-rack-open-top/.
Slow customs destinations: East Africa (Mombasa, Dar es Salaam), Middle East and Gulf, North Africa, West Africa, and many South American ports need longer allowances when bonds, exams, or tax queues are normal—plan with your broker’s realistic clearance calendar.
Heavy or dense cargo that needs weighbridge or inspection before release should bake extra yard days into the request—not added after demurrage invoices appear.
Written confirmation beats verbal assurances from sales: the quote should cite carrier tariff code or an email from the agent granting extra free time.
SOC vs COC containers
COC (carrier-owned container): the line’s box; import detention applies until the empty is returned per tariff. Most China export FCL uses COC unless you specify otherwise.
SOC (shipper-owned container): you control the unit; carrier detention on the box itself may not apply, but terminal demurrage on the laden SOC inside the yard still can, and you manage repair and repositioning.
SOC does not remove the need for fast customs or terminal pickup—it removes carrier empty-return detention on a line box you never used.
Tell Yihang if you plan SOC so booking, VGM, and depot instructions match the equipment owner.
Documents and operations that shorten yard time
Match invoice, packing list, and bill of lading consignee data before arrival—corrections after discharge consume free days.
Certificates and permits (for example conformity or import licences on regulated lanes) completed before ETA where law requires pre-shipment or pre-arrival filing.
Pre-clearance: lodge or draft customs entry when the destination system allows before the vessel berths.
Delivery order and line release: chase carrier agent releases the same week the vessel discharges.
Inland trucking booked to match gate appointments—chassis shortage becomes detention quickly on COC boxes.
Door delivery scope: /insights/dpu-dap-ddp-door-delivery-from-china/ when Incoterms define who pays terminal wait.
Payload, weight holds, and container count
Misdeclared weight or VGM issues at origin can delay loading in China; at destination, overweight road moves may wait for permits—both extend clocks indirectly.
Splitting heavy cargo across more containers may add boxes but reduce per-box dwell when each truck load is simpler—/insights/heavy-cargo-container-weight-limits/.
Typical inquiry scenario (illustrative): multi-container solar equipment to a Middle East / North Africa port
A buyer planning a large multi-container order of solar panels and mounting equipment to a Gulf or North African discharge port asked for ocean space, flat racks for a few long rails, and enough import free time to clear customs and deliver in weekly batches.
The forwarder file needed: written D&D terms for dry 40HQ and for flat racks, staggered vessel arrivals or one string with extended combined free time, broker confirmation on import entry timing, and SOC vs COC choice for the long-dwell site.
Illustrative pattern only—not a named buyer, port, rate, or count of free days.
What to ask your forwarder (Yihang)
Which carrier tariff applies and how many import free days are on dry, high-cube, reefer, flat rack, and open top for this destination?
Is demurrage and detention combined or separate on this line?
Does the quote include any negotiated extra free time, and can it be referenced in writing?
Who monitors the free-day countdown—the carrier agent, Yihang, or your broker?
For multi-container jobs, can we align sailings with clearance capacity at destination?
What depot accepts empty return, and are there chassis or gate appointment constraints?
Prepaid only: destination terminal, storage, and D&D are listed separately when known—not hidden in an incomplete collect quote.
Linked pages are the publishers’ own. A figure on this page is theirs, for the date named. It is not a Yihang rate.
Questions shippers ask
What is the difference between demurrage and detention?
Demurrage generally applies while the laden container is in the port terminal after free time. Detention applies while you hold the carrier’s container outside the terminal after free time, until the empty is returned to the named depot.
When does free time start on import containers from China?
It is defined in the carrier tariff on your booking—typically tied to discharge or container availability at destination, not to when you finish customs. Ask Yihang for the tariff trigger on your quote.
Can I get more free days for a ten-container project?
Often negotiable with the carrier before booking if you show clearance capacity and staggered delivery. Plan on /solutions/multi-container-projects/ and request extended D&D in writing on the first quote.
Do flat racks have less free time than dry containers?
Many lines grant shorter free periods on out-of-gauge equipment because supply is limited. Confirm on /solutions/flat-rack-open-top/ before you book machinery or steel.
Why do East Africa imports demurrage more often?
Customs, bonds, IDF or similar processes, transit seals, and inland trucking can outlast default free days if documents were not ready before arrival. See /insights/shipping-china-to-kenya-mombasa/ for Kenya context—still request your line’s actual free time.
Does SOC eliminate demurrage?
No. Terminal demurrage on the laden box in the yard can still apply. SOC mainly changes carrier detention on their container because you supplied the box.
What is combined demurrage and detention?
Some carriers use one free-day allowance for yard time plus off-terminal time instead of two separate clocks. Read the tariff excerpt—combined pools exhaust faster if you leave boxes at the site.
Does Yihang publish standard free days?
No. Free time is carrier- and destination-specific. Yihang records what the line offers on each prepaid quote when provided.