History of Morocco

Morocco didn’t really exist as a modern nation until the 20th century. It was only after the French and Spanish occupation around 1912, and independence in 1956, that the country began to take shape as a unified state. Before that, forget neat borders — think tribal patchwork.

Power was divided between two zones. The Bled el Makhzen (literally, “Lands of the Storehouse”) were the regions under sultan control: the cities and plains around Fez, Marrakesh, Rabat and Meknes. Everywhere else — the mountains, deserts, and interior — was Bled es Siba or “Lands of the Dissidents”, where local Berber tribes did their own thing and central authority barely existed.

This push-pull between tribal independence and state control is one of the defining themes in Moroccan history. The other is the rise and fall of dynasties. It looks chaotic at first — tribal revolts, power struggles, sultans with names that blur together — but it boils down to seven main ruling families.

The first was the Idrissids, who founded Fez in the 8th century and set the blueprint for future dynasties by uniting Arab and Berber forces under a single authority. The most recent are the Alaouites, who rose from the Tafilalt oasis in the 1600s. They’re still in power today — King Mohammed VI continues to rule under a constitutional monarchy.

Prehistory (1,000,000-3000 BC)

Long before it became Morocco, this corner of North Africa was wild in every sense. The Maghreb — which also includes Algeria and Tunisia — is a fertile strip of land between the Mediterranean and the Sahara. But until around 3000 BC, the Sahara wasn’t even a desert. It was grassy savannah, home to elephants, zebras and other now-vanished wildlife.

The earliest humans showed up over a million years ago, likely hunter-gatherers moving across what was then a much greener landscape. By around 15,000 BC, Paleolithic communities were settling in. Early agriculture and herding kicked off before the land dried out.

Two distinct Stone Age cultures took root here:

  • The Oranian (or Mouillian) culture, from around 12,000 BC.
  • The Capsian culture, from around 8000 BC.

They left their mark — literally — on the region’s caves and rock faces. You can still see their work in the High Atlas and pre-Saharan regions: primitive drawings of humans, animals and hunting scenes, some of the oldest archaeological evidence in Morocco.

Phoenicians and Carthaginians (1100-146 BC)

Morocco’s recorded history kicks off around 1100 BC, when the Phoenicians arrived — a seafaring people from what’s now Lebanon. By the 7th century BC, they’d set up shop along the coast at places like:

  • Rusadir (Melilla)
  • Tingis (Tangier)
  • Zilis (Asilah)
  • Lixus (near Larache)
  • Chellah (Rabat)
  • Mogador (Essaouira), their westernmost outpost, where they ran a purple dye factory on the Îles Purpuraires

These weren’t massive cities—more like small, fortified trading hubs. They were coastal and strategic, and there wasn’t much contact with the inland tribes the Greeks called Barbaroi — now better known as Berbers.

By the 5th century BC, Carthage — a former Phoenician colony in Tunisia — had become the big player. Under Carthaginian control, some Moroccan ports grew into proper cities, exporting grain and grapes and even minting their own coins.

When Rome crushed Carthage in 146 BC, Morocco’s colonies actually thrived for a while. Carthaginian refugees flooded in, and coastal towns became more cosmopolitan. Even after the Romans eventually pulled out, Phoenician lingered as a spoken language along the shore.

Berber kingdoms and Roman rule (40 BC-533 AD)

Before the Romans took full control, northern Morocco was part of the Berber Kingdom of Mauretania — not to be confused with modern-day Mauritania. Think loose confederation of tribes more than unified kingdom, centered on Volubilis (near Meknes) and Tangier, with occasional alliances with Numidia (in what’s now Algeria).

The standout rulers were:

  • Juba II (25 BC–23 AD), a Roman-educated Berber who married Cleopatra’s daughter and ruled a relatively stable, Romanized kingdom.
  • Ptolemy (23–40 AD), his son, who met a less glamorous end—allegedly murdered by Emperor Caligula for outdressing him at a public event.

