Phone numbers · TZ
Tanzania phone number format
Tanzania numbers use the country code +255. A mobile number looks like 0621 234 567 at home and +255621234567 in international E.164 format.
| Type | Example (national) | International | E.164 | Digits |
|---|---|---|---|---|
| Mobile | 0621 234 567 | +255 621 234 567 | +255621234567 | 9 |
| Landline | 022 234 5678 | +255 22 234 5678 | +255222345678 | 9 |
| Toll-free | 0800 12 3456 | +255 800 12 3456 | +255800123456 | 9 |
| VoIP | 041 234 5678 | +255 41 234 5678 | +255412345678 | 9 |
| Premium-rate | 0900 12 3456 | +255 900 12 3456 | +255900123456 | 9 |
| Shared-cost | 0840 12 3456 | +255 840 12 3456 | +255840123456 | 9 |
- Country calling code
- +255
- National (trunk) prefix
- 0
- International call prefix
- 00[056]
- Separate VoIP range
- Yes
- Time zones
- Africa/Dar_es_Salaam
Validate in code
Check a Tanzania number.
Send the number as typed plus country: "TZ". You get it back in E.164 with its line type, ready to store.
curl https://veqen-app.com/v1/phone/check \
-H "Authorization: Bearer $VEQEN_API_KEY" \
-H "Content-Type: application/json" \
-d '{"country": "TZ", "phone": "0621 234 567"}'import os, requests
r = requests.post(
"https://veqen-app.com/v1/phone/check",
headers={"Authorization": f"Bearer {os.environ['VEQEN_API_KEY']}"},
json={"country": "TZ", "phone": "0621 234 567"},
timeout=10,
)
result = r.json()
print(result["risk"]["verdict"], result["risk"]["reasons"])const res = await fetch("https://veqen-app.com/v1/phone/check", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.VEQEN_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({"country": "TZ", "phone": "0621 234 567"}),
});
const result = await res.json();
console.log(result.risk.verdict, result.risk.reasons);Questions
Tanzania numbers
What is the country code for Tanzania?
+255. Dial it after your international access code, or use +255 from a mobile phone.
How do I format a Tanzania phone number in E.164?
Drop the national prefix (0) and add +255. For example 0621 234 567 becomes +255621234567.
How many digits is a Tanzania mobile number?
9 digits after the country code.
Does Tanzania have VoIP phone numbers?
Yes, it has a dedicated VoIP range, and Veqen flags numbers in it.