Postal Codes

Spain Postal Codes

Advertisement

Spain uses postal codes in the format ##### (# = digit, @ = letter).

11,150 postal codes are recorded for Spain in the open data sources below.

In Spain a postal code is called a código postal (CP). You will see that term on forms and address labels.

Example postal codes

  • 28039
  • 28300
  • 28070

Postal codes by place

The 60 places in Spain with the most postal codes recorded, listed alphabetically. Larger towns link to their own page.

PlacePostal codeCodes recorded
A Coruña1500115
Albacete0200113
Alcala De Henares288009
Algeciras1120011
Alicante/Alacant0300124
Almeria0400112
Avila050019
Aviles308129
Badajoz0600115
Badalona089109
Barcelona0800146
Bilbao4800118
Burgos0900110
Caceres100019
Cadiz1100115
Cartagena3020010
Castellon De La Plana/Castello De La Pla1200110
Cordoba1400119
Donostia-San Sebastian2000121
Elx/Elche0313917
Ferrol1540116
Fuenlabrada021279
Getafe289009
Gijon3320019
Girona1700110
Granada1800120
Hospitalet De Llobregat, L'089009
Huelva2100110
Huesca220019
Jaen2300113
Jerez De La Frontera1140115
Las Palmas De Gran Canaria3500124
Leganes2891010
Leon2400116
Lleida2500121
Logroño2600112
Lugo2700112
Madrid0481064
Malaga2900126
Murcia3000121
Oviedo3300117
Palma De Mallorca0700127
Pamplona/Iruña3100119
Pontevedra3600115
Sabadell0820010
Salamanca3700111
San Cristobal De La Laguna3810815
Santa Cruz De Tenerife3800119
Santander3900115
Santiago De Compostela1570115
Sevilla4100124
Tarragona4300112
Telde3520010
Toledo4500111
Valencia4600130
Valladolid4700124
Vigo3379034
Vitoria-Gasteiz0100115
Zamora3534938
Zaragoza5000127

Watch the leading zero

Some Spain postal codes begin with a zero, such as 01001. Spreadsheets and some web forms silently drop it, turning 01001 into 1001 — which is either a different place or not a valid code at all. Format the column as text before pasting codes into a spreadsheet.

How an address is written in Spain

This is the order Spain's postal service expects. Square brackets mark what you replace.

Advertisement
[Recipient name]
[Street address]
[Postal code (28039)] [City] [State]
SPAIN

A postal code is required in a complete Spain address.

Look up a specific address

For the code covering one particular street or building, Spain's postal service publishes an official finder: www.correos.es/contenido/13-MenuRec2/04-MenuRec24/1010_s-CodPostal.asp. It is authoritative and kept current, which third-party copies often are not.

Country reference

ISO 3166-1 alpha-2ES
ISO 3166-1 alpha-3ESP
CapitalMadrid
Telephone code+34
CurrencyEuro (EUR)
Internet TLD.es

Sources and licensing

Postal code data from GeoNames, used under the Creative Commons Attribution 4.0 International licence. Address formats and validation rules derive from Google's international address metadata, cross-checked against Universal Postal Union addressing standards. Last verified August 2026. Confirm time-critical addresses with the destination country's postal operator.

Postal codes by town and city

35,315 places in Spain have a recorded postal code. The 51 largest have their own page; the rest are listed alphabetically.

Largest towns and cities

Madrid  ·  Barcelona  ·  Valencia  ·  Zaragoza  ·  Sevilla  ·  Malaga  ·  Murcia  ·  Palma De Mallorca  ·  Las Palmas De Gran Canaria  ·  Bilbao  ·  Cordoba  ·  Valladolid  ·  Vigo  ·  Gijon  ·  Vitoria-Gasteiz  ·  A Coruña  ·  Granada  ·  Oviedo  ·  Cartagena  ·  Jerez De La Frontera  ·  Sabadell  ·  Santa Cruz De Tenerife  ·  Almeria  ·  Leganes  ·  Donostia-San Sebastian  ·  Burgos  ·  Santander  ·  Albacete  ·  Logroño  ·  San Cristobal De La Laguna  ·  Badajoz  ·  Salamanca  ·  Huelva  ·  Tarragona  ·  Lleida  ·  Leon  ·  Telde  ·  Algeciras  ·  Cadiz  ·  Jaen

Browse every place A–Z

2  A  A (2)  B  B (2)  C  C (2)  C (3)  C (4)  D  E  E (2)  F  G  H  I  J  K  L  L (2)  L (3)  M  M (2)  N  O  P  P (2)  Q  R  R (2)  S  S (2)  S (3)  T  U  V  V (2)  V (3)  W  X  Y  Z

Advertisement