In 40 AD, Rome had enough. Caligula ordered Ptolemy's assassination, and by 44 AD, Emperor Claudius imposed direct imperial rule. North Africa was split into two provinces:

  • Mauretania Caesarensis (modern Algeria)
  • Mauretania Tingitana (roughly modern Morocco), with Tangier as the capital and Volubilis as the governor’s seat.

Life under Roman rule

Rome never fully tamed Morocco. The Rif and Atlas mountains stayed independent — setting a long-term pattern. But in the north, Rome made its mark:

  • More than 30 Roman cities dotted the province, according to the geographer Ptolemy.
  • Volubilis thrived, producing wine, grain, olive oil, copper, and the prized purple dye from murex shells.
  • Morocco also shipped exotic animals to Roman arenas and fish sauce (garum) to Roman kitchens.

Still, Rome faced constant resistance. The first uprising took three years and 20,000 troops to crush. Over time, as Berber rebellions picked up and the empire weakened, power shifted from Volubilis to Tangier.

Then came the collapse. In 429 AD, the Vandals — a Germanic tribe led by King Gaiseric — invaded Roman Mauretania. They ruled until 533 AD, when Byzantine general Belisarius took it back for Emperor Justinian. Technically Roman again, but it was a different kind of empire — and a fading one at that.

Discover the best itineraries
How many days to spend in Morocco?
Morocco itineraries

The arrival of Islam (622-750 AD)

Islam reached Kairouan (Tunisia) within 30 years of its founding in 622 AD, but expanding west was tough. Berber tribes in Algeria — mostly pagan, with Jewish and Christian communities — resisted Arab rule.

In 680, Arab general Oqba Ibn Nafi took Ceuta, then reportedly marched to the Atlantic. But he left no garrisons and was killed on his return.

Real Islamic influence came in the early 700s. Moussa Ibn Noussar, Arab governor of the Maghreb, conquered the northern plains and pre-Sahara, converting many tribes. But his eyes were on Spain.

In 711, Muslim forces — mostly Berber converts — crossed from Tangier to Tarifa. Within a decade, they controlled most of Spain, halted only by Charles Martel at Poitiers in 732.

Back home, Arab taxes sparked Berber rebellions. Morocco became Muslim, but not Arab — fragmenting into small, independent states.

The Idrissids (8th-11th centuries)

As the Muslim world split into Sunni and Shi’ite camps, Shi’ites fled persecution, some heading west. One, Moulay Idriss, arrived in Morocco in 787. A descendant of the Prophet and a natural leader, he was welcomed by the people of Volubilis and the Aouraba Berbers. Within two years, he was dead — likely poisoned on orders from Caliph Harun al-Rashid — but not before laying the foundations of Morocco’s first real state.

His son, Moulay Idriss II, born to a Berber mother, became ruler in 807 and presided over what’s seen as a golden age. He expanded authority across the north and deep into the Atlas.

His key legacy? Fez. Developed by his father, it became the new capital. Moulay Idriss II brought in Shi’ite refugees from Cordoba and Kairouan, transforming Fez into a major Arab center. It soon hosted the Kairaouine University, one of the leading Islamic institutions of its time, and became a key hub for trade between Spain, the Maghreb, and sub-Saharan Africa.

After his death, the kingdom fractured. Kharijites — a radical sect that rejected Arab dominance — gained Berber support, especially in Sijilmassa, a key caravan city. But in 909, the Shi’ite Fatimids sacked it, then pushed east to conquer Egypt.

Morocco was left to the Zirids, their Berber allies. When the Zirids later sided with the Sunni Abbasids, the Fatimids unleashed the Banu Hilal, an Arabian tribe, to raid and destabilize the Maghreb.

The Almoravids (1062-1145)

After the chaos left by the Banu Hilal, Morocco was wide open for a power grab. Two Berber dynasties filled the vacuum: first the Almoravids, then the Almohads. Both came from the south, driven by religious zeal and a desire to stamp out the Andalusian decadence creeping in from Muslim Spain.

