The HS code (Harmonized System), also called HS tariff or customs nomenclature, is the universal identifier used by customs authorities worldwide to classify goods. In Morocco, this code directly determines your customs duties, import VAT, and even the prior authorizations required. A classification error can lead to reassessments, fines or customs blockages. This guide explains everything you need to know to correctly identify and use the right HS code for your imports to Morocco.
What is the HS code and why is it vital?
The Harmonized System (HS) is an international nomenclature developed by the World Customs Organization (WCO). It classifies all goods traded in the world into sections, chapters, headings and subheadings. More than 200 countries, including Morocco, use it as the basis for their national customs tariff.
Each product receives a unique numerical code of 6 to 10 digits. Morocco generally uses 10 digits, with the first 6 common to all countries that signed the convention.
Why is it so important?
- It determines the import duty (DI): between 2.5% and 40% depending on the product.
- It sets the VAT rate on imports (generally 20%, sometimes reduced).
- It triggers prior authorizations: ONSSA, ANRT, NM certifications, etc.
- It conditions exemptions under free trade agreements.
- It is mandatory for any BADR declaration.
Structure of a Moroccan HS code
The HS code is organized in increasingly precise hierarchical levels:
| Level | Digits | Example (virgin olive oil) |
|---|---|---|
| Section | โ | Section III โ Fats and oils |
| Chapter | 2 digits | 15 โ Fats and oils |
| Heading | 4 digits | 1509 โ Olive oil and fractions |
| HS subheading | 6 digits | 1509.10 โ Virgin |
| Moroccan national code | 10 digits | 1509.10.10.00 โ Virgin in packaging โค 5L |
The more precise the code, the more the nomenclature reflects the specific characteristics of the product (material, dimension, use, packaging). The same product can have different codes depending on its exact features.
How to find the right HS code for your product
Several methods exist to identify the correct HS code:
1. The PORTNET portal
PORTNET, the single window for Moroccan foreign trade, offers a keyword search engine in the customs nomenclature. It is the official reference tool: www.portnet.ma. Type the name of your product and explore the matches.
2. The ADII customs tariff
The Administration of Customs and Indirect Taxes publishes its integrated tariff annually on www.douane.gov.ma. You will find complete codes, DI rates, possible exemptions and authorizations required by product.
3. International databases
The WCO website and the European Commission TARIC database allow cross-referencing classifications. Useful for comparing the European and Moroccan position of the same product.
4. Working with a licensed customs broker
This is the safest method for technical or ambiguous products. An ADII-licensed customs broker knows the subtleties of the nomenclature and can justify their classification to customs. Our firm offers this service for free as part of an import quote.
Penalties for incorrect classification
Incorrect HS classification can have severe consequences:
- Customs reassessment: if customs detects under-classification (code with lower duties), they claim the difference + late interest.
- Tax fine: can reach 50% to 200% of evaded duties depending on intent.
- Goods seizure: in the most serious cases, prolonged blockage in the customs zone.
- Listing as risk operator: systematic physical controls on your future shipments.
- Clearance delay: a code dispute can extend immobilization by several days, with storage fees.
โ ๏ธ Real case
An importer of electronic parts declared their products under a 5% code instead of the correct 17.5%. Following a post-clearance audit, customs claimed MAD 320,000 in duties + MAD 160,000 in fines, nearly MAD 500,000 in extra costs on an operation initially ยซ optimized ยป. Working with a licensed customs broker from the start would have avoided this disaster.
Best practices to secure your classifications
Here are our expert team's recommendations to avoid any dispute:
- Always document your choice: technical notes, manufacturer product sheets, photos, analysis certificates. In case of audit, these elements justify your classification.
- Use binding tariff information: Moroccan customs can issue an official classification opinion upon request, valid for 3 years.
- Check the explanatory notes: each HS chapter contains notes that specify what is included or excluded. Read them carefully.
- Compare with competitors: if a similar product is classified differently elsewhere, it's a signal to investigate.
- Work with a licensed professional: an ADII-licensed customs broker saves time, secures your operations and represents you to customs in case of dispute. See our customs transit page.