Mexico Phone Number Format
Country code +52 · ISO MX
How to format, dial, and validate Mexico phone numbers, with live examples.
Country Code
+52
National Prefix
—
International Prefix
—
Mobile Portability
Yes
Try it now
Pre-filled with a valid fixed line number for Mexico. Edit it and click "Try It" to see the parsed result.
Number Types & Example Formats
Each Mexico phone-number type supported by libphonenumber, with a real example formatted three ways.
| Type | Length | National | International | E.164 |
|---|---|---|---|---|
| Fixed Line | 10 digits | 200 123 4567 | +52 200 123 4567 | +522001234567 |
| Mobile | 10 digits | 222 123 4567 | +52 222 123 4567 | +522221234567 |
| Personal Number | 10 digits | 500 123 4567 | +52 500 123 4567 | +525001234567 |
| Premium Rate | 10 digits | 900 123 4567 | +52 900 123 4567 | +529001234567 |
| Shared Cost | 10 digits | 300 123 4567 | +52 300 123 4567 | +523001234567 |
| Toll Free | 10 digits | 800 123 4567 | +52 800 123 4567 | +528001234567 |
How to Dial Mexico Numbers
From abroad
Dial +52 followed by the national number.
Area Codes
Browse Mexico area codes with cities, timezones, and example numbers for each.
Validate a Mexico Number with the API
Send the number to the free libphonenumber API to get the parsed country, type, formatting, and validity.
curl https://libphonenumberapi.com/api/phone-numbers/+522001234567
Frequently Asked Questions
What is the country code for Mexico?
└ The international country code for Mexico is +52. Use this prefix when dialing Mexico numbers from another country.
How long is a Mexico phone number?
└ Mexico phone numbers are typically 10 digits, not including the +52 country code.
How do I dial a Mexico phone number from abroad?
└ From abroad, dial +52 followed by the national number.
How do I validate a Mexico phone number programmatically?
└ Send a GET request to https://libphonenumberapi.com/api/phone-numbers/<number>. The free libphonenumber API returns the parsed country, format, type, and validity for any number — no API key required.