What country code is +34? A Comprehensive Guide to Spain’s International Dialing Prefix

If you have ever wondered what country code is +34, you are not alone. The +34 prefix is the international dialling code assigned to Spain, a country famed for its vibrant cities, sun-kissed coasts, rich culinary culture, and a long tradition of welcoming travellers. This guide explains the meaning of the code, how to use it from different places around the world, and how to format numbers correctly for both landlines and mobile phones. Whether you are planning a short break, a business trip, or simply trying to stay connected with friends and family in Spain, understanding +34 is essential.
What does the +34 country code represent?
The +34 country code is part of the E.164 international numbering plan, maintained by the International Telecommunication Union (ITU). Each country or territory that is reachable by telephone over the public switched telephone network is given a unique code. For Spain, that code is +34. When you see a number beginning with +34, you know immediately that the number is intended for Spain, regardless of where you are in the world. The prefix is applied to both landlines and mobile numbers, though the structure after the country code differs depending on the type of service and the geographic region.
In practice, the +34 prefix means you will dial out of your country, reach Spain, and then connect to a specific city or mobile network. The number following the country code must be designed to route the call efficiently to the intended recipient. As with all international numbers, the digits after +34 are written in a way that reflects Spain’s internal numbering plan, including area codes for landlines and operator ranges for mobile services.
How is Spain’s mobile and landline numbering organised?
Spain uses a mix of mobile and landline numbers, with distinct beginnings to indicate the service type. After the +34 prefix, mobile numbers typically begin with 6 or 7, followed by eight additional digits. This pattern helps telephone carriers and users identify that the number is a mobile line. For example, a Spanish mobile number might appear as +34 6XX XXX XXX or +34 7XX XXX XXX, where the Xs stand for the digits of the subscriber’s number.
Geographic landlines, on the other hand, have area codes that indicate the city or region. When dialled from abroad using the +34 prefix, you will see numbers such as +34 91 XXX XXX, where 91 denotes the Madrid region, or +34 93 XXX XXX for parts of Catalonia including Barcelona. These numbers are nine digits long in total (after the country code) and are designed to be dialled easily from anywhere in the world. It is important to remember not to drop any leading zeros for international format; Spain’s numbering plan uses the country code +34 followed directly by the area code and the subscriber number without a leading zero.
How to dial Spain from different places around the world
From the United Kingdom
To call Spain from the United Kingdom, you have a couple of convenient options. The most common method is to first dial the international access code for the UK, which is 00, followed by the country code 34, and then the domestic number. For example, to reach a Madrid landline number like +34 91 123 4567, you would dial 00 34 91 123 4567. If you prefer to use the plus format, which works on mobile devices, you can dial +34 91 123 4567 from a mobile phone that supports international numbers, and the device will route the call correctly.
Another practical option is to save the international format in your contacts and dial the number using the +34 sequence whenever you travel. The key concept is that +34 replaces the UK’s 0 or 44 prefixes when you are seeking to reach a Spanish number from abroad. If you are calling a mobile in Spain, the sequence would still be +34 followed by the mobile prefix and subscriber digits, such as +34 612 345 678.
From Europe (EU and EEA) other than the UK
Across much of Europe, the international access code is either 00 or the plus sign, depending on your device or service provider. The process is straightforward: dial your own country’s international access code, then 34, then the Spanish number. For example, dialing from France to Barcelona would typically be 00 34 93 XXX XXX or +34 93 XXX XXX. The key is to ensure you omit any domestic trunking zero. For landlines, the area code remains, such as 93 for Barcelona, and for mobiles you would still use the mobile prefixes (6 or 7) after +34.
From the United States and Canada
From North America, the format changes to the international access code 011, followed by 34 and the Spanish number. So, a Madrid landline like +34 91 123 4567 would be dialled as 011 34 91 123 4567. If you are using a mobile phone with international roaming enabled, you can often dial the +34 version directly, using the plus sign to indicate an international call. The important thing is to ensure you are using the correct country code and the correct sequence of numbers to reach the intended destination in Spain.
The correct structure of Spanish numbers: landlines vs mobiles
Geographic landlines
Geographic numbers in Spain begin with two-digit area codes such as 91 for Madrid, 93 for Barcelona, 92 for Valencia, and so on. After the area code, you will typically have seven digits for the subscriber number, producing a nine-digit total after the country code. For international calls, the formatting is usually +34 9X XXX XXX or +34 9X XXX XXX, depending on the exact area code. When writing these numbers, separate groups with spaces to enhance readability, for example: +34 91 123 4567 or +34 93 210 4567.
Mobile numbers
Mobile numbers in Spain start with 6 or 7, followed by eight more digits. In international format, this looks like +34 6XX XXX XXX or +34 7XX XXX XXX. Some networks may have internal prefixes or operator-specific sequences, but the standard presentation remains easy to understand for travellers and international callers. If you are compiling a contact list or writing numbers for a travel guide, it is sensible to show both formats: international +34 and the domestic equivalent (without the country code) when appropriate. This helps readers familiarise themselves with local conventions while ensuring accuracy for international calls.
Formatting numbers for international calling: E.164 and practical tips
For developers, travellers, and communications professionals, adopting the E.164 standard is a practical approach when storing numbers. E.164 requires a country code and a national subscriber number, with no spaces or punctuation in the stored value. In everyday usage, however, most people prefer to present numbers with spaces to improve readability. When you present a Spanish number in the wild:
- International format: +34 91 123 4567 (landline) or +34 612 345 678 (mobile)
- Domestic format (Spain): 91 123 4567 (landline) or 612 345 678 (mobile)
- With UK international access code: 00 34 91 123 4567 or 00 34 612 345 678
One practical tip for travellers is to save both formats on your phone. If you use a SIM card from your home country, you may need to prefix numbers with your country’s international access code. If you are using a Spanish SIM while abroad, the local network will typically handle international routing without any extra prefixes. The essential idea is to ensure you are using +34 when sharing numbers in contact lists or digital communications so that anyone anywhere can dial Spain correctly.
Emergency numbers and essential services in Spain
In Spain, the standard emergency number is 112, accessible from any phone in the country, including mobiles on roaming networks. When you call 112, you will reach the appropriate emergency service for your location and the type of incident you are reporting, whether it is medical, fire, or police. In tourist areas, you may also encounter local emergency numbers such as 061 for medical emergencies in some regions, but 112 is the universal entry point across the country. It is wise to program 112 into your phone for quick access during travel if you are concerned about safety or simply want rapid assistance in unfamiliar surroundings.
Staying connected in Spain: SIMs, roaming, and data plans
Spain offers a variety of options for staying connected, whether you are a short-term visitor or a long-stay traveller. When you arrive, you can choose between roaming with your home network, purchasing a local Spanish SIM card, or using eSIM options on compatible devices. Roaming charges have become more affordable in recent years, though rates vary by operator and plan. Local SIMs can be highly cost-effective, particularly for calls, texts, and data within Spain. If you plan to travel across the country, a regional plan or a data package that includes travel across the Schengen area can be a sensible choice, given Spain’s status as a popular travel destination in Europe.
When using a Spanish SIM, you will typically be assigned a Spanish mobile number that begins with 6 or 7. You can use this number to connect with locals, receive important verification codes, and stay reachable during your stay. If you rely heavily on data, look for plans with generous data allowances and reliable network coverage in the areas you plan to visit, from Madrid to Seville, Valencia to Bilbao, and the many rural destinations along the coast.
Practical tips for travellers dialing Spain
To avoid common hiccups when calling Spain, consider the following practical tips:
- Always include the country code +34 when sharing or saving Spanish numbers internationally.
- For landlines, be mindful of regional area codes—Madrid uses 91, Barcelona uses 93, and others have their own codes. Always include the area code when dialling from abroad.
- When calling mobile numbers, expect that the digits after +34 will start with 6 or 7. Do not omit the initial mobile prefix when dialling from abroad.
- If you are using a landline at home and calling Spain frequently, you might find it convenient to create a contact list with both international and domestic formats for quick access.
- Test long-distance numbers before arriving in Spain to ensure you are connected with the correct recipient, especially for business contacts or hotels with legacy numbers.
Common pitfalls when dialling Spain
Even seasoned travellers encounter a few common pitfalls when dialling Spain, especially if they switch between devices, networks, and programming conventions. The most frequent mistakes include dropping the country code, misplacing the area code, or attempting to use a leading zero that is not part of the international format. Some devices expect a plus sign for international numbers, while others require an international access code such as 00 or 011 depending on the country. Being consistent in the format you use—preferably the +34 international format—greatly reduces the chance of misdialled calls. If you are using a mobile device, the plus sign is often the simplest route, because the device handles the translation to the appropriate international prefix automatically.
What country code is +34? Summing up the essentials
In short, what country code is +34? It is the international dialling prefix allocated to Spain. It covers both landlines and mobiles, with distinct numbering patterns that identify the service type. When you travel to Spain or contact someone there from abroad, using +34 ensures you are routing your call correctly into the Spanish national numbering system. The code is part of a carefully organised system for global communications that enables seamless connections across borders, languages, and networks. By understanding the structure of Spanish numbers and how to format them for different destinations, you can stay connected more reliably during holidays, study, or work in Spain.
Frequently asked questions about +34 and Spain’s dialing code
What country code is +34? Is it Spain?
Yes. The country code +34 is assigned to Spain. It is used for both landlines and mobile numbers within the country. When you see +34 at the start of a number, you know the call is intended for Spain.
How do I dial +34 from the UK?
From the UK, you can dial 00 34 followed by the Spanish number, or use the plus sign on a mobile to enter +34 and the rest of the digits. For example, +34 91 123 4567 would work on a mobile or VoIP service that supports international formatting, and 00 34 91 123 4567 would work on a landline or a fixed-line device that requires the UK’s international access code.
Can I call Spain with just the international format?
Yes. Using the format +34 followed by the appropriate digits is generally the simplest method, especially on mobile devices. This format works in most modern phones and many international telephony services, and it translates correctly whether you are in the UK, the United States, or anywhere else in the world.
Are there regional differences within Spain for dialing?
Within Spain, the main regional differences are reflected in the area codes for landlines. For example, +34 91 appears for Madrid, +34 93 for Barcelona, and so on. Mobiles, which begin with 6 or 7, do not indicate a region in the same way and are assigned across the country as portable numbers.
Final reflections on the importance of the +34 code
Understanding what country code is +34 and how it functions helps travellers, students, and professionals stay connected when visiting Spain or communicating with Spanish contacts from abroad. The +34 prefix is a practical reminder of how the global telephone network is organised, making it possible to reach friends and colleagues across borders with clarity and ease. By familiarising yourself with the structure of Spanish numbers, the difference between landlines and mobiles, and the standard formats for international calling, you can navigate Spain’s telecommunication landscape with confidence and efficiency.
Additional resources for readers exploring Spain’s dialing systems
For those who wish to delve deeper, consider revisiting the following topics: the E.164 numbering plan and how it governs international numbers, the evolution of roaming charges and consumer protections in Europe, and country-specific guides detailing how to dial from particular countries to Spain. While the core concept remains consistent—what country code is +34 and how to apply it—the practical nuances improve with experience, particularly when dealing with business communications, hotel reservations, or coordinating group travel across Spanish cities.
Closing thoughts
As you travel through Spain or connect with Spanish contacts from abroad, remember that the key to seamless communication lies in correctly applying the +34 country code and understanding the structure that follows it. Whether you are calling Madrid, Barcelona, Valencia, Seville, or any other destination within Spain, use the international format confidently: +34 followed by the appropriate digits. The more you practise dialling Spain’s numbers, the less you will worry about connection issues, misdialled digits, or confusing local conventions. In the end, a clear understanding of what country code is +34 helps you stay connected, informed, and ready to explore all that Spain has to offer.