The Almoravids started among the Sanhaja Berbers of Mauritania — a nomadic desert tribe, like today’s Touaregs. By the 11th century, Islamic practice had gone lax. A sheikh returning from Mecca, along with a fakir from the Souss, launched a reform movement, preaching against wine, music, and polygamy beyond four wives. It spread fast.

They built a ribat (a fortified religious outpost) and launched a jihad. By 1054, they had crushed the Ghana Empire, capturing Koumbi Saleh. Then they turned north, founded Marrakesh in 1062, and under Youssef Ben Tachfine pushed their control across Morocco and into Algiers.

Spanish campaigns

In 1085, Youssef was invited into Spain by Muslim princes panicking after the fall of Toledo to the Christians. He crossed again in 1090, this time to take control. Before his death in 1107, he’d reclaimed Valencia and much of southern Spain.

But the price was high. Moroccan forces were stretched thin. Andalusian cities resented rule from Marrakesh. And back home, critics accused the Almoravids of losing their puritan edge.

Youssef’s son, Ali, wasn’t a warrior. He relied on Christian mercenaries to hold Spain. The dynasty crumbled in the 1140s, swept aside by a new wave of Berber reformers: the Almohads.

The Almohads (1145-1248)

Like the Almoravids they replaced, the Almohads were Berber reformers with a puritan mission — this time from the High Atlas. Their founder, Ibn Toumert, slammed the Almoravids for everything from drinking wine and listening to music to letting women ride horses. He also accused them of denying God’s unity — tawhid, the core of Almohad belief, and the root of their name: the “unitarians.”

Expelled from Marrakesh, Toumert built a ribat at Tin Mal in 1124 and began a campaign of religious conquest. He declared himself the Mahdi, a divinely guided leader promised in the Quran.

His military brain, Abd el Moumen, took over after Toumert’s death. By 1145, he had taken Fez, and by 1147, Marrakesh — ending Almoravid rule.

Peak of power

Under the third sultan, Yacoub el Mansour, the Almohad empire hit its peak:

  • Defeated Christian forces at Alarcos (1195).
  • Pushed east to Tripoli and controlled most of Spain and North Africa.
  • Launched grand building projects, including Rabat, and built monumental gateways in Marrakesh and Seville.

But the cracks soon showed. In 1212, El Mansour’s son, Mohammed en Nasr, lost badly at Las Navas de Tolosa. It was a turning point — the Christian Reconquista picked up speed, and by the mid-1200s, only Granada was left under Muslim control in Spain.

In Morocco, local tribes broke away. In 1248, the Merenids (or Beni Merin) seized Fez, then moved on Marrakesh. The Almohads were finished.

Merenids and Wattasids (1248-1554)

The last centuries of Berber rule in Morocco were marked by decline and division. After the fall of Granada in 1492, the Portuguese took ports along Morocco’s Atlantic and Mediterranean coasts. To the east, the Ottomans expanded, and European sea routes bypassed the trans-Saharan trade, cutting off a vital economic lifeline.

Power in Morocco shifted to a centralized system — the Makhzen — run by mercenary armies, not tribal alliances. This era cemented the divide between Bled el Makhzen (governed lands) and Bled es Siba (everything else).

The Merenids

Few of the 21 Merenid sultans stood out. Early on, they focused on Spain, supporting Granada. One notable ruler, Abou el Hassan, briefly captured Tunis but died before invading Andalusia. His son, Abou Inan, fell in power struggles.

Their real legacy was architecture and culture:

  • Founded Fez el Jedid in 1279.
  • Built ornate medersas, still among Morocco’s finest.
  • Backed scholars like Ibn Battuta, Leo Africanus, and Ibn Khaldun.

The Wattasids

The Wattasids took over in 1465, though they’d long ruled as viziers. Their control was weak and shrinking.

