Area Code 5228 – Casablanca
The phone area code for Casablanca is 5228 (international format +2125228). Browse local exchange codes (NXX) and carrier assignments below.
📍 Geographic Location of Casablanca
Overview
The +212 5228 prefix is a geographic National Destination Code (NDC) assigned to the Casablanca area in Morocco. As part of the Moroccan public switched telephone network (PSTN), this code routes calls to fixed-line subscribers within the Casablanca-Settat region, specifically the greater Casablanca metropolitan area. The prefix is managed under the national numbering plan overseen by the Agence Nationale de Réglementation des Télécommunications (ANRT).
Geographic Coverage and Administrative Jurisdiction
Casablanca, Morocco's largest city and economic capital, is the primary service area for the 5228 prefix. This code covers both the central districts of Casablanca and its surrounding suburban municipalities, including Ain Diab, Maarif, and Bourgogne. The administrative jurisdiction falls under the Casablanca-Settat region, which is one of the twelve administrative regions of Morocco. The prefix is used for fixed-line services provided by incumbent operator Maroc Telecom and alternative operators such as Orange Maroc and Inwi, which offer fixed telephony over copper, fiber, or wireless local loop.
Dialing Formats and Instructions
For callers within Morocco, the national format requires dialing the trunk prefix '0' followed by the NDC and the subscriber number. For example, to call a fixed line in Casablanca with the number 5228-XXXX, you would dial: 05228-XXXX (the '0' is the national trunk prefix). Internationally, callers must use the country code +212 and drop the leading '0'. Thus, the same number would be dialed as +212 5228-XXXX from abroad. The full national number is 10 digits long (including the leading '0'), while the international format is 9 digits after the country code (5228-XXXX).
Overlay and Numbering Considerations
Casablanca has multiple geographic NDCs, including 522, 5220, 5222, 5228, and others, reflecting the high demand for fixed-line numbers in the economic hub. These codes are not overlays in the traditional sense; rather, they are distinct NDCs that may serve different exchanges or customer blocks. However, due to number portability, a subscriber may retain their 5228 number even if they switch operators or move within the same geographic area. Callers should always dial the full NDC and subscriber number to ensure proper routing.
Practical Guidance for Callers
For local callers within Casablanca, it is still necessary to dial the full national number, including the '0' and the NDC, as Morocco does not use local dialing without the trunk prefix. For international callers, ensure you use the correct country code (+212) and omit the leading '0'. If you are using a VoIP service or a mobile phone, always use the international format (+212 5228-XXXX) to avoid misrouting. For example, a typical fixed-line number in Casablanca might be +212 5228-12345 (or 05228-12345 nationally).