Résumé : Mapping coastal regions is important for environmental assessment and for monitoring spatio-temporal changes. Although traditional cartographic methods using a geographic information system (GIS) are applicable in image classification, machine learning (ML) methods present more advantageous solutions for pattern-finding tasks such as the automated detection of landscape patches in heterogeneous landscapes. This study aimed to discriminate landscape patterns along the eastern coasts of Mozambique using the ML modules of a Geographic Resources Analysis Support System (GRASS) GIS. The random forest (RF) algorithm of the module 'r.learn.train' was used to map the coastal landscapes of the eastern shoreline of the Bight of Sofala, using remote sensing (RS) data at multiple temporal scales. The dataset included Landsat 8-9 OLI/TIRS imagery collected in the dry period during 2015, 2018, and 2023, which enabled the evaluation of temporal dynamics. The supervised classification of RS rasters was supported by the Scikit-Learn ML package of Python embedded in the GRASS GIS. The Bight of Sofala is characterized by diverse marine ecosystems dominated by swamp wetlands and mangrove forests located in the mixed saline-fresh waters along the eastern coast of Mozambique. This paper demonstrates the advantages of using ML for RS data classification in the environmental monitoring of coastal areas. The integration of Earth Observation data, processed using a decision tree classifier by ML methods and land cover characteristics enabled the detection of recent changes in the coastal ecosystem of Mozambique, East Africa.