# France–Morocco relations

France–Morocco relations are bilateral relations between Morocco and France. They are part of the France–Africa relations.

## First exchanges (8th century)

Following the invasion of Spain from the coast of Morocco by the Umayyad Commander Tariq ibn Ziyad in 711, during the 8th century the Arab caliphate armies invaded Southern France, as far as Poitiers and the Rhône valley as far as Avignon, Lyon, Autun, until the turning point of the Battle of Tours in 732.
France would again become threatened by the proximity of the expanding Almoravid Empire in the 11th and 12th centuries.

## Consuls and physicians (1577–1600)

In 1402, the French adventurer Jean de Béthencourt left La Rochelle and sailed along the coast of Morocco to conquer the Canary Islands.
In the 16th century, the sealing of a Franco-Ottoman alliance between Francis I and Suleiman the Magnificent permitted numerous contacts between French traders and countries under Ottoman influence. In 1533, Francis I sent colonel Pierre de Piton as ambassador to Morocco. In a letter to Francis I dated August 13, 1533, the Wattassid ruler of Fes, Ahmed ben Mohammed, welcomed French overtures and granted freedom of shipping and protection to French traders. France started to send ships to Morocco in 1555, under the rule of Henry II, son of Francis I.
France, under Henry III, established a Consul in Fes, Morocco, as early as 1577, in the person of Guillaume Bérard, and was the first European country to do so. Under Henry, France named Guillaume Bérard as the first Consul of France in Morocco. Bérard, a doctor by profession, had saved the life of the Moroccan prince Abd al-Malik, during an epidemic in Istanbul; when he came to the Moroccan throne, Abd al-Malik wished to retain Bérard in his service.
Bérard was succeeded by Arnoult de Lisle and then Étienne Hubert d'Orléans in the double position of physician and representative of France at the side of the Sultan. These contacts with France occurred during the landmark rules of Abd al-Malik and his successor, Moulay Ahmad al-Mansur.
This was also a time when England was trying to establish friendly relations with Morocco as well, in view of an Anglo-Moroccan alliance, with the visit of Edmund Hogan to meet Muley Abd el-Malek in 1577.
King Henry IV encouraged trade with faraway lands after he had ended of the French Wars of Religion (Edict of Nantes 1598).

## Moroccan missions to France

The first Moroccan mission to France was that by Al-Hajari in 1610–11, who was sent to Europe by the Moroccan ruler to obtain redress against the ill-treatment of the Moriscos. Soon after, Ahmed el-Guezouli visited France in 1612–1613. He first went with Nasser Carta to the Netherlands, where he obtained the intercession of the States General for a visit to France; and then to France where he endeavoured to obtain the restitution of the library of Moulay Zidane, which had been taken by Jean Philippe de Castelane.

## Expeditions of Isaac de Razilly (1619–1631)

Isaac de Razilly, accompanied by Claude du Mas, already sailed to Morocco in 1619, under the orders of Louis XIII who was considering a colonial venture in Morocco. He was able to reconnoiter the coast as far as Mogador. They returned to France accompanied by an envoy in the person of caid Sidi Farès, whose mission was to take back the books of Mulay Zidan.
In 1624, Razilly was put in charge of an embassy to the pirate harbor of Salé in Morocco, in order to again solve the affair of the library of Mulay Zidan. He was imprisoned and put under chains before being released, although he had to leave many Christian captives behind. The mission of Razilly was accompanied by the first Capuchins to establish themselves in Morocco.
As Richelieu and Père Joseph were attempting to establish a colonial policy, Razilly suggested them to occupy Mogador in Morocco in 1626. The objective was to create a base against the Sultan of Marrakesh, and asphyxiate the harbor of Safi. He departed for Salé on 20 July 1629 with a fleet composed of the ships Licorne, Saint-Louis, Griffon, Catherine, Hambourg, Sainte-Anne, Saint-Jean. He bombarded the city the Salé and destroyed 3 corsair ships, and then sent the Griffon under Treillebois to Mogador. The men of Razilly saw the fortress of Castelo Real in Mogador, and landed 100 men with wood and supplies on Mogador island, with the agreement of Richelieu. After a few days however, the Griffon reembarked the colonists, and departed to rejoin the fleet in Salé.
In 1630, Razilly was able to negotiate the purchase of French slaves from the Moroccans. He visited Morocco again in 1631, and participated to the negotiation of the Franco-Moroccan Treaty of 1631, with the help of descendants of Samuel Pallache (see Pallache family). The Treaty give France preferential treatment, known as Capitulations: preferential tariffs, the establishment of a Consulate and freedom of religion for French subjects.

## Alliances
### Early embassies

As early as the 17th century, Moulay Ismaïl, who was looking for allies against Spain, had excellent relations with Louis XIV of France. He sent to the Sun-King ambassador Mohammad Temim in 1682. There was cooperation in several fields. French officers trained the Moroccan army and advised the Moroccans in the building of public works. French Consuls in Morocco were assigned, such as Jean-Baptiste Estelle. The French ambassador François Pidou de Saint Olon, was sent by Louis XIV visited Moulai Ismael in 1693. The Ambassador of Morocco Abdallah bin Aisha also visited Paris in 1699.

