Frequently Asked Questions
Budapest phone numbers follow the format 06 1 XXX XXXX, where XXX XXXX represents seven digits after the national prefix (06). This format provides a capacity of roughly 8 million numbers for the 23 districts of Budapest, regulated by the NMHH.
You can validate a Hungarian mobile number using a regular expression. The pattern /^06(20|30|31|70)\d{7}$/ checks for the correct national prefix (06) followed by valid mobile prefixes (20, 30, 31, or 70) and seven subsequent digits.
The area code for Szeged, Hungary is 62. A complete Szeged number would look like 06 62 XXX XXX, including the national prefix and six digits for the local number.
Number portability allows users to keep their number when switching operators. Therefore, the prefix doesn't guarantee the current operator, requiring a portability check for accurate routing.
To dial a Hungarian number internationally, use the format +36 XX XXX XXXX, where +36 is the country code, XX is the area or mobile prefix, and XXX XXXX are the remaining digits of the phone number.
The primary mobile operators in Hungary are Magyar Telekom, Yettel (formerly Telenor), Vodafone, and Digi Mobile. Magyar Telekom holds the largest market share at approximately 46% as of 2023, followed by Yettel and Vodafone at around 26% each, and Digi with 2%.
Always perform a portability check before routing calls or sending SMS messages to a Hungarian mobile number. This ensures the communication reaches the correct operator, as prefixes may not reflect the current provider due to number portability.
AML, or Advanced Mobile Location, automatically sends precise location information via SMS (with HTTPS fallback) to emergency services when a 112 call is made in Hungary. This helps emergency responders locate callers quickly, boasting approximately 50-meter accuracy and <30-second response times.
For local calls within the same area code, format the number as XXX XXXX, separating the first three digits from the final four with a space. For national calls (within Hungary), use the format 06 XX XXX XXXX, including the national prefix 06.
Use the regex /^06([1-9][0-9])\d{6,7}$/ to validate Hungarian geographic numbers, including those in Budapest. It accounts for the national prefix and area codes, along with the correct number of digits following the area code.
The emergency number for Hungary is 112. Hungary utilizes AML technology to enhance emergency response, providing accurate location data to emergency services.
Developers must maintain at least 65% utilization of allocated number blocks, track number block recovery over 24 months, and provide automated reports to the NMHH (National Media and Infocommunications Authority).
Hungary Phone Numbers: Format, Area Code & Validation Guide
This comprehensive guide covers Hungarian phone number formats, validation patterns, and area codes for developers building telephony applications. Learn how to implement E.164 validation, handle mobile number portability, integrate emergency services, and maintain regulatory compliance with Hungary's National Media and Infocommunications Authority (NMHH).
Quick Navigation:
Geographic Numbering
Hungary's geographic phone numbering system divides the country into distinct regions, each with its own area code. The National Media and Infocommunications Authority (NMHH) oversees the official numbering plan and regulatory framework for all Hungarian telecommunications.
Budapest Phone Numbers (Metropolitan Area)
06 1 XXX XXXX
(7 digits after the national prefix)Budapest phone numbers use seven digits after the national prefix (06), providing approximately 8 million available numbers for the capital region.
Example:
06 1 234 5678
Hungarian Regional Area Codes
Outside Budapest, Hungarian phone numbers use two-digit area codes. Major regional area codes include:
Note: This list includes major regional codes. For the complete official numbering plan, consult the NMHH National Numbering Plan database.
Regional numbers use six digits after the area code and national prefix.
Example: Székesfehérvár number:
06 22 345 678
Hungarian Mobile Phone Numbers
Hungarian mobile phone numbers utilize specific prefixes for operator identification. All mobile numbers follow the format
06 XX XXX XXXX
with the country code +36 for international dialing.All mobile numbers use seven digits after the prefix and national prefix (06), formatted as
06 30 XXX XXXX
. Important: Number portability means the prefix doesn't guarantee the current operator. Always perform a portability check if you need accurate operator information.Number portability was introduced in Hungary in July 2004, allowing subscribers to change operators while retaining their phone numbers. The porting process typically takes 1–2 business days.
Validating Hungarian Mobile Numbers
Here's a JavaScript example for validating Hungarian mobile phone numbers:
For international format validation:
Hungarian Emergency Services and Phone Numbers
Hungary uses Advanced Mobile Location (AML) technology to provide accurate location data to emergency services when calling 112 or other emergency numbers:
Hungarian Phone Number Validation: Implementation Guidelines
Validation Patterns and Regular Expressions
Here are robust regular expressions for validating Hungarian phone numbers in your application:
Emergency Access
When integrating emergency services_ consider these requirements:
Zero-rating: Make emergency calls free of charge (zero-rated). Implement network-level zero-rating_ verify it every 24 hours_ and use a local cache as fallback.
Location Services: Activate AML when dialing emergency numbers. Implement fallback mechanisms for devices that don't support AML and adhere to privacy regulations and data retention policies.
GDPR Compliance: Process location data only for emergency response purposes_ transmit it securely_ and retain it only as necessary (typically 24–72 hours for non-incident data). User consent is not required for emergency location data under GDPR Article 6(1)(d) (vital interests).
Data Retention: Retain emergency call records for at least 12 months per Hungarian telecommunications law. Anonymize location data after the retention period expires.
Critical Warning: Emergency service implementation must comply with NMHH regulation 2/2015. (III. 30.) on emergency call handling. This regulation mandates free emergency access_ accurate location transmission_ and 24/7 service availability.
Understanding Hungarian Phone Numbers: A Quick Reference
Local Dialing Rules and Formatting
Hungarian Mobile Number Portability
Best Practice: Always verify number portability before routing calls to ensure calls reach the correct operator network. Here's a Python example for implementing portability checks:
Implementation for validation and portability checking:
Portability Database Access: Contact the NMHH or your telecommunications operator for access to the Central Reference Database (CRD) for real-time portability checks. Most operators provide API access to authorized service providers.
Performance Expectations:
Market Analysis and Operator Distribution (2023)
Mobile market share distribution (2023):
Note: Market shares change frequently. Check NMHH statistics for current data.
Technical Requirements Checklist
This checklist summarizes key technical requirements for developers:
Number Block Management
Number block management refers to the allocation and monitoring of phone number ranges assigned to telecommunications operators by the NMHH. This applies to licensed operators and service providers who hold number block allocations_ not to end-user application developers.
For licensed operators:
Service Quality Monitoring
Technical Restrictions and Regulations
Golden Numbers and Special Allocations
Premium or "golden" numbers (easily memorable sequences like
06 30 111 1111
_ repeating digits_ or sequential patterns) are subject to NMHH oversight and may have specific allocation requirements. Premium services require explicit user consent and cost notifications.Common Golden Number Patterns:
06 30 111 1111
06 30 123 4567
06 30 121 1210
Contact the NMHH or your telecommunications operator to apply for golden number allocations.
Number Blocking
Hungary implements number blocking for various purposes:
Check the NMHH's blocked range database regularly to ensure compliance. Implement a validation layer that checks numbers against the blocked range list before processing.
Consumer Protection
Provide clear service information, pricing, and terms. Give users at least 30 days' notice for any changes. Guarantee access to emergency services (112) regardless of account status.
Critical Warning: Non-compliance with NMHH regulations can result in:
Maintain thorough compliance documentation and regular audit trails. Contact NMHH for specific penalty schedules.