Setting up an import-export company in Morocco: legal form, steps and support
SocoAfrica editorial team · Updated on

Setting up an import-export company in Morocco now goes through the DirectEntreprise electronic platform, rolled out nationwide in March 2025. This guide details the legal forms, the incorporation steps, the customs procedures and the bodies that support exporters.
Key points
- According to an OMPIC statement published by maroc.ma on 6 May 2026, more than 50,300 companies have been created through the DirectEntreprise platform.
- The same statement reports an average creation time of three days for complete and compliant files filed online.
- The Casablanca-Settat CRI presents DirectEntreprise as the official channel for company creation and management formalities.
- ADII grants Authorised Economic Operator (AEO) status to any company established in Morocco carrying out activities linked to international trade, for both imports and exports.
Import-export in Morocco: which legal form to choose
The Casablanca-Settat Regional Investment Centre (CRI) lists the legal forms available in Morocco: auto-entrepreneur, sole proprietorship, SARL, SNC, SCS, SCA, SA, SAS and branch, as well as the GIE. For an import-export company in Morocco, the SARL (limited liability company) is often considered because it limits the partners' liability to their contributions.
The Casablanca-Settat CRI FAQ adds two useful points. First, no law prohibits a foreign partner from holding shares. Second, a SARL cannot have as its sole partner another SARL made up of a single person.
The choice between SARL and SA depends mainly on the size of the project, the number of partners and financing needs. A legal adviser or chartered accountant, who are also present on DirectEntreprise, can help you decide.
How to create a company in Morocco: the DirectEntreprise platform
According to an OMPIC statement published on 6 May 2026 on maroc.ma, the DirectEntreprise platform was piloted in Rabat in February 2023 and then rolled out nationwide in March 2025. It is based on Law No. 88.17 on the electronic creation and support of companies.
The platform connects OMPIC, the Ministry of Justice (through the commercial courts), the General Secretariat of the Government (through the Official Printing House), the Directorate General of Taxes (DGI) and the National Social Security Fund (CNSS). More than 50,300 companies had been created on it at the date of the statement, with an average time of three days for complete files.
The directentreprise.ma website is run by OMPIC and is intended for authorised professionals: notaries, lawyers, chartered accountants and certified accountants. To open a company in Morocco this way, you therefore work in practice through one of these professionals.
Creating an import-export company in Morocco: the steps
The Rabat-Salé-Kénitra CRI describes the steps on its e-creation support page. The first is the negative certificate, which reserves the company name, requested online at nc.directentreprise.ma. Next come drafting the articles of association, together with the lease or domiciliation contract, and then registering the deeds, which can be done online on tax.gov.ma.
These are followed by registration for the business tax with the tax authority, registration in the trade register at the commercial court (350 DH according to the Rabat-Salé-Kénitra CRI page consulted in October 2026), affiliation with the CNSS via damancom.ma and publication in the Official Bulletin on annonceslegales.gov.ma, charged 423 DH for a SARL according to the same page.
The common company identifier (ICE) normally appears on the negative certificate: the ice.gov.ma portal says to request the ICE only if the negative certificate or identification certificate does not contain one. The same portal points out that stating the ICE on invoices is mandatory.
Import-export company in Morocco: dealing with customs (ADII)
Once registered, the company works with the Customs and Indirect Taxes Administration (ADII) for its import and export declarations. The practical terms of access to the customs e-services should be confirmed with ADII or with your freight forwarder, who often files the declarations on your behalf.
ADII offers Authorised Economic Operator (AEO) status. According to its brochure, this status is granted to any company established in the national territory carrying out industrial, commercial or service activities linked to international trade, for both imports and exports.
The conditions cited by ADII are the absence of serious litigation history with customs, a transparent system for managing commercial records and stocks, financial solvency over the last three years and compliance with safety and security standards. The benefits include lighter controls and clearance at the company's premises.
Export support: Morocco Foodex and AMDIE
For agri-food and seafood products, Morocco Foodex, the autonomous body for export control and coordination, oversees the proper conduct of Moroccan exports of these products and runs targeted promotion actions. Its website provides a registration procedure for exporters, traders and infrastructure operators.
The Moroccan Investment and Export Development Agency (AMDIE) was formed by merging Maroc Export, the Office of Trade Fairs and Exhibitions (OFEC) and the Moroccan Investment Development Agency (AMDI), according to Finances News Hebdo (2017). It implements the State's strategy for promoting investment and exports.
Finding your first customers and suppliers
The SocoAfrica directory lists companies in Morocco and seven other African countries: Senegal, Côte d'Ivoire, Ghana, Nigeria, Cameroon, Kenya and South Africa. A Moroccan import-export company can use it to identify buyers and suppliers by country and sector.
Standard registration is free, as is posting a request for quotation on /rfq/. The verification service (/verification/) lets you show your partners that your company is properly registered; the Verified and Premium levels are on quotation.
Frequently asked questions
- How do I set up an import-export company in Morocco?
- Choose a legal form, for example the SARL, then go through the DirectEntreprise platform via an authorised professional: negative certificate, articles of association, registration of deeds, business tax, trade register, CNSS and legal publication.
- How long does it take to open a company in Morocco?
- According to OMPIC (statement of 6 May 2026), the average time is three days for complete and compliant files filed on DirectEntreprise, and under 24 hours for several files.
- Can a foreigner set up a SARL in Morocco?
- Yes. According to the Casablanca-Settat CRI FAQ, no law prohibits a foreign partner from taking part in a Moroccan company.
- Where do I get my company's ICE?
- The ICE normally appears on the negative certificate. The ice.gov.ma portal lets you retrieve it if the certificate or identification certificate does not contain one.
This guide summarises official texts as of the date shown. Rules change: check them with the body cited before any transaction.
Sources
- Maroc.ma (MAP, OMPIC) — More than 50,300 companies created via DirectEntreprise (2026)
- OMPIC — DirectEntreprise (2026)
- CRI Casablanca-Settat — Frequently asked questions (in French) (2026)
- CRI Rabat-Salé-Kénitra — E-incorporation support (2026)
- ICE Portal — Common Business Identifier (2026)
- ADII — Authorised Economic Operator (brochure) (2026)
- Morocco Foodex — Official website (2026)
- Finances News Hebdo — Kick-off for the super agency for export and investment promotion (2017)
Looking for a supplier?
Post a request for quotation: our team forwards it to listed suppliers in the relevant sector.