Detrital and volcanic-detrital rocks from the Ifni Buttonhole and Lakhssas Plateau were analyzed to determine their provenance, compositional maturity, and alteration source. Geochemically, the sediments were classified as arkoses, lithic arenites, grauwackes, sandstones, lithic arenites, and Fe-rich sands, indicating low compositional and mineralogical maturity. A high average SiO2 concentration and low Al2O3 were consistent with a low abundance of shale and clay components. The geochemical signatures of the detrital and volcano-detrital (RDVD) rocks indicate that they have undergone a moderate to low degree of chemical alteration. The CIA study also suggests that the granitic, granodioritic rocks represent the source provenance which, during weathering and transport, supplied the detritus to the supra-crustal units. The major trace element data suggest that these rocks are largely derived from felsic igneous rocks, namely granitoids, with a minor contribution from intermediate sources. The carbonate rocks do not represent a wide variety of facies: dolomitic limestone, calcareous limestone, and calcaro-dolomitic chert. Calcitic and dolomitic samples show a linear increase in SiO2, regardless of their CaO/LOI ratio values, which remain relatively constant. The highest SiO2 contents are observed in the calc-dolomitic chert. Geochemical analysis of RDVD from the Ifni buttonhole determined their origin, maturity, and alteration. Major oxides decreased with higher silica content, indicating quartz control. Samples, formed under semi-arid conditions, show maturity under stable deposition. They suggest a felsic, recycled source, with moderate alteration and zircon enrichment during recycling. In the study area, limestones and dolomites serve as materials applicable in the building sector, suitable for all types of concrete. The Taliwine Formation harbors Lower Cambrian dolomites and limestones, ideal for mosaic aggregates. Described as variable in color, compact, homogeneous, very hard, and resistant to alteration, the plutonic rocks form prominent peaks. They exhibit both subalkaline characteristics in granitoids and an alkaline trend in dolerite dykes. Most samples display minimal alteration, indicating the reliability of their major element compositions for geochemical analyses. These granitoids constitute valuable deposits for ornamental and building rock purposes.