### Collaboration

After the end of the Seven Years' War, France turned its attention to Barbaresque pirates, especially those of Morocco, who had taken advantage of the conflict to attack Western shipping. The French fleet failed in the Larache expedition in 1765.
Some contacts continued during the 18th century, as when the French engineer Théodore Cornut designed the new harbour of Essaouira for King Mohammed ben Abdallah from 1760. In 1767, France established a treaty with Morocco, which gave her consular and diplomatic protection. This treaty would become a model for other European powers for the following years.
In 1777, Mohammed ben Abdallah further sent an embassy to Louis XVI, led by Tahar Fennich and Haj Abdallah. The embassy brought as presents 20 French slaves previously captured in Provence by the pirates of Salé, as well as 6 magnificent horses. The two ambassadors remained in France for 6 months.
Another Moroccan embassy to France in 1781 was sent, but failed to be recognized on the pretext that the title of the king of France had not been properly rendered.

## Industrial era
### First Franco-Moroccan War

After the troubled periods of the French Revolution and the Napoleonic Wars, France again showed a strong interest in Morocco in the 1830s, as a possible extension of her sphere of influence in the Maghreb, after Algeria and Tunisia. The First Franco-Moroccan War took place in 1844, as a consequence of Morocco's alliance with Algeria's Abd-El-Kader against France. Following several incidents at the border between Algeria and Morocco, and the refusal of Morocco to abandon its support to Algeria, France faced Morocco victoriously in the Bombardment of Tangiers (August 6, 1844), the Battle of Isly (August 14, 1844), and the Bombardment of Mogador (August 15–17, 1844). The war was formally ended September 10 with the signing of the Treaty of Tangiers, in which Morocco agreed to arrest and outlaw Abd-El-Kader, reduce the size of its garrison at Oujda, and establish a commission to demarcate the border. The border, which is essentially the modern border between Morocco and Algeria, was agreed in the Treaty of Lalla Maghnia.
In the aftermath of the war, Sultan Abd al-Rahman sent a mission to France in 1845 led by Ambassador ʿAbd al-Qādir ʾAshʿāsh of Tetuan. The visit was described by the faqih and royal scribe Muḥammad Bin Abdellah aṣ-Ṣaffār in ar-Rihla at-Tetuania Ila ad-Diar al-Faransia (الرحلة التطوانية إلى الديار الفرنسية The Tetuani Journey to the French Abodes) in a lone manuscript for the sultan.

### French conquest of Morocco

The United Kingdom recognized France's "sphere of influence" in Morocco in the 1904 Entente Cordiale, provoking a German reaction. The First Moroccan Crisis of 1905-1906 was resolved at the Algeciras Conference in 1906. The Treaty of Algeciras formalized France's preeminence among European powers in Morocco, and gave France a number of colonial privileges: control over duties at Moroccan ports, a contract to develop the ports of Casablanca and Asfi, and joint control with Spain over policing in Morocco.
The French military conquest of Morocco began in March 1907 when General Lyautey occupied Oujda, ostensibly in response to the murder of the French doctor Émile Mauchamp in Marrakesh. A western front was opened in August 1907 with the Bombardment of Casablanca and the following "pacification of the Chawiya."
The Second Moroccan Crisis, or the Agadir Crisis—in which France sent a large number of troops to Fes and Germany responded by sending a gunboat to Agadir and threatening with war—increased European Great Power tensions. It was resolved with the Franco-German Treaty of November 4, 1911.

## Colonial period

The Treaty of Fes (March 30, 1912) made Morocco a French protectorate. From a strictly legal point of view, the treaty did not deprive Morocco of its status as a sovereign state.
Even after the Treaty of Fes, France waged wars of conquest in Morocco, notably the Zaian War in the Atlas and the Rif War in the north.

### World War I

France recruited infantry from its colony in Morocco to join its troupes coloniales, as it did in its other colonies in Africa and around the world. Throughout World War I, a total of 37,300-45,000 Moroccans fought for France, forming a "Moroccan Brigade." Moroccan colonial troops first served France in the First Battle of the Marne, September 1914, and participated in every major battle in the war, including in Artois, Champagne, and Verdun. Brahim El Kadiri Boutchich identified the participation of Moroccan soldiers in the service of France in WWI as "one of the most important moments in the shared history of Morocco and France."

### Independence

In late 1955, King Mohammed V successfully negotiated the gradual restoration of Moroccan independence within a framework of French-Moroccan interdependence.

## Post-independence

