Customs clearance in Morocco: the import procedure, from the DUM to release

This Mirage Metrics guide explains Moroccan customs rules for firms outside Morocco that ship to Moroccan clients or import there. Clearing an import in Morocco means, for a business, filing in BADR, the online clearance system of the Administration des douanes et impôts indirects (ADII, Morocco's customs administration), a déclaration unique de marchandises (DUM, the single goods declaration) that places the goods under a customs regime, then obtaining release (mainlevée) after checks and payment or security of duties and taxes. This guide follows the definitive import of commercial goods, construction materials included.

Published
Reading time
20 min
Written by
Mirage Metrics

Texts reread on 26 October 2026: the online customs code, the 2026 finance law, the ADII circulars cited (the latest dated 17 February 2026), the Code général des impôts (CGI, tax code) 2026. A line's rate is checked in ADiL, ADII's online tariff assistant, on the day of the operation. General information, not advice.

Decision snapshot

Best suited to
Business importers, purchasing and supply chain departments, logistics teams of construction firms, licensed customs brokers, foreign suppliers of Moroccan clients.
Inputs needed
Pro forma then invoice, packing list, transport document, import title, freight and insurance evidence, proof of origin, authorisations and check results.
What can be automated
Reading and cross-checking documents, customs value, prefilling the DUM, following the channel and deadlines.
What requires human approval
Classification, choice of regime, claiming an agreement, signing in BADR, inspection, contesting.
When this approach is insufficient
Disputes, contested value, goods under licence, economic regime, trade defence: the applicable text and a broker or adviser.

Scope and short answer

OperationWhere to look
Definitive import of commercial goods by a businessThis guide
Economic regimes: bonded warehouse, temporary admission, inward processing, drawbackCustoms code, articles 114 onwards
ExportBox below
Vehicles and personal effects of Moroccans living abroad (MRE)ADII guide for MRE; temporary admission of vehicles
Express shipmentsADII instruction, express channel
Online purchases by individualsCircular n° 6346/210: duties due whatever the value since 1 July 2022
What this guide covers and where to look for the rest. Table compiled by Mirage Metrics, October 2026.

Source: customs code; ADII guide for MRE; temporary admission of vehicles; express channel; circular n° 6346/210 (all in French).

  1. All imported goods are covered by a detailed declaration, even when exempt (article 65): the DUM, entered in BADR.
  2. Before the order: import title (ADII questions and answers, hereafter Q&A), heading checked in ADiL, conformity check arranged if the product is subject to one.
  3. 45 days to declare (arrêté n° 1318-77), otherwise the goods are deemed abandoned (article 106).
  4. No exit without duties paid or secured and release (article 100), which replaces neither the delivery order nor the terminal formalities.
  5. No single rate: import duty, taxe parafiscale à l'importation (TPI, parafiscal import levy) and specific taxes depending on the line, then value added tax (VAT) on a base that includes them (CGI 2026, article 121).

Export, in brief

No summary declaration (Q&A); a foreign exchange commitment or an export licence, not stamped by the bank (Q&A); loading against a bon à embarquer (loading order) (Q&A); « REVISED RULES » wording on proofs of origin to the European Union (EU) and Türkiye (circular n° 6722/233).

Actors, systems and decisions

ActorWhat it doesWhat it answers for
ImporterImport title, purchase, declaration or mandateLiable as declarant or principal (art. 87); declared storage place (art. 19 bis)
Transitaire agréé en douane (licensed customs broker)Drafts and signs the DUM under a power of attorneyLiable with its principal, pursued after it (art. 88 bis); keeps records four years (art. 72)
ADIIRegisters, checks, assesses, grants releaseClassification (art. 15); review after release (art. 86 bis)
Approved intermediary bankDomiciles the import commitment, pays the supplier, may act as guarantorDomiciliation stamp; guarantor liable (art. 87)
Ministry of Industry and Trade (MIC), Office national de sécurité sanitaire des produits alimentaires (ONSSA, food safety office)...Check the products subject to their standardsResult on which removal depends
Carrier, shipping agent, operator of a magasin et aire de dédouanement (MEAD, clearance warehouse and yard) or terminalSummary declaration, delivery order, handling, exitAvailability and physical exit of the lot
Who does what, and who answers for what. Table compiled by Mirage Metrics, October 2026.

The code speaks of a transitaire agréé en douane (licensed customs broker): the person whose business is declaring for others (articles 67 and 68); « commissionnaire en douane agréé » does not appear in it. Handing over the DUM does not transfer everything: declarant, principal and guarantor are liable (article 87), the broker is pursued only after the principal debtor and, except for fraud, does not answer for amounts arising from a post-clearance check (article 88 bis), and the accuracy of the classification is the importer's responsibility (ADiL FAQ). Writing in the mandate who checks what remains good practice.

NameWhat it isWhat it is not
BADR (Base automatisée des douanes en réseau)ADII's system: declaration, assessment, payment, releaseThe single window of the other administrations
ADiL (Assistant au dédouanement des marchandises à l'importation en ligne)Lookup by tariff heading: duties, required documents, standards, agreementsA declaration or a binding classification
PortNetSingle window: import titles, powers of attorney, exemptions, MIC and ONSSA checks, fiche suiveuse (tracking sheet), delivery orderWhere the DUM is registered: it receives it from BADR
DUMDetailed declaration that assigns the regime and carries the taxation; single and indivisible document with its annexes (art. 74)An invoice, an import title or an exit pass
BADR, ADiL, PortNet and DUM: what they are and what they are not. Table compiled by Mirage Metrics, October 2026.

BADR is accessed over the Internet or by electronic data interchange (EDI), with an ADII access code and an electronic certificate from Barid Al-Maghrib (ADII; Q&A); the broker's powers of attorney are managed on PortNet (PortNet, national single window).

DecisionWho gives itWhat it allows
Result of a sector checkMIC, ONSSA...Lifts the condition of the specific regulation
Customs release (mainlevée)ADII, in BADRAllows removal, duties paid or secured (art. 100)
Bon à délivrer (BAD, delivery order)Shipping agent, freight forwarder or MEAD operator, via PortNetProves the right to dispose of the lot
Exit from the terminal or MEADOperatorPossible only after release
Four separate decisions before the goods leave. Table compiled by Mirage Metrics, October 2026.

Source: code, articles 15, 19 bis, 72, 74, 86 bis to 88 bis, 100; ADII, 2020 report; ADII instruction on MEAD; PortNet, tracking sheet; circular n° 6724/311 (all in French).

The documents and what to reconcile

The documents determine whether the DUM is admissible (Q&A); not all are required for every operation, and ADiL shows those each heading requires. The last column lists the errors that most often block a file.

DocumentIssuerUse and timingRequiredTo reconcileBlocking error
Pro forma invoiceSupplierSupports the import commitment or licence, before the orderFor the titleAmount, description, currencyTitle based on data the final invoice contradicts
Final commercial invoiceSupplierBasis for value and description; attached to the DUMAlwaysPrice, Incoterm, description, quantitiesDescription too vague to classify
Packing listSupplierWeight, number and type per packageGenerallyPackages and weight against the transport documentWeight or package discrepancy
Transport document: bill of lading, air waybill, CMR consignment note (Convention on the Contract for the International Carriage of Goods by Road)CarrierShipment and consigneeAlwaysConsignee, ports, packages, weightConsignee other than the importer declaring
Delivery order (BAD)Shipping agent, MEAD operatorRight to dispose of the lot, before removalPorts and MEADLot referenceBAD not issued
Import title: domiciled commitment, or licence or prior declaration (ministry)Importer and bank, or ministryPayment and, where needed, authorisation; before the orderUnless exemptImporter's name, goods, valueNo domiciliation stamp: no further step
Bank certificateBankAmount in foreign currency, title referencesImport with paymentAmount against the invoiceAmounts do not match
Declaration of the elements of value and freight and insurance evidenceImporter or declarant; carrier, insurerCustoms value (art. 20 undecies)Unless waivedFreight and insurance according to the IncotermFreight left out or counted twice
Proof of origin: EUR.1, origin declaration, importer's declaration (United States)Exporter, export authority or importerPreferential tariffIf an agreement is claimedGoods, invoice, wording, dateProof expired, wrong model, non-approved exporter above the threshold
Certificates, authorisations, check resultsMIC and approved bodies, ONSSA...Specific regulationIf ADiL says soHeading, description, lotResult missing: removal suspended
Customs and PortNet powers of attorneyImporter, on PortNetAllow the broker to act in its nameIf a broker declaresImporter's identityPower of attorney missing
Document matrix: issuer, use and timing, data to reconcile, blocking error. Table compiled by Mirage Metrics, October 2026.

Source: Q&A, import title; foreign trade operator's guide; code, articles 20 ter, 20 undecies, 67; circular n° 6706/233 (all in French).

The pro forma supports the title application; the final invoice sets the value and will be reconciled with the payments when the title is cleared (ministry guide). The engagement d'importation (import commitment), domiciled with a bank, covers freely importable goods; the licence or prior declaration comes from the ministry in charge of foreign trade.

To check

This ministry guide predates 2018, and the Office des changes' 2024 general instruction on foreign exchange operations could not be consulted: the documents required are confirmed with the bank.

Since 1 January 2019 there has been no physical filing: documents are attached digitally (ADII, 2019 report). Pitfalls specific to each document: bill of lading, CMR consignment note, EUR.1 certificate of origin.

The process, from the order to archiving

MilestoneWhat you doEvidence to keep
1. Identify and classifyTechnical sheet, composition, use; 10-digit heading and regime; classification ruling if in doubtDated ADiL lookup, classification decision
2. Restrictions and conformityRequired documents and standards for the heading; pre-shipment check if requiredCertificate, authorisation
3. Import titleDomiciled commitment or licence, before the orderStamped title, pro forma
4. Arrival under customsCarrier's summary declaration; delivery orderLot reference
5. DeclareDUM in BADR, every document attached before signingRegistered DUM
6. ChecksChannel; documentary check or inspection; tracking sheet if a sector check appliesExchanges, results
7. Assess, pay or secureElectronic payment or crédit d'enlèvement (deferred payment)Assessment sheet, receipt
8. Release and exitRelease, BAD, terminal formalitiesRelease, exit pass
9. Archive and regulariseClearing the title with the bank; voluntary correction within 30 days; cost reconciliationComplete file
Path of an import: milestones, actions, evidence to keep. Table compiled by Mirage Metrics, October 2026.

The order varies: a DUM can be registered before arrival, without authorisation, by pre-clearing a lot of the summary declaration; it takes effect on arrival, which sets the duties, and is cancelled automatically if nothing follows within 60 days (circular n° 6369/312; Q&A).

Classify

A trade name is not enough: you need a technical sheet, the composition and if necessary a sample (ADiL FAQ). The Harmonized System (HS) codes each group of goods on six digits (World Customs Organization); the Moroccan tariff adds national subheadings (article 2), up to ten digits (circular n° 6702/210), in the HS 2022 version since 1 January 2025 (circular n° 6627/223). When in doubt, a classification ruling is requested from the intended customs office, never during clearance (article 15; Q&A).

Deadlines

By sea, the summary declaration is filed at least 24 hours before the vessel arrives (Q&A); by air, before arrival, within a period set by arrêté (article 57). The DUM follows within 45 days, public holidays not counted, Saturdays counted, from the summary declaration by sea and by air (arrêté n° 1318-77; Q&A); a waiver remains possible as long as the goods have not been transferred (article 2 bis). The stay in a MEAD is also 45 days (ADII instruction). Goods that have been declared, not removed one month later and whose duties are neither paid nor secured are also abandoned (article 106).

No average clearance time is given here, for lack of a published source with a year and a definition: the time depends on the channel, the checks and analyses of other administrations, payment and exit from the terminal. The levers the texts provide: advance declaration, documents attached before signing, crédit d'enlèvement, classification ruling, conformity check before shipment.

The DUM

Each item of a DUM counts as a separate declaration (article 75). The boxes below are those of the 1992 paper model; the BADR screens may arrange them differently.

BoxContent
1Regime requested
2, 8, 10Consignor, importer (trade register), declarant (licence)
11, 13, 14Country of dispatch, of origin, of destination
16, 17Delivery terms; transport document
18, 19, 20, 22, 23Invoiced amount, exchange rate, freight, insurance, declared value
28 to 37, per itemDescription, commodity code, value, net weight, origin, previous document
BAssessment: type, base, rate, amount
Main boxes of ADII's DUM model 1/92. Table compiled by Mirage Metrics, October 2026.

Source: DUM model 1/92 (in French).

Since 2026, the DUM states the actual place of storage or processing (article 19 bis); a false declaration is punished by a fine of 30,000 to 60,000 dirhams (circular n° 6702/210). The declaration of the elements of value goes with it, unless waived (article 20 undecies).

Channels and checks

BADR assigns a channel on signature (circular n° 6175/412): green, automatic release a few minutes later, reserved for files complete before signing and subject to payment and other regulations; orange, documentary check; red, physical inspection. The service may reselect a file. Inspection takes place in the declarant's presence, automatically after three days (article 85); the declarant may ask for a full inspection (article 80) and pays for the handling (article 81).

For a sector check, PortNet opens on receiving the DUM a fiche suiveuse (tracking sheet) that coordinates inspections, documents and results up to release (PortNet); ONSSA documents have been filed there since 15 June 2026 (PortNet). This tracking does not guarantee immediate release.

Payment, then after release

The duties are those of the date of registration (article 89), rounded up to the next dirham (article 91), paid within three days (article 93) electronically (article 95). The crédit d'enlèvement, under a guaranteed undertaking, allows 15 to 180 days from release (décret n° 2-77-862, article 64 bis; Q&A); only the national credit has remained since 2020 (2020 report).

A registered DUM can no longer be amended; before release, a correction without penalty may be authorised; after, an error disclosed voluntarily within 30 days may be exempted from penalties (article 78). ADII may review the declaration after release (article 86 bis).

Duties, taxes and landed cost

The customs value is the price paid or payable, plus, if not already included, transport, handling and insurance up to entry into Morocco (articles 20 and 20 ter), excluding transport and assembly after import if they are shown separately (article 20-4°), converted at the Bank Al-Maghrib rate of the working day before registration (article 20 decies).

Official rule and practical trap

Incoterms allocate tasks, costs and risks between seller and buyer (International Chamber of Commerce); they exempt from nothing. On an FOB (Free On Board) invoice, freight and insurance are added; on a CIF (Cost, Insurance and Freight) invoice, they are already in it: adding them again inflates every duty.

Tax or costBaseCondition or rateSourceDateWho pays
Import duty (DI)Customs valueRate of the line; preferential if origin is provenTariff, ADiL; 2026 finance law26/12/2025Declarant, principal, guarantor (art. 87)
Taxe parafiscale à l'importation (TPI, parafiscal import levy)Customs value0.25% in ADII's model assessments, to be confirmed in ADiL; phased out for some origins (African Continental Free Trade Area, AfCFTA), due under several Arab agreementsCirc. 4844/212; tobacco instruction; circ. 6627/223; table of Arab agreements2002; 2022 or later; 2025; 2010Same
Taxe intérieure de consommation (TIC, excise)Most often a quantitySome productsADII instruction on valueUndatedSame
Tax on imported woodValue6%, chapters 44 and 94Circ. 6702/21001/01/2026Same
Trade defenceDepends on the measureSome productsADiL FAQRead 26/10/2026Same
Import VATValue + entry duties and taxes, excluding VAT20%; 10% listed products; exemptions (art. 123)CGI 2026, art. 121 and 1232026Same; deductible under conditions (art. 101)
Discount on the crédit d'enlèvementAssessed duties0.21% (15 days) to 2.47% (180 days)Decree 2-77-862, art. 64 bisOnlineImporter
Surcharge outside electronic paymentAmount due1%, at least 1,000 dirhams, with exceptionsCode, art. 95OnlineLiable party
Laboratory analysesCostBorne by the liable party if the analysis contradicts its declarationCode, art. 81OnlineLiable party or ADII
Broker, handling, storage, transport, demurrageContracts and tariffsNot quantified here; transport after import stays out of the value if shown separately (art. 20-4°)Contracts; code, art. 104Not applicableAs per contract
Duties, taxes and costs: base, condition, source, date, payer. Table compiled by Mirage Metrics, October 2026.

Source: CGI 2026; circular n° 4844/212; ADII instruction on tobacco; circular n° 6627/223; Arab and African agreements; instruction on value; circular n° 6702/210; décret n° 2-77-862; ADiL (all in French).

To check

No 2026 text read for this guide sets the TPI: 0.25% is the rate in ADII's model assessments, the latest of which (the tobacco instruction, after 2022) includes the TPI in the VAT base, as article 121 of the CGI reads. Line rate, TPI and VAT are confirmed in ADiL on the day.

A line's duty changes every year: the 2026 finance law cut that on mobile phones from 17.5% to 2.5% and raised that on windscreens from 2.5% to 17.5% (circular n° 6702/210). Do not confuse exemption (the tax is not due), reduced rate (VAT at 10%), preferential origin (the duty falls, the TPI and VAT may remain due: ADII) and suspensive regime (duties suspended until discharge: article 114).

VAT paid at customs is in principle deductible for a VAT-registered business, from the month of the receipt and within the year (CGI, article 101): the cash outlay is not the final cost. For your operation, the Morocco import duty calculator does the calculation line by line.

Worked example, entirely invented

Illustrative example, invented figures: a lot of site equipment, hypothetical figures

Invented assumptions, with no real goods or origin: FOB invoice of 9,500 euros, freight 450, insurance 50; exchange rate assumed at 10.00 Moroccan dirhams (MAD) to the euro; import duty assumed at 10%, TPI at 0.25% of the value, VAT at 20% on value + duty + TPI; no TIC or specific tax.

LineCalculationMAD
Customs value(9,500 FOB + 450 freight + 50 insurance) EUR × 10.00100,000
Import duty100,000 × 10%10,000
TPI100,000 × 0.25%250
VAT base100,000 + 10,000 + 250110,250
VAT110,250 × 20%22,050
Modelled duties and taxes10,000 + 250 + 22,05032,300
Value + duties and taxes100,000 + 32,300132,300
Variant with proven origin, DI at 0%0 + 250 + (100,250 × 20%)20,300
Modelled assessment, in MAD (invented figures). Table compiled by Mirage Metrics, October 2026.

Adding up the rates (30.25%) would give 30,250 MAD instead of 32,300, because VAT is also charged on the duty and the TPI. Invoiced at 10,000 euros CIF, the lot would have the same value; adding freight and insurance again would wrongly raise it to 105,000. Proof of origin is worth 12,000 MAD here: 10,000 of duty and 2,000 of VAT on it. If VAT is deductible, the remaining charge is 10,250 MAD, but 32,300 is paid out. The example excludes fees, handling, storage, transport and any other tax: it is neither a quote nor a scale.

Preferential origin and product conformity

Origin is not the place of dispatch: it depends on the place of manufacture and of the last substantial transformation (ADiL FAQ); provenance is the country from which the goods arrive directly (article 19). A Chinese product shipped from a European warehouse is not of EU origin. A certificate does not bind the administration (article 17).

PartnerFrameworkProof
European Union (EU), TürkiyeRevised rules, applied provisionally since 1 January 2026EUR.1 or origin declaration, 10 months; EUR-MED abolished
EFTA (European Free Trade Association), Agadir agreementOld rules keptCirculars n° 4980/233 and 5047/223 as amended
United StatesAgreement applied since 1 January 2006No certificate; importer's declaration on request
United KingdomTakes over the EU agreement as in force before it ceased to apply to the United Kingdom; not covered by circular n° 6706/233To be checked on the agreement's page
Preferential agreements and the proof of origin expected in 2026. Table compiled by Mirage Metrics, October 2026.

Source: Morocco-EU agreement; Morocco-USA agreement; Morocco-United Kingdom agreement; circular n° 6706/233 (all in French).

With the EU and Türkiye, the revised rules apply provisionally until 31 December 2027 or their publication in the Bulletin officiel. Above 6,000 euros, only an approved exporter makes out the origin declaration; a proof with cumulation carries « CUMULATION APPLIED WITH »; a consignment may be split in a third country under customs supervision (circular n° 6706/233). Their proofs do not have to carry « REVISED RULES » (circular n° 6722/233).

Conformity of industrial products

For products subject to a mandatory Moroccan standard, removal waits for the result of the check; annex XII-17, updated in February 2026, covers among others concrete bars and reinforcement, welded mesh, rolled construction steel and paints (circular n° 6724/311). For ONSSA, only results received electronically in BADR count (2020 report). The ministry's 2021 list separates products checked at the border and before shipment (MIC); it does not give the 2026 scope, to be checked with the ministry and in ADiL before ordering.

Cم and CE

The Cم marking (a C followed by the Arabic letter mim, the Moroccan conformity marking) attests conformity with the Moroccan regulatory framework (law 24-09); the ministry cites it for low-voltage equipment, electromagnetic compatibility and toys (MIC). CE marking applies to the European Economic Area (European Commission). No text read makes one the equivalent of the other.

What software prepares, what the declarant decides

Software preparesThe declarant decides
Read and cross-check invoice, packing list, transport document, originSettle a discrepancy or an unreadable figure
Calculate the customs value according to the IncotermAccept and justify the costs due
Propose a tariff headingThe classification, which binds the declarant
Check the proof of origin and its validityClaim the agreement or not
Prefill the DUM, follow the channel and the tracking sheetSign in BADR, attend the inspection, contest
Software preparation and the declarant's decision. Table compiled by Mirage Metrics, October 2026.

The 2026 finance law provided for an approved, optional platform to transmit commercial documents, whose terms an instruction will set (article 76 ter). For preparing DUM data, Mirage's agents read and cross-check invoice, packing list and certificate of origin, then hand the declarant a checked data set; they neither file nor sign anything. Mirage has not published a case study on Moroccan DUMs; the closest published figure is Transwin's: 70% less manual entry on freight documents.

Checklist before signing the DUM

  • Import title domiciled or stamped, in the importer's name
  • 10-digit heading read in ADiL on the day, with required documents and standards
  • Technical description sufficient to classify
  • Value rebuilt according to the Incoterm, nothing left out or added twice; exchange rate of the previous working day
  • Invoice, packing list and transport document consistent
  • Valid proof of origin, on the right model, with its wording
  • Check results received or tracking sheet followed
  • Actual place of storage entered
  • Every document attached before signing
  • Electronic payment or crédit d'enlèvement ready
  • Broker's powers of attorney in place
  • 45-day deadline noted; BAD and terminal exit checked

Questions readers ask

  • The declarant may ask for the more favourable tariff as long as release has not been granted (article 90 of the customs code). A DUM filed in advance is taxed at the duties in force on arrival (circular n° 6369/312).

  • The declarant may refuse a partial inspection and ask for a full inspection (article 80). Each regional directorate holds a consultation committee that gives opinions on disputes (article 22 bis), and requests for arbitration on value have been handled electronically since 2020.

  • No. Import titles are personal and non-transferable: the buyer produces a new title in its name or obtains authorisation to use the transferor's. According to the same ADII page, a title over 2,000 dirhams bears a special stamp duty of 50 dirhams.

  • No. Containers, trailers and tanks that do not belong to the owner of the goods are not considered abandoned (article 106).

Sources and scope

Checked on . Scope: definitive import of commercial goods by a business in Morocco. ADII and Bulletin officiel texts prevail over this summary.

General information for teaching purposes, not legal, tax or customs advice. The worked example is invented.

Related on this site

Test DUM preparation on your own files

Send us the documents of an import already cleared: invoice, packing list, transport document and proof of origin. We show you what the agents extract, the discrepancies they flag between documents, and you compare with the DUM your declarant signed.

We use your email to reply to you and, now and then, to tell you about Mirage. You can opt out at any time. Privacy policy