Moroccan nationality law is transmitted by filiation or birth in Morocco, though citizenship can be granted if only a father is born in the country.
Moroccan nationality law is the subject of the Moroccan Dahir (decree) of September 6, 1958, official Bulletin Number 2394. In general, Moroccan nationality is transmitted by filiation (father and mother) or birth in Morocco. However, it gives the right to Moroccan males to transmit citizenship to their children and foreign wives, and since the last update, that is possible for women. Since the last update, the Article 6 of the Moroccan code of nationality says that a child born of a Moroccan father, or a child born of a Moroccan mother is a Moroccan citizen. According to Article 7, a child born in Morocco to unknown parents is a Moroccan citizen. According to Article 9, any child born in Morocco of foreign parents, who themselves were born in Morocco, can become a Moroccan citizen provided that they make request to that effect. Any foreign woman married to a Moroccan citizen, with regular and continuous residence in Morocco for at least 5 years, can apply for citizenship. People who have obtained Moroccan nationality by the effect of the law can claim the same rights as a Moroccan having nationality of origin (by filiation). 
