The current era of digital technology has opened up endless possibilities for exploring and understanding our world. Among these advances, Geographic Information Systems (GIS) and remote sensing have revolutionized our ability to study and interpret geological phenomena without being physically present on the ground. The objective of this study therefore aims to use these tools to develop a more in-depth understanding of the geology of the Zagora province, a region of Morocco, using Landsat 9 images to produce a detailed geological map of the region characterized by a diversity of geological formations thus coupling the photo-interpretation approach and the Random Forest supervised classification algorithm. The results highlighted lithostratigraphic units, hydrographic networks and faults with great precision. The integration of these two methods provided complementary information, improving the accuracy and detail of the geological mapping of the area and highlights the importance of remote sensing tools and GIS for geological analysis and resource management.