The common belief is that Morocco is a francophone country in the same way France is, so French must be the everyday language of the street. The accurate answer is that Morocco speaks French because France held the country as a protectorate from 1912 to 1956, and French stayed on after independence as the language of schools, business and much of government, while Moroccan Arabic and the Amazigh languages remain the languages most people speak at home.
So French in Morocco is a second language of education and public life, not a mother tongue. If you are visiting, that distinction tells you what to expect: French gets you through hotels, hospitals, banks and offices, but not always through a neighbourhood café or a rural market.
What the Protectorate Did
France signed the Treaty of Fes with Morocco in 1912 and governed the country as a protectorate until independence in 1956. During those 44 years the administration, the school system and much of the modern economy were run in French. That is the direct origin of the language's role: it was the language of the state, not the language of the household.
Independence did not remove French. Arabic was made the official language, but the schools, the civil service and the businesses that had been built in French kept working in French because there was no ready-made Arabic vocabulary or trained Arabic-speaking staff for every technical field. The result is a layered language situation that has lasted for decades.
Who Speaks French, and Where
Moroccan Arabic (Darija) is the spoken language of most Moroccans, and the Amazigh languages are spoken by large communities, particularly in the mountains and the south. French is learned at school and used in specific settings. A useful rule of thumb: the more formal, urban or technical the setting, the more likely French is the working language.
Settings where French is the default
University lectures in science and engineering, hospital records and specialist consultations, bank paperwork, corporate offices, large hotels, car rental desks, and the signage and menus aimed at international visitors. If you need to read a contract or a medical report, it will very often be in French.
Settings where French may not help
Small shops, taxi conversations, local markets, and everyday chat between Moroccans. Here Darija or Amazigh is normal, and a visitor who opens in French may get a reply in French out of politeness, or a blank look in a rural area. Spanish is also useful in the north, around Tangier and Tetouan, for reasons of geography and older ties, and English is increasingly common among younger educated Moroccans, though it is not a substitute for French in official settings.
French in Schools and Government
French is introduced in primary school and becomes a main language of instruction for scientific and technical subjects in secondary school and university. Arabic is used for other subjects and for official documents. This split is why a Moroccan graduate may be perfectly fluent in French for their profession while speaking Darija at home.
In government, Arabic is the official language of laws and official correspondence, and French is widely used in administration, in the press and in business. The practical effect for a visitor or a new resident is that you should assume French for anything written and official, and spoken Darija for anything informal.
A simple worked example makes the split concrete. Imagine a Moroccan student who speaks Darija at home, learns Arabic and French at school, and studies engineering at university. Their lecture notes, textbooks and exams are largely in French; their group chat with classmates is in Darija; their job application is in French; their wedding invitation may be in Arabic. One person, three registers, chosen by setting rather than by preference.
Why French Persisted After 1956
The short answer is that removing a language from a state takes more than a declaration of independence. Three forces kept French in place. First, the education system: teachers, textbooks and curricula were already in French, and replacing them takes generations. Second, the economy: trade, banking and technical professions were organized in French, and employers needed French-speaking staff. Third, the wider world: French is an international language of diplomacy and business, and Morocco's ties to France and to francophone Africa gave French a practical value beyond colonial history.
Language policy has shifted over time. Arabization of education and administration has been pursued in phases, and there have been debates about the balance between Arabic, French and Amazigh in schools. Amazigh was recognized as an official language in the 2011 constitution, alongside Arabic. The direction of policy can change with each government, so if you need to know the current rules for a school or a document, check with the institution directly rather than relying on a general description.
What This Means for a Visitor
If you speak French, you can handle most travel situations in cities: hotels, restaurants with tourist traffic, pharmacies, car rental, and police or hospital encounters. If you do not, English will often work in tourist-facing businesses, and a translation app covers the rest. Learning a few words of Darija — greetings, please, thank you, numbers — changes how people respond to you, because it signals that you are not treating the country as a French-speaking destination.
Do not assume that speaking French makes you understood everywhere, and do not assume that a Moroccan who answers you in French speaks French at home. The language you hear on the street and the language you read on a form are two different layers of the same country.
Questions the Search Often Leads To
Is French an official language of Morocco?
No. Arabic and Amazigh are the official languages under the constitution. French has no official status, but it functions as a widely used second language in education, administration and business.
Can I get by in Morocco with English only?
In tourist areas, often yes; in hospitals, government offices and smaller towns, less reliably. French is the safer second language to have, and a translation app fills the gaps.
Do Moroccans prefer French or Arabic?
There is no single preference. Many Moroccans are proud of Arabic and Amazigh and use them at home, while accepting French as the language of work and study. The choice follows the situation, not a national rule.
Is Spanish useful in Morocco?
In the north, around Tangier and Tetouan, Spanish is common enough to be useful in shops and everyday exchanges. Elsewhere, French is the more practical second language.