Morocco has emerged as one of the strongest nearshore destinations for European and North American companies looking to set up a tech team abroad. A timezone overlap with Western Europe (GMT+1), competitive salaries, a deep French-English bilingual talent pool, and aggressive government incentives make it a compelling choice. But moving from interest to execution requires navigating legal structures, tax regimes, employment regulations, and intellectual property frameworks that differ substantially from what most founders are used to.
This guide walks you through every step of establishing an offshore development center in Morocco — from choosing the right corporate entity to registering with authorities and hiring your first engineers.
Choosing the Right Legal Structure
The legal form you pick determines your tax obligations, liability exposure, and administrative burden. Four structures dominate for foreign tech companies entering Morocco.
SARL (Société à Responsabilité Limitée) is the most common choice — equivalent to an LLC. Minimum capital is just MAD 1 (roughly $0.10), partners' liability is limited to their contributions, and management is flexible. Most startups and SMEs building a development team of 5–30 engineers choose this route.
SA (Société Anonyme) suits larger operations planning to scale past 50 employees or raise capital locally. Minimum capital is MAD 300,000 and a board of directors is required, which adds governance overhead.
Branch office (succursale) lets you operate in Morocco without creating a separate legal entity. The parent company retains full liability. Useful for testing the market before committing to a subsidiary.
Representative office (bureau de liaison) is limited to non-commercial activities — market research, liaison, coordination. You cannot invoice clients or hire employees through it.
Casablanca Finance City (CFC) Status — The Tax Advantage
CFC is Morocco's most powerful incentive for international companies. Originally designed for financial services, it has expanded to cover tech, consulting, and shared service centers. The benefits are significant.
Corporate tax is 0% for the first five years, then a flat 8.75% permanently — compared to the standard progressive rates of 10–31%. Income tax on expatriate employees is capped at 20% for the first five years. Foreign currency conversion is unrestricted: you can repatriate profits, pay international suppliers, and receive client payments in EUR, USD, or GBP without central bank authorization.
CFC companies also benefit from simplified administrative procedures and a dedicated relationship manager at the CFC Authority. To qualify, your company must demonstrate that at least 70% of revenue comes from clients outside Morocco. For an offshore development center serving European or American clients, meeting this threshold is straightforward.
Company Registration: Timeline and Process
Morocco has streamlined business creation through the CRI (Centre Régional d'Investissement) — regional one-stop shops that consolidate registration steps. The process typically takes 3 to 5 business days.
Step 1: Reserve your company name via the CRI portal. This is done online and takes 24 hours.
Step 2: Draft and notarize the articles of association (statuts). A Moroccan notary handles this — budget MAD 3,000–8,000 depending on complexity.
Step 3: Register with the RNE (Registre National Électronique), which replaced the old paper-based Registre de Commerce. You receive your RC number (Registre de Commerce), tax identification number (IF), and professional tax number (TP) in a single step.
Step 4: Register employees with the CNSS (Caisse Nationale de Sécurité Sociale) — Morocco's social security administration. This is mandatory before your first hire starts work.
Step 5: Open a corporate bank account. Major banks (Attijariwafa, BMCE, CIH) have dedicated desks for foreign investors. CFC-status companies can open multi-currency accounts.
Total setup costs, including notary fees, registration, and initial legal counsel, typically range from MAD 15,000 to MAD 40,000 ($1,500–$4,000).
Tax Framework for Tech Companies
Understanding Morocco's tax landscape prevents surprises. Here are the key taxes that apply to your development center.
Corporate tax (IS) follows progressive rates: 10% on profits up to MAD 300,000, 20% up to MAD 1,000,000, and 31% above that. CFC-status companies bypass this entirely with their 0%/8.75% schedule.
TVA (Value Added Tax) is 20% on most services. If your offshore center only serves foreign clients, exported services are zero-rated — meaning you charge 0% TVA but can still recover input TVA on local purchases (rent, equipment, software licenses).
Social charges total approximately 26% of gross salary — split between employer (~18%) and employee (~8%). This covers CNSS contributions (pension, health insurance, family allowances) and mandatory workplace insurance.
Withholding tax on payments to non-residents (dividends, royalties, management fees) ranges from 10% to 15%, though Morocco's extensive network of double taxation treaties — including with France, the UK, Canada, Germany, and the US — often reduces these rates.
Employment Law Essentials
Morocco's labor code (Code du Travail) governs all employment relationships. The rules are protective of employees, so understanding them before you hire is critical.
Contract types: CDI (Contrat à Durée Indéterminée) is the default permanent contract. CDD (Contrat à Durée Déterminée) is for fixed-term engagements, limited to 12 months renewable once — after which it automatically converts to a CDI.
Working hours: The legal maximum is 44 hours per week, typically structured as 8 hours Monday–Friday plus 4 hours on Saturday, though most tech companies negotiate 40-hour weeks.
Annual leave: Employees earn 1.5 days per month worked (18 days per year), increasing to 2 days after 5 years of service. Morocco also has approximately 15 paid public holidays per year.
Minimum wage (SMIG): MAD 3,111/month (approximately $310) as of 2026. In practice, junior developers in Morocco earn MAD 8,000–15,000/month and senior engineers MAD 20,000–40,000/month — well above the minimum.
Termination: Dismissal requires a valid cause (misconduct, economic grounds) and a formal process including written notice, a hearing, and documented justification. Severance pay is calculated based on years of service. Wrongful dismissal claims are common and tend to favor employees, so proper HR procedures matter.
Intellectual Property Protection
IP security is a top concern for companies building software abroad. Morocco's framework is more robust than many realize.
Morocco is a signatory to the Madrid Protocol (international trademark registration), the Paris Convention, and the Berne Convention (copyright). The national authority is OMPIC (Office Marocain de la Propriété Industrielle et Commerciale), which handles trademark, patent, and industrial design registrations.
For software, copyright protection is automatic under Moroccan law — no registration is required, though registration with OMPIC strengthens enforcement. Importantly, under the Moroccan labor code, IP created by employees in the course of their duties belongs to the employer by default, provided this is explicitly stated in the employment contract.
Best practice: include a comprehensive IP assignment clause in every employment contract, supplement it with an NDA, and register any critical trademarks or patents with OMPIC. The cost is minimal — trademark registration starts at MAD 1,000 (~$100).
The Employer of Record (EOR) Alternative
Not every company wants to create a legal entity from day one. If you need to hire developers in Morocco without the overhead of incorporation, an Employer of Record (EOR) lets you onboard engineers in days rather than weeks.
The EOR becomes the legal employer on paper — handling payroll, tax withholding, CNSS registration, and labor compliance. You manage the team directly on a day-to-day basis. This model works well for teams of 1–10 engineers during the validation phase, before committing to full incorporation.
Alternatively, partnering with a Moroccan digital agency gives you access to pre-vetted developers, existing infrastructure, and local operational knowledge without any entity setup. This is the fastest path from decision to working code.
Operational Setup: Office, Infrastructure, Connectivity
Morocco's tech hubs — Casablanca, Rabat, and Tangier — offer modern coworking spaces and Class A office buildings at a fraction of European rates. Expect to pay MAD 80–150/m² in Casablanca's business districts (Casa Anfa, CFC Tower, Technopark).
Internet infrastructure has improved dramatically: fiber connections of 100 Mbps–1 Gbps are standard in business areas. Maroc Telecom, Orange, and Inwi all offer dedicated business lines with SLA guarantees.
Casablanca's Technopark and Rabat Technopolis provide incubator-style spaces with plug-and-play office infrastructure, networking events, and administrative support specifically for tech companies. CFC-status companies can also access premium office space within the CFC district.
FAQ
How long does it take to set up a company in Morocco? Company registration through the CRI takes 3–5 business days. Factor in an additional 1–2 weeks for bank account opening and CNSS registration. Total time from decision to operational entity: approximately 3–4 weeks.
What is the minimum investment required? An SARL requires just MAD 1 in minimum capital. Realistic startup costs including registration, legal fees, initial office setup, and first-month salaries for a small team run MAD 100,000–250,000 ($10,000–$25,000).
Can I hire remote workers in Morocco without a local entity? Yes, through an Employer of Record (EOR) or by contracting with a local agency. However, directly engaging independent contractors carries misclassification risk under Moroccan labor law — the authorities may reclassify the relationship as employment.
Is CFC status available to any tech company? CFC status is available to companies providing services primarily to international clients (70%+ of revenue from outside Morocco). Tech companies, shared service centers, and consulting firms qualify. The application is reviewed by the CFC Authority and typically takes 4–6 weeks.
What are the biggest risks to watch for? Underestimating employment law rigidity (particularly around termination), failing to register with CNSS before employees start, and not including explicit IP assignment clauses in contracts. Working with experienced local counsel eliminates these risks.
Related Resources
Explore our solutions tailored to your needs:
Comparing providers? Check out our detailed comparison:
Next Steps
Setting up a tech team in Morocco combines genuine cost advantages with a regulatory environment that, while different from Europe or North America, is well-documented and increasingly streamlined. The CFC framework in particular makes Morocco one of the most tax-efficient locations globally for an offshore development center.
Whether you incorporate directly, use an EOR, or partner with an established agency, the key is starting with the right structure for your current scale — then evolving as you grow.
Ready to build your tech team in Morocco? Contact ClaroDigi for a free consultation on the optimal setup for your project — from legal structure to your first hire.
