Morocco Administrative Divisions

What is the hierarchy of administrative divisions in Morocco?

Morocco operates on a 4‑level system starting with 12 regions, then provinces, after that cercles, 3 pachalik, and rural municipalities, 16 urban municipalities as the smallest administrative units.

Here’s a breakdown of the hierarchy:

1. Regions: Morocco is divided into 12 regions.

2. Provinces: Regions are subdivided into provinces.

3. Cercles, 3 Pachalik: Provinces are further subdivided into cercles, 3 pachalik.

4. Rural municipalities, 16 Urban municipalities: These are the smallest administrative units, often found within cercles, 3 pachalik.

List of Morocco's administrative divisions with their counts and names

These are the summarized administrative divisions. The full dataset is available in the Download Center.

isocountryadmin level 1admin level 2admin level 3admin level 4
MAMoroccoBeni Mellal-Khenifra (Region)5 Provinces19 Cercles, 3 Pachalik119 Rural municipalities, 16 Urban municipalities
MAMoroccoCasablanca-Settat (Region)2 Prefectures, 7 Provinces16 Cercles, 17 Pachalik126 Rural municipalities, 27 Urban municipalities
MAMoroccoDakhla-Oued Ed-Dahab (Region)2 Provinces1 Pachalik, 4 Cercles11 Rural municipalities, 1 Urban municipality
MAMoroccoDraa-Tafilalet (Region)5 Provinces17 Cercles, 1 Pachalik109 Rural municipalities, 16 Urban municipalities
MAMoroccoFez-Meknes (Region)2 Prefectures, 7 Provinces11 Pachalik, 26 Cercles161 Rural municipalities, 33 Urban municipalities
MAMoroccoGuelmim-Oued Noun (Region)4 Provinces5 Pachalik, 9 Cercles45 Rural municipalities, 8 Urban municipalities
MAMoroccoLaayoune-Sakia El Hamra (Region)4 Provinces3 Pachalik, 5 Cercles15 Rural municipalities, 5 Urban municipalities
MAMoroccoL'Oriental (Region)1 Prefecture, 7 Provinces13 Pachalik, 17 Cercles28 Urban municipalities, 96 Rural municipalities
MAMoroccoMarrakech-Safi (Region)1 Prefecture, 7 Provinces10 Pachalik, 25 Cercles228 Rural municipalities, 23 Urban municipalities
MAMoroccoRabat-Sale-Kenitra (Region)3 Prefectures, 4 Provinces11 Pachalik, 19 Cercles24 Urban municipalities, 90 Rural municipalities
MAMoroccoSouss-Massa (Region)2 Prefectures, 4 Provinces10 Pachalik, 17 Cercles154 Rural municipalities, 21 Urban municipalities
MAMoroccoTangier-Tetouan-Al Hoceima (Region)2 Prefectures, 6 Provinces14 Pachalik, 22 Cercles128 Rural municipalities, 18 Urban municipalities

Why is building an Administrative Divisions Database complex?

The complexity arises from inconsistent global standards, frequent boundary changes, non-uniform naming conventions (e.g., “suburb” in Australia vs. “county” in the US), and variations in administrative levels across countries. Integrating and harmonizing data from multiple sources requires advanced normalization, versioning, and geospatial validation techniques.

How does GeoPostcodes solve the problem for you?

Our standardized database overcomes the complexity of different administrative division
systems worldwide. Our database follows a unified structure that you can integrate
seamlessly into your system or platform of choice without needing to become an expert in
each country’s unique administrative hierarchy.

Download the complete Dataset

Explore the comprehensive list of administrative divisions, standardized and scalable across 247 countries.

Why choose GeoPostcodes

Global coverage

Complete coverage across 247 countries, including hard-to-source geographies like China, Japan, Brazil, and Russia.

Highest quality

Built on extensive, authoritative sourcing with robust data engineering and quality control. Standardized and up-to-date.

Expert Consulting

With 15 years of experience, we guide your implementation and deliver data in the format that fits your system.

Trusted by industry leaders

Join more than 100 enterprise clients who trust GeoPostcodes for their location data

GeoPostcodes - Ecotransit logo
“GeoPostcodes’ global ZIP codes allow us to determine distances accurately. Thanks to their up-to-date database, we no longer have problems with missing locations, making our system much more efficient and reliable.”

Anjo Grebe

Consultant

“GeoPostcodes databases provide IATA codes, enhanced UNLOCODEs with port terminal data, addresses, and more – all on a global scale! This level of accuracy is essential for our mileage and CO2 emissions calculation.”
GeoPostcodes - Peter Wild CarbonCare

Dr. Peter Wild

Managing Partner

“GeoPostcodes’ Population data shows population forecasts over the next years. We can use it as a proxy to justify longer-term changes and downgrade postal code areas in terms of economic viability.”

Kousha Mazloumi

Director of Data Science

“The concept of the city receives different names or belongs to different hierarchical levels depending on the country. Using GeoPostcodes’ data gave us access to city definitions aligned with our customers’ expectations, saving us computation time.”

Kousha Mazloumi

Director of Data Science

GeoPostcodes - Logo_DB_Schenker
“The world is constantly changing. New localities and neighborhoods open up or become dispersed. It’s good to know that GeoPostcodes is keeping on top of those changes and providing us with updated information to work with.”
GeoPostcodes-GeoPostcodes-William chao picture

William Chao

Product Owner of Geographic Information Services

GeoPostcodes - Bark Logo
“The key aspect of working with GeoPostcodes has been their ability to provide customized data solutions. Their collaborative approach has made them an excellent partner in addressing our location data challenges.”

