If you’ve encountered a phone number starting with +34, the country code you are looking for is Spain.
+34 is the international prefix assigned to Spain by the International Telecommunication Union (ITU). Spain uses a closed numbering plan, which means that all Spanish telephone numbers—both mobile and landline—are 9 digits long and must always include the local geographic or service code.
This comprehensive guide will show you the correct dialing procedure for calling Spain from anywhere in the world and provide essential codes for its major cities.

34 Country Code: Location and Key Facts
The +34 country code is essential for communicating with anyone located in Spain, including the mainland, the Balearic Islands, and the Canary Islands.
| Detail | Information |
| Location | Spain (Southwestern Europe) |
| Country Code | +34 |
| Capital City | Madrid |
| Time Zone | Central European Time (CET – UTC+1) |
| DST | Spain observes Daylight Saving Time (CEST – UTC+2) |
Correct Dialing Format for Calling Spain (+34)
Unlike many countries, Spain’s dialing plan requires the full 9-digit number for every call, regardless of whether you are calling domestically or internationally. The structure does not use a separate area code and local number; the first one or two digits define the region or type of service.
Calling Spain from North America (US/Canada)
| Step | Action | Example |
| 1. Dial Exit Code | The U.S. exit code (or use + on a mobile phone). | 011 or + |
| 2. Dial Country Code | Spain’s Country Code. | 34 |
| 3. Dial the Full 9-Digit Number | The recipient’s entire number (includes the local/mobile prefix). | 91 123 45 67 |
| Full Dialing Sequence (Mobile): | +34 91 123 45 67 |
Identifying Spanish Phone Numbers
The first digit of the 9-digit number reveals the type of service:
- Landline Numbers: Begin with a 9 (e.g., 91 for Madrid, 93 for Barcelona) or, in newer blocks, an 8.
- Mobile Numbers: Begin with a 6 or 7.
Major Spanish City Codes (Prefixes)
While Spain now uses a closed 9-digit system, the first two or three digits still act as the geographic identifier, similar to a US area code.
| City | Prefix (First 2-3 Digits) | Example Dialed Number |
| Madrid | 91 | +34 91 XXX XXXX |
| Barcelona | 93 | +34 93 XXX XXXX |
| Valencia | 96 | +34 96 XXX XXXX |
| Seville (Sevilla) | 95 | +34 95 XXX XXXX |
| Bilbao | 94 | +34 94 XXX XXXX |
| Balearic Islands (Mallorca/Ibiza) | 971 | +34 971 XXX XXXX |
Frequently Asked Questions (FAQ)
What is the full length of a Spanish phone number?
A complete Spanish phone number (excluding the international access code) is 11 digits long: the +34 Country Code, followed by the 9-digit local or mobile number.
Why do some Spanish numbers start with 6 and others start with 9?
The prefix indicates the type of line:
- Numbers starting with 6 or 7 are mobile (cell phone) numbers.
- Numbers starting with 9 (or 8) are fixed-line (landline) numbers.
Should I be worried about calls from the +34 country code?
As with any international country code, you should be cautious. Scammers often use VoIP services to spoof international numbers. If you receive an unexpected call or text from a +34 number you don’t recognize:
- Do not answer.
- Do not call or text back, as the number may be a premium-rate line.
- Never share personal or financial information with unsolicited international callers.
Conclusion
The Country Code 34 (+34) is the essential dialing prefix for Spain. Remember the unified, 9-digit dialing format for all Spanish numbers, and always include your country’s exit code (or the + symbol) when dialing internationally to ensure your call to Madrid, Barcelona, or any other part of Spain connects successfully.

