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