Residence Permits and Immigration in Morocco: A Guide for Foreign Investors and Executives

For foreign nationals planning to live and work in Morocco, understanding the residence permit framework is essential. This guide provides an overview of the legal requirements, application procedures, and practical considerations relevant to foreign investors, company managers, and expatriate executives relocating to the Kingdom.

1. The Legal Framework: Residence Permits Under Law 02-03

The entry, stay, and residence of foreign nationals in Morocco is governed primarily by Law No. 02-03 of 11 November 2003 (Dahir No. 1-03-196), together with its implementing Decree No. 2-09-607. Under Article 5 of the law, any foreigner entering Morocco must present a valid passport and, where applicable, a visa. Any foreign national intending to remain in Morocco for more than 90 days is required to obtain a residence permit.

The residence permit is issued either as a carte d'immatriculation (registration card, for first-time applicants) or, upon renewal, as a carte de sejour (residence card). Under Article 10, cards may be issued with validity ranging from one to ten years depending on the applicant's category and length of prior lawful residence.

Competent Authorities

The General Directorate of National Security (Direction Generale de la Surete Nationale, DGSN) is responsible for issuing and renewing residence permits. Applications are filed at the Bureau des Etrangers (foreigners' office) of the central police station or local prefecture in the applicant's city of residence. Upon filing, a recepisse (receipt) is issued under Article 8 of Law 02-03, granting the applicant the same rights as a cardholder while the application is being processed.

2. Residence Permit vs. Work Permit

The residence permit (carte de sejour) is a general authorization to reside in Morocco. A work authorization, by contrast, is an endorsement (visa) affixed by the Ministry of Labour and Occupational Integration to a specific employment contract, permitting a named foreign national to work for a specific employer.

For employees, the work authorization process requires a prior attestation from ANAPEC (Agence Nationale de Promotion de l'Emploi et des Competences) confirming that no suitable Moroccan candidate is available. This labor market test involves publication of the vacancy for a minimum of approximately 30 days. Only once the employment contract has been approved (visaed) by the Ministry and the employee holds the appropriate entry visa can the employee apply for a work-category residence card at the DGSN.

Investors and company managers are generally not subject to the ANAPEC labor market test, as their status derives from their corporate role or investment rather than an employment contract. They apply under a distinct category, supported by corporate and commercial documentation rather than a visaed employment contract.

3. Who Needs What: Categories of Applicants

Employees and Executives on a Foreign Work Contract

A foreign national in paid employment in Morocco requires both a Ministry-approved (visaed) employment contract and a work-category residence card. The authorization is tied to a specific employer and role and cannot be transferred without a fresh application (Articles 516 to 520, Labour Code, Law 65-99). Certain intra-company transfers between a foreign parent and its Moroccan subsidiary may be exempt from the ANAPEC attestation requirement.

Company Managers (Gerant / Mandataire Social)

Foreign managers or directors of a Moroccan company are not employees in the traditional sense. They apply for a residence card under the manager or business category, providing corporate documentation such as the registre de commerce, company statuts, and the proces-verbal of appointment. In practice, holding a significant ownership stake (commonly around 30 to 35 percent) may facilitate the application, though requirements vary by prefecture.

Investors

Foreign investors may benefit from a simplified procedure established by a joint ministerial note of September 2015, issued by the Ministries of Interior, Employment, and Industry together with the DGSN, ANAPEC, and AMDI, creating a streamlined pathway for investors and holders of rare or high-value skills.

Self-Employed Foreigners

Independent professionals and business owners apply under the business or economic-activity residence category, generally providing evidence of a registered Moroccan business activity, proof of income or financial means, and a lease or proof of address.

4. The Application Process and Timeline

Most foreign nationals enter Morocco on a long-stay (type D) visa or, for visa-exempt nationals, on the standard 90-day visa-free allowance. Upon arrival, the foreign national should obtain an entry stamp and report to the local police authority within 15 days to begin residence formalities.

The residence card application is filed at the Bureau des Etrangers of the DGSN or central police station. Required documents typically include: passport copies (including entry stamp and visa pages), proof of address, passport-size photographs, the visaed employment contract (for employees) or corporate documentation (for managers and investors), a criminal record extract from the country of origin, and biometric data (photograph and fingerprints) collected at the police station.

On filing, a recepisse is issued. Although some authorities indicate the card should be produced within 48 hours, in practice the physical card commonly takes several weeks due to DGSN and Ministry of Interior verification. For employees, the overall timeline from ANAPEC labor market test through receipt of the residence card is typically three to five months.

5. Family Members: Spouse and Children

A foreign national's spouse and minor children may obtain residence permits under the family reunification category of Law 02-03. Applicants must prove the family relationship through legalized and translated marriage and birth certificates, demonstrate the sponsor's valid residence status, and show sufficient means of support.

Family members must apply for their own residence documentation once in Morocco. Minor children do not require separate student visas to attend school but should regularize their residence status if remaining beyond 90 days. In certain consular contexts, a Document de Circulation may be required for minors traveling with a parent.

6. Renewal, Long-Term Cards, and Permanent Residence

Initial residence cards are typically issued for a period of one year and are renewable annually, provided the underlying basis for the card (employment, business activity, family relationship) continues. Renewal should be initiated at least two months before the current card expires.

After continuous lawful residence of approximately three to five years (depending on nationality and status), foreign nationals may become eligible for a ten-year residence card under Article 16 of Law 02-03. This long-term card offers greater stability but is subject to more rigorous review upon renewal. Renewal documentation includes an updated Moroccan criminal record extract (casier judiciaire) and a copy of the current valid card.

7. Tax Residence and the 183-Day Rule

Holding a Moroccan residence permit is a distinct legal status from Moroccan tax residence. However, relocating executives will often trigger tax residency under one or more of the criteria in Article 23 of the General Tax Code. An individual is a Moroccan tax resident if any of the following applies: (1) the individual maintains a permanent home (foyer d'habitation) in Morocco; (2) the individual's center of economic interests is in Morocco; or (3) the individual is physically present in Morocco for more than 183 days in any 365-day period.

Moroccan tax residents are subject to personal income tax (impot sur le revenu) on worldwide income; non-residents are taxed only on Moroccan-source income. The permanent-home criterion is generally the predominant test and may establish tax residence even without meeting the 183-day threshold. Applicable double tax treaties (Morocco has treaties with Germany, France, and many other countries) may affect the analysis where dual residence arises.

8. Practical Realities

Common Delays

Frequent sources of delay include DGSN and Ministry of Interior verification processes, incomplete dossiers, documents not properly legalized or translated, and administrative backlogs varying by prefecture. The ANAPEC labor market test alone adds a minimum of 30 days before a work-based residence application can be filed.

Legalization and Translation

Foreign documents (diplomas, marriage and birth certificates, corporate documents, criminal record extracts) must generally be legalized and accompanied by a certified or sworn translation into French or Arabic. Applicants are often required to submit notarized copies.

Change of Employer or Sale of Business

For employees, the work authorization lapses when the employment relationship ends. A new ANAPEC attestation and contract visa are required before working for a different employer. For managers, a sale of the business or change in corporate structure may require the residence status to be re-evidenced based on updated corporate documentation.

Tips to Avoid Gaps in Status

Practitioners recommend starting renewals at least two months before expiry, maintaining a complete compliance file (contract, work authorization, residence card, CNSS registration, payslips), and promptly regularizing status upon any change in professional or corporate role.

Frequently Asked Questions

Can a foreign investor get a residence permit in Morocco?

Yes. Foreign investors may apply for a residence card under the investor or business-activity category. Since September 2015, a simplified procedure has been available for investors and holders of rare skills through a joint protocol among the relevant ministries and agencies.

Do I need a residence permit to be the manager of a Moroccan company?

Any foreign national residing in Morocco for more than 90 days is required to hold a valid residence permit, regardless of their corporate role. A foreign gerant or mandataire social should apply for a residence card under the manager or business category, supported by relevant corporate documentation.

How long does the first residence card take?

Timelines vary by prefecture and case. For employees, the process from ANAPEC labor market test through receipt of the residence card typically takes three to five months. For investors and managers not subject to the ANAPEC test, the process may be shorter, though DGSN verification can still take several weeks.

Can my family live with me in Morocco?

Yes. A foreign resident's spouse and minor children may obtain their own residence permits under the family reunification provisions of Law 02-03, provided the requisite documentation (legalized marriage and birth certificates, proof of means) is submitted.

How We Can Help

Korte Amereller is a German-Moroccan business law firm with offices in Rabat, Casablanca, Berlin, and Paris. Our team assists foreign investors, company managers, and expatriate executives with Moroccan immigration and residence matters, including work permit applications, residence card filings, family reunification, and ongoing compliance. We advise on the interplay between immigration status, corporate structuring, and tax residence. For guidance tailored to your situation, please contact our Rabat or Casablanca office.

This article is for informational purposes only and does not constitute legal advice. The law and its application may have changed since publication. For advice on a specific matter, please contact the authors.

© Korte Amereller | korte-law.com

Related guides

Author: Zakaria Korte, Rechtsanwalt (German Bar) and Avocat à la Cour (Paris Bar), BVMW Country Representative for Morocco. Korte Amereller advises foreign companies on doing business in Morocco, in association with the AMERELLER network. Offices in Rabat, Casablanca, Berlin and Paris.