Alawi Dynasty of Morocco: Origins, Rulers and Royal Cities

The Alawi dynasty, also called the Alaouite dynasty, is Morocco’s ruling royal family. The family first ruled in Tafilalt around 1631. Its rise to power across Morocco is usually dated to 1666, when Moulay Rashid captured Fez. King Mohammed VI belongs to the same house.

Alawi Dynasty

One way to understand those three and a half centuries is to follow the family from the oasis to the ocean. In Fez, an ambitious ruler had to win over judges and scholars. In Meknes, his younger brother built a capital large enough to house a court and its army. In Essaouira, their successor faced a different question altogether. What would persuade a merchant captain to bring a valuable cargo into a Moroccan port?

Jump to Origins and founders · Moulay Ismail · Atlantic trade · The protectorate · Today’s royal family · Timeline · Places to visit

Where did the Alawi dynasty come from?

Start with a map of Morocco and find Tafilalt on the Saharan side of the Atlas Mountains. The distance from the imperial cities can make the oasis look like an unlikely birthplace for a royal family. For a merchant moving goods north from the Sahara, the geography looked different. Tafilalt had date groves, agricultural land and access to caravan routes. A family with influence here could draw on both local wealth and connections far beyond the oasis.

The Alawis were a sharifian family. In this context, the word refers to their traditional claim of descent from the Prophet Muhammad through his grandson Hasan. That ancestry carried religious prestige. Turning it into political authority took several generations, as the Saadian dynasty weakened and rival leaders competed for towns and trade routes.

The family name appears as Alawi, ʿAlawi and Alaouite. The last spelling is common in French, so a French museum label about the dynastie alaouite and an English history of the Alawi dynasty refer to the same Moroccan house.

What came before the Alawis?

Travelers who know Marrakech may already have encountered the dynasty that preceded them. The Saadian tombs belong to a different ruling house. Like the Alawis, the Saadians claimed descent from the Prophet’s family. That shared claim helps explain why ancestry alone could never settle the question of succession. Several communities might agree on the qualities a ruler should possess while backing different men for the throne.

As Saadian power broke apart, authority passed into several hands. Religious brotherhoods could command territory, towns could support rival leaders, and foreign powers occupied points along the coast. There was no single capital where a newcomer could take possession of a fully functioning kingdom. A leader arriving from Tafilalt had to build support town by town. C. R. Pennell, Morocco: From Empire to Independence, chapter six.

Who founded the dynasty, and why are there two starting dates?

1631 marks the family’s rise in Tafilalt. 1666 marks Moulay Rashid’s capture of Fez. The first date answers a question about a local ruling house. The second answers a question about who governed Morocco. Understanding the difference also explains why two members of the same family appear as founders in accounts of Moroccan history.

In the 1630s, Moulay Sharif emerged as a leader in Tafilalt. His son Mohammed expanded the family’s influence along trading routes. Another son, Moulay Rashid, gained the upper hand in a struggle with his brother in 1664. Fez took longer. Rashid made two unsuccessful attempts before entering the city in 1666. Once there, he appointed a judge and drew religious scholars into his administration. Those early decisions show what it took to hold a city after winning it.

Rashid reached Marrakech in 1669. Seen from the two cities, the transition to Alawi rule happened three years apart. The familiar starting date of 1666 captures the importance of Fez, while the longer chronology shows how uneven the expansion was. UNESCO’s General History of Africa, chapter on Morocco.

Why Moulay Ismail made Meknes an imperial city

Moulay Ismail succeeded his brother in 1672 and ruled until 1727. Meknes already had a medina and a history stretching back to the Almoravids. Ismail’s contribution was the vast imperial city alongside it. From El Hedim Square, look toward Bab Mansour. The size of the gate makes sense once you picture what lay on the other side. A royal court needed space for officials, guards, supplies and horses as well as the sultan’s household.

Walk along the walls before moving on from the gate. The length of those walls tells you something a close-up photograph of the tilework cannot. The sultan had the resources to enclose an entire district, control who entered it and keep the court supplied. UNESCO’s guide to the historic city of Meknes.

The human cost of that concentration of power is harder to see. Historian Chouki El Hamel studied registers drawn up under Ismail when the state forcibly enslaved Black Moroccans, including free people, as it built a military force loyal to the sultan. Officials recorded individuals and families whose freedom the policy took away. Read beside the surviving palace walls, those registers preserve another account of the same reign. Chouki El Hamel in The Journal of African History.

What happened when Moulay Ismail died?

Ismail reigned for fifty-five years. A Moroccan who was a child at his accession could have grandchildren by the time another sultan took the throne. That longevity helped establish the family in power. It also left a difficult question when he died in 1727. Who could command the army he had assembled around himself?