The Portuguese held key coastal cities, while inland regions fell under marabout brotherhoods. The sultans relied on these religious leaders to maintain even basic authority.

The Saadians and civil war (1554-1669)

The Saadians were Morocco’s first Arab dynasty since the Idrissids, rising in the early 1500s as Shereefs — descendants of the Prophet. They began in the Souss, founding a capital at Tagmadert (exact location unknown), then moved to Taroudant. With central rule weak, they took Marrakesh in 1524, while the Wattasids clung to Fez in the north.

The Saadians pushed out the Portuguese, taking Agadir in 1541, then Safi and Essaouira. When the Wattasids collapsed and invited Turkish help, the Saadians took over — but things got messy. Mohammed esh Sheikh, the first sultan to rule both north and south, was assassinated by Turkish troops in 1557, triggering years of factional chaos.

Battle of the Three Kings (1578)

Order returned — by accident — after the Battle of the Three Kings in 1578. A Portuguese crusade, led by King Sebastião, backed a deposed Saadian prince against his uncle. All three kings died. Portugal was crushed, and a new Saadian ruler emerged: Ahmed El Mansour.

Ahmed El Mansour (The Golden One)

Ahmed’s reign (1578-1603) was Morocco’s golden age. Flush with Portuguese ransom money, he kept taxes low and order high. He courted the English and Dutch, supported Protestants against Spain, and invaded Mali, securing control of gold, salt, and slave routes. The wealth earned him the name El Dhahabi (“The Golden One”) and helped revive the title Shereefian Empire, used until 1956.

Civil war and piracy

After Ahmed’s death in 1603, Morocco unravelled. His sons fought for power, and the country split:

  • The Saadians held Marrakesh and the Souss.
  • A marabout group, the Jila, took Fez.
  • Around Salé and Rabat, pirates set up the Republic of Bou Regreg.

The dynasty limped on — but unity was gone.

Moulay Ismail and the early Alaouites (1669-1822)

Like the Saadians, the Alaouites were Shereefs — descendants of the Prophet — who rose from Rissani in the Tafilalt. They took Taza, then Fez, and finally Marrakesh under Moulay Rachid in 1669. But Rachid was killed in a palace coup just three years later. Real control came with his brother: Moulay Ismail.

Moulay Ismail (r. 1672-1727)

Ismail’s 55-year reign was Morocco’s last shot at empire. To some, he was a visionary ruler; to others, a tyrant. Either way, he ruled big.

  • Built a 140,000-strong army of African soldiers, drawn from slaving raids and forced breeding programs.
  • Crushed rebellion, raised taxes, and brought the Bou Regreg pirates under state control.
  • Founded Meknes as a showpiece capital — his answer to Versailles.
  • Negotiated with European powers on equal footing.

His reign helped Morocco stay independent while the rest of North Africa fell to foreign control.

Mohammed III and Moulay Slimane

As usual, Ismail left behind too many sons and no clear heir. Power passed to Mohammed III, who brought brief stability:

  • Retook El Jadida from the Portuguese.
  • Founded the port of Essaouira.
  • Became the first head of state to recognize the USA.

After his death in 1790, civil war returned. Rival claimants battled from Fez and Marrakesh, until Moulay Slimane (r. 1792-1822) took charge.

But the damage was done:

  • The army had collapsed.
  • The Bled es Siba returned.
  • European powers — France, Britain, Spain, Germany — began eyeing Morocco.

Slimane, a devout conservative, focused on suppressing Sufi brotherhoods — a mistake. In 1818, tribes loyal to the Derkaoui order rebelled and briefly captured him.

Worse still, Slimane’s isolationist policies shut Morocco off from Europe. Trade was banned, consuls expelled, and key diplomatic opportunities lost — just as the colonial era was about to begin.

European domination (19th-early 20th century)

