Skip to content

The country code of Tanzania is +255.

How Tanzania phone numbers are written and dialed

Calling code
+255
Trunk prefix
0
International prefix
Not available
Number lengths
9
Example mobile
+255 621 234 567
Example landline
+255 22 234 5678

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

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

A valid Tanzania number has 9 digits after the country code.

From abroad
+255 621 234 567
Written at home
0621 234 567
E.164
+255621234567

Numbers from Tanzania come in 6 types, each with its own first digits.

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

TypeDigits after +255Starts withExample
Landline922–28+255 22 234 5678
Mobile960–63, 65–69, 7+255 621 234 567
Premium rate990+255 900 12 3456
Toll-free980+255 800 12 3456
Shared cost984, 86+255 840 12 3456
VoIP941+255 41 234 5678

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

Numbers from Tanzania map to the Africa/Dar es Salaam time zone.

Every range of Tanzania in libphonenumber's time zone file points to Africa/Dar es Salaam.

  • Africa/Dar_es_Salaam

4 common mistakes with numbers from Tanzania: 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 +255 621 234 567.

  1. Keeping the 0 after +255

    Valid

    +255 0621 234 567

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

  2. One digit missing

    Invalid

    +255 621 234 56

    One digit shorter than +255 621 234 567. The check returns Invalid.

  3. One digit too many

    Invalid

    +255 621 234 5670

    One digit longer than +255 621 234 567. The check returns Invalid.

  4. The wrong country selected

    Valid

    0621 234 567

    Typed as a national number with Kenya selected in the country menu, it is read as a number on +254. The check accepts it as +254621234567, a valid number from Kenya, but not the number you meant.

Frequently asked questions

What is the country code of Tanzania?
+255. Dial it before the national number when you call Tanzania from another country, and keep it at the start of every stored number, as in +255621234567.
How do I call Tanzania from the United States?
Dial 011, the international prefix of the United States, then 255, then the national number without its trunk prefix 0: 011 255 621 234 567.
What is the trunk prefix of Tanzania?
0. It is dialed before the national number inside Tanzania only, as in 0621 234 567, and is dropped after +255.
What time zone are numbers from Tanzania in?
libphonenumber maps them to Africa/Dar es Salaam.

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