Flags of Morocco

Family research · Phase 8 of the world atlas

Flags of Morocco

Morocco is the odd country out in this hub: the Ottomans never took it, and its ruling dynasty — the Alaouite sharifian line, on the throne since 1666 — is one of the oldest continuous monarchies anywhere in the world. From Phoenician and Carthaginian trading posts and the Berber Kingdom of Mauretania (ruled at its height by Juba II and Cleopatra Selene II) through Roman provincial rule, the early Islamic dynasties of the Maghreb, four centuries of Alaouite sultans, a divided French-and-Spanish protectorate, to a fully independent kingdom, this page traces five eras and the plain red-and-green banner that has flown, largely unaltered, since the early 20th century.

Morocco's modern flag — a red field with a green five-pointed star, the Seal of Solomon — dates only to 1915, added to an older plain-red Moroccan banner under Sultan Yusef during the French protectorate. It survived the protectorate era intact and became independent Morocco's own flag in 1956, unchanged since.

Scope of this page: the lands of present-day Morocco, c. 8th century BCE–present, five political-flag eras. Part of a larger atlas — see the linked pages at the bottom.

Two protectorates, three zones, 1912–1969

Morocco's own real border, split into three zones: France's much larger zone across most of the country, Spain's smaller zone along the northern Mediterranean coast and Tangier hinterland, and Spain's separate, much smaller Ifni & Tarfaya zone in the far south. Press play, or drag the slider. (The international zone of Tangier is a fourth real case, called out in the text below but not drawn separately — see the rule box.)

The sultan's own sovereignty, nominally, never split — only who actually administered each zone did. Spain's far south, Ifni and Tarfaya, was administered separately from both the French protectorate and Spain's own northern zone, and is now drawn as its own zone below. Tarfaya returned to Moroccan sovereignty in 1958, but Ifni itself stayed a Spanish possession until 1969, well over a decade after the main protectorates ended in 1956 — the border line for that southern zone stays solid that much longer. The international administration of Tangier (1923–1956) is a separate, genuine case that still isn't drawn as its own region here: at this map's scale, the city and its small hinterland don't reduce to a legible polygon, so its story is told in the text below instead. The border lines below solidify only where a zone was actually run apart from its neighbor; each dissolves once a single government reunifies the territory.
c. 800 BCE
ALGERIA W. SAHARA SPAIN SPANISH ZONE FRENCH ZONE IFNI & TARFAYA
Phoenician & Carthaginian Posts, and the Berber Kingdom of Mauretania

Schematic internal partition on a real traced border — the French/Spanish and French/Ifni dividing lines are approximate, not surveyed frontiers, and the international zone of Tangier is simplified into the nearer of the drawn zones rather than shown separately. See the rule box above.

red field, green pentagram (Seal of Solomon) — unchanged since 1956
1956 – present

Kingdom of Morocco (independent)

Kingdom, independentMohammed VSunni Islam (Maliki)
Migration & conquest:Emigration: guest workers to Western Europe (1960s–)Emigration: Moroccan Jews to Israel & France (1948–70s)
Ruling house:Alaouite dynasty

Who & why: France and Spain end their protectorates in March and April 1956, restoring full sovereignty to Sultan (from 1957, King) Mohammed V and the Alaouite dynasty that has now ruled continuously since 1666, among the oldest reigning royal houses in the world. Tangier's international zone is reintegrated the same year, and Ifni and the Spanish Sahara follow in later decades.

What it represents: the same red-and-green flag adopted under the protectorate in 1915 carries straight through independence with no design change — a rare case in this atlas of a flag surviving the end of colonial rule completely intact.

Paint guide
Proportions2:3.
LayoutRed field, centered green five-pointed star (Seal of Solomon).
Red#C1272D
Green#006233
Morocco's own flag, flown under dual French and Spanish control
1912 – 1956

French & Spanish Protectorates

ProtectorateMoulay HafidSunni Islam (Maliki)
Migration & conquest:Occupied by: France & Spain (1912–56)Immigration: French & Spanish colonial settlers
Ruling house:Alaouite dynasty

Who & why: the March 1912 Treaty of Fez cedes control to France over most of the country, while Spain administers a northern strip and the southern Ifni/Tarfaya zones, plus an international zone around Tangier. Unlike much of French Africa, Morocco is never annexed outright — the sultan remains nominal sovereign throughout, with French and Spanish residents-general holding real power. Nationalist resistance builds through the 1940s–50s, and Mohammed V's exile in 1953 becomes a rallying point for independence.

What it represents: Morocco's own red flag gains its green pentagram in 1915, under Sultan Yusef, specifically to distinguish Moroccan vessels from other plain-red Ottoman and North African flags — it continues to fly as the sultanate's own banner throughout the protectorate, alongside the French and Spanish flags.

Paint guide
Proportions2:3.
LayoutRed field, green pentagram, added 1915.
Red#C1272D
Green#006233
plain red field, the Alaouite sultanate's banner for nearly two and a half centuries
1666 – 1912

