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.
| Type | Digits after +252 | Starts with | Example |
|---|---|---|---|
| Landline | 6 or 7 | 1, 20–27, 29, 3, 4, 55, 57–59, 81, 82, 85 | +252 4 012345 |
| Mobile | 7 to 9 | 15, 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.
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.
One digit missing
Invalid+252 7 112345
One digit shorter than +252 7 1123456. The check returns Invalid.
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.
The wrong country selected
Invalid7 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?
How do I call Somalia from the United States?
What is the trunk prefix of Somalia?
How do I call abroad from Somalia?
What time zone are numbers from Somalia in?
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