The country code for Spain is +34. You need to use this code when calling Spain from another country. It works as a short number at the start of the phone number, letting your call connect to phones within Spain-both landlines and mobiles. Knowing Spain’s country code, how to use area codes, and when to include extra numbers helps anyone trying to reach people, services, or businesses in Spain. Spain’s phone network, regulated by the Comisión Nacional de los Mercados y la Competencia (CNMC), uses a closed plan. This means every phone call within Spain, no matter where it goes, uses a full nine-digit number.

While knowing the country code is important, making international calls to Spain also means following a few extra steps and understanding their numbering. Below, you’ll find details on country codes and ISO codes, how to dial into Spain from overseas, and how Spain organizes its phone numbers.
What Is the Spain Country Code?
Country codes help phone systems know where to send your call. Think of them like national zip codes. Spain’s country code is easy to remember and used by callers across the world.
What Is the Official Spain Country Code (+34)?
Spain’s country code is +34. This is what you’d dial right after your own country’s exit code. Whether you’re calling Madrid, Barcelona, or a small village, +34 is always the starting point. Adding +34 ensures your call will go to the Spanish phone network. Use this number on every international call to Spain.
The +34 code is part of the worldwide standard that helps calls reach the correct country. Every phone operator recognizes this code, and it’s the required part of any international dialing sequence for Spain.
What Are the ISO Codes for Spain?
Spain has ISO codes, which are short sets of letters used in different situations, like online or for shipping goods. These codes help identify Spain quickly and clearly.
- 2-letter ISO code: ES
- 3-letter ISO code: ESP

“ES” is used in places where space is limited, like website addresses or airport tags. “ESP” gives a slightly clearer label for Spain in records or official lists. These ISO codes work with the country code +34 to clearly show when something is linked to Spain.
When Do You Need to Use the Country Code for Spain?
You have to include +34 at the start of the number whenever you call Spain from a different country. This is true if you’re calling from Europe, America, Asia, or anywhere else. The code tells your phone carrier that the call should go to Spain and sends it through the international network.
But, if you’re already in Spain, you do not dial +34 for local or national calls. Since 1998, all phone numbers in Spain are nine digits, so you just use the number. Only calls coming in from outside Spain must begin with the country code.
How to Call Spain Internationally
Calling Spain from outside can look confusing with all the different numbers, but once you know the order, it’s simple. There are a few steps, each with its own code or number to include.
What Is the Process for Calling Spain from Another Country?
Here’s the standard way to call Spain:
- Dial your own country’s exit code (for example, 011 from the United States).
- Dial Spain’s country code (34).
- Dial the full Spanish phone number (including the area or region code if needed).
Example from the United States:
- Calling a landline in Barcelona: 011 34 93 xxx xxxx (93 is the Barcelona area code).
- Calling a mobile: 011 34 6xx xxx xxx (Mobile numbers start with 6 or 7).

Always check the area code for the specific city or region in Spain you’re calling. Also, Spain is in the Central European Time zone (CET; UTC+1 in winter, UTC+2 in summer), except the Canary Islands, which use Western European Time (WET; UTC+0 in winter, UTC+1 in summer). Being aware of the time difference avoids calling at bad hours.
| Country | Exit Code | Example Call to Spain |
|---|---|---|
| United States / Canada | 011 | 011 34 xxx xxx xxx |
| UK / New Zealand | 00 | 00 34 xxx xxx xxx |
| Australia | 0011 | 0011 34 xxx xxx xxx |

What Is the Exit Code You Need Before Spain’s Country Code?
An exit code is the set of numbers that begins any call leaving your country. Each country has a different one. For example, from the US or Canada it is 011, while from the UK, it’s 00. You press these numbers first to show the call will leave your country’s phone network. Double-check the exit code for the country you are calling from before you dial.
Should You Dial the Trunk Code for Spain?
No, you do not use a trunk code when dialing Spain from another country. Trunk codes are for long-distance calls between regions within the same country. With Spain’s closed numbering plan, every phone number already carries what would have been the trunk code. So for international calls, just use your exit code, +34, and the nine-digit Spanish number.
Spain’s Area Codes and Numbering System
Spain organizes its phone numbers to make calling different regions clear and simple. Area codes bring your call to the right part of Spain, and the number system makes connections smooth.
What Are the Major Area Codes in Spain?
| City / Region | Area Code |
|---|---|
| Madrid | 91 |
| Barcelona | 93 |
| Seville | 95 |
| Malaga | 952 |
| Balearic Islands (Ibiza, Palma) | 971 |
| Bilbao | 94 |
| Valencia | 96 |
| Murcia | 968 |
| Zaragoza | 976 |
| Las Palmas (Canary Islands) | 928 |

How Are Phone Numbers Structured in Spain?
Since December 1998, all Spanish phone numbers have nine digits. This includes both landlines and mobiles. For landlines, the number starts with the area code (for example, 91 for Madrid or 93 for Barcelona), followed by the rest of the number. For mobiles, the number will start with 6 or 7. This clear system means you only ever need to use the full nine digits.
- Landlines: 9xx xxx xxx (xx is the area code)
- Mobiles: 6xx xxx xxx or 7xx xxx xxx
How Do Mobile and Landline Codes Differ?
The difference between Spanish mobiles and landlines is in the first number:
- Landline numbers: Start with 9 (plus the area code, like 91 for Madrid).
- Mobile numbers: Start with 6 or 7. These numbers are not tied to any region.
If you’re calling a landline, include the area code as part of the nine digits. For mobiles, just use the nine-digit number after +34.
Does Spain Use a Trunk Prefix?
Spain used to use a trunk prefix (the digit ‘9’) for national long-distance calls. Now, with the updated numbering system, the area code is part of the full number. You don’t add an extra ‘9’-all nine digits must be dialed for every call, both local and long-distance. When calling from outside Spain, use only your country’s exit code, then +34, then the full nine-digit number. No trunk code is needed.

Leave a comment