Frequently Asked Questions
Vietnamese phone numbers are formatted according to their type: geographic, mobile, toll-free, or premium rate. Geographic numbers follow 0AA XXXXXXX, mobile numbers use 0XX XXXXXXXX, toll-free numbers are 1800 XXXX or 1800 XXXXXX, and premium-rate numbers follow 1900 XXXX or 1900 XXXXXX. Consistent formatting is important for readability and user experience within applications.
The country code for Vietnam is +84. This code, according to ITU-T Recommendation E.164, precedes all Vietnamese phone numbers when dialing internationally and is essential for global connectivity.
Vietnam uses area codes (0AA) for geographic (landline) numbers to route calls to specific administrative regions. These codes vary in length (2 or 3 digits), with major cities like Ho Chi Minh City (028), Hanoi (024), and Da Nang (0236) having their own distinct codes.
You should always store and process Vietnamese phone numbers in E.164 format (+84XXXXXXXXXX) for consistent storage, international compatibility, and simplified integration with global systems, particularly crucial when handling varied user input.
Yes, you can identify a Vietnamese mobile carrier by examining the network prefix (0XX) of a 10-digit mobile number. Each operator has a specific prefix range, like Viettel (032-039, 096-098), MobiFone (070, 076-079, 090, 093), and Vinaphone (081-085, 091, 094).
Vietnam mobile numbers follow a standardized 10-digit format: 0XX XXXXXXXX, where 0XX represents the network prefix and the remaining digits are the subscriber number. This standardization simplifies integration and validation for developers, replacing the previous mix of 10 and 11-digit numbers.
Use regular expressions for robust validation of Vietnamese phone numbers. For example, geographic numbers can be validated with /^0([2-9]\d{1,2})\d{7,8}$/, mobile numbers with /^0(3[2-9]|5[2689]|7[06-9]|8[1-5]|9[0-4689])\d{7}$/, ensuring accurate data and preventing errors.
Toll-free numbers in Vietnam follow the format 1800 XXXX or 1800 XXXXXX. These numbers allow callers within Vietnam to contact businesses without incurring charges, and they are typically used for customer support and services.
Premium-rate numbers in Vietnam use the format 1900 XXXX or 1900 XXXXXX. These numbers are used for value-added services like contests, voting lines, and entertainment, often incurring higher charges for the caller.
The 2G network in Vietnam is scheduled to shut down in September 2024. Developers should ensure their systems are prepared for this by implementing fallback mechanisms and notifying users, especially for applications relying on 2G connectivity.
Vietnam's updated Telecommunications Law, effective July 1, 2024, introduces new regulations for data centers, cloud computing, and Over-The-Top (OTT) services, impacting licensing and operations. Developers should be aware of registration requirements for OTT services and data protection obligations.
For the latest regulatory updates and technical requirements related to Vietnam's telecommunications sector, monitor the Ministry of Information and Communications (MIC) website at https://www.mic.gov.vn/. This is essential for staying informed about changes and maintaining compliance.
Future trends in Vietnam's telecommunications landscape include the ongoing 5G evolution, increasing integration of the Internet of Things (IoT), and enhanced security measures. Developers should plan for increased bandwidth, reduced latency, M2M number ranges, and implementing additional verification for premium services.
Vietnam Phone Numbers: Complete Format & Validation Guide
Implement Vietnamese phone number validation and formatting correctly in your application. This guide provides production-ready code examples, regulatory compliance requirements, and network operator details for Vietnam's telecommunications system.
Quick Reference
Key Regulatory Dates:
Understanding Vietnam's Phone Number System
Vietnam's telecommunications sector has undergone a rapid transformation, evolving from a fragmented system to a modern, standardized infrastructure. This modernization has brought about significant changes in number formats and regulations, impacting how developers handle phone number integration. As a developer, you need to be aware of these changes to ensure your applications remain compliant and functional.
Vietnam Phone Number Format: E.164 Standard
Vietnam's phone numbering plan adheres to the ITU-T Recommendation E.164 standard, utilizing the country code +84. This standardization is essential for international compatibility and allows your applications to seamlessly connect with users globally. The system has progressed through several phases:
Geographic (Landline) Numbers
Geographic numbers are tied to specific administrative regions within Vietnam. Major cities have distinct area codes, which are essential for routing calls correctly. You should consider these area codes when validating user input and formatting numbers for display.
Key Area Codes:
Important Considerations for Geographic Numbers:
When working with geographic numbers, remember that area codes can vary in length (2 or 3 digits), impacting the overall number structure. You'll need to account for this variability in your validation logic. Additionally, some area codes are further subdivided, as seen in Hanoi where different prefixes exist for various telecommunication providers (e.g., 0242 for Viettel landlines, 0243 for VNPT landlines). This level of detail is crucial for accurate routing and validation.
Mobile Numbers
Mobile numbers in Vietnam are now standardized to 10 digits, simplifying implementation for developers. This standardization is a key improvement over the previous mix of 10 and 11-digit numbers.
Network Prefix Guide
Network Prefix Usage:
Use network prefixes to identify the mobile carrier and optimize message routing. The three major operators (Viettel, Vinaphone, MobiFone) cover 95.9% of Vietnam's mobile market.
Toll-Free and Premium Rate Numbers
Vietnam uses toll-free (1800) and premium rate (1900) numbers for customer service and value-added services.
Toll-Free Numbers
Toll-free numbers allow callers within Vietnam to contact businesses without incurring charges. They are typically used for customer support and services.
Premium Rate Numbers
Premium-rate numbers are used for value-added services and often incur higher charges for the caller. They are commonly used for contests, voting lines, and entertainment services.
Implementation Best Practices for Developers
This section provides practical guidance on implementing Vietnamese phone number handling in your applications.
Validation Patterns
Use these regular expressions to validate Vietnamese phone numbers efficiently. Each pattern matches specific number types based on current 2025 operator allocations.
Testing Your Validation:
Always thoroughly test your validation patterns with various valid and invalid inputs, including edge cases and potential user errors. This will help you identify and fix any vulnerabilities.
Number Formatting
Consistent formatting improves user experience and readability. Implement formatting functions to standardize how phone numbers are displayed in your application.
Adapting to Different Formats:
Be prepared to handle different input formats from users. Your formatting function should be able to gracefully handle numbers with or without spaces, hyphens, and other non-numeric characters.
Number Normalization
Normalize phone numbers to the E.164 format (+84XXXXXXXXXX) for consistent storage and international compatibility. This is particularly important when dealing with user input, which can vary in format.
Why E.164 Matters:
Storing numbers in the E.164 format ensures consistency and simplifies integration with international systems. It also facilitates accurate number lookup and validation.
Regulatory Compliance and Recent Changes
Monitor these regulatory changes to maintain compliance with Vietnam's telecommunications requirements.
Key Regulatory Updates
2G Network Sunset (October 15, 2024)
Originally scheduled for September 16, 2024, the 2G shutdown was postponed to October 15, 2024 due to Storm Yagi damage. Over 10 million users must transition to 4G/5G networks. Implement fallback mechanisms and user notifications now.
5G Network Rollout
Leverage increased bandwidth and reduced latency in your applications as 5G deployment continues across major urban centers.
Telecommunications Law No. 24/2023/QH15 (Effective July 1, 2024)
New regulations govern data centers, cloud computing, and Over-The-Top (OTT) services. Decree 163/2024/ND-CP (effective January 1, 2025) provides implementation guidelines.
Compliance Requirements:
Technical Implementation Checklist
Future-Proofing Your Implementation
Prepare for upcoming changes:
Stay Informed:
Monitor the Ministry of Information and Communications for regulatory updates and technical requirements.
Frequently Asked Questions
What is the country code for Vietnam phone numbers?
The country code for Vietnam is +84. When dialing internationally, replace the leading 0 with +84. For example, 0987 654 321 becomes +84 987 654 321.
How many digits are in a Vietnamese phone number?
All Vietnamese phone numbers contain 10 digits after removing the country code. This includes both mobile and landline numbers. The format is standardized as of 2018.
How do I validate a Vietnam mobile number?
Use the regex pattern
/^0(3[2-9]|5[2689]|7[06-9]|8[1-9]|9[0-4689])\d{7}$/
for national format, or store numbers in E.164 format (+84XXXXXXXXX). Check the Network Prefix Guide above for current 2025 operator allocations.Which mobile network is the largest in Vietnam?
Viettel is the largest mobile operator with 54.2% market share, followed by Vinaphone (23.1%) and MobiFone (18.6%). Together, these three operators serve 95.9% of Vietnam's mobile market.
Does Vietnam support number portability?
Number portability is not currently implemented in Vietnam as of 2025. Users cannot keep their phone number when switching between carriers.
What is the format for Vietnam toll-free numbers?
Vietnam toll-free numbers use the 1800 prefix followed by 4–6 digits (e.g., 1800 1234 or 1800 123456). These numbers are free for callers within Vietnam.
When did Vietnam's 2G network shut down?
Vietnam's 2G network shut down on October 15, 2024. Originally scheduled for September 16, 2024, the shutdown was postponed due to Storm Yagi damage and to allow over 10 million users to transition to 4G/5G.
How do I identify a Vietnamese mobile carrier from the phone number?
Check the first three digits (network prefix). Viettel uses 032-039, 096-098; Vinaphone uses 081-088, 091, 094; MobiFone uses 070, 076-079, 089, 090, 093. See the complete Network Prefix Guide table above.
Source Citations
Regulatory Bodies and Official Sources:
International Standards:
Network Infrastructure and Operators:
Technical Resources:
Conclusion
Implement Vietnamese phone number validation using E.164 format storage, current operator prefix validation (updated for 2025), and regulatory compliance checks. Review the Technical Implementation Checklist in vn.md:187-192 to ensure your application handles all number types correctly.
Next Steps:
For questions about E.164 formatting, see the E.164 Phone Number Format Guide.