Postal code · code postal
Morocco postal codes
Morocco postal codes have the format ##### (5 digits), for example 53000. zipcodestack has 307 postal codes for Morocco in 12 regions.
- Format
- #####
- Example
- 53000
- Codes in our database
- 307
- Local name
- code postal
Morocco postal code format
| Pattern | ##### (# digit, @ letter) |
|---|---|
| Examples | 53000, 10000, 20050, 16052 |
| Regex | ^(?:\d{5})$ |
Format and regex from Google's address metadata (libaddressinput). The regex checks the shape of a code, not whether it exists.
Postal Codes by region
| Region | Range | Codes |
|---|---|---|
| Béni Mellal-Khénifra | 22000 – 54524 | 151 |
| Casablanca-Settat | 13000 – 29672 | 117 |
| Dakhla-Oued Ed-Dahab | 73000 – 74002 | 2 |
| Drâa-Tafilalet | 45000 – 52623 | 125 |
| Fès-Meknès | 30023 – 53124 | 222 |
| Guelmim-Oued Noun | 81000 – 82023 | 31 |
| Laâyoune-Sakia El Hamra | 70022 – 72000 | 7 |
| Marrakesh-Safi | 40023 – 46322 | 183 |
| Oriental | 60005 – 65823 | 89 |
| Rabat-Salé-Kénitra | 11022 – 16324 | 99 |
| Souss-Massa | 80022 – 87702 | 195 |
| Tanger-Tetouan-Al Hoceima | 32000 – 94152 | 104 |
Postal Codes of the largest cities
Casablanca
29640 + 1 more
Meknes
50102 + 3 more
Kenitra
12122 + 2 more
Al Hoceïma
32000
Mohammedia
28815
El Jadida
24004 + 2 more
Salé Al Jadida
12152
Ait Melloul
86150 + 4 more
Nador
62026
Dar Bouazza
27222 + 1 more
Taza
35000
Settat
26000 + 4 more
Inezgane
86150 + 4 more
Ksar El Kebir
92150
Larache
92000 + 1 more
Guelmim
81000
Berkane
63652
Taourirt
65800
Bouskoura
27123 + 1 more
Oued Zem
25300 + 10 more
El Kelaa des Srarhna
43150 + 11 more
Errachidia
52000 + 1 more
Neighbouring countries
Morocco postal codes: FAQ
What is the postal code format in Morocco?
Morocco postal codes follow the pattern
##### (# = digit, @ = letter), i.e. 5 digits. Examples: 53000, 10000, 20050, 16052.What regex validates Morocco postal codes?
^(?:\d{5})$ matches the official format (from Google's address metadata). It checks the shape only; whether a code exists needs a lookup in a postal code database such as the zipcodestack API.What are postal codes called in Morocco?
In Morocco the postal code is called code postal.
How many postal codes are there in Morocco?
The zipcodestack database contains 307 postal codes for Morocco, each with place name, region and coordinates.
Postal code API
Look up Morocco postal codes by API
zipcodestack looks up, validates and searches postal codes in 149 countries: city, state, coordinates, distances and radius search, as JSON.
/v1/search documentation International postal code API All documentation
300 free requests every month. No credit card required.
GET https://api.zipcodestack.com/v1/search?codes=53000&country=ma
{
"results": {
"53000": [{
"postal_code": "53000",
"country_code": "MA",
"city": "…",
"state": "…",
"latitude": …,
"longitude": …
}]
}
}Free postal code tools
Bulk ZIP code lookup
City and coordinates for a list.
Distance between ZIP codes
Miles or km between ZIP codes.
ZIP codes in a drawn area
Draw an area, get its codes.
What is my ZIP code?
Find the ZIP code where you are.
ZIP code radius search
All codes within X miles of a code.
Postal code validator
Is this postal code real?
Postal codes by countryFormats, regions and cities for 149 countries.