Guide · Morocco customs
Import duty and VAT, calculated in the right order.
What goods bought in China really cost at customs: the tariff code, the value everything is calculated on, the rates, two worked examples from start to finish, the mistakes that skew the calculation and what you recover afterwards. With the official sources: ADII, DGI, WTO, Ministry of Industry.
In short
How do you calculate import duty and VAT in Morocco?
Everything starts from the CIF value: the price of the goods, freight and insurance to Morocco. Import duty is applied to it according to the 10-digit tariff code, along with the 0.25% parafiscal import tax. VAT, 20% at the standard rate, is calculated last, on the value plus these duties and taxes.
The tariff code
First, find the right tariff line.
The duty, the VAT, the documents and the checks all depend on your product's tariff code. According to the Moroccan authorities, quoted by the WTO, the most frequent disputes concern classification and value.
- 01
Describe the product precisely
Material, function, use, composition, power, mode of operation: this is what determines the classification. The same item can move to a different line depending on its material or its use, for example a piece of furniture in wood or in metal, a desk lamp or a recessed light fitting.
- 02
Do not copy the supplier's code
The harmonised system is common to all countries only for the first 6 digits. Morocco uses a 10-digit code: the last four are its own, and the rate can depend on them.
- 03
Search on ADIL
ADIL, the online assistance service for the customs clearance of imported goods, is the customs tariff portal. It lets you search by tariff number, by chapter of the tariff, by keyword or by product that has been the subject of a classification decision.
- 04
Read the whole entry
For each line: the duties and taxes payable, those collected on behalf of other administrations, the documents to provide and the standards to meet. This is where you see whether a compliance check or a product-specific tax applies.
- 05
Check for special measures
An anti-dumping duty is not always visible at first glance: also consult the Ministry of Industry's public notices on Chinese products, and ask your customs broker whether a formal import licence (licence d'importation) is required.
- 06
Have it confirmed before you order
Have the code confirmed by your customs broker before the order, and keep their written answer with the ADIL entry: an approximate code skews the calculation and can hold the goods up at customs.
The rates
Duties and taxes on imports.
These are the general rules: the exact rate for your product is shown on the ADIL entry for its tariff code, on the day of customs clearance.
- CIF value
- The basis of the calculation: the price of the goods, plus freight and insurance up to arrival in Morocco. If you buy FOB in China, freight and insurance are added to the invoice.
- Import duty
- From 0 to 40% for industrial products, depending on the tariff code. 2.5% is the most common rate: it covers just over half of the tariff lines, generally inputs not produced in Morocco and capital goods. Next comes 40%. The 2024 Finance Act cut the duty from 40% to 30% on products that had been raised to 40% in 2020.
- Chinese origin
- Morocco has no free trade agreement with China: Chinese products pay the standard duty, with no reduction.
- Import VAT
- 20% at the standard rate; 10% for a list of products set by Article 121 of the General Tax Code (CGI); some imports are exempt. It is calculated on the value used for customs duties, plus the duties and taxes collected on entry, VAT excluded.
- Parafiscal import tax (TPI)
- 0.25% of the customs value. It also applies to imports under a preferential regime; suspensive regimes and industrial acceleration zones are outside its scope.
- Depending on the product
- Domestic consumption tax on certain products, such as beverages, tobacco, tyres or fuels; eco-tax on plastics; special tax on cement of MAD 0.15 per kilo; anti-dumping duties on certain Chinese products, such as plywood.
- Compliance check
- For products on the Ministry of Industry's lists: at origin, with a certificate, or on arrival in Morocco. It is not a tax, but allow for the time it takes and any costs.
Worked example
A full calculation, step by step.
Illustrative example, with a hypothetical duty rate of 17.5% and no other product-specific tax. It shows the order of the calculation, not the rate for your goods: that rate is shown on ADIL, and the exact amount on the assessment of your declaration.
- 1. CIF value
- MAD 90,000 of goods + MAD 10,000 of freight and insurance to the Moroccan port = MAD 100,000
- 2. Import duty
- MAD 100,000 × 17.5% (hypothetical rate) = MAD 17,500
- 3. Parafiscal import tax
- MAD 100,000 × 0.25% = MAD 250
- 4. VAT base
- 100,000 + 17,500 + 250 = MAD 117,750
- 5. Import VAT
- MAD 117,750 × 20% = MAD 23,550
- Total paid at customs
- 17,500 + 250 + 23,550 = MAD 41,300, or 41.3% of the CIF value in this example. Port charges, the customs broker's fees and delivery come on top.
Second example
Another calculation, from an FOB price.
Second illustrative example: a batch of components bought FOB, with a hypothetical duty rate of 2.5%, the most common rate in the Moroccan tariff, and fictitious amounts. It shows how to go from the FOB price to the CIF value, and what remains payable by a company that recovers VAT.
- 1. FOB price
- MAD 80,000: the goods loaded on the ship in China, without sea freight or insurance.
- 2. CIF value
- 80,000 + MAD 7,000 of freight + MAD 500 of insurance = MAD 87,500
- 3. Import duty
- MAD 87,500 × 2.5% (hypothetical rate) = MAD 2,187.50
- 4. Parafiscal import tax
- MAD 87,500 × 0.25% = MAD 218.75
- 5. VAT base
- 87,500 + 2,187.50 + 218.75 = MAD 89,906.25
- 6. Import VAT
- MAD 89,906.25 × 20% = MAD 17,981.25
- Total paid at customs
- 2,187.50 + 218.75 + 17,981.25 = MAD 20,387.50, or about 23.3% of the CIF value. VAT accounts for most of it.
- Final cost
- For a company that recovers VAT, MAD 2,406.25 of duty and parafiscal tax remains, about 2.75% of the CIF value: the VAT mainly weighed on cash flow, between customs clearance and its deduction.
The customs value
What goes into the CIF value, and what does not.
The declared value must match the price actually paid or payable, including transport to Morocco: this is the transaction value of the WTO Agreement on Customs Valuation, which Morocco has applied since 1998. If in doubt, customs asks in writing for supporting documents, to be provided within one month; without a satisfactory answer, it rejects the declared value and determines it using the methods of that agreement.
Included in the CIF value
- The price invoiced by the supplier
- Packing and packaging, if they are invoiced separately
- Transport in China to the ship or aircraft, if it is not in the price
- Freight to the port or airport of arrival in Morocco
- Insurance for the international transport
Not part of the CIF value
- Transport in Morocco, from the port to your address
- Port and storage charges in Morocco
- The customs broker's fees
- The customs duties and VAT themselves
The real cost
What you bear, and what you get back.
For a company registered for VAT, the VAT paid on import is in principle deductible, like the VAT on its other purchases: it weighs on cash flow more than on the margin. Under the General Tax Code, this right to deduct arises in the month in which the customs receipt is issued, and it must be exercised within one year. The import duty and the parafiscal import tax, on the other hand, go into the cost price. Your accountant will confirm what applies in your case.
Duties and taxes are paid at customs clearance, before the goods are delivered. Include them in your budget from the moment you order, along with the costs that are not taxes: the customs broker's fees, port and storage charges, transport to your address. The WTO also notes a BADR usage fee of MAD 150 per import declaration.
To compare two offers, bring everything down to the unit: purchase price, freight and insurance, non-recoverable duties and taxes, clearance and delivery costs, divided by the number of pieces. It is this cost price, and not the FOB price, that tells you whether the import is profitable.
If you prefer an all-inclusive price, DDP delivery takes care of it: our sister company in Morocco imports in its own name, pays the duties and VAT, and invoices you in dirhams.
To avoid
The mistakes that skew the duty calculation.
Each one is paid for at customs clearance: a higher amount than expected, a blocked file or a value corrected by customs.
In the calculation
- Copying the Chinese supplier's code: only the first 6 digits are common, and the rate can depend on the last 4. Have your customs broker establish the Moroccan code.
- Calculating the duty on the FOB price: it is calculated on the CIF value. Add freight and insurance to Morocco.
- Calculating VAT on the value of the goods alone: its base also includes the import duty and the other entry taxes.
- Assuming a reduced duty for China: no free trade agreement applies. It is the standard duty, sometimes increased by an anti-dumping duty.
At customs clearance
- Declaring a value lower than the price paid: customs can ask for supporting documents and correct the value. Declare the real price.
- Forgetting product-specific taxes: domestic consumption tax, eco-tax, cement tax, anti-dumping. Read the ADIL entry to the end.
- Treating VAT as a final cost, or leaving it out of your cash flow: it is paid at customs clearance and deducted afterwards, in principle within the year.
- Budgeting only for the duties: also allow for the customs broker's fees, port charges, storage and delivery.
Checklist
Your cost price, line by line.
The method to follow for each product, before placing the order. Keep the details: they will be used to check the assessment of the declaration.
- 01
The price and the Incoterm
Note the purchase price and what it includes: ex works, FOB or CIF.
- 02
The CIF value
Add transport in China if needed, then freight and insurance to the Moroccan port or airport.
- 03
The code and its rates
Note on ADIL the duty, the VAT and the specific taxes for the code confirmed by your customs broker.
- 04
The import duty
CIF value × duty rate. Add an anti-dumping duty if a ministry notice provides for one.
- 05
The parafiscal tax
Customs value × 0.25%.
- 06
The other taxes
Domestic consumption tax, eco-tax, special tax on cement: only if the ADIL entry provides for them.
- 07
The VAT
(CIF value + entry duties and taxes) × 20%, or 10% for the products concerned.
- 08
Costs other than taxes
Customs broker's fees, port charges, storage, transport to your address.
- 09
The cost per unit
Add everything up, take off the VAT if your company recovers it, and divide by the number of pieces.
Before the order
The questions to ask your customs broker.
Ask for written answers, with the ADIL entry for the code chosen: it is your reference if the assessed amount differs from the estimate.
On the code and the rates
- Which 10-digit code do you use, and based on what description of the product?
- What duty and VAT rates apply to this code today?
- Does a product-specific tax, a formal import licence or an anti-dumping duty apply?
- Is the product checked at origin or on arrival in Morocco?
On the costs and the file
- Is your estimate of the duties and VAT really based on the CIF value?
- What are your fees, and what port and storage charges should I allow for?
- Which documents do you need, and by what date?
- Under what customs licence number do you file the declaration?
Glossary
The terms of the calculation, in plain English.
The words you will read on the ADIL entry, the customs broker's quote and the declaration.
- HS code
- The harmonised system code, common to all countries over 6 digits; the Moroccan code has 10.
- ADIL
- The customs tariff portal: duties, taxes, documents and standards for each code.
- Customs value
- The value on which the import duty and the parafiscal tax are calculated: in Morocco, the CIF value.
- Transaction value
- The price actually paid or payable for the goods: the WTO method used for most imports.
- CIF
- Cost, insurance and freight (CAF in French): the goods delivered to Morocco.
- FOB
- Free on board: the goods loaded on the ship in China, without freight or insurance.
- TPI
- The parafiscal import tax (taxe parafiscale à l'importation), 0.25% of the customs value.
- TIC
- The domestic consumption tax (taxe intérieure de consommation), specific to certain products such as beverages, tobacco or fuels.
- Anti-dumping duty
- A duty added to the standard duty, on a specific product of a specific origin, after an investigation by the Ministry of Industry.
- DUM
- The single goods declaration, filed on BADR, the customs system.
- Assessment (liquidation)
- Customs' calculation of the duties and taxes due on the declaration.
- Customs receipt (quittance)
- Proof of payment of the duties and taxes: the right to deduct VAT arises in the month in which it is issued.
- Release (mainlevée)
- The authorisation to collect the goods, once the duties are paid and the checks done.
Going further
Guides and services for importing from China.
The complete import guide
RC, ICE, import licence on PortNet, paying the supplier: every step before customs.
See the detailsA detailed freight quote
Freight, customs clearance by a licensed partner customs broker, estimated duties and VAT, line by line.
See the detailsAn all-inclusive price
DDP delivery: duties and VAT included, paid in Morocco in dirhams, with no import licence.
See the detailsImport duty and VAT: frequently asked questions
Official sources
- Moroccan customs (ADII): import clearance
- Moroccan customs: introduction to the ADIL portal
- Moroccan customs: ADIL portal, tariff and duties by code
- Moroccan customs: list of active customs brokers
- DGI: General Tax Code 2026 (import VAT, Articles 101 and 121)
- WTO: Trade Policy Review of Morocco (2024)
- MCINET: anti-dumping measures, public notices
- MCINET: notice DDC/07/2023, anti-dumping duty on plywood from China
- MCINET: products checked on import
Other services for Morocco
Unsure about your product's code or rate?
Send us the description and photos of the product on WhatsApp, with its value and volume: we will tell you where to start.