Did France Colonize Morocco? The French Protectorate Explained
Walk down a boulevard in Casablanca and you will see white Art Deco buildings with wrought-iron balconies. Order a coffee in Rabat and the waiter may answer you in French. Look at a street sign in Marrakech and you might read Arabic, Tifinagh and French side by side. It is natural to wonder: did France colonize Morocco?
The short answer is yes, but with an important nuance. From 1912 to 1956, most of Morocco was placed under a French protectorate, while Spain controlled zones in the north and south. Legally, the Moroccan sultan stayed on his throne and the country was never formally annexed, unlike neighboring Algeria. In practice, however, France held real power for 44 years. In this guide we explain how it happened, what life was like, how Moroccans won back their independence and how that period still shapes the country you visit today.
The Short Answer
Yes, France ruled most of Morocco from 1912 to 1956 under a system called a protectorate. The Treaty of Fes, signed on March 30, 1912, gave France control over Morocco’s foreign affairs, army, finances and administration, while the sultan remained the official head of state. Spain received a protectorate over the Rif in the north and areas in the south, and the city of Tangier later became an international zone.
Morocco regained its independence from France on March 2, 1956, and from Spain on April 7, 1956. Because the monarchy and many traditional institutions survived, historians often describe Morocco’s experience as different from direct colonies such as Algeria, even though Moroccans lived under foreign rule.
The French Protectorate at a Glance
| Question | Answer |
|---|---|
| Did France colonize Morocco? | Yes, as a protectorate rather than a formal colony |
| When did it start? | March 30, 1912, with the Treaty of Fes |
| When did it end? | March 2, 1956 |
| How long did it last? | 44 years |
| Who else ruled parts of Morocco? | Spain in the north and south; Tangier was an international zone |
| Did Morocco keep its sultan? | Yes, the sultan stayed on the throne, but France held real power |
| First French Resident-General | Hubert Lyautey, 1912 to 1925 |
| Is French still spoken? | Yes, widely in business, education and cities |
What Is a Protectorate, and How Is It Different From a Colony?
In a colony, a foreign power takes over a territory and governs it directly as part of its empire. Algeria, for example, was declared an integral part of France and was ruled as French departments for more than a century.
In a protectorate, the local state continues to exist on paper. In Morocco, the sultan kept his title, issued decrees and appeared at ceremonies, and Moroccan institutions such as religious courts continued. However, a French official called the Resident-General controlled the government, the army, the economy and foreign relations, and French officials supervised the administration at every level. The sultan’s decrees were often drafted by the French.
So while Morocco was not legally a French colony, most historians agree that the protectorate was a form of colonial rule. Moroccans did not govern their own country during those years, and European settlers enjoyed many privileges.
Morocco Before 1912: A Long Independent History
To understand the protectorate, it helps to remember how long Morocco had been independent before it. The first Moroccan state was founded by the Idrisids in 788, and powerful dynasties such as the Almoravids, Almohads, Marinids and Saadians ruled empires that at times stretched into Spain and across North Africa. The Alaouite dynasty, which still reigns today, unified the country in the seventeenth century. Morocco also remained outside the Ottoman Empire, which controlled most of North Africa. In 1777, Morocco was among the first states to recognize the United States.
This long history of independence explains why the protectorate was experienced as a break, and why the return of full sovereignty in 1956 was seen as the restoration of an old nation rather than the birth of a new one.
Morocco, Algeria and Tunisia Compared
France ruled all three countries of the central Maghreb, but in very different ways. Comparing them helps explain why Morocco’s experience is often described as a protectorate rather than a colony.
| Country | Type of French rule | Dates | Length |
|---|---|---|---|
| Algeria | Annexed and governed as part of France | 1830 to 1962 | 132 years |
| Tunisia | Protectorate, with the bey kept in place | 1881 to 1956 | 75 years |
| Morocco | Protectorate, with the sultan kept in place | 1912 to 1956 | 44 years |
Morocco came under French rule last and regained independence in the same year as Tunisia. Its centuries-old monarchy survived, which played a key role in the independence struggle and in the country’s identity today.
Is It Correct to Call Morocco a Former French Colony?
In everyday conversation, many people describe Morocco as a former French colony, and the phrase is understandable. Strictly speaking, however, historians usually say Morocco was a French protectorate or under French colonial rule. The difference matters to many Moroccans because the Moroccan state, its monarchy and its sovereignty were never formally abolished. If you want to be precise, “former French protectorate” is the most accurate term.
How Did France Take Control of Morocco?
Morocco had been an independent state for more than a thousand years, ruled by its own dynasties and never conquered by the Ottoman Empire. In the nineteenth century, however, European powers were expanding across Africa, and Morocco’s position at the gateway to the Mediterranean made it a prize. You can read about that earlier independence in our guide to the Moroccan Empire.
Debts, rivalries and the Algeciras Conference
Military defeats against France in 1844 and Spain in 1859 and 1860, followed by growing foreign loans, weakened the Moroccan state. European countries competed for influence, especially France, Spain, Britain and Germany. At the Algeciras Conference of 1906, the powers recognized Morocco’s independence on paper but gave France and Spain a special role in policing and finances.
Oujda, Casablanca and the Agadir Crisis
In 1907, after the killing of a French doctor in Marrakech, French troops occupied Oujda near the Algerian border. The same year, after an attack on European workers, French warships bombarded Casablanca and troops landed in the city. In 1911, a German gunboat arrived at Agadir in what became known as the Agadir Crisis. Germany eventually accepted French control of Morocco in exchange for territory in Central Africa.
The Treaty of Fes, 1912
On March 30, 1912, Sultan Abd al-Hafid signed the Treaty of Fes, which established the French protectorate. Weeks later, Moroccan soldiers in Fes mutinied and the city rose up against the French, but the revolt was crushed. Later that year, France and Spain agreed on the Spanish zones in the north and south.
Lyautey and the Early Protectorate
The first French Resident-General, Hubert Lyautey, governed Morocco from 1912 to 1925 and shaped the protectorate more than anyone else. He moved the capital to Rabat, kept the sultan and traditional elites in place, and chose to leave the old medinas largely untouched. Instead, he built new European districts, the villes nouvelles, next to them. This is why cities like Fes, Meknes, Marrakech and Rabat have an old walled medina on one side and wide French-style boulevards on the other.
Lyautey’s policy has often been described as respectful of Moroccan heritage, but it also separated Europeans from Moroccans and reinforced colonial control. Meanwhile, French troops spent more than two decades on military campaigns, often called “pacification,” to bring the mountains and the south under control.
Moroccan Resistance
Many Moroccans fought back, especially in the mountains, where Amazigh tribes had long defended their independence.
- The Zaian War (1914 to 1921): the Zaian confederation of the Middle Atlas, led by Mouha ou Hammou, resisted French forces for years, notably around Khenifra.
- The Rif War (1921 to 1926): in the north, Abd el-Krim led Rif tribes against Spain, inflicting a major defeat on the Spanish army at Annual in 1921 and creating a short-lived Republic of the Rif. A joint French and Spanish campaign defeated him in 1926.
- Resistance in the Atlas and the south: armed resistance continued in parts of the High Atlas, the Anti-Atlas and the Saharan fringe until the early 1930s.
These struggles are remembered with pride in Morocco today, and they are part of the history of regions you may visit, such as the Middle Atlas.
Life Under the Protectorate
The protectorate transformed Morocco’s economy and cities, but the benefits were unequal. France built ports, railways, roads, dams and modern administrations, and developed phosphate mining, which remains a major industry. Casablanca grew from a modest port into the country’s economic capital. At the same time, European settlers, who numbered around 350,000 by the mid-1950s, acquired large areas of farmland, held most senior jobs and enjoyed better schools and services than the Moroccan population.
| Area | What changed | Who benefited most |
|---|---|---|
| Infrastructure | Ports, railways, roads and dams | Trade and the settler economy |
| Cities | New European districts next to the medinas | European residents |
| Agriculture | Large modern farms and irrigation | Settlers and large landowners |
| Education | French schools and a few Franco-Moroccan schools | A small Moroccan elite |
| Mining | Phosphates and other minerals exploited at scale | The protectorate and companies |
Many Moroccans remember this period for the loss of land, political rights and dignity, even as some aspects of modernization later became part of independent Morocco.
The Rise of Moroccan Nationalism
A turning point came in 1930, when the French issued the so-called Berber Dahir, a decree placing many Amazigh areas under customary law rather than Islamic law. Moroccans saw it as an attempt to divide Arabs and Amazigh, and protests spread from the mosques of Fes and Rabat. A new generation of young nationalists began to organize, presenting a Plan of Reforms in 1934.
On January 11, 1944, the newly formed Istiqlal (Independence) Party issued the Manifesto of Independence, demanding full independence under the sultan. The date is still a public holiday in Morocco.
Morocco in the Second World War
Tens of thousands of Moroccans served in the French army in both world wars. In November 1942, Allied forces landed on the Moroccan coast during Operation Torch, and in January 1943 Casablanca hosted the Anfa Conference, where Franklin Roosevelt and Winston Churchill met. Roosevelt also met Sultan Mohammed V, a meeting that encouraged Moroccan hopes for independence after the war. Moroccan troops, including the famous goumiers, later fought in Italy and France.
Exile, Revolution and Independence
After the war, Sultan Mohammed V openly supported the independence movement. In a famous speech in Tangier on April 9, 1947, he called for Morocco’s unity and its links with the Arab world. Tensions rose, with violent clashes in Casablanca in 1947 and 1952.
On August 20, 1953, French authorities deposed and exiled the sultan and his family, first to Corsica and then to Madagascar. The decision backfired. Protests, strikes and armed resistance spread across the country, and the anniversary is still celebrated as the Revolution of the King and the People. Faced with growing unrest, France allowed Mohammed V to return, and he arrived back in Rabat on November 16, 1955, to huge crowds. Two days later he announced the end of the protectorate, and November 18 is now celebrated as Independence Day.
On March 2, 1956, France and Morocco signed an agreement ending the Treaty of Fes. Spain followed on April 7, 1956, and Tangier rejoined Morocco on October 29, 1956. Some territories took longer: Tarfaya returned in 1958 and Sidi Ifni in 1969. In 1957, Mohammed V took the title of King. Learn more in our guides to the Moroccan royal family and the King of Morocco.
What Happened After Independence?
Independence did not erase the protectorate overnight. French officials, teachers and companies remained for years, and the last French troops left in 1961. The new state created its own currency, the dirham, in 1960, and gradually took over the administration, schools and the economy. Arabic became the main language of government, while French remained important in higher education and business. Learn more about the currency in our guide to the Moroccan dirham.
King Mohammed V died in 1961 and was succeeded by his son Hassan II, who reigned until 1999. His mausoleum in Rabat, next to the Hassan Tower, is one of the most visited monuments in the capital and a symbol of the independence era.
Key Dates at a Glance
| Date | Event |
|---|---|
| 1906 | Algeciras Conference |
| 1907 | French troops occupy Oujda and land in Casablanca |
| 1911 | Agadir Crisis |
| March 30, 1912 | Treaty of Fes: start of the French protectorate |
| 1912 to 1925 | Lyautey serves as Resident-General |
| 1914 to 1921 | Zaian War |
| 1921 to 1926 | Rif War |
| 1930 | Berber Dahir sparks nationalist protests |
| January 11, 1944 | Manifesto of Independence |
| January 1943 | Anfa Conference in Casablanca |
| August 20, 1953 | Exile of Mohammed V |
| November 16, 1955 | Return of Mohammed V |
| March 2, 1956 | Independence from France |
| April 7, 1956 | End of the Spanish protectorate |
| October 29, 1956 | Tangier rejoins Morocco |
Spain, Tangier and the Other Foreign Zones
France was not the only foreign power in Morocco. Spain controlled the Rif and the north, with Tetouan as its capital, as well as zones in the south such as Tarfaya and Sidi Ifni. The Spanish cities of Ceuta and Melilla on the Mediterranean coast predate the protectorate and remain under Spanish administration today, a subject of long-standing Moroccan claims.
Tangier had a special status as an international zone governed by several foreign powers from the 1920s until 1956. That cosmopolitan past attracted writers, artists and spies, and you can still feel it in the cafes and old hotels of the city. In Tetouan, the white Spanish-era district beside the medina is one of the most elegant in the country; see our guide to things to do in Tetouan.
The French Legacy in Morocco Today
Language
French remains widely used in business, higher education, medicine, the media and administration, especially in the cities. Many Moroccans switch easily between Darija, Amazigh languages, French and increasingly English. See our guide to the languages of Morocco.
Cities and architecture
Casablanca has one of the richest collections of Art Deco and early modern architecture in Africa, and its boulevards are a joy to explore. Rabat’s new town, Marrakech’s Gueliz district and the alpine-style town of Ifrane all date from this period. The famous Jardin Majorelle was created by the French painter Jacques Majorelle in the 1920s and 1930s.
Daily life
Cafe culture, baguettes, croissants and pastries are part of everyday life, alongside Moroccan bread and mint tea. The legal and educational systems also show French influence, and France remains one of Morocco’s main economic partners, with a large Moroccan community living in France.
Two Perspectives on the Protectorate’s Impact
Historians and Moroccans themselves debate how to judge this period. Some point to the roads, railways, ports and modern institutions built under the protectorate, many of which independent Morocco inherited. Others stress that these were built mainly to serve the colonial economy and European settlers, that Moroccans were largely excluded from power and education, that land was taken from rural communities and that resistance was put down by force. Most agree that the protectorate brought deep changes, but that Moroccans paid a heavy price and had to fight to win back control of their own country.
How Moroccans Remember the Protectorate
For Moroccans, the protectorate is a period of foreign domination and of national struggle. The heroes of the resistance and of the independence movement are honored in street names, monuments and public holidays such as Independence Manifesto Day on January 11, the Revolution of the King and the People on August 20 and Independence Day on November 18. At the same time, relations with France today are close, and many families have ties on both sides of the Mediterranean.
As a visitor, you will find Moroccans open to talking about history, but it is a sensitive topic. Ask with curiosity rather than assumptions, and you will often hear fascinating family stories.
French in Morocco Today: Tips for Travelers
- A few words of French are useful in cities, hotels, restaurants and taxis, but English is increasingly common, especially among young people.
- In the countryside and the mountains, Darija or an Amazigh language is more common than French.
- Learning a few words of Darija, such as “salam” and “shukran,” is always appreciated. See our guide to saying hello in Moroccan Arabic.
- Menus, road signs and official documents often appear in Arabic and French.
- Avoid assuming Moroccans are “French” or comparing the country only to France; Moroccans are proud of their own long history.
Where to See This History on Your Trip
- Casablanca: Art Deco buildings around Boulevard Mohammed V and the former Sacré-Cœur Cathedral. See the best places to see in Casablanca.
- Rabat: the colonial-era new town and the Mausoleum of Mohammed V. See our Rabat Morocco guide.
- Marrakech: the Gueliz district and the Jardin Majorelle.
- Tangier: the legacy of the international zone and the American Legation.
- Tetouan: the Spanish-era district next to the UNESCO-listed medina.
- Ifrane: the alpine town built in the Middle Atlas in the late 1920s.
Our Honest Take From the Road
Travelers often expect Morocco to feel like a former French colony, and in some ways it does: the language, the cafes, the boulevards. But spend a few days in the medinas, the mountains or the desert and you quickly see that Morocco never stopped being itself. Its monarchy, its Islamic and Amazigh heritage and its centuries-old cities survived the protectorate, and that continuity is one of the things that makes the country so fascinating to explore.
Frequently Asked Questions
Did France colonize Morocco?
Yes. France ruled most of Morocco as a protectorate from 1912 to 1956. The sultan remained on the throne, but France controlled the government, army and economy.
When did France colonize Morocco?
The French protectorate officially began with the Treaty of Fes on March 30, 1912, although French troops had already occupied Oujda and landed in Casablanca in 1907.
How long was Morocco under French rule?
About 44 years, from 1912 until independence on March 2, 1956.
Was Morocco a French colony or a protectorate?
Legally it was a protectorate, not a colony. The Moroccan state and monarchy continued to exist, unlike Algeria, which was annexed to France.
Did Spain also colonize Morocco?
Yes. Spain ruled a protectorate in the north and zones in the south, and it still administers Ceuta and Melilla.
When did Morocco gain independence?
Morocco became independent from France on March 2, 1956, and from Spain on April 7, 1956. Independence Day is celebrated on November 18.
Why do Moroccans speak French?
French spread through schools, administration and business during the protectorate and remains important in education, the economy and the media.
Who led Morocco to independence?
Sultan Mohammed V, later King Mohammed V, together with the nationalist movement, including the Istiqlal Party and armed resistance groups.
Final Thoughts
So, did France colonize Morocco? Yes, for 44 years Morocco lived under a French protectorate, a form of colonial rule that left a deep mark on its cities, languages and institutions. Yet the country kept its monarchy and its identity, and Moroccans won back their independence in 1956 through a remarkable alliance between the king and the people. Understanding this history makes a visit to Casablanca, Rabat, Fes or Tangier far richer.
Interested in Morocco’s history? Contact us, and we will design a private tour through its imperial cities, colonial-era districts and ancient medinas, with local guides who bring the stories to life.
Explore our Morocco trips:
Tours from Marrakech: Cross the High Atlas to Ait Ben Haddou and the dunes of Erg Chebbi.
Morocco Desert Tours: Camel trekking and a night under the stars in a Sahara desert camp.
Tours from Fes: The oldest medina in Morocco, then the Middle Atlas and the desert.
Tours from Casablanca: Begin at the Hassan II Mosque and travel through the imperial cities.
Tours from Tangier: Start in the north with Chefchaouen and the Rif Mountains.
Tours from Ouarzazate: Kasbahs, film studios and the gorges of the south.
Contact us

Your Local Experts
Our Moroccan team organizes private tours from every major city in Morocco: Marrakech, Fes, Casablanca, Tangier, Rabat, Agadir, Ouarzazate and more. Wherever you land, we pick you up and design your trip around your dates and interests.
Plan Your Trip
Click any destination to see more:
Marrakech Desert Tours
- 2 Days Desert Tour from Marrakech
- 3 Days Marrakech to Merzouga
- 3 Days Marrakech to Fes
- 4 Days Marrakech to Merzouga
- 4 Days Marrakech to Fes
- 5 Days Marrakech to Merzouga
- 5 Days Morocco Tour from Marrakech
- 6 Days Morocco Tour from Marrakech
- 7 Days Morocco Tour from Marrakech
- 8 Days Morocco Tour from Marrakech
- 8 Days with Imperial Cities
- 9 Days Morocco Tour from Marrakech
- 10 Days Morocco Tour from Marrakech
- 12 Days Morocco Tour from Marrakech
- 14 Days Morocco Tour from Marrakech