Urban ecosystems interact with surroundings via land cover changes and their subsequent impact on surface temperature. In emerging countries, large urban agglomerations often form around cities, and only few studies have evaluated their impact. This study carries out the first ever large-scale assessment of urban heat island (UHI) and reflects on its mitigation in Morocco.The analysis reveals a well-defined UHI in urban-areas built within vegetated lands and an urban heat sink (UHS) in urban-areas built within arid regions. Both UHI and UHS amplitudes are higher during day than nighttime, emphasizing vegetation physiological activity. We show a monotonic increase in UHI amplitude with urban-area size. However, unlike previous studies, our analysis shows that as urban-areas built in desert-like environments grow in size, the UHS gradually decreases to ultimately turn into an UHI. On average, cities built within vegetation are warmer than rural fringe by 1.51°C during daytime. This suggests that daytime urban heating may exacerbate the potential climate warming. Our results also suggest that adapted trees constitute a natural cooling mechanism and should be part of urban heating mitigation in Morocco.