Morocco History is the study of the historical development of Morocco from its ancient origins to the modern nation-state. It encompasses the succession of Berber and Islamic dynasties, colonial encounters, and post-independence nation-building, highlighting the interplay of ethnic groups, religions, and geography. Books on this subject delve into political transitions, cultural achievements, and social transformations that have forged Moroccan identity, with attention to the country's role as a crossroads between Africa, Europe, and the Arab world.
- Pre-Islamic and Early Islamic Period: Archaeological evidence of Phoenician and Roman presence, followed by Berber kingdoms and the arrival of Islam in the 7th century, leading to the Idrisid state, the first Islamic dynasty of Morocco.
- Berber Empires: The Almoravid, Almohad, Marinid, and Saadian dynasties which expanded across North Africa and Spain, fostering a golden age of architecture, science, and trade, and establishing Morocco as a major Islamic power.
- Colonial Era: The French and Spanish protectorates (1912–1956) that reshaped the economy and sparked nationalist resistance, marked by figures like Abd el-Krim and movements demanding independence.
- Modern Morocco: Post-independence consolidation under Mohammed V and Hassan II, constitutional reforms, and the contemporary kingdom under Mohammed VI, addressing issues such as the Western Sahara conflict and socioeconomic development.