The country code of Western Sahara is +212.
How Western Sahara phone numbers are written and dialed
- Calling code
- +212
- Trunk prefix
- 0
- International prefix
- 00
- Number lengths
- 9
- Example mobile
- Not available
- Example landline
- Not available
To call Western Sahara from abroad, dial +212 and drop the trunk prefix 0.
From another country, dial your international access code (00 in most of the world, 011 from the United States and Canada, or + on a mobile phone), then 212, then the national number.
Inside Western Sahara, national numbers are dialed with the trunk prefix 0, which you drop after +212 when calling from abroad.
A valid Western Sahara number has 9 digits after the country code.
+212 is shared with Morocco: the first digits of the national number tell them apart.
To call abroad from Western Sahara, dial 00 before the foreign country code.
Numbers from Western Sahara come in 5 types, each with its own first digits.
Each row is a line type of the numbering plan, with the number of digits after +212 and the digits it starts with.
| Type | Digits after +212 | Starts with | Example |
|---|---|---|---|
| Landline | 9 | 52 | Not available |
| Mobile | 9 | 6, 70–73, 75–78 | Not available |
| Premium rate | 9 | 89 | Not available |
| Toll-free | 9 | 80 | Not available |
| VoIP | 9 | 59, 80 | Not available |
Examples come from Google's libphonenumber metadata. They are valid in format and are not assigned to real people.
libphonenumber gives every number on +212 the same time zone list.
Its time zone file has no separate entry for Western Sahara: every number on +212 gets this list, whichever country or territory it belongs to.
- Atlantic/Canary
+212 is shared by 2 countries and territories.
They dial the same country code, so the first digits of the national number tell them apart. The check picks the right one from the full number.
| Country or territory | ISO |
|---|---|
| Morocco | MA |
Frequently asked questions
How do I call abroad from Western Sahara?
What time zone are numbers from Western Sahara in?
Which countries share +212?
Numbering plan from Google's libphonenumber v9.0.44 metadata, read through libphonenumber-js 1.13.17.
Time zones from libphonenumber's resources/timezones/map_data.txt.
All data sources and licensesPut this check in your product
Get an API key in under a minute. 100 free credits every month, no card required.
- 100 free credits a month
- No card
- Test keys spend nothing
- Cancel any time