The country code of Spain is +34, and it is the single most useful number to memorise before you call Barcelona from abroad. Whether you are confirming a hotel, booking a restaurant table or ringing a tour operator, every Spanish number needs that +34 prefix when dialed from another country. The good news is that Spain’s system is refreshingly simple: one code for the whole country, no fiddly city area codes to work out, and a set of easy dialing patterns that work the same way every time.
The Country Code of Spain: +34 Explained
Spain’s international dialing code is 34, written as +34 or sometimes as 0034. It applies to the entire country, including Madrid, the Balearic and Canary Islands, and of course Barcelona. Unlike some countries where different regions carry their own international codes, there is just this one to remember. When you see a Spanish business list its number with +34 at the front, that is the version formatted for international callers.
The + symbol is shorthand for “insert your local international access code here.” On a mobile phone you can usually type + directly (hold the 0 key), and the phone handles the rest. On a landline you replace the + with the specific access code your country uses, which is why the exact digits you press change depending on where you are calling from.
Phone Area Codes in Spain: Why Numbers Are Nine Digits
Here is the part that trips up a lot of visitors: Spain no longer has separate area codes in the way many countries still do. Every Spanish phone number is nine digits long and always dialed in full, even if you are standing on the same street as the person you are calling. You never drop a prefix or add a trunk zero for local calls the way you might at home.
The leading digits are historic markers rather than codes you can separate out. Landlines in the Barcelona region begin with 93, a legacy of the old area-code era, so a fixed line might look like 93 XXX XX XX. Mobile numbers start with a 6 or a 7 and follow the same nine-digit rule. Because the prefix is baked into the number, you simply treat the whole nine digits as one block and dial them together, every time.
How to Dial: Worked Examples from the US, UK and EU
Calling from the US or Canada: start with the North American international access code 011, then 34 for Spain, then the full nine-digit number. A Barcelona landline shown as 93 XXX XX XX becomes 011 34 93 XXX XX XX. From a mobile you can skip 011 and press + instead, giving +34 93 XXX XX XX.
Calling from the UK, Ireland or most of the EU: the international access code is 00, so you dial 00 34 followed by the nine-digit number, for example 00 34 93 XXX XX XX. As anywhere, from a mobile the + symbol works too, making it +34 and then the number. The pattern is identical whether the number is a landline starting 93 or a mobile starting 6 or 7.
Calling home while you are in Spain works the same way in reverse: dial + (or 00) and then the destination country code. That is +1 for the US and Canada, +44 for the UK (dropping the leading 0 of the domestic number), and +39 for Italy (where, unusually, you keep the leading 0). Save numbers in your contacts in full + format before you travel and they will work seamlessly from anywhere.
Emergency Numbers in Spain: 112, 092 and 091
The number every traveler should know is 112. It is the EU-wide emergency line, free from any phone, and it connects you to police, fire and medical services through a single call. You do not need a country code, an area code or even credit on your phone to reach it, and operators generally speak several languages including English, which makes it the safest first call in any urgent situation.
If you need to reach the police specifically, there are two other free numbers. 092 connects you to the local police (Guardia Urbana in Barcelona), best for city-level issues like traffic incidents or minor thefts. 091 reaches the national police (Policía Nacional), who handle more serious crime and documentation matters. All three numbers are free and need no prefix, but if you are unsure which to use, 112 will always route you to the right service.
Using Your Mobile in Spain: Roaming and eSIMs
If your phone plan is based in the EU or EEA, you are covered by the “roam like at home” rules, which means calls, texts and data in Spain are charged at your normal domestic rates with no roaming surcharge. For most European visitors this makes staying connected effortless: your phone simply works the moment you land, exactly as it does at home.
Travelers from the US and elsewhere should not assume the same. International roaming can be expensive, so it is worth a quick call to check with your carrier about a travel add-on before you leave. Increasingly, the cheapest and simplest option is a local eSIM or travel SIM, which gives you generous data at Spanish prices and can be activated in minutes from your phone, no physical card swap required.
One local habit worth knowing: WhatsApp is the default messaging channel across Spain. Restaurants, hotels, tour guides and small businesses very often answer WhatsApp faster than a phone call or email, and many will confirm bookings or answer questions there. Once you have data or Wi-Fi, a quick WhatsApp message is frequently the most reliable way to reach a Spanish business.
Calling Spanish Businesses: Toll-Free 900 and Premium 902
Not all Spanish numbers cost the same to call. Numbers beginning with 900 are toll-free within Spain, the equivalent of a freephone line, and are commonly used for customer service. Numbers beginning with 902, by contrast, are shared-cost or premium-rate lines that can carry higher charges and are often impossible or very costly to reach from abroad.
The practical tip for international callers is simple: if a business only lists a 902 number, look for a geographic nine-digit alternative starting with 93 before you dial. Companies frequently publish a normal landline alongside the 902 line, and calling that instead avoids the premium charge entirely. When in doubt about current rates and which lines are free, it is worth checking the official source, as tariffs can change over time.
FAQFrequently asked questions
What is the country code for Spain?
The country code of Spain is +34. You dial it after your international access code (such as 00 or 011) or after the + symbol when calling any Spanish number from outside the country. There are no separate regional country codes; +34 covers the whole of Spain, including its islands.
How do I call Barcelona from the US?
From the US, dial 011 (the US international access code), then 34 (Spain's country code), then the full nine-digit Spanish number. So a landline written as 93 XXX XX XX becomes 011 34 93 XXX XX XX. From a mobile you can simply enter + instead of 011, then 34 and the number.
Do Spanish phone numbers have area codes?
Not anymore in the old sense. Spain uses fixed nine-digit numbers that you always dial in full, even within the same city. The leading digits are historic: landlines in the Barcelona region start with 93 and mobiles start with 6 or 7, but these are now part of the number rather than a separate area code you can drop.
What number do I dial in an emergency in Spain?
Dial 112 from any phone anywhere in Spain and across the EU. It connects you to police, fire and medical services, is free of charge, needs no country or area code, and operators typically speak several languages. Local police can also be reached on 092 and national police on 091.
Will my phone work in Spain?
If you have an EU or EEA plan, roaming works at your home rates under the 'roam like at home' rules. Travelers from the US or elsewhere should check with their carrier about international roaming or consider a local eSIM or travel SIM, which is often far cheaper for data.