2-digit postal code Spain

This dataset depicts the boundaries of all 2-digit postal code areas in Spain. This Spanish postal code system is developed by the Spanish national postal service (Correos) to divide Spain in 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 sorting in their business. Bigger cities, like Barcelona and Madrid are divided in different districts, which look a lot like the structure in Paris.


This map depicts the boundaries of the 2-digit postal code or districts within the country of Spain. These 2-digit postal codes are part of the official 5-digit 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

Contact us

We have this dataset available for purchase on demand. Please provide us with your name, email address and a message and we’ll contact you as soon as possible about your interest in this dataset.


SourceSpain Postal Service (Correos)
Year of coverage2017
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:

  • 2-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’ll 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.