From Wikipedia - Reading time: 13 min

The basic unit of local government in Morocco is the commune.[1]
The following list includes all Moroccan municipalities with 50,000 or more inhabitants according to the 2024 census. In its 2024 census report, the High Commission for Planning also published a list of the legal populations of seven major Moroccan cities, some of which comprise more than one administrative unit.[2] Those legal population figures are incorporated into the list, and the city definitions they are based upon are provided in the notes.