Europe’s grip on Morocco tightened throughout the 19th century. While Ceuta, Tangier, El Jadida, and Essaouira had long seen foreign occupation, real encroachment began when the French took Algiers in 1830. Sultan Abd Er Rahman tried to defend fellow Muslims but was defeated at Isly in 1843.

In 1859, Spain captured Tetouan, returning it only after Morocco paid a crushing indemnity — borrowed from Britain, which then took control of Morocco’s customs revenue. Spain also secured a foothold at Sidi Ifni.

Moulay Hassan (r. 1873-1894)

Sultan Moulay Hassan tried to modernize:

  • Minted currency in Paris.
  • Reformed taxation.
  • Hired Turkish, Egyptian, and British military advisors.

But his reforms were blocked by foreign merchants and local elites, and he had to rely on old-school tax raids (harka) to fund the state. He built frontier kasbahs at Tiznit, Saïdia, and Selouane, but died in 1894 while returning from one such campaign.

The last sultans

His teenage son, Abd el Aziz (r. 1894-1907), ruled under the regency of Bou Ahmed — until Bou Ahmed died in 1900. Chaos followed:

  • European “advisors” looted the court.
  • The Rif and Atlas regions broke away.
  • Rebel Bou Hamra launched a five-year revolt.

Meanwhile, European powers divided North Africa behind closed doors:

  • France, Spain, Britain, and Italy carved up “spheres of influence”.
  • Germany made a show of protecting Morocco, but backed down after being promised a slice of the Congo.

In 1907, after violence in Casablanca, the French invaded. Abd el Aziz was deposed by his brother, Moulay Hafid, who tried to fight back — but first had to crush Bou Hamra’s rebellion. By then, Spain had sent 90,000 troops to Melilla, claiming to protect their mining interests. The colonial occupation had effectively begun.

The Treaty of Fez (1912)

Facing rebels at the gates of Fez, Moulay Hafid turned to the French for help — and paid the price. The resulting Treaty of Fez handed Morocco to European control:

  • France took the central and interior regions.
  • Spain got the north coast (Tetouan) and a southern strip east from Tarfaya.
  • Tangier became an international zone.
  • Spain also claimed the Western Sahara, down to the edge of French Mauritania.

Morocco was officially partitioned. Resistance would come — but for now, colonial rule had begun.

The French and Spanish Protectorates (1912-1956)

When France and Spain divided Morocco in 1912, they took very different approaches. France brought its full colonial machinery, promoting a "civilizing mission" — roads, railways, ports, settlers, and bureaucracy. Spain, by contrast, ran its zone like a military outpost, with little investment beyond Ceuta, Melilla, and Tetouan.

Lyautey and the French model

General Lyautey, France’s first Resident General, claimed he wouldn’t interfere with Moroccan traditions. In reality, his troops were busy “pacifying” mountain tribes, building a state with roads, railways, and cities like modern Casablanca. French settlers poured in. Control over the Bled es Siba was, for the first time, made permanent.

But the colonial dream had a dark side: the Protectorate agreement was largely ignored, and Moroccans were sidelined in the rapid economic transformation.

Spain and the Rif Rebellion

In the Spanish zone, control beyond the coastal cities barely existed until 1920. When Spain pushed into the Rif mountains, the fiercely independent Berber tribes united under Abd el Krim.

In 1921, he routed Spanish forces at Annoual, killing over 13,000 troops. Spain was humiliated. France panicked. Together, the two powers fielded 360,000 troops to crush the rebellion — Morocco’s last great tribal uprising. Afterward, the path to independence shifted from armed resistance to political pressure.

French policies backfire

France tried to divide and rule, hoping to play Berbers against Arabs, even introducing a separate Berber legal system in 1930. But the backlash was massive. Instead of creating loyal allies, they stirred nationalist opposition — especially among the educated elite in Fez and Rabat, whom France had tried to groom.

Rise of the Istiqlal Party

Before World War II, nationalist activity was minimal. But by 1943, a new party emerged: Istiqlal, calling openly for independence. The movement grew fast — 10,000 members in 1947, over 100,000 by 1951. France responded with arrests and censorship, but the tide was turning.

