The basic unit of local government in Morocco is the commune. [1] At the time of the 2014 population census, Morocco was divided into 1538 communes, 256 of which were classified as urban [2] and also called municipalities. [3] The remaining 1282 communes were classified as rural. [2] Urban centres were defined by the High Commission for Planning for some rural communes. [4]
The following list includes all Moroccan municipalities with 50,000 or more inhabitants according to the 2014 census, [a] as well as one urban centre of a rural commune whose population also exceeds 50,000 inhabitants. In its 2014 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. [5] Those legal population figures are incorporated into the list, and the city definitions they are based upon are provided in the notes.