Kate Kilby

Senior Product Manager

GeoPostcodes - Opterrix-logo
“GeoPostcodes’ multi-level boundaries were perfectly aligned, enabling seamless integration with multiple secure cloud platforms. Our software can now provide more accurate visualizations for risk analysis and natural hazard monitoring.”

Dave Hamm

Project Manager

“Countries like Brazil or China are particularly strict with their customs validation. GeoPostcodes’ ZIP codes and Enhanced UNLOCODES database are aligned with national regulations, ensuring seamless transportation and compliance.”
GeoPostcodes - Kavian Ranjbar

Kavian Ranjbar

Data Governance Specialist

“If you’ve got a business where locations are a big part of it and you’re looking to avoid the large costs that can be involved in using APIs, GeoPostcodes’ on-premise database is definitely worth considering.”
GeoPostcodes-Nick Baugie

Nick Beaugié

Senior Software Engineer

Our location dataset for Morocco

Explore our comprehensive collection of Morocco ZIP code and administrative data products, designed to meet all your mapping and location intelligence needs.

Morocco ZIP Codes

Morocco uses a “Code postal” system, which is a five-digit numeric format like 99999, with no letters or separators. This format is similar to US ZIP codes, which are also five digits and purely numeric. According to the GeoPostcodes world postal code database, Morocco has 2,862 postal codes covering 1,797 regions and 1,655 towns.

Morocco ZIP & Administrative boundaries

Morocco administrative landscape often follows inconsistent regional models and irregular public sources, making it difficult to maintain reliable boundaries. Our standardized postal and administrative boundary data resolves these gaps to ensure complete, coherent geographic coverage.

Morocco Address Format

Address conventions differ by country, leading to frequent validation errors and incomplete entries. Our dataset applies Morocco correct address format to ensure clean inputs, smoother validation, and reduced delivery mistakes.

Address validation - Morocco address validation

Comprehensive Morocco ZIP code, city, and address data to verify and correct existing addresses at input, post-entry, or in bulk.

Global Location Databases

Comprehensive location data products serving businesses, and
organizations worldwide with accurate, up-to-date geographic information.

Postal code samples

Postal Code Database

Global dataset containing all administrative divisions, cities and ZIP codes.

Explore postal code database

Key features

  • 247 Countries
  • 9,9M Coordinates
  • 9,3M Postal Codes
  • 400 Time zones
  • 4M Cities and Towns
  • 116K UNLOCODES

Specifications

  • Coverage: Global
  • Format: CSV, ASC, DAT, GML, GeoJSON, KML, Shapefile (SHP)
Boundary polygons

Boundary Data

A global dataset of polygons representing postal codes and administrative areas.

Explore boundaries database

Key features

  • 247 Countries
  • Up to 6 levels
  • 1,7M boundaries
  • High-precision
  • 245K Admin areas
  • Visualization

Specifications

  • Coverage: Global
  • Format: GeoJSON, Geopackage, KML, Shapefile (SHP)
Los Angeles population map

Population Database

Global population estimates at postal code and administrative level covering a span of 55 years: past, present, and future.

Explore population database

Key features

  • 247 Countries
  • 243K Admin areas
  • 55 year span
  • Yearly updates
  • 645K ZIP codes

Specifications

  • Coverage: International
  • Format: CSV, ASC
Street address dataset

Address Database

International dataset with all administrative areas, cities, streets, and relevant postal codes.

Explore address database

Key features

  • 81 Countries
  • 299 languages
  • 26,5M streets
  • 400 time zones
  • 9.3M ZIP codes
  • 4M cities

Specifications

  • Coverage: International
  • Format: CSV, ASC, DAT, GML, KML, Shapefile (SHP), GeoJSON
Updated: June 1, 2026

Frequently Asked Questions

Morocco is divided into 12 regions, which form the top-level administrative units. These are subdivided into 13 prefectures (Préfectures) and 62 provinces. At the next level, there are 196 cercles and 99 pachalik. The smallest administrative level consists of 220 urban municipalities (Communes urbaines) and 1,282 rural municipalities (Communes rurales). Major regions include Beni Mellal-Khenifra, Casablanca-Settat, and Dakhla-Oued Ed-Dahab.

Morocco has 4 administrative levels. Level 1: 12 regions. Level 2: 13 prefectures (Préfectures) and 62 provinces. Level 3: 196 cercles and 99 pachalik. Level 4: 220 urban municipalities (Communes urbaines) and 1,282 rural municipalities (Communes rurales).

Morocco operates on a 4‑level system starting with 12 regions, then provinces, after that cercles, 3 pachalik, and rural municipalities, 16 urban municipalities as the smallest administrative units.

In Morocco, prefectures and provinces both sit at administrative level 2 but serve different functions. Prefectures (préfectures) — there are 13 — are typically a larger city or urban area that govern itself independently. Provinces — there are 62 — group multiple smaller municipalities under a shared administration.

Moroccan administrative divisions have specific local names at each level. In French, prefectures are called Préfectures; urban municipalities are called Communes urbaines; rural municipalities are called Communes rurales. These local-language terms appear in official documents, legal records, and government databases, so matching them correctly is important for data integration and compliance.

Administrative boundaries in Morocco change as governments reorganize regions, merge municipalities, or create new administrative units to reflect population shifts and political decisions. Changes most commonly affect the urban municipalities level, where Morocco currently has 1,502 units. Businesses that rely on Moroccan administrative data should use a regularly updated reference dataset to avoid mismatches in geocoding, tax jurisdiction mapping, and compliance reporting.