5-digit postal code Spain

This map depicts the boundaries of all 5-digit postal code areas in Spain. This Spanish postal code system is developed by the Spanish national postal service (Correos) to divide Spain into different areas. With this system each Spanish region gets a unique code and locations can be found easily.

Postal codes in Spain are known as código postal. These postal codes were introduced in 1976, when the Spanish postal service implemented automatic sortation in their business. Bigger cities, like Barcelona and Madrid are divided into different districts, which looks a lot like the structure in Paris.


This map depicts the boundaries of 5-digit postal code or districts within the country of Spain. These 5-digit postal codes are the highest level in the current postal code system of Spain. The official 5-digit postal code contains the following characters and features:

  • The first two digits represent a province
  • The third digit represents a large Spanish town or main delivery rounds
  • The last two digits feature the delivery area, secondary delivery route or link with rural areas


The current postal code (codigo postal) range of Spain (ES) is: 01001 – 52006. The lowest 5-digit postal code (01001) starts in Vitoria Gasteiz. This is a municipality and capital city of the Basque Autonomous Community. The highest postal code (52006) is located in Melilla. This is a Spanish autonomous city on the north coast of the African continent that is bordering with Morocco.


SourceSpain Postal Service (Correos)
Year of coverage2014
FormatCSV, Shapefile, KML, GEOJSON, XML

Variables in this dataset

When you purchase this dataset, you will receive data that draws all postal code areas on the map. Furthermore, you also get the following other features:

  • 5-digit postal code

See Also

High Quality Data

Our data analysts are always hard at work to get you data of the highest quality.

Instant Download

Most of our datasets are available to download right after payment. We even have quite soms free maps that will load into your Mapbuilder account right away.

Free Mapbuilder

Simply order the data from the Datashop and it will be available in your own Mapbuilder account. From there you are able to style the map the way you like and even plot your own data on the map.

Map apps

Expand your Mapbuilder with our selection of apps. From logo free use to calculating trade areas. We offer endless possibilities.