Morocco Reference

Moroccan Postal Codes

Find the postal code for any city in Morocco. Search by city name or code, organized by region.

89
Cities
12
Regions
5
Digits
Moroccan postal codes are 5 digits. The first 2 digits indicate the province or region, and the last 3 identify the specific area or post office.

About

Moroccan postal codes, managed by Barid Al-Maghrib, uniquely identify every city, neighborhood and locality across the Kingdom for accurate mail and parcel delivery. The system uses a five-digit format where the first digit represents the main postal zone and the remaining digits pinpoint the city and specific distribution sector. Casablanca covers the 20000 to 20999 range, Rabat starts at 10000, Marrakech at 40000, Tangier at 90000, Fez at 30000, Agadir at 80000 and Oujda at 60000. Smaller rural communes also have their own dedicated codes, which are essential for e-commerce deliveries, administrative forms, invoices, and international shipping. This page provides a complete directory of Morocco postal codes organized by region and by city, with a fast search tool to find the right ZIP code in seconds.

How to Find a Moroccan Postal Code

1

Search or browse

Type a city name or postal code in the search bar, or browse by region using the collapsible sections below.

2

Find your city

Each region lists its major cities with their official 5-digit postal code.

3

Copy the code

Click on any postal code to copy it to your clipboard instantly. Use it for mail, deliveries, or online forms.

About the Moroccan Postal Code System

Postal Code System

Morocco introduced its 5-digit postal code system on January 1, 1997. It is managed by Barid Al-Maghrib (Morocco Post), the national postal operator.

Code Format

Each code has 5 digits: the first 2 represent the province or region, and the last 3 identify the specific post office or delivery zone within that area.

12 Administrative Regions

Morocco is divided into 12 administrative regions since 2015. Major cities like Casablanca and Rabat may have multiple postal codes for different districts.

When You Need It

Postal codes are required for sending mail, ordering packages, filling out administrative forms, setting up business addresses, and online shopping deliveries.

Frequently Asked Questions

How many digits are in a Moroccan postal code?

Moroccan postal codes consist of 5 digits. The first two digits indicate the province or broader region, while the last three digits identify the specific area or post office.

What is the postal code of Casablanca?

The main postal code for Casablanca is 20000. However, different districts within Casablanca have their own specific codes (e.g., Ain Chock: 20150, Maarif: 20100).

What is the postal code of Rabat?

The main postal code for Rabat is 10000. Different neighborhoods have specific codes such as Agdal (10080), Hassan (10020), and Souissi (10170).

When was the Moroccan postal code system introduced?

The current 5-digit postal code system was introduced on January 1, 1997, by Barid Al-Maghrib (Morocco Post).

Can a city have more than one postal code?

Yes. Large cities like Casablanca, Rabat, Marrakech, and Fes have multiple postal codes for different arrondissements (districts) and neighborhoods.