Frequently Asked Questions
Maldives phone numbers follow a 7-digit format after the +960 country code. There are no area codes within the Maldives, using a unified national numbering plan. Number types are identified by prefixes: 3/6 for fixed lines, 7/9 for mobile, 800 for toll-free, and 900 for premium rate.
Use regular expressions to validate Maldives numbers. Match the 7-digit format and prefixes for different number types (3/6 for fixed, 7/9 for mobile, 800 for toll-free, 900 for premium). Remember to clean the input by removing spaces and hyphens before validation.
The Maldives country code is +960. This code must precede all Maldivian phone numbers when dialing internationally. When calling within the Maldives, the country code is not used. Instead, you'll typically dial only the 7-digit subscriber number.
The Maldives uses a unified national numbering plan, meaning no area codes are necessary. This simplifies the dialing process within the country. All numbers are 7 digits long, differentiated by their prefixes (3/6 for landlines, 7/9 for mobile, etc.).
Use an NPDB when accurate routing or SMS delivery is crucial. Due to number portability, a number's original prefix might not indicate its current operator. An NPDB lookup ensures you have the correct routing information, especially after the 2016 introduction of MNP in the Maldives.
The international prefix for calling the Maldives is 00. This prefix, followed by the country code (+960) and the 7-digit subscriber number, is used when making international calls to the Maldives from another country.
Yes, number portability is available in the Maldives. Users can switch providers while keeping their number after 90 days of activation or last porting. To initiate the process, send an SMS "PORT" to 234 and use the received Unique Porting Code with your new provider.
Maldives mobile numbers begin with the prefix 7 or 9, followed by six digits. The full international format includes the +960 country code. For example, a Maldives mobile number would look like +9607XXXXXX or +9609XXXXXX.
The Maldives Communications Authority (MCA) regulates telecommunications in the Maldives. They are responsible for setting standards and managing number portability (MNP). You can find more information on their website (http://www.mca.gov.mv).
Maldives emergency numbers are shortcodes like 119 (Police), 102 (Ambulance), and 118 (Fire). These numbers don't follow the standard 7-digit format and should be handled separately in your validation logic.
Maldives toll-free numbers use the prefix 800 followed by six digits. The full format is 800XXXXXX. These numbers are typically used for customer service or helpline services.
Maldives Phone Numbers: Format, Area Code & Validation Guide
Introduction
Learn how to validate and format Maldives phone numbers using the +960 country code in this comprehensive developer guide. The Maldives numbering plan uses a unified 7-digit format without area codes, featuring operator-specific prefixes for Dhiraagu (7-series) and Ooredoo (9-series) networks. Proper phone number validation prevents failed message delivery, routing errors, and poor user experience in SMS platforms, call routing systems, and authentication flows.
This guide covers E.164 formatting standards, regular expression validation patterns for JavaScript and Python, mobile number portability (MNP) implementation with NPDB integration, and best practices for handling emergency numbers and special service codes in the Maldives telecommunications system.
Quick Reference
Maldives Phone Number Format and Structure
The Maldives uses a straightforward national numbering plan. This simplicity demands meticulous attention to detail for accurate processing.
Understanding the Maldives National Numbering Plan
The Maldives employs a unified national numbering plan – no area codes exist. This creates a simplified nationwide system.
The following diagram illustrates the structure:
What Are the Different Maldives Number Formats by Type?
Different number types are distinguished by their prefixes. Consider these distinctions in your validation logic:
33XXXXX
6XXXXXX
40XXXXX
,45XXXXX
7XXXXXX
9XXXXXX
0800XXX
900XXXXXX
119
,102
,118
,191
You now understand the different number types and their formats. Let's turn to implementation.
Phone Number Validation for Maldives (+960)
Robust number validation is crucial for any application dealing with phone numbers. Common validation pitfalls include failing to strip international prefixes before regex matching, not accounting for number portability when routing, treating all 7-digit numbers as valid without prefix checks, and inadequate error messages that don't guide users to correct formatting. Here's a practical guide to implementing number validation with explanations and edge case considerations.
Regular Expression Patterns for Maldives Number Validation
Regular expressions provide a powerful way to validate Maldives phone numbers. Here are examples in multiple languages:
JavaScript:
Python:
This code provides comprehensive validation with proper international format handling. Strip the country code prefix before applying regex patterns for local number validation.
Mobile Number Portability (MNP) in Maldives
Number portability allows users to switch providers while keeping their original number. A number's prefix might not indicate its current operator. Integrate a Number Portability Database (NPDB) lookup into your system for accurate routing of calls and SMS messages.
Mobile Number Portability (MNP) launched in Maldives on March 3, 2016 (CAM Customer Guide, March 10, 2016). Users must meet eligibility criteria: active number, 90 days since activation or last port, no outstanding bills (postpaid), and cleared credit services (prepaid). The porting process requires sending SMS "PORT" to 234 to receive a Unique Porting Code (UPC) valid for 7 days, paying the MVR 200 non-refundable porting fee, and submitting application with ID documents at the new provider's service outlet. Migration completes overnight between 00:00–02:00 hours with up to 2 hours of service disruption. Cancel within 24 hours unless porting completes earlier.
NPDB Integration Considerations:
Advanced TypeScript Validation with Error Handling
Build a comprehensive validation function that checks length, prefix, and format, and returns detailed information about the validation result.
This enhanced function provides a robust and informative validation process. Handle potential errors gracefully and provide helpful error messages.
Best Practices for Maldives Phone Number Integration
Follow these best practices when integrating Maldives phone number validation in your applications:
Frequently Asked Questions
What is the country code for Maldives?
The Maldives country code is +960. Dial this before the 7-digit local number when calling from outside the country.
How many digits are in a Maldives phone number?
Maldives phone numbers have 7 digits after the country code (+960). The complete international format is +960 followed by 7 digits, making 11 digits total.
How do I identify if a Maldives number is Dhiraagu or Ooredoo?
Mobile numbers starting with 7 (specifically 72–79) were originally allocated to Dhiraagu, while numbers starting with 9 (91–99) belong to Ooredoo. However, due to mobile number portability since March 2016, the prefix may not reflect the current operator – always query the NPDB for routing decisions.
Does Maldives use area codes?
No, Maldives uses a unified national numbering plan with no area codes. All numbers are 7 digits regardless of location.
What are the emergency numbers in Maldives?
How do I format a Maldives phone number in E.164 format?
The E.164 format for Maldives phone numbers is: +9607XXXXXXX (country code +960 followed by the 7-digit local number with no spaces or special characters). This standardized international format ensures compatibility across global telecommunications systems.
What is the Maldives mobile number portability process?
Send "PORT" to 234 after 90 days with your current provider. You'll receive a Unique Porting Code (UPC) valid for 7 days. Pay the MVR 200 non-refundable fee and complete the application at your new provider with required ID documents. Migration completes overnight (00:00–02:00) with up to 2 hours disruption.
When was the current Maldives numbering plan introduced?
The current 7-digit numbering plan was introduced in 2005 (ITU Operational Bulletin No. 843, August 2005), standardizing all number types. The migration replaced the previous 5–6 digit formats used before 2005.
What is the MCC and MNC for Maldives operators?
The Mobile Country Code (MCC) for Maldives is 472. Mobile Network Codes (MNC) are 01 for Dhiraagu and 02 for Ooredoo, as specified in ITU-T Recommendation E.212.
How do I validate international format Maldives numbers?
Strip the leading "+" or "00960" prefix, then validate the remaining 7-digit local number against the appropriate pattern for the number type (mobile, fixed-line, non-geographic, toll-free, or premium).
What are the non-geographic number ranges used for?
Non-geographic numbers (400–401 for Ooredoo, 450 for Dhiraagu) are used for VoIP services and location-independent business numbers. These don't correspond to specific geographic areas or atolls.
Conclusion
You now have the complete implementation guide for handling Maldives phone numbers with the +960 country code. Apply the E.164 validation patterns with multi-language examples for operator-specific prefixes, implement mobile number portability checks with NPDB integration strategies for accurate routing, and reference the detailed number formats table including VoIP and non-geographic ranges for comprehensive validation coverage.
Next Steps: