Iraq Phone Number Format: +964 Area Codes & Validation Guide
Master Iraqi phone number validation with our complete +964 format guide. Get area codes for Baghdad, Basra, Mosul, regex patterns, and mobile operator prefixes.
This guide covers everything you need to implement Iraqi phone number handling: the +964 country code (also known as "964 which country code"), area codes for Baghdad and other Iraqi cities, mobile operator prefixes (Korek, Asiacell, Zain), and regex validation patterns. You'll find practical code examples and compliance guidelines for validating Iraqi phone numbers, formatting them for international dialing, and distinguishing between landline and mobile formats. Learn the correct phone number format and validation techniques to ensure reliable communication with Iraqi contacts.
Why You Need Accurate Phone Number Handling
Correct phone number handling delivers:
Reliable Communication: Accurate formatting ensures your messages and calls reach intended recipients. Incorrect formatting causes failed message delivery, missed calls, and undeliverable SMS notifications.
Fraud Prevention: Validation blocks spam and account hijacking attempts. Invalid number formats are frequently associated with fraudulent activity and bot registrations.
The Iraqi numbering plan uses a closed numbering system where all digits are significant for routing. The national prefix "0" must be dialed for all national calls except short numbers, but must not be dialed from abroad.
Iraqi Landline Area Codes by City
Landline numbers use geographically assigned area codes.
Format:0[Area Code][Subscriber Number]
City
Area Code
Example Format
Subscriber Number Length
Baghdad
1
01-XXXXXXX
7
Basra
40
040-XXXXXX
6
Mosul
60
060-XXXXXX
6
Erbil
66
066-XXXXXX
6
Dohuk
62
062-XXXXXX
6
Tikrit
21
021-XXXXXX
6
Al Kut
23
023-XXXXXX
6
Ramadi
24
024-XXXXXX
6
Baquba
25
025-XXXXXX
6
Hilla
30
030-XXXXXX
6
Karbala
32
032-XXXXXX
6
Najaf
33
033-XXXXXX
6
Diwaniya
36
036-XXXXXX
6
Samawa
37
037-XXXXXX
6
Nasiriya
42
042-XXXXXX
6
Amarah
43
043-XXXXXX
6
Kirkuk
50
050-XXXXXX
6
Sulaimaniya
53
053-XXXXXX
6
Important: Baghdad uses area code 1 with 7-digit subscriber numbers, while other regions use 2-digit area codes with 6-digit subscriber numbers. Baghdad's status as the capital and largest city requires a larger number pool to accommodate its telecommunications infrastructure. Always validate based on the specific area code.
Iraqi Mobile Number Operators: Korek, Asiacell, and Zain Prefixes
Iraqi mobile numbers follow a 10-digit format, including the operator prefix. According to the ITU National Numbering Plan (June 2025), Iraq has three major mobile operators plus smaller wireless local loop (WLL) providers. Understanding these mobile prefixes is essential when implementing SMS delivery or 2FA systems for Iraqi users.
*Note: According to the ITU document, Korek Telecom's license expired as of June 2025 and is pending renewal. Verify current operational status before implementation.
Number Portability: Iraq has Mobile Number Portability (MNP) regulations (CMC consultation 2015) that allow users to switch operators while retaining their phone number. Note that a 77x prefix may belong to any operator after porting. Use MNP lookup services for routing accuracy.
How to Validate Iraqi Phone Numbers: Regex Patterns and Examples
Use regular expressions for efficient Iraqi phone number validation. These regex patterns handle both mobile and landline formats, ensuring accurate validation for all Iraqi phone number types. Here's a comprehensive JavaScript example:
International Format:+964[Area/Operator Code][Subscriber Number] (e.g., +9647901234567)
National Format:0[Area/Operator Code][Subscriber Number] (e.g., 07901234567)
Always validate and format numbers server-side, even with client-side validation.
Handle these edge cases:
Partial numbers: Reject or prompt user for completion
Extensions: Iraqi landlines may use extensions – store separately from base number
Special service numbers: Short codes (3–5 digits) for emergency services (e.g., 112, 104) and customer service
WLL numbers: Wireless Local Loop numbers (prefix 760, 7435, 7494) may have different routing requirements
E.164 International Phone Number Format for Iraqi Numbers
ITU-T E.164 defines the international standard for phone number formatting. Iraqi numbers follow this format: +964 [area/operator code] [subscriber number] for global compatibility.
Convert Iraqi Numbers to E.164 Format
JavaScript
functiontoE164Format(phoneNumber, countryCode = '964') {
// Remove all non-digit characterslet cleaned = phoneNumber.replace(/\D/g, '');
// Remove leading country code if presentif (cleaned.startsWith(countryCode)) {
cleaned = cleaned.slice(countryCode.length);
}
// Remove leading zero if present (national prefix)if (cleaned.startsWith('0')) {
cleaned = cleaned.slice(1);
}
// Validate length (mobile: 10 digits, Baghdad landline: 8, other landline: varies)if (cleaned.length < 7 || cleaned.length > 10) {
thrownewError('Invalid number length for Iraq');
}
return`+${countryCode}${cleaned}`;
}
// Example usageconsole.log(toE164Format('07901234567')); // +9647901234567console.log(toE164Format('01-1234567')); // +96411234567console.log(toE164Format('+964 770 123 4567')); // +9647701234567
Parse Iraqi Numbers from E.164 Format
JavaScript
functionparseE164(e164Number) {
if (!e164Number.startsWith('+964')) {
thrownewError('Not an Iraqi number');
}
const digits = e164Number.slice(4); // Remove +964// Determine if mobile or landlineif (digits.startsWith('7')) {
return {
type: 'mobile',
operator: digits.slice(0, 3),
subscriber: digits.slice(3),
national: `0${digits}`
};
} else {
// Landline - need to determine area code lengthconst areaCode = digits.startsWith('1') ? digits[0] : digits.slice(0, 2);
const subscriber = digits.slice(areaCode.length);
return {
type: 'landline',
areaCode: areaCode,
subscriber: subscriber,
national: `0${digits}`
};
}
}
Frequently Asked Questions About Iraqi Phone Numbers
What is Iraq's country code? (964 which country code)
Iraq's country code is +964 (sometimes written as "964" in WhatsApp and other messaging apps). To call Iraq from abroad, dial +964 followed by the area or operator code (without the leading 0) and the subscriber number. The Iraq country code 2 letter abbreviation is "IQ" (ISO 3166-1 alpha-2 standard).
What is Baghdad's area code for landline numbers?
Baghdad's area code is 1. Baghdad landline numbers follow the format 01-XXXXXXX with 7-digit subscriber numbers, making them longer than other Iraqi cities.
How do I format an Iraqi mobile number internationally?
Format Iraqi mobile numbers as +964 7X XXXX XXX where 7X represents the operator prefix (75 for Korek, 77 for Asiacell, 78–79 for Zain, 760 for Alkafeel). For example: +964 790 123 4567.
Which mobile operators work in Iraq?
Iraq has four active mobile operators:
Korek Telecom (prefix 75)* – License status pending renewal as of June 2025
Asiacell (prefix 77) – Owned by Ooredoo
Zain Iraq (prefixes 78, 79)
Alkafeel Omnnea (prefix 760) – Wireless Local Loop provider
*Verify Korek's operational status before implementation as the license was reported expired in the ITU June 2025 communication.
What's the difference between Baghdad and Basra phone numbers?
Baghdad landlines use a single-digit area code (1) with 7-digit subscriber numbers (01-XXXXXXX), while Basra uses a 2-digit area code (40) with 6-digit subscriber numbers (040-XXXXXX).
How do I validate Iraqi phone numbers in my application?
Use regex patterns that account for both mobile and landline formats. Mobile numbers follow ^(?:964|0)7[5-9]\d{7}$, while landlines vary by region. Baghdad requires special handling for its 7-digit subscriber numbers.
Handle these edge cases:
Partial numbers: Return validation error with expected format hint
Number portability: Use MNP lookup APIs to verify current operator – don't rely solely on prefix
Extensions: Strip and validate separately – Iraqi standard supports 2–4 digit extensions
Short codes: Emergency (112, 104, 115) and service numbers (3–5 digits) require separate validation
Do I need to include the 0 when calling Iraq internationally?
No. The leading 0 is a national prefix used only within Iraq. To dial from abroad, use +964 followed by the area or operator code without the 0.
What is the ITU-T E.164 standard for Iraqi phone numbers?
ITU-T E.164 defines the international standard for phone number formatting. Iraqi numbers follow this format: +964 [area/operator code] [subscriber number] for global compatibility.
Iraqi Telecommunications Regulatory Compliance
The Iraqi Communications and Media Commission (CMC) regulates telecommunications in Iraq under Order 65, which grants CMC sole authority for licensing and regulating telecommunications, broadcasting, and information services.
Subscriber Records: Maintain accurate subscriber records if your application handles user registration. Use stable parameters for automated customer identification and validation.
E.164 Formatting: Format numbers per ITU-T E.164 standard for international communications.
Number Portability Support: If operating as a telecommunications provider, implement Mobile Number Portability (MNP) per CMC regulations (2015 consultation framework).
Data Retention: Maintain porting records and number assignment data for regulatory compliance and audit purposes.
Registration Requirements
Telecommunications service providers must:
Register with CMC for number range allocation
Maintain a Central Reference Database (CRDB) connection for MNP operations
Report monthly statistics on porting processes and service quality
Participate in the CMC-chaired telecommunications industry forum
Penalties: Non-compliance results in license suspension, fines, or number range revocation. Contact CMC at itu@cmc.iq for specific requirements.
How to Dial Iraqi Phone Numbers
From Iraq to International:00 + [Country Code] + [Number]
To Iraq from Abroad:+964 + [Area/Operator Code] + [Subscriber Number] (omit the leading 0)
Local Calls (Within Same Area): Dial the subscriber number directly
Local Calls (Between Areas): Use the full national format with area code and leading 0
VoIP Considerations
When implementing VoIP calling to Iraq:
Use E.164 format for SIP routing: sip:+9647901234567@yourdomain.com
This guide provides the foundation you need to handle Iraqi phone numbers correctly. Prioritize accuracy, security, and user experience to ensure seamless communication and maintain compliance with evolving regulations.
Frequently asked questions
Iraqi phone numbers follow a hierarchical structure that includes a country code (+964), a national prefix (0), an area/operator code, and a subscriber number. Landlines use a format of 0[Area Code][Subscriber Number], while mobile numbers use 07[Operator Code][Subscriber Number].
Use regular expressions for efficient and accurate validation. The article provides JavaScript examples to validate mobile numbers, Baghdad landlines, and other landline formats. Server-side validation is crucial for data integrity.
Accurate handling ensures reliable communication, prevents fraud, maintains regulatory compliance, improves user experience, ensures data integrity, and supports international business operations.
Landline area codes in Iraq are geographically based and consist of 1-2 digits. For instance, Baghdad's area code is 1, Basra's is 4, and Mosul's is 6. Subscriber numbers are typically 6-7 digits, varying by region.
Mobile numbers use a 10-digit format: 07[Operator Code][Subscriber Number]. Korek Telecom uses 75, Asiacell uses 77, Zain Iraq uses 78 and 79, and Alkafeel Omnnea uses 76 as their operator codes.
To dial an international number from Iraq, use the format 00 + [Country Code] + [Number]. Replace 00 with + when using a mobile phone. The leading 0 from the national format is omitted in this case.
To call Iraq from another country, dial +964 followed by the area/operator code and the subscriber number. Omit the leading 0 from the national format when dialing internationally.
The CMC is the regulatory body for telecommunications in Iraq. Consult their website ([invalid URL removed]) and the International Telecommunication Union ([invalid URL removed]) for the latest regulations and updates.
Baghdad landline numbers typically have a 7-digit subscriber number following the area code 1. This differs from other regions in Iraq, which mostly use 6-digit subscriber numbers for landlines.
Korek Telecom uses 75, Asiacell uses 77, Zain Iraq uses both 78 and 79, and Alkafeel Omnnea uses 76. These codes are used to identify the specific mobile carrier within Iraq.
Include the national prefix '0' when making local calls between different area codes within Iraq or when dialing from a landline to a mobile number. Omit the prefix when calling internationally.
Always validate and format numbers server-side, use regular expressions for validation, and consider potential future changes like new operator prefixes or number range expansions. Keep your validation rules up-to-date.
The Iraqi telecommunications environment is constantly evolving, so stay aware of potential new operator prefixes, number range expansions, and regulatory changes. Implement version control and documentation for any modifications.
This guide covers everything you need to implement Iraqi phone number handling: the +964 country code (also known as "964 which country code"), area codes for Baghdad and other Iraqi cities, mobile operator prefixes (Korek, Asiacell, Zain), and regex validation patterns. You'll find practical code examples and compliance guidelines for validating Iraqi phone numbers, formatting them for international dialing, and distinguishing between landline and mobile formats. Learn the correct phone number format and validation techniques to ensure reliable communication with Iraqi contacts.
Why You Need Accurate Phone Number Handling
Correct phone number handling delivers:
Understanding the Iraqi +964 Numbering Plan
Iraqi phone numbers follow a hierarchical structure defined by the ITU-T E.164 standard (Communication of 26.VI.2025):
Structure visualization:
+964 [National Prefix: 0] [Area/Operator: 1-3 digits] [Subscriber: 6-7 digits]The Iraqi numbering plan uses a closed numbering system where all digits are significant for routing. The national prefix "0" must be dialed for all national calls except short numbers, but must not be dialed from abroad.
Iraqi Landline Area Codes by City
Landline numbers use geographically assigned area codes.
Format:
0[Area Code][Subscriber Number]01-XXXXXXX040-XXXXXX060-XXXXXX066-XXXXXX062-XXXXXX021-XXXXXX023-XXXXXX024-XXXXXX025-XXXXXX030-XXXXXX032-XXXXXX033-XXXXXX036-XXXXXX037-XXXXXX042-XXXXXX043-XXXXXX050-XXXXXX053-XXXXXXImportant: Baghdad uses area code 1 with 7-digit subscriber numbers, while other regions use 2-digit area codes with 6-digit subscriber numbers. Baghdad's status as the capital and largest city requires a larger number pool to accommodate its telecommunications infrastructure. Always validate based on the specific area code.
Iraqi Mobile Number Operators: Korek, Asiacell, and Zain Prefixes
Iraqi mobile numbers follow a 10-digit format, including the operator prefix. According to the ITU National Numbering Plan (June 2025), Iraq has three major mobile operators plus smaller wireless local loop (WLL) providers. Understanding these mobile prefixes is essential when implementing SMS delivery or 2FA systems for Iraqi users.
Format:
07[Operator Code][Subscriber Number]077X-XXXXXXX078X-XXXXXXX,079X-XXXXXXX075X-XXXXXXX0760-XXXXXXX*Note: According to the ITU document, Korek Telecom's license expired as of June 2025 and is pending renewal. Verify current operational status before implementation.
Number Portability: Iraq has Mobile Number Portability (MNP) regulations (CMC consultation 2015) that allow users to switch operators while retaining their phone number. Note that a 77x prefix may belong to any operator after porting. Use MNP lookup services for routing accuracy.
How to Validate Iraqi Phone Numbers: Regex Patterns and Examples
Use regular expressions for efficient Iraqi phone number validation. These regex patterns handle both mobile and landline formats, ensuring accurate validation for all Iraqi phone number types. Here's a comprehensive JavaScript example:
function validateIraqPhoneNumber(phoneNumber) { const cleaned = phoneNumber.replace(/\D/g, ''); // Remove non-digit characters const mobileRegex = /^(?:964|0)7[5-9]\d{7}$/; // Mobile numbers const landlineBaghdadRegex = /^(?:964|0)1\d{7}$/; // Baghdad landlines (7-digit subscriber) const landlineOtherRegex = /^(?:964|0)(?:[2-6]\d|40|50|53|60|62|66)\d{6}$/; // Other landlines (6-digit subscriber) if (mobileRegex.test(cleaned)) { return { isValid: true, type: 'mobile', normalized: `+964${cleaned.slice(-10)}` }; } else if (landlineBaghdadRegex.test(cleaned)) { return { isValid: true, type: 'landline', normalized: `+964${cleaned.slice(-8)}` }; } else if (landlineOtherRegex.test(cleaned)) { const areaCodeLength = cleaned.startsWith('964') ? cleaned.length - 9 : cleaned.length - 7; return { isValid: true, type: 'landline', normalized: `+964${cleaned.slice(cleaned.startsWith('964') ? 3 : 1)}` }; } return { isValid: false, error: 'Invalid number format' }; } // Example usage: console.log(validateIraqPhoneNumber('+9647901234567')); // Valid mobile console.log(validateIraqPhoneNumber('01-1234567')); // Valid Baghdad landline console.log(validateIraqPhoneNumber('040-123456')); // Valid Basra landline console.log(validateIraqPhoneNumber('060-123456')); // Valid Mosul landline console.log(validateIraqPhoneNumber('0721234567')); // Invalid mobile prefix console.log(validateIraqPhoneNumber('01123456789')); // Invalid lengthValidate Iraqi Phone Numbers in Python
import re def validate_iraq_phone_number(phone_number): """Validate Iraqi phone numbers with comprehensive format checking.""" # Remove all non-digit characters cleaned = re.sub(r'\D', '', phone_number) # Mobile numbers: 07[5-9]X XXXXXXX mobile_pattern = r'^(?:964|0)7[5-9]\d{7}$' # Baghdad landlines: 01 XXXXXXX (7 digits) baghdad_pattern = r'^(?:964|0)1\d{7}$' # Other landlines: 0XX XXXXXX (6 digits) landline_pattern = r'^(?:964|0)(?:[2-6]\d|40|50|53|60|62|66)\d{6}$' if re.match(mobile_pattern, cleaned): return {'valid': True, 'type': 'mobile', 'normalized': f'+964{cleaned[-10:]}'} elif re.match(baghdad_pattern, cleaned): return {'valid': True, 'type': 'landline', 'normalized': f'+964{cleaned[-8:]}'} elif re.match(landline_pattern, cleaned): digits = cleaned[3:] if cleaned.startswith('964') else cleaned[1:] return {'valid': True, 'type': 'landline', 'normalized': f'+964{digits}'} return {'valid': False, 'error': 'Invalid Iraqi phone number format'} # Example usage print(validate_iraq_phone_number('+964 790 123 4567')) # Valid mobile print(validate_iraq_phone_number('0771234567')) # Valid mobile print(validate_iraq_phone_number('01-1234567')) # Valid Baghdad landlineInternational and National Format Standards
+964[Area/Operator Code][Subscriber Number](e.g., +9647901234567)0[Area/Operator Code][Subscriber Number](e.g., 07901234567)Always validate and format numbers server-side, even with client-side validation.
Handle these edge cases:
E.164 International Phone Number Format for Iraqi Numbers
ITU-T E.164 defines the international standard for phone number formatting. Iraqi numbers follow this format: +964 [area/operator code] [subscriber number] for global compatibility.
Convert Iraqi Numbers to E.164 Format
function toE164Format(phoneNumber, countryCode = '964') { // Remove all non-digit characters let cleaned = phoneNumber.replace(/\D/g, ''); // Remove leading country code if present if (cleaned.startsWith(countryCode)) { cleaned = cleaned.slice(countryCode.length); } // Remove leading zero if present (national prefix) if (cleaned.startsWith('0')) { cleaned = cleaned.slice(1); } // Validate length (mobile: 10 digits, Baghdad landline: 8, other landline: varies) if (cleaned.length < 7 || cleaned.length > 10) { throw new Error('Invalid number length for Iraq'); } return `+${countryCode}${cleaned}`; } // Example usage console.log(toE164Format('07901234567')); // +9647901234567 console.log(toE164Format('01-1234567')); // +96411234567 console.log(toE164Format('+964 770 123 4567')); // +9647701234567Parse Iraqi Numbers from E.164 Format
function parseE164(e164Number) { if (!e164Number.startsWith('+964')) { throw new Error('Not an Iraqi number'); } const digits = e164Number.slice(4); // Remove +964 // Determine if mobile or landline if (digits.startsWith('7')) { return { type: 'mobile', operator: digits.slice(0, 3), subscriber: digits.slice(3), national: `0${digits}` }; } else { // Landline - need to determine area code length const areaCode = digits.startsWith('1') ? digits[0] : digits.slice(0, 2); const subscriber = digits.slice(areaCode.length); return { type: 'landline', areaCode: areaCode, subscriber: subscriber, national: `0${digits}` }; } }Frequently Asked Questions About Iraqi Phone Numbers
What is Iraq's country code? (964 which country code)
Iraq's country code is +964 (sometimes written as "964" in WhatsApp and other messaging apps). To call Iraq from abroad, dial +964 followed by the area or operator code (without the leading 0) and the subscriber number. The Iraq country code 2 letter abbreviation is "IQ" (ISO 3166-1 alpha-2 standard).
What is Baghdad's area code for landline numbers?
Baghdad's area code is 1. Baghdad landline numbers follow the format
01-XXXXXXXwith 7-digit subscriber numbers, making them longer than other Iraqi cities.How do I format an Iraqi mobile number internationally?
Format Iraqi mobile numbers as +964 7X XXXX XXX where 7X represents the operator prefix (75 for Korek, 77 for Asiacell, 78–79 for Zain, 760 for Alkafeel). For example: +964 790 123 4567.
Which mobile operators work in Iraq?
Iraq has four active mobile operators:
*Verify Korek's operational status before implementation as the license was reported expired in the ITU June 2025 communication.
What's the difference between Baghdad and Basra phone numbers?
Baghdad landlines use a single-digit area code (1) with 7-digit subscriber numbers (
01-XXXXXXX), while Basra uses a 2-digit area code (40) with 6-digit subscriber numbers (040-XXXXXX).How do I validate Iraqi phone numbers in my application?
Use regex patterns that account for both mobile and landline formats. Mobile numbers follow
^(?:964|0)7[5-9]\d{7}$, while landlines vary by region. Baghdad requires special handling for its 7-digit subscriber numbers.Handle these edge cases:
Do I need to include the 0 when calling Iraq internationally?
No. The leading 0 is a national prefix used only within Iraq. To dial from abroad, use +964 followed by the area or operator code without the 0.
What is the ITU-T E.164 standard for Iraqi phone numbers?
ITU-T E.164 defines the international standard for phone number formatting. Iraqi numbers follow this format: +964 [area/operator code] [subscriber number] for global compatibility.
Iraqi Telecommunications Regulatory Compliance
The Iraqi Communications and Media Commission (CMC) regulates telecommunications in Iraq under Order 65, which grants CMC sole authority for licensing and regulating telecommunications, broadcasting, and information services.
Compliance Requirements
Registration Requirements
Telecommunications service providers must:
Penalties: Non-compliance results in license suspension, fines, or number range revocation. Contact CMC at itu@cmc.iq for specific requirements.
How to Dial Iraqi Phone Numbers
00 + [Country Code] + [Number]+964 + [Area/Operator Code] + [Subscriber Number](omit the leading 0)VoIP Considerations
When implementing VoIP calling to Iraq:
sip:+9647901234567@yourdomain.comCommon Dialing Issues
Stay Current with Iraqi Telecommunications
The Iraqi telecommunications landscape evolves constantly. Monitor these changes:
Monitoring Best Practices
Handling Legacy Numbers
During transitions:
Implement version control for your number formats and document all modifications to maintain compatibility.
Additional Resources
This guide provides the foundation you need to handle Iraqi phone numbers correctly. Prioritize accuracy, security, and user experience to ensure seamless communication and maintain compliance with evolving regulations.