Prefixyr.com
Morocco ☎️ Landline / Geographic

Area Code 5229 – Casablanca

The phone area code for Casablanca is 5229 (international format +2125229). Browse local exchange codes (NXX) and carrier assignments below.

Current Local Time
04:30:36
UTC • UTC +00:00
Full Dialing Format
+2125229
Population 3,665,954
👥
Admin Region Casablanca-Settat
🗺️
Elevation 27m
🏔️
GPS Coordinates 33.5883, -7.6114
📍

📍 Geographic Location of Casablanca

Overview of Morocco’s Geographic Code +212 5229

The country calling code +212 is assigned to Morocco by the International Telecommunication Union (ITU) under the E.164 standard. Within the Moroccan national numbering plan, the prefix 5229 is a geographic National Destination Code (NDC) that routes calls to the Casablanca area. Specifically, numbers beginning with +212 5229 are allocated to fixed-line subscribers in the western part of Casablanca and its immediate suburbs, including neighborhoods such as Ain Diab, Anfa, and the coastal districts. This code is managed by the Agence Nationale de Réglementation des Télécommunications (ANRT), which oversees the allocation of numbering resources to licensed operators.

Geographic Coverage and Administrative Jurisdiction

Casablanca is Morocco’s largest city and its economic capital, located in the Casablanca-Settat administrative region. The +212 5229 prefix serves the western sector of the city, which includes both residential and business districts. It is important to note that Casablanca is served by multiple geographic codes: +212 522 (central Casablanca), +212 5229 (western Casablanca), and +212 523 (eastern and southern parts). This division allows for more efficient local routing and number capacity management. The prefix is geographic, meaning that the number is tied to a physical location, although in practice, fixed-line numbers may be used with VoIP adapters, but the number’s allocation remains associated with the Casablanca western zone.

Dialing Formats and Instructions

For callers within Morocco, the national dialing format requires the trunk prefix 0 followed by the NDC and the subscriber number. For example, a local number in the +212 5229 range would be dialed as 05229XXXXX (where XXXXX is the five-digit subscriber number). Note that the total number of digits after the trunk prefix is nine, making the full national number ten digits long (0 + 9 digits).

For international callers, the format is +212 5229 XXXXX (or 00212 5229 XXXXX when using the international access code). The leading zero is omitted when dialing from abroad. For instance, if the local number is 05229-12345, the international format would be +212 5229 12345.

When dialing from a mobile phone within Morocco, it is common to use the international format even for domestic calls, as many mobile networks support it. However, the standard national format is always accepted.

Overlay and Number Portability Considerations

Currently, there is no overlay code for the Casablanca area; the geographic codes are distinct. However, Morocco implemented mobile number portability (MNP) in 2006, and fixed-line number portability is also available. This means that a number with the +212 5229 prefix could theoretically be ported to a different operator, but the geographic significance remains unchanged for routing purposes. Callers should always verify the number, as porting does not alter the prefix.

For businesses, having a +212 5229 number signals a physical presence in the western Casablanca area, which can be important for local customer trust. When calling from abroad, ensure you use the correct country code and omit the leading zero to avoid connection errors.

❓ Frequently Asked Questions

What area does the +212 5229 prefix cover?
The +212 5229 prefix is a geographic code for the western part of Casablanca, Morocco, including districts like Ain Diab and Anfa. It is used for fixed-line numbers in that area.
How do I call a +212 5229 number from the United States?
From the US, dial the international access code 011, then Morocco’s country code 212, then the area code 5229, and the subscriber number. For example, 011 212 5229 XXXXX.
Is +212 5229 a mobile or landline prefix?
It is a landline (fixed-line) prefix. Mobile numbers in Morocco typically start with +212 6 or +212 7, not with 5229.
What is the correct format for dialing a +212 5229 number locally?
Within Morocco, dial 0 followed by 5229 and the five-digit subscriber number. For example, 05229XXXXX.
Can I keep my +212 5229 number if I move to another city?
Fixed-line number portability is available in Morocco, but geographic numbers are tied to a specific area. You may be able to port to a different operator, but the number will still be associated with Casablanca western area. Moving to another city might require a new number.