Spanish postal codes were introduced on 1 July 1984,
when the introduced automated mail sorting. They consist of five numerical digits,
where the first two digits, ranging 01 to 52, correspond either to one of the 50
provinces of Spain
A province in Spain
* es, provincias, ; sing. ''provincia'')
* Basque (, sing. ''probintzia''.
* Catalan (), sing. ''província''.
* Galician (), sing. ''provincia''. is a territorial division defined as a collection of municipalities, ...
or to one of the two
autonomous cities on the African coast.
Two-digit prefixes
![2 digit postcode spain](https://upload.wikimedia.org/wikipedia/commons/5/5c/2_digit_postcode_spain.png)
The first two digits of a Spanish postal code identify the province or autonomous city it belongs to. The numbers were assigned to the 50
provinces of Spain
A province in Spain
* es, provincias, ; sing. ''provincia'')
* Basque (, sing. ''probintzia''.
* Catalan (), sing. ''província''.
* Galician (), sing. ''provincia''. is a territorial division defined as a collection of municipalities, ...
ordered alphabetically at the time of implementation.
The official names of some of the provinces have since changed, either to the regional language version of the name (e.g. from the Spanish to the Basque ) or to adopt the name of the autonomous community instead of the provincial capital (e.g. Santander to Cantabria). In these cases, the originally assigned code has been maintained, resulting in some exceptions to the alphabetical order. In addition, Ceuta and Melilla were originally included within the postal areas of Cádiz and Málaga respectively; in 1995 they were assigned their own codes and hence ended up at the end of the list.
The list below includes all 52 two-digit prefixes assigned to the 50 provinces and two autonomous cities. Included in brackets are the names of the provinces that were used for alphabetical sorting at the time of implementation, if different from the current name used in English.
* 01
Álava
Álava ( in Spanish) or Araba (), officially Araba/Álava, is a province of Spain and a historical territory of the Basque Country, heir of the ancient Lordship of Álava, former medieval Catholic bishopric and now Latin titular see.
Its c ...
* 02
Albacete
Albacete (, also , ; ar, ﭐَلبَسِيط, Al-Basīṭ) is a city and municipality in the Spanish autonomous community of Castilla–La Mancha, and capital of the province of Albacete.
Lying in the south-east of the Iberian Peninsula, the ...
* 03
Alicante
Alicante ( ca-valencia, Alacant) is a city and municipality in the Valencian Community, Spain. It is the capital of the province of Alicante and a historic Mediterranean port. The population of the city was 337,482 , the second-largest in t ...
* 04
Almería
Almería (, , ) is a city and municipality of Spain, located in Andalusia. It is the capital of the province of the same name. It lies on southeastern Iberia on the Mediterranean Sea. Caliph Abd al-Rahman III founded the city in 955. The city g ...
* 05
Ávila
Ávila (, , ) is a city of Spain located in the autonomous community of Castile and León. It is the capital and most populated municipality of the Province of Ávila.
It lies on the right bank of the Adaja river. Located more than 1,130 m abov ...
* 06
Badajoz
Badajoz (; formerly written ''Badajos'' in English) is the capital of the Province of Badajoz in the autonomous community of Extremadura, Spain. It is situated close to the Portuguese border, on the left bank of the river Guadiana. The populatio ...
* 07
Balearic Islands ()
* 08
Barcelona
Barcelona ( , , ) is a city on the coast of northeastern Spain. It is the capital and largest city of the autonomous community of Catalonia, as well as the second most populous municipality of Spain. With a population of 1.6 million within ci ...
* 09
Burgos
Burgos () is a city in Spain located in the autonomous community of Castile and León. It is the capital and most populated municipality of the province of Burgos.
Burgos is situated in the north of the Iberian Peninsula, on the confluence of ...
* 10
Cáceres
* 11
Cádiz
Cádiz (, , ) is a city and port in southwestern Spain. It is the capital of the Province of Cádiz, one of eight that make up the autonomous community of Andalusia.
Cádiz, one of the oldest continuously inhabited cities in Western Europe, ...
* 12
Castellón
* 13
Ciudad Real
* 14
Córdoba
* 15
A Coruña
A Coruña (; es, La Coruña ; historical English: Corunna or The Groyne) is a city and municipality of Galicia, Spain. A Coruña is the most populated city in Galicia and the second most populated municipality in the autonomous community and s ...
()
* 16
Cuenca
* 17
Girona
Girona (officially and in Catalan , Spanish: ''Gerona'' ) is a city in northern Catalonia, Spain, at the confluence of the Ter, Onyar, Galligants, and Güell rivers. The city had an official population of 103,369 in 2020. Girona is the capital ...
()
* 18
Granada
Granada (,, DIN 31635, DIN: ; grc, Ἐλιβύργη, Elibýrgē; la, Illiberis or . ) is the capital city of the province of Granada, in the autonomous communities of Spain, autonomous community of Andalusia, Spain. Granada is located at the fo ...
* 19
Guadalajara
Guadalajara ( , ) is a metropolis in western Mexico and the capital of the list of states of Mexico, state of Jalisco. According to the 2020 census, the city has a population of 1,385,629 people, making it the 7th largest city by population in Me ...
* 20
Gipuzkoa
Gipuzkoa (, , ; es, Guipúzcoa ; french: Guipuscoa) is a province of Spain and a historical territory of the autonomous community of the Basque Country. Its capital city is Donostia-San Sebastián. Gipuzkoa shares borders with the French depa ...
()
* 21
Huelva
Huelva (, ) is a city in southwestern Spain, the capital of the province of Huelva in the autonomous community of Andalusia. It is between two short rias though has an outlying spur including nature reserve on the Gulf of Cádiz coast. The rias ...
* 22
Huesca
Huesca (; an, Uesca) is a city in north-eastern Spain, within the autonomous community of Aragon. It is also the capital of the Spanish province of the same name and of the comarca of Hoya de Huesca. In 2009 it had a population of 52,059, almo ...
* 23
Jaén
* 24
León
* 25
Lleida ()
* 26
La Rioja
La Rioja () is an autonomous community and province in Spain, in the north of the Iberian Peninsula. Its capital is Logroño. Other cities and towns in the province include Calahorra, Arnedo, Alfaro, Haro, Santo Domingo de la Calzada, an ...
()
* 27
Lugo
* 28
Madrid
Madrid ( , ) is the capital and most populous city of Spain. The city has almost 3.4 million inhabitants and a metropolitan area population of approximately 6.7 million. It is the second-largest city in the European Union (EU), and ...
* 29
Málaga
Málaga (, ) is a municipality of Spain, capital of the Province of Málaga, in the autonomous community of Andalusia. With a population of 578,460 in 2020, it is the second-most populous city in Andalusia after Seville and the sixth most pop ...
* 30
Murcia
Murcia (, , ) is a city in south-eastern Spain, the capital and most populous city of the autonomous community of the Region of Murcia, and the seventh largest city in the country. It has a population of 460,349 inhabitants in 2021 (about one ...
* 31
Navarre
Navarre (; es, Navarra ; eu, Nafarroa ), officially the Chartered Community of Navarre ( es, Comunidad Foral de Navarra, links=no ; eu, Nafarroako Foru Komunitatea, links=no ), is a foral autonomous community and province in northern Spain, ...
()
* 32
Ourense ()
* 33
Asturias
Asturias (, ; ast, Asturies ), officially the Principality of Asturias ( es, Principado de Asturias; ast, Principáu d'Asturies; Galician-Asturian: ''Principao d'Asturias''), is an autonomous community in northwest Spain.
It is coextensiv ...
()
* 34
Palencia
Palencia () is a city of Spain located in the autonomous community of Castile and León. It is the capital and most populated municipality of the province of Palencia.
Located in the Northwest of the Iberian Peninsula, in the northern half o ...
* 35
Las Palmas
Las Palmas (, ; ), officially Las Palmas de Gran Canaria, is a Spain, Spanish city and capital of Gran Canaria, in the Canary Islands, on the Atlantic Ocean.
It is the capital (jointly with Santa Cruz de Tenerife), the most populous city in th ...
()
* 36
Pontevedra
Pontevedra (, ) is a Spanish city in the north-west of the Iberian Peninsula. It is the capital of both the '' Comarca'' (County) and Province of Pontevedra, and of the Rías Baixas in Galicia. It is also the capital of its own municipality wh ...
* 37
Salamanca
Salamanca () is a city in western Spain and is the capital of the Province of Salamanca in the autonomous community of Castile and León. The city lies on several rolling hills by the Tormes River. Its Old City was declared a UNESCO World Herit ...
* 38
Santa Cruz de Tenerife
* 39
Cantabria
Cantabria (, also , , Cantabrian: ) is an autonomous community in northern Spain with Santander as its capital city. It is called a ''comunidad histórica'', a historic community, in its current Statute of Autonomy. It is bordered on the east ...
()
* 40
Segovia
Segovia ( , , ) is a city in the autonomous community of Castile and León, Spain. It is the capital and most populated municipality of the Province of Segovia.
Segovia is in the Inner Plateau ('' Meseta central''), near the northern slopes of t ...
* 41
Seville
Seville (; es, Sevilla, ) is the capital and largest city of the Spanish autonomous community of Andalusia and the province of Seville. It is situated on the lower reaches of the River Guadalquivir, in the southwest of the Iberian Peninsula ...
()
* 42
Soria
Soria () is a municipality and a Spanish city, located on the Douro river in the east of the autonomous community of Castile and León and capital of the province of Soria. Its population is 38,881 ( INE, 2017), 43.7% of the provincial populati ...
* 43
Tarragona
Tarragona (, ; Phoenician: ''Tarqon''; la, Tarraco) is a port city located in northeast Spain on the Costa Daurada by the Mediterranean Sea. Founded before the fifth century BC, it is the capital of the Province of Tarragona, and part of Tarr ...
* 44
Teruel
Teruel () is a city in Aragon, located in eastern Spain, and is also the capital of Teruel Province. It has a population of 35,675 in 2014 making it the least populated provincial capital in the country. It is noted for its harsh climate, with ...
* 45
Toledo
* 46
Valencia
Valencia ( va, València) is the capital of the autonomous community of Valencia and the third-most populated municipality in Spain, with 791,413 inhabitants. It is also the capital of the province of the same name. The wider urban area al ...
* 47
Valladolid
Valladolid () is a municipality in Spain and the primary seat of government and de facto capital of the autonomous community of Castile and León. It is also the capital of the province of the same name. It has a population around 300,000 peop ...
* 48
Biscay
Biscay (; eu, Bizkaia ; es, Vizcaya ) is a province of Spain and a historical territory of the Basque Country, heir of the ancient Lordship of Biscay, lying on the south shore of the eponymous bay. The capital and largest city is Bilbao.
B ...
()
* 49
Zamora
* 50
Zaragoza
Zaragoza, also known in English as Saragossa,''Encyclopædia Britannica'"Zaragoza (conventional Saragossa)" is the capital city of the Zaragoza Province and of the autonomous community of Aragon, Spain. It lies by the Ebro river and its tributari ...
* 51
Ceuta
Ceuta (, , ; ar, سَبْتَة, Sabtah) is a Spanish autonomous city on the north coast of Africa.
Bordered by Morocco, it lies along the boundary between the Mediterranean Sea and the Atlantic Ocean. It is one of several Spanish territorie ...
* 52
Melilla
Melilla ( , ; ; rif, Mřič ; ar, مليلية ) is an autonomous city of Spain located in north Africa. It lies on the eastern side of the Cape Three Forks, bordering Morocco and facing the Mediterranean Sea. It has an area of . It was par ...
Following digits
The third digit of a Spanish postal code is used to identify major cities or basic itineraries.
A zero denotes a provincial capital,
e.g. San Sebastián, as capital of the province of Gipuzkoa, uses the postal code 200xx.
The fourth and fifth digits are used to identify delivery areas, route itineraries or rural link itineraries.
Some codes are reserved for special use at the province capital:
* 070: official use by
Correos
* 071: to address state agencies at the given province
* 080: P.O. boxes and mail lists
References
External links
Find a postcode (Spanish post office website)Another postcode finder – displays results on a mapList of ZIP codes of Spanish municipalitiesSearch engine for postal codes in Spain
{{DEFAULTSORT:Postal codes in Spain
Spain
, image_flag = Bandera de España.svg
, image_coat = Escudo de España (mazonado).svg
, national_motto = ''Plus ultra'' (Latin)(English: "Further Beyond")
, national_anthem = (English: "Royal March")
, i ...
Spain
, image_flag = Bandera de España.svg
, image_coat = Escudo de España (mazonado).svg
, national_motto = ''Plus ultra'' (Latin)(English: "Further Beyond")
, national_anthem = (English: "Royal March")
, i ...
Postal system of Spain
Spain geography-related lists