Area Code 5229 – Casablanca
The phone area code for Casablanca is 5229 (international format +2125229). Browse local exchange codes (NXX) and carrier assignments below.
📍 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.