Spanish Postal Code FormatSpanish postal codes were introduced and standardized in 1976, when the national postal service of Spain (Correos) introduced automated mail sorting. Spanish postal code consists of 5 digits. The first two digits (ranging 01-52) of Spanish postal code correspond a province of Spain. Formerly large cities (e.g. Madrid and Barcelona) were divided into postal districts. Nowadays they are incorporated into the five-digit postal code. Some Spanish postal 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.