Over the next thirty years, rival sons claimed the succession and military factions helped install and displace rulers. One son, Moulay Abdallah, returned to the throne several times. A portrait gallery might give each sultan one nameplate, but a timeline of these decades needs several entries for the same man. The dynasty survived the crisis even as individual rulers struggled to keep their thrones. A more settled reign began in 1757 with Abdallah’s son, Mohammed III. UNESCO’s historical survey of the Muslim world.

How an Alawi sultan shaped the port of Essaouira

A century after Rashid entered Fez, Sultan Mohammed ben Abdallah, also known as Mohammed III, commissioned a fortified trading port on the Atlantic. Europeans knew it as Mogador. Today it is Essaouira. A ship approaching its harbor and a caravan arriving from inland were heading toward the same market. Bringing that trade through a royal port gave the sultan a source of customs revenue.

For a traveler, the short walk from the harbor into the medina is a way to read the plan. Notice how close together the landing places, defensive walls and commercial streets are. Then compare the view with Bab Mansour in Meknes. One ruler built a monumental entrance for his court. Another invested in a place where merchants could unload, exchange and ship goods. Both cities owe their distinctive outlines to choices made by Alawi sultans. UNESCO’s guide to the medina of Essaouira.

What an American captain could expect in a Moroccan port

A document from Mohammed III’s reign gives a remarkably clear picture of life at sea. In 1786 Morocco and the United States concluded a treaty of peace and friendship. The agreement covered circumstances that rarely appear in royal biographies. How would two ships recognize each other? What happened if bad weather drove a vessel into port? Could a customs official charge duty on cargo that sailors carried ashore while repairing their ship?

Article eight answers that last question. The crew could reload the goods after repairs without paying duty on them. Article nine protected a ship forced into port by the wind from being made to unload. For someone ashore in Essaouira today, the ramparts are the obvious evidence of royal investment. For a captain weighing where to seek shelter, the promise about customs might have mattered just as much. Read the 1786 treaty in translation at Yale Law School.

How did the Alawi sultans lose power to European states?

Two nineteenth-century defeats help explain how a monarchy that negotiated its own maritime treaties came under a protectorate. In 1844, French forces defeated Sultan Abd al-Rahman’s army at Isly, close to the Algerian frontier. The fighting followed the French invasion of Algeria and Morocco’s entanglement in the resistance led by Abd al-Qadir. Events on one side of the frontier had changed what a sultan could safely do on the other.

In 1860, during the reign of Mohammed IV, Spanish forces captured Tetouan in northern Morocco. The peace settlement required Morocco to pay a large indemnity. Spain’s temporary occupation of the city was tied to repayment. In the British Parliament the following year, members were still discussing the installments and the difficulty the sultan faced in raising the money. The afterlife of the battle lay in a treasury as well as on a map. British parliamentary debate on Tetouan and the indemnity, 1861.

These episodes put the Treaty of Fez into perspective. When Sultan Abd al-Hafid signed it in March 1912, European governments had already spent decades pressing claims on Moroccan territory, trade and public revenue. The treaty gave France sweeping authority while preserving the sultanate. Fez therefore marks two very different moments in Alawi history. It was the city where Rashid established his power in 1666 and the place where a later sultan signed away much of his freedom to govern. Library of Congress historical account of the Treaty of Fez.

How Mohammed V went from sultan to king

The word king is a surprisingly recent part of this story. When Mohammed V came to the throne in 1927, his official title was sultan. Morocco had been under a French protectorate since 1912, with Spain administering separate zones. The sultan remained on the throne while colonial authorities exercised much of the power of government.

In the 1940s Moroccan nationalists gave the demand for independence an organized political voice. The Istiqlal movement’s independence manifesto appeared in 1944. In April 1947, Mohammed V delivered a speech in Tangier about Morocco’s rights, its future and its ties to the wider Arab world. His choice of city mattered. Tangier had an international administration, and a speech there carried beyond the French protectorate. To Moroccans listening across those administrative divisions, the sultan could speak of a single country. UNESCO’s General History of Africa, volume VIII.

The limits of the sultan’s authority under the protectorate became clear in 1953, when French authorities removed Mohammed V and sent him into exile. His removal helped make his return a rallying point for the independence movement. He returned to Morocco in November 1955. France recognized Moroccan independence in March 1956, and in 1957 Mohammed V adopted the title of king. So if you encounter both “Sultan Mohammed V” and “King Mohammed V,” the date tells you which title fits. Historical account from Edinburgh University Press.

What role does the Moroccan royal family have today?

Three generations connect the independence era to the present. Mohammed V’s son Hassan II ruled from 1961 to 1999. Morocco adopted its first constitution in 1962, early in his reign. The decades that followed also included the period Moroccans call the Years of Lead, when political opponents faced imprisonment and enforced disappearance. Testimony from victims and their families later became part of the work of Morocco’s truth commission. Human Rights Watch’s historical background on the commission.

