Morocco Postal Codes & Zip Codes - Format, List & Examples

Morocco Postal Codes - Format, Structure & Examples by Region

Morocco flag

Access structured postal-code data for Morocco, including cities, postal codes, streets, and regional information. Designed for business, analytics, logistics, data enrichment, and location-based applications.

View Sample Files | Get Full Dataset

Dataset Overview

PostcodeZip provides a ready-to-use database covering 513 cities and 232 postal codes across 11 regions of Morocco. Moroccan postal codes are five-digit numeric codes (for example, 40056).

  • 513 cities
  • 232 postal codes
  • 11 regions
  • Most common street name: RN1 (30 times)

What This Data Can Be Used For

  • Postal code validation and cleanup
  • Autocomplete for forms and search fields
  • Location-based analytics and reporting by region or city
  • Database enrichment and segmentation
  • Logistics, delivery, and route planning
  • Geographic applications and mapping tools

Available Files

Depending on your project, you can choose one or more of the following files:

  • Regions file - administrative regions and subdivisions
  • Locations file - cities and postal codes
  • Streets file - street-level location data
  • Addresses file - individual addresses with coordinates

Each file is available as a sample preview before purchase.

Sample Files Preview

Download a sample file or preview a few example rows before purchasing.

Regions File

Download regions sample

Country CodeCountryRegionRegion2Region3Region4
MAMoroccoMarrakech-SafiPachalik d'El Kelâat Es-Sraghna باشوية قلعة السراغنةcaïdat de Ahl Ghaba
MAMoroccoFez-Meknescercle de El Menzelcaïdat de Adrej
MAMoroccoOrientalFikīk Circlecaïdat de Bni Guil قيادة بني كيل

Locations File

Download locations sample

Country Code Country Region City Postal Code
MAMoroccoFez-MeknesSidi Boutayeb
MAMoroccoTangier-Tetouan-Al HoceimaLouta الوطا32202
MAMoroccoMarrakech-SafiAmghras42103

Streets File

Download streets sample

Country Code Country Region City Postal Code Street Latitude Longitude Elevation (m) Geocoding Level Accuracy Radius (m)
MAMoroccoSouss-MassaOuad Essafa87200RR10530.247046-9.41370097STREET50
MAMoroccoRabat-Salé-KenitraSidi Mohamed Ben Mansour سيدي محمد بنمنصورP420534.617934-6.3974585STREET50
MAMoroccoFez-MeknesFritissaRP513133.615818-3.703798976STREET50

Addresses File

Download addresses sample

Country CodeCountryRegionCityPostal CodeStreetNumberLatitudeLongitudeElevation (m)
MAMoroccoMarrakech-SafiLamzoudia لمزوضيةRN1131.613902-8.735263294
MAMoroccoCasablanca-SettatMohammediaRN9-RR32233.677271-7.4182608
MAMoroccoCasablanca-SettatBouznikaRP331033.690887-7.173378159

Sample data for preview purposes only.

Why This Dataset Is Useful

This database makes it easier to work with real Moroccan geographic data in a structured format. It can help standardize postal code inputs, improve form completion, match existing customer records, and support internal analysis by city, postal code, street, or region.

It is also useful for teams building applications that rely on real postal and location data, including CRMs, business directories, delivery systems, mapping tools, and reporting platforms.

Data Structure

Depending on the selected file, the dataset may include the following fields:

  • Country code
  • Country name
  • Region
  • City
  • Postal code
  • Street
  • Latitude
  • Longitude
  • Elevation

Formats and Delivery

Files are available in CSV, Excel, SQL, and XML format, depending on the selected product.

After purchase, your files are delivered in a downloadable archive and can be used immediately.

Updates and Purchase

This is a one-time purchase. The dataset is maintained regularly; updated on November 25, 2026. Additional updates may be available on request.

Buy Now