Alaouite Sultanate (independent)

Sultanate, independentMoulay al-RashidSunni Islam (Maliki)
Migration & conquest:Immigration: European captives taken by Barbary corsairs
Ruling house:Alaouite dynasty

Who & why: the Alaouite dynasty, sharifian descendants of the Prophet who established themselves in the Tafilalt oasis in 1631, formally take the Moroccan throne under Sultan Moulay Rashid in 1666. Unlike its Maghrebi neighbors, Morocco is never absorbed into the Ottoman Empire, remaining a fully independent sultanate that fends off Ottoman, Portuguese, and Spanish incursions along its coasts for centuries.

What it represents: a plain red field, a simple and very old Moroccan maritime and state color used by the sultanate long before any emblem was added — red banners are recorded flying over Moroccan ports and fortresses throughout this period.

Paint guide
ProportionsNo fixed ratio recorded.
LayoutPlain red field, no emblem.
Red#C1272D
NO SINGLE FLAG DOCUMENTED
placeholder maroon field — successive dynasties, no single banner
c. 788 – 1666

Early Islamic dynasties of Morocco

Successive dynastiesIdris IIslam (Sunni Maliki from later dynasties)
Migration & conquest:Immigration: Andalusian refugees (11th–17th c.)
Ruling house:Idrisid dynastyAlmohad CaliphateAlaouite dynasty

Who & why: the Idrisid dynasty founds the first independent Islamic state in the far Maghreb around 788, followed across the centuries by the Almoravids, the Almohad Caliphate (at its height ruling most of Iberia and North Africa), the Marinids, and the Saadi dynasty — the Saadis notably repelling a Portuguese invasion at the 1578 Battle of the Three Kings. Each dynasty rules an independent Moroccan state; none is ever incorporated into the Ottoman Empire.

What it represents: no single flag can honestly represent nine centuries and five dynasties — heraldic banners of this era are poorly attested and varied dynasty to dynasty. Shown here honestly blank rather than invented.

Paint guide
ProportionsN/A — no single attested flag across this span.
NO FLAG DOCUMENTED
placeholder — no banner survives from Phoenician, Carthaginian, Mauretanian, Roman, or Vandal/Byzantine rule
c. 8th century BCE – 788 CE

Phoenician & Carthaginian Posts, and the Berber Kingdom of Mauretania

Successive ruleJuba II of MauretaniaPhoenician & Roman paganism, later Christianity (before Islam)
Migration & conquest:Annexed by: Rome (40 CE)Conquered by: Umayyad Arab armies (completed c. 709 CE)

Who & why: Phoenician traders establish coastal posts on Morocco's Atlantic shore, including Lixus, by around the 8th century BCE; Carthage, itself a Phoenician colony, later extends its own trading network along the same coast, including Mogador (modern Essaouira). After Carthage's fall to Rome, the Berber Kingdom of Mauretania emerges as an independent, then Roman-allied, state, reaching a cultured peak under King Juba II and his queen, Cleopatra Selene II — daughter of Cleopatra VII of Egypt — ruling from the city of Volubilis. Rome annexes the kingdom directly in 40 CE, organizing much of the territory as the province of Mauretania Tingitana; Roman rule gradually recedes from the mid-5th century as Vandals cross from Iberia, followed by a Byzantine reconquest of a few coastal strongholds under Justinian, before Umayyad Arab armies complete the conquest of the Maghreb by around 709 CE, setting the stage for the Idrisid dynasty's founding of independent Islamic Morocco in 788.

What it represents: no flag or banner survives, or was likely ever created, by the Phoenician trading posts, Carthage's colonies, the Berber Kingdom of Mauretania, Roman Mauretania Tingitana, or the Vandal and Byzantine rulers who briefly held its coast afterward. Shown here honestly blank rather than invented.

World context: the Phoenician settlement of Morocco's coast runs alongside Carthage's own traditional 814 BCE founding and the height of Phoenician maritime expansion across the Mediterranean. Juba II and Cleopatra Selene II's reign at Volubilis is contemporary with the birth of the Roman Principate under Augustus and the final fall of Ptolemaic Egypt (30 BCE); Rome's 40 CE annexation of Mauretania comes in the same imperial generation as the Roman conquest of Britain beginning under Claudius (43 CE). The Umayyad conquest completing here by 709 CE is part of the same rapid wave of early Islamic expansion that takes Visigothic Spain in 711 and reaches the Indus Valley in the same decade.

Paint guide
ProportionsN/A — no attested flag from any power across this span.

Reading the tags

Successive dynasties — independent rule, no single flag
Sultanate / Kingdom, independent — sovereign under its own crown
Protectorate — nominal sultan, foreign administration
Leader — the named ruler most associated with the era's start
State religion — the official/established faith, not the population's

More of the atlas

This page is one lineage in a larger set. See the region-wide hub and the other countries here: