ISO 3166-2:ES

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:

Each code consists of two parts, separated by a hyphen. The first part is ES, 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:

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:

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

CodeSubdivision name (es) [note 1]Subdivision name (en) [note 2]Subdivision category
ES-AN  AndalucíaAndalusiaautonomous community
ES-AR  AragónAragonautonomous community
ES-AS  Asturias, Principado dePrincipality of Asturiasautonomous community
ES-CN  CanariasCanary Islandsautonomous community
ES-CB  CantabriaCantabriaautonomous community
ES-CL  Castilla y LeónCastile and Leónautonomous community
ES-CM  Castilla-La ManchaCastile-La Manchaautonomous community
ES-CT  Catalunya (ca) [Cataluña]Cataloniaautonomous community
ES-CE  CeutaCeutaautonomous city in North Africa
ES-EX  ExtremaduraExtremaduraautonomous community
ES-GA  Galicia (gl) [Galicia]Galiciaautonomous community
ES-IB  Illes Balears (ca) [Islas Baleares]Balearic Islandsautonomous community
ES-RI  La RiojaLa Riojaautonomous community
ES-MD  Madrid, Comunidad deCommunity of Madridautonomous community
ES-ML  MelillaMelillaautonomous city in North Africa
ES-MC  Murcia, Región deRegion of Murciaautonomous community
ES-NC  Navarra, Comunidad Foral de
Nafarroako Foru Komunitatea (eu)
Chartered Community of Navarreautonomous community
ES-PV  País Vasco
Euskal Herria (eu)
Basque Countryautonomous community
ES-VC  Valenciana, Comunidad
Valenciana, Comunitat (ca)
Valencian Communityautonomous community
Notes

Provinces

CodeSubdivision name (es)In autonomous community
ES-CA Coruña (gl) [La Coruña]GA
ES-VIÁlava
Araba (eu)
PV
ES-ABAlbaceteCM
ES-AAlicante
Alacant (ca)
VC
ES-ALAlmeríaAN
ES-OAsturiasAS
ES-AVÁvilaCL
ES-BABadajozEX
ES-BBarcelona (ca) [Barcelona]CT
ES-BIBizkaia (eu)PV
ES-BUBurgosCL
ES-CCCáceresEX
ES-CACádizAN
ES-SCantabriaCB
ES-CSCastellón
Castelló (ca)
VC
ES-CRCiudad RealCM
ES-COCórdobaAN
ES-CUCuencaCM
ES-SSGipuzkoa (eu)PV
ES-GIGirona (ca) [Gerona]CT
ES-GRGranadaAN
ES-GUGuadalajaraCM
ES-HHuelvaAN
ES-HUHuescaAR
ES-PMIlles Balears (ca) [Islas Baleares]IB
ES-JJaénAN
ES-LOLa RiojaRI
ES-GCLas PalmasCN
ES-LELeónCL
ES-LLleida (ca) [Lérida]CT
ES-LULugo (gl) [Lugo]GA
ES-MMadridMD
ES-MAMálagaAN
ES-MUMurciaMC
ES-NANavarra
Nafarroa (eu)
NC
ES-OROurense (gl) [Orense]GA
ES-PPalenciaCL
ES-POPontevedra (gl) [Pontevedra]GA
ES-SASalamancaCL
ES-TFSanta Cruz de TenerifeCN
ES-SGSegoviaCL
ES-SESevillaAN
ES-SOSoriaCL
ES-TTarragona (ca) [Tarragona]CT
ES-TETeruelAR
ES-TOToledoCM
ES-VValencia
València (ca)
VC
ES-VAValladolidCL
ES-ZAZamoraCL
ES-ZZaragozaAR

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:

NewsletterDate issuedDescription of change in newsletterCode/Subdivision change
Newsletter I-12000-06-21Code 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
Newsletter I-22002-05-21Spelling correction and update in header information. Four corrections in spellings of subdivisionsCodes:
Illes Balears: ES-PMES-IB (to correct duplicate use)
ES-GE Gerona → ES-GI Girona
Newsletter I-42002-12-10Error correction: Regional subdivision indicator corrected in ES-PM
Newsletter II-12010-02-03
(corrected
2010-02-19)
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 languagesCodes: (to correct duplicate use)
Asturias, Principado de: ES-OES-AS
Cantabria (autonomous community): ES-SES-CB
La Rioja: (autonomous community): ES-LOES-RI
Madrid, Comunidad de: ES-MES-MD
Murcia, Región de: ES-MUES-MC
Navarra, Comunidad Foral de: ES-NAES-NC
Online Browsing Platform (OBP)2020-11-24Change 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:

However, these codes do not correspond in any way to the ISO 3166-2 codes of the territories.

See also

External links