Located along the northwestern edge of the West African Craton, Morocco exhibits a wide variety of magmatic events from Archean to Quaternary. The oldest magmatic rocks belong to the Archean Reguibat Shield outcrops in the Moroccan Sahara. Paleoproterozoic magmatism, known as the Anti-Atlas granitoids, is related to the Eburnean orogeny and initial cratonization of the WAC. Mesoproterozoic magmatism is represented by a small number of mafic dykes known henceforth as the Taghdout mafic volcanism. Massive Neoproterozoic magmatic activity, related to the Pan-African cycle, consists of rift-related Tonian magmatism associated with the Rodinia breakup, an Early Cryogenian convergent margin event (760–700 Ma), syn-collisional Bou-Azzer magmatism (680–640 Ma), followed by widespread Ediacaran magmatism (620–555 Ma). Each magmatic episode corresponded to a different geodynamic environment and produced different types of magma.Phanerozoic magmatism began with Early Cambrian basaltic (rift?) volcanism, which persisted during the Middle Cambrian, and into the Early Ordovician. This was succeeded by massive Late Devonian and Carboniferous, pre-Variscan tholeiitic and calc-alkaline (Central Morocco) volcanic flows in basins of the Moroccan Meseta. North of the Atlas Paleozoic Transform Zone, the Late Carboniferous Variscan event was accompanied by the emplacement of 330–300 Ma calc-alkaline granitoids in upper crustal shear zones. Post-Variscan alkaline magmatism was associated with the opening of the Permian basins.Mesozoic magmatism began with the huge volumes of magma emplaced around 200 Ma in the Central Atlantic Magmatic Province (CAMP) which was associated with the fragmentation of Pangea and the subsequent rifting of Central Atlantic. CAMP volcanism occurs in all structural domains of Morocco, from the Anti-Atlas to the External Rif domain with a peak activity around 199 Ma. A second Mesozoic magmatic event is represented by mafic lava flows and gabbroic intrusions in the Internal Maghrebian flysch nappes as well as in the external Mesorif. This event consists of Middle-Upper Jurassic MORB tholeiites emplaced during opening of the Alpine Tethys ocean. The Central High Atlas also records Early Cretaceous alpine Tethys magmatism associated with the aborted Atlas rift, or perhaps linked to plume activity on the edge of the WAC.Cenozoic magmatism is associated with Tertiary and Quaternary circum-Mediterranean alkaline provinces, and is characterized by an intermittent activity over 50 Ma from the Anti-Atlas to the Rif Mountain along a SW–NE volcanic lineament which underlines a thinned continental lithosphere.