Mohammed V and the path to independence

Key to Morocco’s success was Sultan Mohammed V, who aligned himself with Istiqlal. He refused to sign laws, openly supported independence, and defied French pressure. In 1953, he was exiled; the French installed a puppet, Ben Arfa — a move that only boosted Mohammed’s popularity.

By 1955, facing resistance in Algeria, unrest at home, and declining control, France gave in. Mohammed V returned, and in 1956, Morocco won its independence. Soon after, the sultan became King Mohammed V.

Morocco under Mohammed V (1956-1961)

When Mohammed V returned from exile in 1955, he didn’t just reclaim the throne — he inherited a unified, modernizing country. Thanks to decades of French rule, Morocco now had industry, irrigation, roads, and railways. But it lacked one key thing: trained Moroccan administrators.

As both king and religious leader, Mohammed had enormous influence. His first government, dominated by the Istiqlal Party, pushed ahead with reforms:

  • New schools and universities.
  • Regional government introduced.
  • Major infrastructure projects launched.
  • A crackdown on Sufi brotherhoods and Tangier’s European excesses.

Still, the king kept Istiqlal at arm’s length. He preferred to build power through the army and police, helped by Crown Prince Hassan, whose time as army chief would shape his future reign.

Holding the country together

In 1958-59, serious uprisings broke out in the Rif, followed by unrest in the Middle Atlas and the Sahara. The state held firm — thanks to Mohammed’s authority and the army’s loyalty.

Politically, the king backed the Mouvement Populaire (MP), a moderate Berber party, to undercut Istiqlal’s dominance. The move worked. In 1959, Istiqlal split. Its left wing, led by Mehdi Ben Barka, broke away to form the UNFP, aligned with trade unions and pushing for deeper reform.

From then on, party divisions — between moderates, radicals, and regional forces — would become a pattern in Moroccan politics, one that consistently strengthened the monarchy’s hold on power.

Hassan II (1961-1999)

When Mohammed V died in 1961, his son Hassan II took the throne and ruled for nearly four decades — autocratically, with a thin democratic veneer.

Power and repression

A constitution was approved in 1962, but it was written to favor pro-palace parties. Opposition politics were fragile, often met with repression rather than dialogue. The most dramatic example was the Ben Barka affair: opposition leader Mehdi Ben Barka was abducted and murdered in Paris in 1965, likely with the involvement of Moroccan and French agents.

Hassan ruled under emergency powers, suspended parliament, and introduced a new constitution in 1970. But the real threats came from within his own regime.

  • 1971: Army officers launched a coup attempt at Skhirat palace — Hassan escaped in the chaos.
  • 1972: His private jet was attacked mid-air; the pilot bluffed the attackers into standing down.
  • Interior minister General Oufkir — implicated in the coup — died in custody, officially by suicide.

The Western Sahara and the UMA

Hassan found his cause in Western Sahara. When Spain withdrew in 1975, he staged the Green March, sending 350,000 unarmed Moroccans south to claim the territory. Spain backed down, but the Polisario Front, supported by Algeria, launched a guerrilla war.

  • Morocco gained control of key areas.
  • A UN-brokered ceasefire in 1988 promised a referendum on independence — still not held.
  • The conflict poisoned ties with Algeria, blocking the Arab Maghreb Union (UMA), formed in 1989, and shutting the Morocco-Algeria border in 1994.

Economic pain, social unrest

By the 1980s, Western Sahara was draining the economy. Poverty hit 60%, youth unemployment soared, and shantytowns (bidonvilles) grew.

  • 1984: Food price hikes, pushed by the IMF, sparked “bread riots” across the country. Hassan had to reverse the decision to calm the unrest.
  • 1990: A general strike led to riots in Fez and Tangier.
  • Morocco launched Africa’s biggest privatization drive, but the benefits were uneven.

