No, it is is considered illegal. On 20 November 2017 the exchange workplace issued a public statement in which it declared, “The Office des Changes desires to inform the general public that the transactions via digital currencies constitute an infringement of the exchange regulations, liable to penalties and fines furnished for by [existing laws] in force.”
The following day, the financial authorities additionally reacted in a statement issued together by the Ministry of Economy and Finance, Bank Al-Maghrib and the Moroccan Capital Market Authority (AMMC), warning against risks associated with bitcoin, which may be used “for illicit or criminal purposes, including money laundering and terrorist financing”.
On 19 December 2017, Abdellatif Jouahri, governor of Bank Al-Maghrib, stated at a press convention held in Rabat during the last quarterly meeting of the Bank Al-Maghrib’s Board of 2017 that bitcoin is not a currency however a “financial asset”. He additionally warned of its risks and called for a framework to be put in place for consumer protection.