A caller seeking to dial to Spain must use various calling codes not applicable to domestic dialing. The dialing method is essentially the same regardless of the origin of the telephone call. However, the specific numbers used for dialing change depending on where the caller is located at the time of the call. For example, a caller trying to dial Spain from the US must start the phone number with “011.” Conversely, a dialer calling from Peru would dial “00” when calling Spain. Callers should learn how to use online databases of dialing codes to determine the exact number for dialing Spain. They can then connect to both landlines and cell phones registered in Spain.
A person dialing Spain should first access the codes page on the HowToCallAbroad website (see Sources). This database contains country codes, exit codes, and trunk codes for Spain and the other countries around the world. Look for your country’s exit code first. As stated above, the exit code for the US is 011. But the exact code depends on the country from which you are calling. The exit code is the first number you dial when you call Spain or any other country.
After dialing the exit code, you must enter the country code to dial Spain. This is the same number for every source country. The Spain country code is “34.”
Thus, if you are calling from the US, you would dial 011-34 in front of the Spain number. If calling from Peru, you would dial 00-34. Notice that the number of digits can change depending on your country.
After you dial the exit code and country code, then you dial to Spain with the local area code and phone number. For example, if the local number is 971-123-456, then you would dial Spain from the US by calling 011-34-971-123-456.
If you are trying to dial a Spain cell phone, follow the same procedure. Most cell-phone numbers start with the letter “6” in Spain. But the important thing to remember is to dial the exit code of your own country, “34,” and then the cell-phone number.
Existence of local trunk codes can be confusing. Sometimes, a local giving you his phone number will include the trunk code. A trunk code is excluded when making an international call. For example, when making a domestic US call, the caller generally uses a “1′ in front of the area code and phone number. Spain does not have a trunk code. But if any country does use a trunk code, always exclude that number when you dial that country.
Write down all of these codes if you intend to travel. Some countries do not have easy access to an Internet connection.
HowToCallAbroad Codes Page