In short. In Morocco, imported goods leave the port after eight steps: preparing the file, getting ahead during transit, handling the vessel's arrival, filing the declaration in BADR, going through inspection, paying duties and taxes, obtaining release, then collecting the goods at the terminal. Most delays are decided before arrival: a complete file and a declaration prepared in advance save days of port storage.
1. Before shipment: prepare the file
Everything is decided before the goods leave. The importer must be registered with customs and with PortNet, the foreign trade single window. It then gathers the documents: a detailed commercial invoice, the packing list and, depending on the product, an import title, a proof of origin, conformity or health certificates. The details are in our guide Documents to import into Morocco.
This is also the time to set the product's tariff heading, its code in the customs tariff. It determines the duty rate, any inspections and the authorisations needed. A product data sheet is often enough to find it.
2. During transit: get ahead
As soon as the bill of lading (B/L) or air waybill is issued, the file can be checked and the declaration prepared.
Moroccan customs allows advance declaration: the declaration is registered in BADR before the goods arrive. It only takes effect on arrival, and it can be corrected without penalty as long as the goods have not arrived. It is the best way to save time at the port.
3. Vessel arrival
The shipping line sends customs the list of goods on board (the manifest, or summary declaration). The consignee receives an arrival notice.
To take the goods out, you also need the delivery order (bon à délivrer, BAD). The shipping line or its agent issues it once the freight and related charges are paid, if not already, and on presentation of the bill of lading. In Morocco, the delivery order is electronic and exchanged on PortNet.
4. The detailed declaration in BADR
The single goods declaration (déclaration unique de marchandises, DUM) is filed in BADR, the customs online clearance system. It states the tariff heading, value, origin, weight, the customs procedure chosen (usually release for free circulation) and the document references.
The declared value includes the price of the goods, transport and insurance up to Morocco. Our guide Incoterms 2020 explained simply covers this point.
5. Inspection
Once filed, each declaration goes through customs risk analysis. There are three possible outcomes:
| Outcome | What happens | What helps |
|---|---|---|
| Release on documents | The declaration is accepted without in-depth review | A complete, consistent file |
| Document check | An officer checks the supporting documents | Invoice, packing list and certificates that match |
| Physical inspection | The goods are examined at the port, by appointment | Being available, with originals, at the set appointment |
Other authorities may step in depending on the product: ONSSA for food, plant and animal products, or standards control for some industrial products. Their approval is needed before release.
6. Paying duties and taxes
BADR calculates duties and taxes from the value, tariff heading and origin: import duty, import VAT and, depending on the product, other taxes. Payment is made online.
The importer normally pays, except under DDP, where the seller has agreed to pay them.
7. Release
Once inspection is complete and duties are paid, customs grants release (mainlevée): the goods are free to leave the port. Release is recorded in BADR and passed on to the terminal.
8. Collection at the terminal
At the port of Casablanca, containers are handled by terminal operators. The collection appointment is booked on PortNet, and terminal charges are paid before exit. The truck then collects the container and delivers it to you.
Then think about returning the empty container: the shipping line grants a few free days, then charges late fees (demurrage or detention). Unloading at your premises should therefore be planned in advance.
9. What causes delays
- A vague invoice, or one that differs from the packing list. It is the first cause of in-depth inspection.
- A forgotten import title or certificate. The goods wait at the port while the document is requested.
- A missing proof of origin. Without it, no reduced rate, and it is hard to obtain afterwards.
- Unpaid freight. Without the delivery order, the goods cannot leave, even once cleared.
- A file prepared only on arrival. Port storage charges run every day.
10. Who does what
| Party | Role |
|---|---|
| Importer | Registration, import title, payment of duties and taxes |
| Supplier | Invoice, packing list, proof of origin, certificates |
| Shipping line or airline | Manifest, arrival notice, delivery order |
| Freight forwarder | File check, declaration in BADR, inspection follow-up, collection and delivery |
| Customs (ADII) | Risk analysis, inspection, duty calculation, release |
| Port terminal | Container custody, collection appointment, exit |
11. FAQ
How long does customs clearance take in Casablanca?
It mostly depends on the inspection decided by customs and on the state of the file. Release on documents is quick; a physical inspection or the involvement of another authority takes longer. Advance declaration and a complete file are the two most effective levers.
What if the goods are held?
First identify the cause: a missing document, a value discrepancy, waiting for an inspection or another authority. Your forwarder can see the exact status of the declaration in BADR and provide the missing document or request a correction.
Can goods carried by another provider be cleared?
Yes. Customs clearance is a service in its own right: just send the bill of lading or air waybill, invoice, packing list and other documents. Choose "Customs clearance only" in the quote form.
Who pays customs duties?
The importer, unless the sale was made under DDP. The Incoterm does not change the duty rate, only who pays.
Key takeaway. Prepare the file before departure, file in advance whenever possible, and settle the freight in time so the delivery order is ready on arrival. On the day the vessel berths, only inspection, payment and collection should remain.