Hassan II’s son Mohammed VI came to the throne in 1999. The 2011 constitution gives a precise answer to what the monarch does. Article 41 sets out the king’s religious responsibilities as Amir al-Mu’minin, usually translated as Commander of the Faithful. Article 42 identifies him as head of state. Article 47 connects the monarchy to parliamentary elections by requiring the king to appoint the head of government from the political party that finishes first in elections to the House of Representatives. Morocco’s constitution, articles 41, 42 and 47.

How does succession work in the modern royal family?

Article 43 of the constitution sets out the order of succession. The crown normally passes down the direct male line to the eldest son, although the king may designate another of his sons during his lifetime. The present crown prince is Moulay Hassan, son of Mohammed VI. A reader looking through family photographs therefore encounters the name Hassan in two generations on either side of the current king. Hassan II was Mohammed VI’s father. Crown Prince Moulay Hassan is his son. Moroccan Royal Office statement identifying the king and crown prince.

The distinction between succession then and now is especially clear if you return to the early family history. Moulay Rashid was followed by his brother Ismail. Ismail’s sons then competed for the throne. Applying today’s constitutional rule backward would leave one of the most important changes in the history of the monarchy unexplained.

Alawi dynasty timeline at a glance

  • 1631 — Moulay Sharif establishes the family’s local authority in Tafilalt.
  • 1666 — Moulay Rashid takes Fez. He reaches Marrakech in 1669.
  • 1672–1727 — Moulay Ismail rules from Meknes and builds its imperial quarter.
  • 1727–1757 — After Ismail’s death, rival claimants compete for the throne.
  • 1760s — Mohammed III develops Essaouira as a royal Atlantic port.
  • 1786 — Morocco concludes a treaty of peace and friendship with the United States.
  • 1844 and 1860 — Defeats at Isly and Tetouan increase foreign pressure on the sultanate.
  • 1912 — The protectorate era begins. The office of sultan survives under colonial rule.
  • 1955–1957 — Mohammed V returns from exile, Morocco regains independence, and the sultan takes the title of king.
  • 1961 and 1999 — Hassan II succeeds Mohammed V. His son Mohammed VI succeeds him in turn.
  • 2011 — A new constitution sets out the roles of the king, parliament and government.

Which city should you visit for Alawi history?

Choose Meknes if you have time for one stop. Stand on El Hedim Square facing Bab Mansour, then turn back toward the medina. In a few steps you can see the relationship between the city people already lived in and the imperial quarter Ismail added beside it. That distinction is easy to lose when an entire city is described simply as “royal.”

If your route takes you to the coast, choose Essaouira for a different chapter. Begin at the harbor and follow the route goods would have taken into town. In Meknes, ask what it took to supply a court. In Essaouira, ask how a cargo reached its market and who collected the duty. Those two questions will tell you more about how this dynasty governed than a list of royal names alone.

What to look for in Rabat

In Rabat you can stand on one esplanade and see two royal histories separated by more than seven centuries. Hassan Tower belonged to an unfinished Almohad mosque. Across the open space is the twentieth-century Mausoleum of Mohammed V. Inside are the tombs of Mohammed V and two of his sons, Hassan II and Prince Moulay Abdallah. The shared name can easily lead a first-time visitor to associate Hassan Tower with Hassan II. Look first at the reddish stone tower, then at the green roof of the mausoleum. The king is buried in the latter. UNESCO’s Rabat history and Visit Rabat’s mausoleum guide.

Common questions about the Alawi dynasty

Is the Alawi dynasty Arab or Amazigh?

The royal family traces its paternal ancestry to Arabia and to Hasan, grandson of the Prophet Muhammad. Its political origins are Moroccan, in the oasis society of Tafilalt. The ancestry claimed by one family says little about the ancestry or languages of the many communities it ruled. This is particularly worth remembering when traveling between the Arabic- and Amazigh-speaking regions of Morocco.

Was Moulay Ismail the first Alawi sultan?

His brother Moulay Rashid had already captured Fez and Marrakech before Ismail succeeded him in 1672. Ismail is closely associated with the establishment of a lasting imperial court in Meknes. For the family’s beginnings, look one generation further back to their father, Moulay Sharif, in Tafilalt.

Was Morocco founded in 1666?

Morocco had a long history of government under earlier dynasties, including the Idrisids, Almoravids, Almohads, Marinids and Saadians. The year 1666 dates the rise of the present ruling house to power in Fez. One of the pleasures of visiting Morocco is seeing these histories side by side. The Saadian tombs in Marrakech, the Almohad tower in Rabat and the Alawi walls of Meknes belong to three different chapters.

Why do Moroccan kings share the name Mohammed?

Names recur within the royal family. The Roman numerals help readers identify the individual and his time. Mohammed III belongs to the eighteenth-century story of Essaouira and Atlantic trade. Mohammed IV faced the Spanish war over Tetouan. Mohammed V led Morocco through independence, and Mohammed VI succeeded Hassan II in 1999. If you come across an unfamiliar royal name on a city tour, the place and century will often tell you which Mohammed you have found.

Comments