ISO 3166-2:ES is the entry for Spain in ISO 3166-2, part of the ISO 3166 standard published by the International Organization for Standardization (ISO), which defines codes for the names of the principal subdivisions (e.g., provinces or states) of all countries coded in ISO 3166-1.
Currently for Spain, ISO 3166-2 codes are defined for two levels of subdivisions: 17 autonomous communities and two autonomous cities in North Africa 50 provinces
Each code consists of two parts, separated by a hyphen. The first part is , the ISO 3166-1 alpha-2 code of Spain. The second part is one or two letters. For the provinces, the letters were originally used in vehicle registration plates. The codes for the following provinces are based on the names of their capital cities rather than their own names: Álava/Araba (): Vitoria Asturias (): Oviedo Illes Balears (): Palma Cantabria (): Santander Gipuzkoa (): San Sebastián La Rioja (): Logroño Las Palmas (): Las Palmas de Gran Canaria Bizkaia (): Bilbao
Current codes Subdivision names are listed as in the ISO 3166-2 standard published by the ISO 3166 Maintenance Agency (ISO 3166/MA).
ISO 639-1 codes are used to represent subdivision names in the following administrative languages:
(es): Spanish (eu): Basque (ca): Catalan (gl): Galician
Except where noted, the names given are in Spanish (Castilian). In autonomous communities and provinces where any of the regional languages is the sole official language of toponymy, the Spanish name is given in square brackets for information. In subdivisions where both a regional language and Spanish are co-official languages of toponymy, both names are listed vertically.
Autonomous communities; autonomous cities in Spain Code Subdivision name (es)Name is in Spanish (es) except where noted. Subdivision name (en)For reference only, English name not included in the ISO 3166-2 standard. Subdivision category Andalusia autonomous community Aragon autonomous community Principality of Asturias autonomous community Canary Islands autonomous community Cantabria autonomous community Castile and León autonomous community Castile-La Mancha autonomous community (ca) [Cataluña] Catalonia autonomous community Ceuta autonomous city in North Africa Extremadura autonomous community (gl) [Galicia] Galicia autonomous community (ca) [Islas Baleares] Balearic Islands autonomous community La Rioja autonomous community Community of Madrid autonomous community Melilla autonomous city in North Africa Region of Murcia autonomous community Nafarroako Foru Komunitatea (eu) Chartered Community of Navarre autonomous community Euskal Herria (eu) Basque Country autonomous community Valenciana, Comunitat (ca) Valencian Community autonomous community Notes
Provinces Code Subdivision name (es) In autonomous community A Coruña (gl) [La Coruña] Araba (eu) Albacete AlicanteAlacant (ca) Almería Asturias Badajoz Barcelona (ca) [Barcelona] Bizkaia (eu) Burgos Cantabria CastellónCastelló (ca) Ciudad Real Cuenca Gipuzkoa (eu) Girona (ca) [Gerona] Granada Guadalajara Huelva Huesca Illes Balears (ca) [Islas Baleares] Jaén La Rioja Las Palmas León Lleida (ca) [Lérida] Lugo (gl) [Lugo] Madrid Murcia NavarraNafarroa (eu) Ourense (gl) [Orense] Palencia Pontevedra (gl) [Pontevedra] Salamanca Santa Cruz de Tenerife Segovia Sevilla Soria Tarragona (ca) [Tarragona] Teruel Toledo ValenciaValència (ca) Valladolid Zamora Zaragoza
Changes The following changes to the entry have been announced in newsletters by the ISO 3166/MA since the first publication of ISO 3166-2 in 1998:
Newsletter Date issued Description of change in newsletter Code/Subdivision change Code elements for autonomous communities withdrawn to correct the erroneous duplicate coding of the whole Spanish territory (see 4.1.1 of ISO 3166-2). Introduction of a third column stating a regional level of subdivision which is not coded (see 4.4. c) of ISO 3166-2). Introduction of 2 alternative name forms. Correction of 1 spelling error Spelling correction and update in header information. Four corrections in spellings of subdivisions Codes: Illes Balears: → (to correct duplicate use) Gerona → Girona Error correction: Regional subdivision indicator corrected in ES-PM (corrected ) Addition of the country code prefix as the first code element, reallocation of 3166-2 alpha-2 codes to avoid duplication, update of the administrative structure, addition of names in administrative languages Codes: (to correct duplicate use) Asturias, Principado de: → Cantabria (autonomous community): → La Rioja: (autonomous community): → Madrid, Comunidad de: → Murcia, Región de: → Navarra, Comunidad Foral de: → Online Browsing Platform (OBP) 2020-11-24 Change of subdivision name of ES-PM; Update List Source; Correction of the Code Source
Special territories The following two areas not covered by European Union Customs arrangements are also exceptionally reserved ISO 3166-1 alpha-2 codes on the request of the World Customs Organization: Ceuta, Melilla Canary Islands
However, these codes do not correspond in any way to the ISO 3166-2 codes of the territories.
See also Subdivisions of Spain FIPS region codes of Spain NUTS codes of Spain Neighbouring countries: AD, FR, GI, MA, PT
External links ISO Online Browsing Platform: ES Provinces of Spain, Statoids.com