Determining an impervious surface is one of the most important topics of remote sensing because of its great role in providing information that benefits decision-makers in urban planning, sustainable development goals, and environmental protection. In recent years, a great development in this field has occurred due to the huge improvement in the algorithms and techniques that are used to map impervious surfaces. In this paper, the deep learning technique has been implemented to investigate the extraction of impervious surfaces in Marrakesh city, based on Landsat images. 9000 polygons and 13840 points have been taken to prepare label data by random forest in Google Earth Engine (GEE). In addition, all preprocessing steps for remote sensing images have been implemented in GEE. An artificial neural network (ANN) has been used to determine impervious surfaces. After training and testing the proposed network on Landsat image datasets, precision, accuracy, recall, and F1-score matrix scores were 0.79, 0.98, 0.87, and 0.82, respectively. The experimental results show that this method is efficient and precise for mapping the impervious surfaces of Marrakesh city.