Skip to content

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.

TypeDigits after +212Starts withExample
Landline952Not available
Mobile96, 70–73, 75–78Not available
Premium rate989Not available
Toll-free980Not available
VoIP959, 80Not 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 territoryISO
MoroccoMA

Frequently asked questions

How do I call abroad from Western Sahara?
Dial 00, then the country code and the number. On a mobile phone, + works in place of 00.
What time zone are numbers from Western Sahara in?
libphonenumber gives every number on +212 the same list: Atlantic/Canary.
Which countries share +212?
2 countries and territories use +212: Western Sahara and Morocco.

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 licenses

Put 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