- First humans (300,000 BC)
- Ibermaurusian culture (25,000 - 11,000 years ago)
- Capsian culture (8000 - 2700 BC)
- Cardium pottery culture (6400 - 5500 BC)
- Bell Beaker culture (2800 - 1800 BC)
- Phoenicians arrive (8th century - 6th century BC)
- Carthage occupation (5th century BC)
- Mauretania (3rd century BC - 44 AD)
- Annexed to Roman Empire (40 AD)
- Vandal invasion (5th century AD)
- Byzantine Empire recovers Morocco (6th century AD)
- Muslim conquest of the Maghreb (647 - 709 AD)
- Umayyad Caliphate (661 - 750 AD)
- Kingdom of Nekor (710 - 1019 AD)
- Berber Revolt (739 - 743 AD)
- Barghawata confederacy (744 - 1058 AD)
- Midrarid dynasty (757 - 976 AD)
- Battle of Fakhkh (786 AD)
- Idrisid dynasty (788 - 974 AD)
- Fatimid Caliphate (909 - 1171 AD)
- Cordoba Caliphate (929 - 1031 AD)
- Zirid dynasty (972 - 1148 AD)
- Almoravid dynasty (1040-1147)
- Almohad Caliphate (1121-1269)
- Marinid Sultanate (1244-1465)
- Wattasid dynasty (1472-1554)
- Saadi Sultanate (1510-1659)
- Alaouite dynasty (1631 - now)
- Franco-Moroccan War (1844)
- Hispano-Moroccan War (1859-1860)
- Treaty of Madrid (1880)
- First Moroccan Crisis (1905-1906)
- Bombardment of Casablanca (1907)
- Agadir Crisis (1911)
- Fez Riots (1912)
- French Protectorate of Morocco (1912-1956)
- Spanish Protectorate in Morocco (1912-1956)
- Zaian War (1914-1921)
- Rif War (1921-1926)
- Morocco gains independence (1956)
- Sand War (1963-1964)
- Attempted coup d'état (1972)
- West Sahara conflict (1974-1991)
- Perejil Island crisis (2002)
(This post includes any nation or civilization that occupied at least a portion of Morocco at some point. Unless specified otherwise, the dates correspond to when a nation or civilization existed, but do not necessarily correspond to occupation of Morocco.)