Postal codes were introduced and standardized in Spain in 1976, when Correos (the national postal service of Spain) introduced automated mail sorting. The first two digits (ranging 01–52) of the postal code correspond to one of the fifty provinces of Spain (as listed in general alphabetical order, with some exceptions), plus the two autonomous cities on the African coast.
Full listing:
| 01 Álava | 14 Córdoba | 27 Lugo | 40 Segovia |
| 02 Albacete | 15 A Coruña | 28 Madrid | 41 Seville |
| 03 Alicante | 16 Cuenca | 29 Málaga | 42 Soria |
| 04 Almería | 17 Girona | 30 Murcia | 43 Tarragona |
| 05 Ávila | 18 Granada | 31 Navarre | 44 Teruel |
| 06 Badajoz | 19 Guadalajara | 32 Ourense | 45 Toledo |
| 07 Balearic Islands | 20 Guipúzcoa | 33 Asturias (formerly Oviedo) | 46 Valencia |
| 08 Barcelona | 21 Huelva | 34 Palencia | 47 Valladolid |
| 09 Burgos | 22 Huesca | 35 Las Palmas | 48 Biscay |
| 10 Cáceres | 23 Jaén | 36 Pontevedra | 49 Zamora |
| 11 Cádiz | 24 León | 37 Salamanca | 50 Zaragoza |
| 12 Castellón | 25 Lleida | 38 Santa Cruz de Tenerife | 51 Ceuta |
| 13 Ciudad Real | 26 La Rioja (formerly Logroño) | 39 Cantabria (formerly Santander) | 52 Melilla |
Large cities such as Madrid
and Barcelona, were
divided into postal districts (zonas in Spanish)
similar to the arrondissement system in Paris. These
former postal districts were incorporated into the five-digit
postal code:
| Former | Current | |
| Plaza de España, 18 | Madrid 8 | 28008 Madrid |
| Travessera de Gracia, 68 –70, 1º. | Barcelona 6 | 08006 Barcelona |
Some codes are reserved for special use at the province capital:
* 070 for official use by Correos. * 071 to address state agencies at the given province. * 080 for P.O. boxes and mail lists.
011764-44932
|
|