Tunisia Phone Numbers: Format, Area Code & Validation Guide - phone-number-standards -

Frequently Asked Questions

The area code for the Greater Tunis Region in Tunisia is 71. This two-digit prefix is used for landline numbers within the capital and surrounding areas.
The Tunisia country code is +216. This code precedes the 8-digit National Significant Number (NSN) when dialing internationally to Tunisia, ensuring the call is correctly routed.
Tunisian phone numbers locally are formatted as XX XXX XXX, separating the 8-digit NSN into three groups. For example, a Tunis landline number would be formatted as 71 234 567.
Use the regular expression /^(2[0-9]|5[0-9]|9[0-9])\d{6}$/ to validate Tunisian mobile numbers. This regex checks for the correct operator prefixes (20-29 for Tunisie Telecom, 50-59 for Ooredoo, and 90-99 for Orange) followed by six digits.
Regional prefixes for landlines (71-78) in Tunisia identify specific regions within the country. For instance, 71 designates the Greater Tunis Region while 72 points to Northern Tunisia. This system helps geographically categorize calls and services.
The emergency number for the police in Tunisia is 190. This number, along with other emergency numbers like 197 for fire and 198 for ambulance, are accessible 24/7 from any phone, even without a SIM card.
Toll-free numbers in Tunisia begin with the prefix 80, followed by six more digits (80 XXX XXX). Identifying these allows for special handling in applications, often excluding charges or applying alternative routing logic.
Consider MNP when building applications that require accurate operator information. Because users can keep their numbers when switching providers, relying solely on prefixes can be misleading. Using a real-time number lookup service or consulting the INT's SLA for MNP guidelines are crucial steps.
To format with the country code, remove all non-digit characters, then prepend '+216 ' and group the remaining digits: `+216 XX XXX XXX`. Example: +216 20 123 456. This ensures international compatibility.
Special service numbers in Tunisia, like toll-free (80 XXX XXX), premium rate (88 XXX XXX), and shared cost (81 XXX XXX), require specific handling within applications. This might involve different billing logic or specialized routing compared to standard calls.
Tunisia has four primary mobile operators: Tunisie Telecom, Ooredoo, Orange Tunisia, and Lycamobile. This competitive market, combined with the government's efforts for digitalization, has resulted in a standardized numbering system.
You can determine the area code by examining the first two digits of the 8-digit National Significant Number (NSN). Valid area codes for geographic numbers range from 71 to 78, representing different regions across the country.
Understanding Tunisia's telecommunications system is crucial for developers as it allows them to correctly validate, format, and process phone numbers. The country's high mobile penetration rate and ongoing digitalization efforts make this knowledge even more important for effective integration.
Loading...