Frequently Asked Questions
The country code for Lebanon is +961. This code is required when dialing Lebanese numbers from outside the country. It precedes the area code and subscriber number.
Store Lebanese phone numbers in the international format (+961XXXXXXXX) without spaces or special characters. This ensures consistency and simplifies processing, regardless of the original input format.
Lebanese phone numbers follow the ITU-T E.164 standard, with a maximum length of 15 digits in the international format (+961 X XXXXXX) and 8 digits in the national format (0X XXXXXX).
Use regular expressions like ^\+961[1-9]\d{6,7}$
for international format and ^0(?:[14-79][\d]{6}|3(?:[\d]{6}|[0-9][\d]{7})|7(?:0|1|6|8|9)[\d]{6}|81[2-8]\d{5})$
for national format for accurate validation and to account for variations in prefixes.
Number portability allows users to change carriers while keeping their number, making prefix-based validation unreliable. A comprehensive approach including regular expressions and carrier lookup APIs is recommended.
The national prefix for calls within Lebanon is 0. It precedes the area code when dialing landlines or mobile numbers domestically.
Remove all non-digit characters from user input using a function or regular expression like replace(/\D/g, '')
to ensure data consistency and prevent errors during validation and processing.
The Telecommunications Regulatory Authority (TRA) regulates Lebanon's fixed-line and mobile networks, ensuring compliance with international standards and managing the numbering system.
Due to number portability, relying on prefixes for carrier identification is unreliable. Integrate a real-time carrier lookup API or consider caching lookup results with a reasonable TTL.
Use a carrier lookup API when accurate carrier identification is crucial, such as for routing calls or applying carrier-specific logic. Balance real-time lookups with caching for performance.
Lebanon has two main mobile carriers: Alfa (MIC1) with prefixes 03, 70, 71 and some 07x numbers and Touch (MIC2) using prefixes 76, 78, 79 and some 07x, 03x and 081x numbers.
No, relying solely on prefixes to identify carriers is unreliable due to number portability. Subscribers can switch operators while retaining their existing number.
Lebanese National Significant Numbers (NSNs) have 8 digits. These digits follow the national prefix (0) and the area code when dialing within Lebanon.
Lebanon Phone Number Format: +961 Country Code & Validation Guide
Format, validate, and handle Lebanon phone numbers in your applications. This guide covers the +961 country code, number structures, carrier identification (Alfa, Touch, Ogero), validation patterns, and security considerations for developers working with Lebanese telecommunications.
Quick Reference
How to Dial Lebanon Phone Numbers
From abroad to Lebanon: Dial your country's international access code + 961 + local number (without leading 0)
Within Lebanon: Dial the full 8-digit number including area code with leading 0
Emergency Numbers in Lebanon
Source: National News Agency
Understanding Lebanon Phone Number Format
The Telecommunications Regulatory Authority (TRA) manages Lebanon's numbering system, which combines fixed-line and mobile networks. All Lebanese numbers follow the ITU-T E.164 international phone number standard, with a maximum length of 15 digits in international format.
Core Structure
When to Use Each Format:
Handling User Input:
Users enter phone numbers with various formatting characters. Accept and normalize these variations:
Best Practice: Store phone numbers in your database using the E.164 international format (+961XXXXXXXX) without spaces or special characters. This ensures consistency and simplifies processing across your application.
Lebanon Area Codes and Mobile Prefixes
Identify Lebanese number types by prefix:
Critical Note: Lebanon has not implemented Mobile Number Portability (MNP) as of 2025. Prefixes reliably indicate the carrier that originally assigned the number, but operators recycle numbers when subscribers switch providers or accounts become inactive.
Security Warning: Touch recycles prepaid numbers after 30 days of inactivity and postpaid numbers after 90 days. Alfa uses a digital system to randomly select and recycle inactive numbers.
Number Recycling Impact on Applications:
Number recycling creates these critical security and UX risks:
Mitigation: Implement phone number re-verification every 60–90 days for security-critical features. Use SMS OTP or phone call verification described in the Troubleshooting section.
How to Validate Lebanon Phone Numbers
Validate Lebanese phone numbers using regex patterns and validation logic. Since Lebanon doesn't have number portability, rely on prefix-based identification to determine the original carrier.
Validation Strategy
Client-side validation:
Server-side validation:
Special Service Numbers:
Lebanon uses special short codes that should not be validated as regular numbers:
Explicitly exclude these short codes from validation, or handle them separately if your application needs to support them.
Regular Expressions for Lebanon Phone Number Validation
Use these regular expressions to validate Lebanese number types:
Phone Number Formatting and Sanitization
Maintain consistent formatting to improve data quality and user experience:
Lebanon Mobile Carriers: Alfa and Touch
Lebanon operates three state-owned telecommunications providers:
MVNO Status: Lebanon does not have Mobile Virtual Network Operators (MVNOs) or third-party mobile providers. Alfa and Touch provide all mobile services exclusively. No regulatory framework for MVNO licensing exists as of 2025, though this may change with future telecommunications reforms.
Number Portability Status: Lebanon has not implemented Mobile Number Portability (MNP) as of 2025. Users surrender their number when switching between Alfa and Touch. You can reliably use prefix-based carrier identification to determine the original network assignment.
Number Recycling Practices
Understand how operators recycle inactive numbers:
Developer Implication: If your application requires long-term number ownership verification (security, account recovery), implement periodic re-verification. Don't assume permanent number-to-user associations given aggressive recycling timelines.
Re-verification Implementation:
Troubleshooting Lebanon Phone Number Issues
Common issues when handling Lebanese phone numbers:
Leading Zero Errors
Invalid Prefix Errors
Carrier Misidentification
Number Recycling Issues
Verification Methods:
Production Debugging Tips:
Best Practices for Lebanon Phone Number Implementation
Handle Lebanese phone numbers effectively:
Input Sanitization Sanitize user input to remove non-digit characters_ spaces_ and formatting before validation. Use the
normalizeLebanonNumber()
function provided above.Comprehensive Validation Use regular expressions that cover all valid prefix ranges_ including the new 76_ 78_ 79_ and 81 ranges added in May 2025. Don't rely on length checks alone.
Clear Error Messages Write specific error messages that help users fix issues:
Internationalization Accept and display both national and international formats seamlessly. Convert to E.164 for storage_ display in user's preferred format.
Stay Updated Monitor TRA regulations for changes to the numbering plan or MNP implementation announcements. The most recent update was May 26_ 2025. Subscribe to ITU operational bulletins or TRA updates at http://www.tra.gov.lb/.
Account Security Given rapid number recycling (30–90 days)_ avoid using phone numbers as sole authentication or account recovery. Implement additional verification methods like email or security keys.
Prefix-Based Routing Since Lebanon doesn't have MNP_ reliably route SMS and calls based on prefix to optimize costs through carrier-specific agreements.
Routing Implementation:
Typical Cost Optimization:
Performance Considerations:
Frequently Asked Questions
What is the country code for Lebanon?
The international country code for Lebanon is +961. When dialing from abroad, dial +961 followed by the 8-digit national number (without the leading 0). To call 01 234567 from outside Lebanon, dial +961 1 234567.
How many digits are in a Lebanon phone number?
Lebanese phone numbers contain 8 digits in national format (NSN length). When including the country code, the full international format is 11 digits: +961 followed by 8 digits.
Does Lebanon have mobile number portability?
No, Lebanon has not implemented Mobile Number Portability (MNP) as of 2025. Users give up their phone number when switching between Alfa and Touch mobile operators. You can reliably identify carriers based on number prefixes.
What are Lebanon mobile number prefixes?
Lebanon mobile numbers use these prefixes:
Some 03 prefixes belong to Alfa while others belong to Touch – check the specific ranges for accurate carrier identification. New mobile prefixes 76, 78, 79, and 81 were added in May 2025 per ITU Communication.
How do I format a Lebanon phone number for international dialing?
Format Lebanese numbers for international use in E.164 format: +961XXXXXXXX (no spaces or special characters). Remove the leading 0 from the national format and prefix with +961. Example: 01 234567 becomes +9611234567.
What is Lebanon's Beirut area code?
Beirut's area code is 01. Within Lebanon, dial 01 followed by 6 digits. From abroad, dial +961 1 followed by 6 digits. The 01 prefix identifies landline numbers in the Beirut metropolitan area.
How long before Lebanon mobile numbers are recycled?
Lebanon mobile operators recycle inactive numbers quickly:
This aggressive recycling means phone numbers can be reassigned to new users within 1–3 months of inactivity.
How do I validate a Lebanon phone number in JavaScript?
Use regex patterns to validate Lebanese numbers. For international format:
For national format with comprehensive prefix validation, see the full patterns in the validation section above. Include the new 76, 78, 79, and 81 prefixes added in May 2025.
Additional Resources
Explore these official sources for more information:
Phone Validation Libraries:
Next Steps
Implement Lebanese phone number handling in your application:
normalizeLebanonNumber()
functionidentifyCarrier()
function aboveDatabase Schema Example:
Lebanon hasn't implemented mobile number portability, which means prefix-based carrier identification remains reliable. However, aggressive number recycling practices (30–90 days) may affect long-term number-to-user associations. Stay informed about TRA regulatory changes and monitor ITU operational bulletins for numbering plan updates. The most recent update was May 26, 2025 (Ministerial Decisions No. 172/1, 173/1), adding new mobile number ranges.