Skip to content

The country code of Somalia is +252.

How Somalia phone numbers are written and dialed

Calling code
+252
Trunk prefix
0
International prefix
00
Number lengths
6, 7, 8, 9
Example mobile
+252 7 1123456
Example landline
+252 4 012345

To call Somalia from abroad, dial +252 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 252, then the national number.

Inside Somalia, national numbers are dialed with the trunk prefix 0, which you drop after +252 when calling from abroad.

A valid Somalia number has 6 to 9 digits after the country code.

To call abroad from Somalia, dial 00 before the foreign country code.

From abroad
+252 7 1123456
Written at home
7 1123456
E.164
+25271123456

Numbers from Somalia come in 2 types, each with its own first digits.

Each row is a line type of the numbering plan, with the number of digits after +252 and the digits it starts with.

TypeDigits after +252Starts withExample
Landline6 or 71, 20–27, 29, 3, 4, 55, 57–59, 81, 82, 85+252 4 012345
Mobile7 to 915, 24, 28, 35, 39, 48, 49, 6, 7, 80, 88, 90, 92–99+252 7 1123456

Examples come from Google's libphonenumber metadata. They are valid in format and are not assigned to real people.

Numbers from Somalia map to the Africa/Mogadishu time zone.

Every range of Somalia in libphonenumber's time zone file points to Africa/Mogadishu.

  • Africa/Mogadishu

4 common mistakes with numbers from Somalia: 2 of them fail the check

Each example below was run through the same check as the tool on this page, starting from the valid number +252 7 1123456.

  1. Keeping the 0 after +252

    Valid

    +252 07 1123456

    The trunk prefix 0 is only dialed inside Somalia: after +252 it does not belong. The check reads it as +25271123456 anyway. Store that E.164 form: a system that compares numbers as text would see two different numbers.

  2. One digit missing

    Invalid

    +252 7 112345

    One digit shorter than +252 7 1123456. The check returns Invalid.

  3. One digit too many

    Valid

    +252 7 11234560

    One digit longer than +252 7 1123456. The check accepts it as +252711234560, a valid number from Somalia, but not the number you meant.

  4. The wrong country selected

    Invalid

    7 1123456

    Typed as a national number with Ethiopia selected in the country menu, it is read as a number on +251. The check returns Invalid.

Frequently asked questions

What is the country code of Somalia?
+252. Dial it before the national number when you call Somalia from another country, and keep it at the start of every stored number, as in +25271123456.
How do I call Somalia from the United States?
Dial 011, the international prefix of the United States, then 252, then the national number without its trunk prefix 0: 011 252 7 1123456.
What is the trunk prefix of Somalia?
0. It is dialed before the national number inside Somalia only, as in 7 1123456, and is dropped after +252.
How do I call abroad from Somalia?
Dial 00, then the country code and the number. On a mobile phone, + works in place of 00.
What time zone are numbers from Somalia in?
libphonenumber maps them to Africa/Mogadishu.

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