How to Acquire Moroccan Nationality: Pathways and Legal Requirements

Immigration March 2026 11 min read

In This Guide

Overview of Moroccan Nationality Law Nationality by Birth Nationality by Marriage Nationality by Naturalization (Long Residence) Nationality by Decree Documents Required Processing Authority Dual Nationality and Morocco Frequently Asked Questions

Overview of Moroccan Nationality Law (Code de la Nationalité, Dahir 1958)

Moroccan nationality is governed by the Code de la Nationalité marocaine, established by the Dahir of September 6, 1958, and amended on several occasions since. The Code defines who is a Moroccan national at birth, and sets out the conditions under which foreign nationals may acquire Moroccan nationality.

Moroccan nationality law is rooted primarily in the principle of jus sanguinis (nationality by bloodline): a child born to a Moroccan father (and, following the 2007 amendment, in certain circumstances to a Moroccan mother where the father is stateless or of unknown nationality) acquires Moroccan nationality by birth, regardless of the country of birth.

For foreigners who are not of Moroccan origin, the Code provides four main pathways to acquisition of nationality: by marriage, by long-term residence (naturalization), by birth in Morocco in certain circumstances, and by special decree.

Nationality by Birth

The principal rule under Moroccan nationality law is descent-based (jus sanguinis):

  • A child born to a Moroccan father acquires Moroccan nationality at birth, regardless of where the child was born.
  • A child born to a Moroccan mother and a stateless father, or a father of unknown nationality, may also acquire Moroccan nationality.
  • A child born in Morocco to unknown parents is presumed Moroccan until evidence of a foreign nationality is established.

Morocco does not apply a pure jus soli (nationality by place of birth) rule. Birth on Moroccan territory alone does not, in most cases, confer Moroccan nationality to a child of two foreign parents.

Nationality by Marriage

A foreign national who is married to a Moroccan citizen may apply for Moroccan nationality by marriage (nationalité par mariage) under Article 10 of the Code de la Nationalité. This is one of the most commonly used pathways for foreigners who settle in Morocco following a mixed marriage.

The conditions for nationality by marriage are:

  • The marriage must be legally recognized in Morocco (performed under the Moudawana or recognized under private international law)
  • The foreign spouse must have resided in Morocco for at least five years from the date of the marriage (based on valid, continuous, and documented legal residency)
  • The marriage must remain valid at the time of the application (divorce prior to naturalization disqualifies the applicant under this pathway)
  • The applicant must be of good conduct and have no serious criminal convictions
  • Knowledge of Arabic is evaluated as part of the discretionary review

Nationality by marriage is not automatic upon fulfilling these conditions. The application is submitted to the Ministry of Justice, which reviews the file and makes a recommendation. The final decision is a discretionary one, and not all applications are approved even where the formal conditions are met.

Note: The 2007 amendment to the Code de la Nationalité introduced the right of a Moroccan mother to transmit nationality to her child in certain circumstances, but it did not create an automatic right to nationality for a foreign husband of a Moroccan woman based solely on the marriage. The five-year residency condition applies regardless of the gender of the Moroccan spouse.

Nationality by Naturalization (Long Residence)

Under Article 11 of the Code de la Nationalité, a foreign national who has legally and continuously resided in Morocco for at least five years may apply for Moroccan nationality by naturalization (naturalisation). The conditions include:

  • Five years of continuous and documented legal residency in Morocco at the time of application
  • Good moral conduct and character, assessed through a criminal background review
  • Adequate knowledge of the Arabic language (assessed informally as part of the administrative review)
  • Absence of any serious conviction in Morocco or abroad that would be incompatible with Moroccan nationality standards
  • Financial and social integration in Morocco

The five-year requirement may be reduced to two years for certain categories, including:

  • Persons who have rendered distinguished services to Morocco (scientific, cultural, economic, or other contributions)
  • Persons with a recognized exceptional professional or academic qualification that benefits Morocco
  • Persons born in Morocco to parents who were themselves born in Morocco

