The practice of the legal profession is reserved for lawyers registered with Moroccan bar associations. Lawyers may form professional civil companies with other lawyers to practice the profession. In order to register as a lawyer with a Moroccan bar association, the candidate must be a Moroccan national or a national of a country that has signed a bilateral agreement with Morocco, authorising nationals of each country to exercise the profession in the territory of the other country.
"Article 2
It is not permissible to practice the legal profession, bear its burdens, enjoy its privileges, and perform its duties, except for a lawyer registered on the roll of one of the bar associations in Morocco or a trained lawyer registered in the training regulations of one of the mentioned bodies.
The legal profession shall be practiced, in accordance with the requirements of this law, with due regard to acquired rights.
[...]
Article 5
A candidate for the legal profession must:
1. To be a Moroccan or a citizen of a country that has an agreement with the Kingdom of Morocco that allows citizens of each of the two countries to practice the legal profession in the other country, taking into account the principle of reciprocity with these countries;
[...]
Article 26
A lawyer may practice his profession alone, or with other lawyers, within the scope of participation, or within a professional civil company, cohabitation or as an assistant.
The legal framework for professional civil companies shall be regulated by law.
However, it is not permissible for a lawyer, or for the participating lawyers, to have only one office.[...]" (Law No. 28-08 of 20 October 2008 amending Law No. 1-93-162 of 10 September 1993 organizing the practice of the legal profession (Royal Decree No. 1.08.101, OG No. 5680 of 6 November 2008), Articles 2, 5 and 26 [google translation])
Law No. 28-08 of 20 October 2008 amending Law No. 1-93-162 of 10 September 1993 organizing the practice of the legal profession (Royal Decree No. 1.08.101, OG No. 5680 of 6 November 2008), Articles 2, 5 and 26 
[<a href="https://adala.justice.gov.ma/production/html/ar/154106.htm">Law</a>]