Prefixyr.com
Morocco ☎️ Landline / Geographic

Area Code 5287 – Guelmim/Tan Tan

The phone area code for Guelmim/Tan Tan is 5287 (international format +2125287). Browse local exchange codes (NXX) and carrier assignments below.

Current Local Time
03:35:17
UTC • UTC +00:00
Full Dialing Format
+2125287
Population 79,942
👥
Admin Region Guelmim-Oued Noun
🗺️
Elevation 45m
🏔️
GPS Coordinates 28.4380, -11.1032
📍

📍 Geographic Location of Guelmim/Tan Tan

Geographic Overview

The Moroccan national destination code 5287 is a geographic area code assigned to the southern region of the Kingdom of Morocco, specifically covering the provinces of Guelmim and Tan-Tan. This zone falls under the administrative jurisdiction of the Guelmim-Oued Noun region, which borders Western Sahara to the south and is part of Morocco's expansive southern territories. The code serves both urban centers and surrounding rural communities, with Guelmim acting as the regional capital and a key transit hub on the route to the Sahara.

Dialing Formats

For callers within Morocco, the national dialing format requires the trunk prefix 0 followed by the area code and the subscriber's local number. For example, a local call to a fixed line in Guelmim would be dialed as 05287XXXXX (where XXXXX represents the five-digit subscriber number). When dialing from abroad, the international format omits the leading zero and uses Morocco's country calling code +212, resulting in +2125287XXXXX. It is crucial to note that the total number of digits after the country code is nine, making the full international number eleven digits including the country code.

Numbering Plan Considerations

As with all Moroccan geographic codes, the 5287 prefix is associated with fixed-line PSTN services, though in modern deployments it may also support VoIP-based fixed lines. The numbering plan follows the ITU-T E.164 recommendation, and the code is not portable to mobile networks. Mobile numbers in Morocco are identified by distinct prefixes (e.g., 06 or 07) and are non-geographic. Callers should be aware that while the region is vast and sparsely populated, the code covers a significant geographical area, and local tariffs apply when calling from other parts of Morocco.

Practical Guidance

  • Local callers: Dial 05287 followed by the five-digit subscriber number.
  • International callers: Replace the leading zero with +212, then dial 5287 and the five-digit number.
  • Emergency and special services: Always use national short codes (e.g., 15 for medical emergencies) regardless of the area code.

For businesses or individuals establishing a presence in Guelmim or Tan-Tan, obtaining a local number with the 5287 code reinforces a local identity and may reduce long-distance charges for regional clients. However, with the rise of mobile and VoIP services, geographic codes are no longer strictly tied to physical locations, but they remain a reliable indicator of the called party's registered area.

❓ Frequently Asked Questions

Which cities or regions use the area code 5287 in Morocco?
The area code 5287 is assigned to the provinces of Guelmim and Tan-Tan, located in the Guelmim-Oued Noun region of southern Morocco. It covers the city of Guelmim, the provincial capital, as well as Tan-Tan and surrounding rural areas.
How do I call a number in Guelmim from abroad?
To call a fixed line in Guelmim from another country, dial the international access code (e.g., 00 or +), followed by Morocco's country code 212, then the area code 5287 without the leading zero, and finally the subscriber's five-digit number. For example, +212 5287 XXXXX.
Is the 5287 area code only for landlines?
Yes, the 5287 code is a geographic code used for fixed-line services (PSTN and some VoIP). Mobile numbers in Morocco use separate non-geographic prefixes starting with 06 or 07 and are not tied to a specific region.
What is the format for dialing a local number within Morocco using area code 5287?
Within Morocco, you must dial the trunk prefix 0, then the area code 5287, followed by the five-digit subscriber number. The full national number is 05287XXXXX.
Can I keep my 5287 number if I move to another city in Morocco?
Geographic numbers in Morocco are generally tied to the area code's region. If you move to a different province, you may need to obtain a new number with the local area code. However, number portability rules may allow you to keep your number under certain conditions, but it is not guaranteed for geographic numbers.