Discovering...
Discovering...
From the oldest Homo sapiens fossils to the modern kingdom — 3,000 years of dynasties, conquests, independence, and the historical sites that tell Morocco's story.
Morocco stands at the crossroads of Africa, Europe, and the Middle East — a geographic position that has shaped one of the richest and most layered histories of any nation on earth. The territory of modern Morocco has been continuously inhabited for over 300,000 years, making it home to the oldest known Homo sapiens fossils ever discovered, unearthed at Jebel Irhoud in 2017.
Phoenician traders established coastal outposts here a thousand years before Christ. Rome built grand cities with mosaic floors and triumphal arches. Arab conquerors brought Islam, and Berber dynasties forged empires that stretched from the Senegal River to the gates of Paris. The Portuguese and Spanish carved out fortresses along the coast, the French and Spanish imposed protectorates in the 20th century, and Morocco emerged as an independent kingdom in 1956 under the leadership of Mohammed V.
Today, this history is etched into every medina alleyway, every crumbling kasbah, and every imperial gate. Understanding Morocco's past is the key to appreciating the extraordinary cultural mosaic you encounter as a visitor — from the Roman mosaics of Volubilis to the living medieval city of Fes el-Bali.
Key facts about Morocco's historical significance that every visitor should know.
300,000+ Years
Human Habitation
Oldest Homo sapiens fossils found at Jebel Irhoud
7 Dynasties
Major Dynasties
Idrisids through Alaouites, spanning 1,200+ years
9 Listed
UNESCO Sites
Including Fes Medina, Volubilis, and Ait Ben Haddou
March 2, 1956
Independence
From French & Spanish protectorate under Mohammed V
From prehistoric origins to the modern kingdom — the defining moments that shaped Morocco.
The oldest known Homo sapiens fossils, discovered at Jebel Irhoud in 2017, reveal that early humans inhabited Morocco over 300,000 years ago. Stone tools and cave art found across the Atlas Mountains and Sahara region testify to continuous prehistoric habitation.
Phoenician merchants from present-day Lebanon established coastal trading settlements at Lixus (near modern Larache), Tingis (Tangier), and Mogador (Essaouira). These outposts facilitated trade in gold, ivory, and purple dye extracted from murex shells.
Rome annexed northern Morocco as the province of Mauretania Tingitana. The city of Volubilis flourished as the regional capital with grand temples, basilicas, and mosaic-adorned villas. Roman influence extended south to Sala Colonia (Rabat) and Lixus.
The Umayyad general Uqba ibn Nafi led the first Arab expedition into Morocco, introducing Islam to the Amazigh (Berber) population. Resistance was fierce, led by figures like Kahina and Kusaila, but by 710 AD most of Morocco had embraced Islam while retaining Amazigh customs.
Idris I, a descendant of the Prophet Muhammad, fled the Abbasids and established Morocco first Islamic dynasty at Volubilis. His son Idris II founded Fes in 808 AD, which became a center of learning, commerce, and the home of the University of al-Qarawiyyin (founded 859 AD), the oldest continually operating university in the world.
Yusuf ibn Tashfin founded Marrakech and built a vast Saharan Berber empire stretching from Senegal to Spain. The Almoravids unified Morocco, spread Islam across West Africa, and defended Muslim Spain (Al-Andalus) against the Christian Reconquista.
The Almohads, led by Ibn Tumart and Abd al-Mumin, overthrew the Almoravids and built the largest Berber empire in history, spanning from Libya to Spain. They constructed the Koutoubia Mosque in Marrakech, the Giralda in Seville, and the Hassan Tower in Rabat.
The Marinid Berbers succeeded the Almohads and made Fes their capital. They are remembered as great patrons of art and architecture, building the Bou Inania and Attarine madrasas in Fes, and the Chellah necropolis in Rabat. Their reign saw Fes become one of the Islamic world great intellectual centers.
The Saadians, an Arab dynasty from the Draa Valley, defeated the Wattasids and repelled Portuguese invaders at the Battle of the Three Kings (1578). Sultan Ahmad al-Mansur built the lavish El Badi Palace in Marrakech and expanded trade with England and the Ottoman Empire.
The Alaouite dynasty, claiming descent from the Prophet Muhammad, seized power and continues to rule Morocco today under King Mohammed VI. Sultan Moulay Ismail (r. 1672-1727) made Meknes his grand capital, building massive walls, gates, and the Royal Stables.
The Treaty of Fez established the French protectorate over most of Morocco, while Spain controlled the Rif and parts of the Sahara. Marshal Lyautey modernized infrastructure while preserving medinas. Moroccan resistance continued through the Rif War (1921-1926) led by Abd el-Krim.
Sultan Mohammed V led the independence movement and on March 2, 1956, Morocco regained sovereignty from France. Spain relinquished its northern protectorate shortly after. Mohammed V became king, and Morocco embarked on building a modern nation-state.
King Mohammed VI initiated sweeping reforms including the Mudawwana (family code), the 2011 constitutional reform recognizing Amazigh identity, and major infrastructure projects like the Tangier-Med port and Africa first high-speed railway. Morocco today blends ancient traditions with rapid modernization.
Six major dynasties that built, defended, and transformed the Kingdom of Morocco.
788-974 AD
Founded Fes, established Morocco first Islamic state, and built the University of al-Qarawiyyin. Unified the northern Moroccan tribes under a single Arab-Islamic polity.
1040-1147
Founded Marrakech, unified Morocco and Al-Andalus (Muslim Spain), spread Islam across West Africa, and built the Ben Youssef Mosque in Marrakech.
1121-1269
Created the largest Berber empire ever, built the Koutoubia Mosque, the Hassan Tower, and the Giralda. Championed a puritanical Islamic reform movement.
1244-1465
Great patrons of art and learning. Built the madrasas of Fes (Bou Inania, Attarine), the Chellah necropolis, and made Fes the intellectual heart of the Islamic West.
1549-1659
Defeated the Portuguese, won the legendary Battle of the Three Kings (1578), built the El Badi Palace and the Saadian Tombs in Marrakech. Expanded trans-Saharan trade.
1631-Present
The current ruling dynasty. Sultan Moulay Ismail built Meknes as a rival to Versailles. Mohammed V led independence. Mohammed VI modernized Morocco with democratic reforms.
Before the dynasties, Morocco was home to some of humanity's earliest communities.
In 2017, archaeologists at Jebel Irhoud (near Safi) discovered the remains of five Homo sapiens individuals dating to approximately 300,000 years ago. This discovery pushed back the known origin of our species by 100,000 years and proved that early humans were spread across Africa, not just East Africa as previously believed.
From around 1100 BC, Phoenician traders from Tyre and Sidon established settlements along Morocco Atlantic and Mediterranean coasts. Lixus (near Larache) became a major trading hub, while Mogador (Essaouira) served as a waypoint for voyages down the African coast. They introduced alphabetic writing, advanced metallurgy, and the famous Tyrian purple dye industry.
After the fall of Tyre to the Babylonians, Carthage (in modern Tunisia) inherited control of Morocco Phoenician settlements. The Carthaginian explorer Hanno the Navigator sailed down Morocco Atlantic coast around 500 BC, establishing colonies and recording encounters with gorillas. Carthaginian influence waned after the Punic Wars with Rome.
Rome annexed northern Morocco in 40 AD following the assassination of the last Berber client king, Ptolemy of Mauretania. The province of Mauretania Tingitana centered on Volubilis and included major settlements at Tingis (Tangier), Sala (Rabat), and Lixus. Rome brought roads, aqueducts, public baths, and olive oil production to the region.
How Morocco endured colonial rule and won back its sovereignty in the 20th century.
By the late 1800s, European powers competed for influence in Morocco. France and Spain signed treaties carving out spheres of influence, while Britain and Germany jockeyed for economic concessions. The Algeciras Conference of 1906 formalized international interest in Morocco, setting the stage for colonization.
On March 30, 1912, Sultan Abdelhafid signed the Treaty of Fez, establishing the French protectorate over most of Morocco. Spain received the Rif region in the north and the Sidi Ifni enclave in the south. Marshal Hubert Lyautey became the first Resident-General and pursued a policy of preserving Morocco medinas while building modern Villes Nouvelles alongside them.
Abd el-Krim, a brilliant Riffian Berber leader, united the Rif tribes and inflicted devastating defeats on the Spanish army, including the Battle of Annual (1921) where 8,000 Spanish soldiers perished. His Republic of the Rif was eventually crushed by a combined French-Spanish force of 250,000 troops. Abd el-Krim is revered as a hero of anti-colonial resistance.
The Istiqlal (Independence) Party, founded in 1944, demanded full sovereignty. When Sultan Mohammed V openly supported the nationalists, France exiled him to Madagascar in 1953. His exile backfired spectacularly, galvanizing nationwide resistance and making Mohammed V a symbol of Moroccan independence.
Faced with mounting unrest, France agreed to Moroccan independence. Mohammed V returned from exile in triumph on November 16, 1955, and on March 2, 1956, Morocco formally regained its sovereignty. Spain relinquished its northern zone the following month. Mohammed V became the first king of independent Morocco.
Unlike other colonial administrators who demolished historic quarters, Marshal Lyautey ordered that Morocco's ancient medinas be preserved intact while building modern European-style “Villes Nouvelles” (new cities) alongside them. This policy is the reason cities like Fes, Marrakech, and Meknes still have their medieval urban fabric — and why so many Moroccan medinas are UNESCO World Heritage Sites today.
The essential historical landmarks where you can experience Morocco's layered past firsthand.
Near Meknes
UNESCO World Heritage Site and Morocco best-preserved Roman ruins. Features stunning floor mosaics, a triumphal arch, basilica, and Capitol temple. The city was the administrative center of Mauretania Tingitana and later an Idrisid capital.
Rabat
A hauntingly beautiful necropolis combining Roman Sala Colonia ruins with a 14th-century Marinid royal burial ground. Features crumbling minarets, stork nests, fig trees, and a sacred pool. Reopened in 2024 after major restoration.
Near Ouarzazate
UNESCO-listed fortified village of earthen clay buildings along the old caravan route between the Sahara and Marrakech. A living example of pre-Saharan Moroccan architecture and a famous film location for Gladiator and Game of Thrones.
Fes
The world largest car-free urban area and a UNESCO World Heritage Site. Home to the University of al-Qarawiyyin (founded 859), the oldest continually operating university. Over 9,000 narrow alleyways, 300 mosques, and countless artisan workshops.
Marrakech
Magnificent mausoleum complex housing the tombs of the Saadian dynasty, sealed and forgotten for centuries until rediscovered by the French in 1917. Features intricate carved cedar, Italian Carrara marble, and zellige tilework.
Marrakech
The largest mosque in Marrakech with a 77-meter minaret that served as the model for the Giralda in Seville and the Hassan Tower in Rabat. A masterpiece of Almohad architecture visible from across the city.
Rabat
An unfinished minaret intended for the world largest mosque, commissioned by Almohad Caliph Yaqub al-Mansur. The tower stands 44 meters tall (the planned 86 meters was never completed). Surrounded by 200 columns and the Mausoleum of Mohammed V.
Meknes
Considered the most beautiful gate in Morocco, built by Sultan Moulay Ismail. The massive horseshoe arch is decorated with elaborate zellige mosaics, carved marble columns recycled from Volubilis, and intricate stucco work.
How the kingdom has transformed since independence while preserving its heritage.
Under King Hassan II, Morocco experienced political repression known as the "Years of Lead" (Les Annees de Plomb). Political dissidents were imprisoned or disappeared. The Equity and Reconciliation Commission (IER), established in 2004 by Mohammed VI, investigated these abuses and compensated victims, making Morocco one of the few Arab states to formally address past human rights violations.
King Hassan II organized the Green March, in which 350,000 unarmed Moroccan civilians peacefully marched into the Spanish Sahara to assert Morocco territorial claim. The event led to the Madrid Accords and Spain withdrawal. The Western Sahara question remains unresolved and is a defining issue of modern Moroccan diplomacy.
In response to the Arab Spring, King Mohammed VI introduced a new constitution that strengthened parliament, recognized Amazigh (Berber) as an official language alongside Arabic, enshrined gender equality, and established regional governance. The reforms represented a significant step toward democratic monarchy.
Modern Morocco has invested heavily in infrastructure: the Tangier-Med port (Africa largest), the Al Boraq high-speed railway (Africa first, connecting Tangier to Casablanca), renewable energy projects like the Noor-Ouarzazate solar complex (world largest concentrated solar plant), and the hosting of the 2030 FIFA World Cup alongside Spain and Portugal.
Answers to the most common questions about the history of Morocco.
Morocco has been inhabited for over 300,000 years, as evidenced by the oldest known Homo sapiens fossils discovered at Jebel Irhoud in 2017. As a unified kingdom, Morocco dates to 788 AD when Idris I founded the Idrisid dynasty in Volubilis. The modern Kingdom of Morocco gained independence from France and Spain on March 2, 1956, making it one of the oldest continuously ruled monarchies in the world.
Morocco has been shaped by several major dynasties: the Idrisids (788-974 AD), who founded Fes; the Almoravids (1040-1147), Saharan Berbers who built Marrakech; the Almohads (1121-1269), who created an empire spanning North Africa and Spain; the Marinids (1244-1465), patrons of Fes architecture; the Wattasids (1472-1554); the Saadians (1549-1659), who built the El Badi Palace; and the Alaouites (1631-present), the current ruling dynasty under King Mohammed VI.
The French protectorate in Morocco lasted from 1912 to 1956, established by the Treaty of Fez. France controlled most of Morocco while Spain administered the northern Rif region and parts of the Sahara. The protectorate brought modern infrastructure including railways, roads, and the Ville Nouvelle (new city) districts, but also suppressed Moroccan sovereignty and culture. Morocco gained independence on March 2, 1956, under Sultan Mohammed V.
Yes, Morocco has several well-preserved Roman archaeological sites. The most famous is Volubilis (near Meknes), a UNESCO World Heritage Site with impressive mosaics, triumphal arches, and basilica ruins dating to the 2nd and 3rd centuries AD. Other sites include Lixus near Larache, Banasa near Kenitra, and Sala Colonia (the ancient part of Chellah in Rabat). Volubilis is the most accessible and best-preserved, taking about 2 hours to explore.
Morocco has four imperial cities because different dynasties chose different capitals throughout history. Fes was founded by the Idrisids in 789 AD; Marrakech was established by the Almoravids in 1062; Meknes became the capital under the Alaouite Sultan Moulay Ismail in 1672; and Rabat has served as the capital since the French protectorate era in 1912. Each city reflects the architectural and cultural legacy of the dynasty that built it.
Ait Ben Haddou is a UNESCO World Heritage Site and a fortified ksar (village) along the former caravan route between the Sahara and Marrakech. Dating to the 17th century, its earthen clay architecture represents the traditional pre-Saharan building style. It has been used as a filming location for movies including Gladiator, Game of Thrones, and Lawrence of Arabia. A few families still live within the kasbah, and visitors can explore the narrow lanes and climb to the granary at the top.
The Berbers (Amazigh, meaning "free people") are the indigenous inhabitants of North Africa who have lived in Morocco for thousands of years. They played a central role in Moroccan history: the Almoravid and Almohad dynasties were Berber in origin, and Berber tribes resisted both Arab and European colonization. Today, Amazigh culture is officially recognized in the Moroccan constitution (2011), and Tamazight is an official language alongside Arabic. About 40% of Moroccans identify as Amazigh.
The Green March (La Marche Verte) of November 6, 1975, was a mass peaceful demonstration organized by King Hassan II in which 350,000 unarmed Moroccan civilians marched into the Spanish Sahara to assert Morocco claim to the territory. Spain had been the colonial ruler of the region, and the march led to the Madrid Accords, by which Spain ceded the territory. The Green March is celebrated annually as a national holiday in Morocco and remains one of the most significant events in modern Moroccan history.
The top historical sites in Morocco include Volubilis (Roman ruins near Meknes), Chellah (Roman and Marinid necropolis in Rabat), Ait Ben Haddou (fortified village near Ouarzazate), the Fes Medina (world largest car-free urban zone), the Saadian Tombs in Marrakech, the Koutoubia Mosque, Meknes imperial city walls, El Badi Palace ruins, Bab Mansour gate, the Hassan Tower in Rabat, and the Kasbah of the Udayas. UNESCO has designated nine World Heritage Sites in Morocco.
Continue exploring Moroccan heritage, culture, and architecture with these essential guides.
A concise overview of Moroccan history from ancient times to the modern kingdom, covering all major periods and events.
Read GuideDeep dive into Moroccan traditions, festivals, arts, music, and the rich cultural heritage that makes the kingdom unique.
Read GuideExplore Morocco nine UNESCO World Heritage Sites, from ancient medinas and Roman ruins to fortified villages and historic cities.
Read GuideDiscover the rich Jewish history of Morocco, from ancient mellahs and synagogues to the enduring legacy of Moroccan Jewish culture.
Read GuideFrom riads and kasbahs to mosques and madrasas, explore the architectural traditions that define Morocco built heritage.
Read GuideFrom the Roman mosaics of Volubilis to the bustling medieval medina of Fes, from the Saadian Tombs of Marrakech to the grand gates of Meknes — Morocco's history is not locked behind museum glass. It is alive in every city, every kasbah, and every conversation. Come and walk through it.
Historical dates and details are based on widely accepted scholarship as of March 2026. Some dates, especially for early periods, are approximate. Site opening hours and entry fees may vary by season. Seasonal pricing can vary.