Morocco flag

Morocco Postal Codes

Browse the regions below to find Morocco postal codes, also known as ZIP codes.

Morocco on the Map

Morocco zip codes can be seen on the map. All postcodes of Morocco can be viewed under each region.

About Morocco

Morocco Postal Codes

If you are filling out a Morocco address, use the 5-digit postal code that matches the city area or delivery office. Do not use one general code for the whole country, and do not guess only from the region name. Morocco’s postcodes are local enough that Casablanca, Rabat, Marrakech, Fès, Tangier, and Agadir all need the exact city or neighborhood context.

A realistic Casablanca address would look like this: 24 Boulevard Mohammed V, Centre-ville, 20000 Casablanca, Morocco. For central Casablanca, 20000 is commonly used, but it should not be treated as the code for every address in Casablanca. Areas like Maarif, Ain Diab, Sidi Maarouf, or outer suburbs may use different codes even when the city name still says Casablanca.

A soft way to read Moroccan codes is this: 20xxx usually points around Casablanca, 10xxx around Rabat, 40xxx around Marrakech, 30xxx around Fès, 90xxx around Tangier, and 80xxx around Agadir. That is useful for spotting an obvious mismatch, but it is practical guidance, not an official neighborhood-by-neighborhood rule.

Poste Maroc’s postcode search is the practical source to check the exact code when you have the locality or delivery office, and UPU-style addressing guidance for Morocco also shows the postcode placed before the locality name in normal address formatting.

So if a form only says “Casablanca,” do not automatically type 20000 unless the address is really in the central delivery area. Use the neighborhood, street, or post office name first. For rural or less central areas, keep the commune, province, and nearby locality clear, because those details can matter as much as the 5 digits.

Page updated:

Morocco Information

UPU Official NameMorocco
CapitalRabat
ISO alpha-2MA
ISO alpha-3MAR
ISO No504
Country Code+212
Phone Code+212
Area446.550 km²
CurrencyDirham (MAD)
Population36.029.138
TLD.ma
Entry into UPU01.10.1920