Gradual political opening

Despite the repression, opposition voices grew louder in the 1990s. Former prisoners, like Abraham Serfaty, were released. Survivors of the brutal Tazmamart prison became active in media, academia, and government.

  • 1996: A referendum brought in a new bicameral parliament.
  • 1997: National elections gave no clear winner, but for the first time, Islamist MPs entered parliament (under the moderate MPCD).
  • Hassan appointed opposition leader Abderrahmane Youssoufi (USFP) as prime minister — symbolic, but real power still lay with the palace.

Mohammed VI (1999-present)

When King Hassan II died in 1999, his son Mohammed VI quickly stepped out from his father’s shadow, promising a new, more inclusive era. He won widespread support with a softer tone and symbolic gestures: visiting the neglected north, releasing over 8,000 political prisoners, and sacking the feared interior minister Driss Basri. He welcomed exiled dissidents like Abraham Serfaty, and even freed Abdessalam Yassine, leader of the banned Islamist group Justice and Charity. Dissent was still managed carefully, but the general tone of the new reign was one of cautious openness.

Legal reforms

In 2000, Mohammed announced a National Action Plan for women’s rights. The resulting family law reforms, passed in 2004, banned polygamy, strengthened women’s legal standing, and became a model across the Muslim world. The king also expanded Berber language rights — introducing it into schools and national media.

His reign has also been marked by symbolic reforms, such as mass prisoner releases tied to royal celebrations, and a push to portray Morocco as both modern and faithful to tradition.

Terrorism and state security

The early 2000s brought setbacks. In 2003, a coordinated suicide bombing in Casablanca killed 33, followed by another attack in Marrakesh in 2011. In response, the government launched mass arrests and passed tougher anti-terror laws, tightening state control over Islamist groups.

Morocco also took a firm stand against international terrorism, condemning 9/11 and later distancing itself from Moroccan nationals linked to attacks in Madrid (2004) and other plots in Europe.

Elections and cautious reform

The 2002 elections saw the PJD (Justice and Development Party) enter parliament. By 2011, the Arab Spring protests forced the king to respond: he promised constitutional reform and delivered a new constitution approved by referendum.

  • Berber became an official language.
  • The king remained head of state, military, and religion — but agreed to appoint the prime minister from the largest party.

The PJD won the 2011 and 2016 elections, leading coalition governments under Abdelilah Benkirane and Saadeddine Othmani. But in 2021, the party suffered a crushing defeat — losing 90% of its seats. The National Rally of Independents (RNI), led by billionaire Aziz Akhannouch, took power, shifting the tone back to technocratic, pro-business governance.

Earthquake and recovery

On September 8, 2023, a 6.8 magnitude earthquake struck southern Morocco, killing over 2,800 people and devastating villages in the High Atlas, as well as parts of Marrakesh. The disaster exposed weaknesses in rural infrastructure and emergency response. The king promised a $11.7 billion reconstruction plan, but delivery has been slow, and frustration is rising in remote areas.

Ongoing challenges

  • The Western Sahara dispute still defines Moroccan foreign policy. In 2023, Israel formally recognized Moroccan sovereignty, following similar moves by the US and some African states.
  • But Algeria remains hostile, backing the Polisario Front, and the border between the two countries — closed since 1994 — remains shut.
  • Morocco’s position in the African Union and Arab Maghreb Union is still limited by the Sahara issue.

Prospects

Mohammed VI has largely succeeded in maintaining stability, but critics argue that real power still lies with the monarchy:

  • The king controls the military, security services, religious establishment, and much of the economy.
  • Unemployment, especially among the young, remains high, and wealth inequality is stark.
  • Freedom of speech is wider than under Hassan II, but press laws and red lines — particularly around the monarchy and Western Sahara — remain firmly in place.

Still, the political system has become just open enough for most critics to work within it rather than against it. Protests are frequent, reforms are slow but ongoing, and the king remains a unifying figure in a deeply divided region.