Morocco’s official languages are Arabic and Berber. The country’s distinctive group of Moroccan Arabic dialects is referred to as Darija. Approximately 89.8% of the whole population can communicate to some degree in Moroccan Arabic.
The Berber language is spoken in three dialects (Tarifit, Tashelhit and Central Atlas Tamazight). In 2008, Frédéric Deroche estimated that there were 12 million Berber speakers, making up about 40% of the population.
The 2004 population census reported that 28.1% of the population spoke Berber.
French is widely used in governmental institutions, media, mid-size and large companies, international commerce with French-speaking countries, and often in international diplomacy.
French is taught as an obligatory language at all schools. In 2010, there were 10,366,000 French-speakers in Morocco, or about 32% of the population.
According to the 2004 census, 2.19 million Moroccans spoke a foreign language other than French.
English, while far behind French in terms of number of speakers, is the first foreign language of choice, since French is obligatory, among educated youth and professionals.
According to Ethnologue, as of 2018, there are 3,416,590 individuals in Morocco who speak Spanish. Spanish is mostly spoken in northern Morocco and the Spanish Sahara because Spain had previously occupied those areas.
Moroccans in regions formerly controlled by Spain watch Spanish television and have interactions in Spanish on a daily basis.
After Morocco declared independence in 1956, French and Arabic became the main languages of administration and education, causing the role of Spanish to decline.