Nationality by Decree

Moroccan nationality can also be conferred by dahir (royal decree) in exceptional circumstances. This pathway is reserved for persons who have rendered exceptional service to Morocco or whose acquisition of nationality is in Morocco's national interest. It is not a pathway that is generally accessible through an ordinary administrative application — it requires ministerial recommendation and royal approval.

Cases of nationality by decree are rare and involve distinguished individuals in scientific, cultural, diplomatic, economic, or humanitarian domains.

Documents Required

A nationality application file submitted to the Ministry of Justice typically includes:

  • Completed application form
  • Valid passport and copies of all previously held passports (to establish continuous presence in Morocco)
  • Certified copy of birth certificate, translated and legalized
  • Copies of all cartes de séjour and récépissés demonstrating the residency history
  • For marriage-based applications: certified copy of the Moroccan marriage certificate (acte de mariage), copy of the Moroccan spouse's national identity card, family booklet
  • For naturalization-based applications: evidence of integration (employment records, business registration, community ties)
  • Criminal record certificate from the country of origin and from Morocco (casier judiciaire)
  • Medical certificate of good health
  • Recent passport-sized photographs
  • Any other documents the Ministry of Justice may request

Processing Authority

Moroccan nationality applications are submitted to and processed by the Ministry of Justice, specifically the Direction des Affaires Civiles. In practice, applications are often filed through the public prosecutor's office (parquet) at the Tribunal de Première Instance in the applicant's place of residence, which forwards them to the Ministry of Justice.

Processing times for nationality applications are significantly longer than for residency card procedures. Applications may take between one and several years to be fully processed, as each file is reviewed individually and the grant of nationality involves a discretionary decision. In some cases, the decision is formalized by a royal dahir published in the Official Bulletin (Bulletin Officiel).

Dual Nationality and Morocco

Morocco does not require a person acquiring Moroccan nationality to formally renounce their previous nationality under Moroccan law. As a result, many persons hold Moroccan nationality alongside another nationality — particularly among the large Moroccan diaspora in Europe and North America.

However, two important caveats apply:

  • The laws of the applicant's other country of nationality determine whether that nationality is retained or automatically lost upon acquiring Moroccan nationality. Some countries require renunciation upon acquiring another nationality; this is governed by foreign law, not Moroccan law.
  • When a person holds both Moroccan and another nationality, Moroccan authorities treat them as Moroccan for all purposes within Morocco. The other nationality is not recognized by Moroccan authorities on Moroccan territory — consular protection by the other state may therefore be limited in practice.

Frequently Asked Questions

Can I get Moroccan nationality if I marry a Moroccan?

Marriage to a Moroccan does not automatically confer nationality. After five years of legal residency in Morocco on the basis of the marriage, the foreign spouse may apply for nationality under Article 10 of the Code de la Nationalité. The application is reviewed by the Ministry of Justice and the outcome is discretionary.

How many years of residency are needed for naturalization in Morocco?

The standard requirement is five years of continuous legal residency. The period may be reduced to two years for persons who have rendered significant services to Morocco or who meet other exceptional criteria established in the Code.

Does Morocco allow dual nationality?

Morocco does not require renunciation of another nationality under Moroccan law. Many persons hold dual or multiple nationality involving Morocco. However, the laws of the other country govern whether that nationality is retained, and Moroccan authorities treat dual nationals as Moroccan on Moroccan territory.

What are the language or integration requirements for Moroccan nationality?

There is no formal language examination, but knowledge of Arabic is evaluated informally as part of the Ministry of Justice's review. Integration factors including length of residence, family ties, professional establishment, and conduct in Morocco are also assessed.

How long does the Moroccan nationality process take?

Nationality applications are processed by the Ministry of Justice and can take one to several years. Processing is significantly slower than residency card procedures. Each file is reviewed individually, and the grant of nationality is a discretionary act in most cases.

Have a Legal Question?

This guide is for informational purposes. For advice specific to your situation, contact our office.

Request a Consultation