Mexico Phone Number Format
Mexico phone numbers use the country code +52. A Mexico mobile number is 10 digits and is written 222 123 4567 nationally, or +52 222 123 4567 in international format. In E.164 (the format APIs expect) it is +522221234567, with no spaces or leading zero.
| Country | Mexico |
|---|---|
| Country calling code | +52 |
| Example mobile (national) | 222 123 4567 |
| Example mobile (international) | +52 222 123 4567 |
| Example mobile (E.164) | +522221234567 |
| National number length | 10 digits |
Validate a Mexico phone number
How to format a Mexico phone number
- Start from the national number as written locally: 222 123 4567.
- Drop the leading trunk digit (the national prefix, usually a leading 0) if present.
- Add the country code +52 in front to dial from abroad: +52 222 123 4567.
- For APIs, SMS, and storage, use E.164, no spaces or dashes: +522221234567.
Frequently asked questions
What is the country code for Mexico?
The international calling code for Mexico is +52. You add it before the national number (dropping any leading 0) when dialing from abroad, for example +52 222 123 4567.
How many digits is a Mexico phone number?
A Mexico mobile number has 10 digits in its national significant number (the part after the +52 country code). Example: 222 123 4567.
How do I write a Mexico number in E.164 format?
E.164 is the international standard most APIs and SMS gateways require: a plus sign, the country code, then the national number with no spaces, dashes, or leading zero. For Mexico that looks like +522221234567.
How can I check if a Mexico phone number is valid?
Paste the number into the validator above. 1Lookup parses it, checks it against Mexico's numbering rules, and returns its line type and carrier so you know whether it is real and reachable.