On October 22, 1956, French forces hijacked a Moroccan airplane carrying leaders of the Algerian National Liberation Front (FLN) during the ongoing Algerian War. Mohammed V supported the FLN in the struggle for Algerian Independence and offered to facilitate the participation of FLN leaders in a conference with Habib Bourguiba in Tunis. The plane, which was carrying Ahmed Ben Bella, Hocine Aït Ahmed, and Mohamed Boudiaf, was destined to leave from Palma de Mallorca for Tunis, but French forces redirected the flight to occupied Algiers, where the FLN leaders were arrested. In the aftermath, Anti-French riots in and around Meknes led to dozens of casualties.
Mehdi Ben Barka was a Moroccan politician, head of the left-wing National Union of Popular Forces (UNPF) and secretary of the Tricontinental Conference. An opponent of King Hassan II, he "disappeared" in Paris in 1965.
On March 3, 1973, King Hassan II announced the policy of Moroccanization, in which state-held assets, agricultural lands, and businesses that were more than 50 percent foreign-owned—and especially French-owned—were transferred to political loyalists and high-ranking military officers. The Moroccanization of the economy affected thousands of businesses and the proportion of industrial businesses in Morocco that were Moroccan-owned immediately increased from 18% to 55%.

## Current relations

Current relations between France and Morocco have been characterized as neocolonial. As a francophone former colony (that nominally kept its independence) of France, Morocco falls into the cadre of Françafrique, a term used to refer to often neocolonial relations between France and its former colonies in Africa. These relations between the French Republic and the Kingdom of Morocco exist mainly in the domains of trade, investment, infrastructure, education, and tourism.
In 2021, the French government determined to "drastically" reduce the number of visas issued to Moroccan citizens (as well as Algerians and Tunisians), arguing the lack of collaboration from those countries vis-à-vis deportations from France.
In November of the same year, relations cooled due to the incidents on the Ceuta border, the resurgence of the debate on the sovereignty of Western Sahara and the conflictive diplomatic situation of Morocco with all its neighbors, especially Algeria.
On 10 February 2023, King Mohammed VI, Terminated Mohamed Benchaaboun Duties as Ambassador to France. The termination took effect on the same day as the European Parliament’s decision to vote on a hostile resolution that accused Morocco of intimidating and harassing journalists and activists. On 27 February 2023, Emmanuel Macron stated, “We will move forward. The stage is not the best, but this will not stop me”, in order to have good relations with Morocco.
In July 2024, French President Emmanuel Macron declared Morocco's autonomy plan as the “only basis” for resolving the conflict, his statement expressing support for Western Sahara to be ruled “within the framework of Moroccan sovereignty”. The Moroccan government welcomed the announcement by France.

### Economy

Morocco is the main recipient of French investment on the African continent, and France remains Morocco's primary foreign investor, primary trade partner, and primary creditor—by far. French foreign direct investment is present in every sector of the Moroccan economy, including the national airline, Royal Air Maroc, and the national rail network, ONCF. Moroccans do also invest in France; for example, the Royal Moroccan Air Force depends on French aeronautical technologies. Over 750 subsidiaries of French companies—such as Orange, Total, and Lydec—are present in Morocco, employing around 80,000 people.
As the kingdom's primary trade partner, France benefits from Morocco's lack of energy reserves and food security—which create a constant dependency on foreign trade and a permanent trade deficit in Morocco. In 2008, Morocco exported $15 billion of goods and services while it imported $35 billion—primarily from France.

### Education

Morocco also imports education from France. To this day, French schools, which are colloquially referred to as la mission—whether they're actually related to Mission Laïque Française or not—and in which French is the language of instruction and Arabic is only taught as a second language, still have a major presence in Morocco. The schools are certified by the Agency for French Education Abroad, and administered by the French Ministry of Foreign Affairs, and the student body is typically composed of the children of Morocco's elite and well-to-do classes. These schools, such as Lycée Lyautey in Casablanca, are typically located in big cities such as Casablanca, Rabat, Fes, Marrakesh, Meknes, and Oujda.
France is the number 1 destination for Moroccan students leaving the country to study abroad, receiving 57.7% of all Moroccans studying outside of Morocco. Moroccan students also represent the largest group of foreign students in France, at 11.7% of all international students at universities in France, according to a 2015 UNESCO study.
According to a study published in 2019, 35% of Moroccans speak French—more than Algeria at 33%, and Mauritania at 13%.
There are approximately 1,514,000 Moroccans living in France, representing the largest community of Moroccans outside of Morocco. The INSEE announced that there are approximately 755,400 Moroccan nationals residing in France as of October 2019, representing 20% of France's immigrant population. King Mohammed VI chose France as his first state visit and the French President returned the favor. France financed 51% of the Al-Boraq high speed rail project, which was inaugurated by King Muhammad VI and President Emmanuel Macron on November 15, 2018.

### Immigration

Moroccan immigration to France is a hot political issue in French politics. In 2024, the murder of Philippine Le Noir de Carlan by a Moroccan migrant resulted in a administrative scandal.

### Sport

The Morocco national football team in recent years has featured a significant number of players born in France. The squad for the 2013 Africa Cup of Nations featured 10 French-born players. Eight of the players selected for the 2018 World Cup were born in France.
During the 2024 Summer Olympics in Paris, Morocco provided security assistance to France including security personnel and bomb disposal officers.

## Resident diplomatic missions

* Embassy of France in Rabat
* Embassy of Morocco in Paris
* Consulate-General of Morocco in Lyon
* Consulate-General of Morocco in Pontoise
* Consulate-General of Morocco in Rennes