This document is produced as part of a project of mapping, monitoring and prediction of urban sprawl in the city of Rabat, using algorithms of machine Learning, remote sensing and geographic information system. It therefore aims to determine and monitor the urban sprawl of the city of Rabat, using new Geo-spatial technologies, this socio-economic mechanism is theoretically based on the increase in the horizontal area of the city, and a decrease in population density. On the contrary, the city of Rabat is characterized by a negative growth rate between the years 2004-2014 at about -0.79% different from 1.2% at the national level, and defined by a higher population density of 255 inhabitants per km2, these statistics were directed to a hypothesis that indicates a horizontal confinement of the city of Rabat and reverse immigration to per-urban territories. In addition, this project is mainly aimed at the implementation of a computerized simulation model for the characterization and prediction of the urban expansion of the city of Rabat for 40 years (1990, 2000, 2010, 2020, 2030). To conclude, the city of Rabat has experienced a very slow urban sprawl, thanks to the green belt put in 1971, and the modernization strategy that has been adapted in recent years to eliminate informal housing, in addition to the development of roads and the new TGV railway line, and also to the lack of land use, of which many large villas of several hectares were built. Although this mechanism is moving very slowly, the city of Rabat has had negative consequences on the territory and the environment. So, local authorities need a creative, innovative and intelligent urban planning programme to both eliminate the effects of this mechanism, and build the pillars of the functional city (smart city).