Postal codes in Spain

{{Short description|none}}

{{use dmy dates|date=January 2020}}

Spanish postal codes were introduced on 1 July 1984,{{cite news |url=https://elpais.com/diario/1984/07/02/espana/457567221_850215.html |title=Correos implanta en España el código postal |date=1984-07-02 |language=es |trans-title=Correos introduces postal codes in Spain |newspaper=El País |access-date=2020-01-24 }} when the {{lang|es|Sociedad Estatal de Correos y Telégrafos}} introduced automated mail sorting. They consist of five numerical digits,{{cite web |url=http://www.fedex.com/be/shippingguide/postalcodeformat.html |title=Postal Code Format |website=FedEx |access-date=2020-01-27 }} where the first two digits, ranging 01 to 52, correspond either to one of the 50 provinces of Spain or to one of the two autonomous cities on the African coast.

Two-digit prefixes

File: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 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 {{lang|es|Guipúzcoa}} to the Basque {{lang|eu|Gipuzkoa}}) 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.{{cite web |url=https://www.boe.es/eli/es/o/1995/09/27/(1) |title=Orden de 27 de septiembre de 1995 sobre la modificación del código postal de las ciudades de Ceuta y Melilla. |trans-title=Order of 27 September 1995 on the modification of the postal codes of the cities of Ceuta and Melilla |language=es |website=BOE |date=1995-10-04 |access-date=2020-01-27 }}

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.

{{div col|colwidth=15em}}

{{div end}}

Following digits

The third digit of a Spanish postal code is used to identify major cities or basic itineraries.{{cite web |url=https://www.boe.es/eli/es/o/1984/01/23/(3) |title=Orden de 23 de enero de 1984 de desarrollo del Real Decreto 1794/1982, de 9 de julio, por el que se establece el Código Postal para la clasificación de la correspondencia |trans-title=Order of 23 January 1984 to further develop Royal Decree 1794/1982, of 9 July, by which postal codes are set for the classification of correspondence |language=es |website=BOE |date=1984-02-10 |access-date=2020-01-27 }} 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

{{reflist}}