This article summarizes the sequence of rulers who have governed the territory of present‑day Morocco from the establishment of its early state in the late 8th century to the contemporary monarchy. Political authority in the region has been exercised by a succession of dynasties and regimes, and the style borne by the sovereigns has shifted over time from local emirates and sultanates to the modern title of "King," adopted in 1957.

Major dynastic periods

  • Idrisid dynasty (founding period, late 8th–10th centuries) — established the first independent Moroccan polity under Idris I and his successors.
  • Berber empires (Almoravids and Almohads, 11th–13th centuries) — expanded rule across northwest Africa and Iberia under leaders such as Yusuf ibn Tashfin and Ibn Tumart’s successors.
  • Marinid and Wattasid dynasties (13th–16th centuries) — periods of shifting power among North African states, with the Marinids rising after the Almohads.
  • Saadian dynasty (16th–17th centuries) — noted for military successes and cultural patronage.
  • 'Alawi (Alawite) dynasty (from the 17th century to present) — the current ruling house that consolidated control and continues as Morocco’s monarchy.

Titles used by rulers have varied. Medieval and early modern sovereigns were often styled as sultan, emir or amir, and some claimed religious authority using the title amir al‑mu–minin (Commander of the Faithful). Under the contemporary state the ruler is titled King (the modern usage since 1957), combining political leadership with a recognized role as a symbol of national unity.

The 20th century brought major constitutional and geopolitical changes. Morocco experienced European protectorates (notably French and Spanish administrations) in the early 1900s, regained independence in 1956, and shortly thereafter the royal title was formally styled as King. Since independence the monarchy has alternated between periods of centralized royal authority and constitutional reforms that modified the balance of power.

Notable rulers and transitions

  • Idris I — founder of the first Moroccan dynasty.
  • Yusuf ibn Tashfin — Almoravid leader who extended power into Iberia.
  • Abu Yusuf Yaqub al‑Mansur — prominent Almohad sultan known for victories and architectural patronage.
  • Ahmad al‑Mansur — Saadian ruler associated with wealth and diplomacy.
  • Mohammed V — the 20th‑century figure who led Morocco to independence and became head of the modern monarchy.

Researchers and readers seeking complete chronological lists, individual biographies, and dynastic genealogies can consult dedicated lists and scholarly catalogues. For a full sequential list with names and commonly cited dates see the comprehensive compilation at Complete chronological list. For discussion of the modern monarchy, institutional role and recent reforms, see Modern Moroccan monarchy.