Country Information

CountrySpain
ISO CodeES / ESP
Total Records37,867

Spain uses a numeric code of 5 digits (e.g. 28001). Five-digit código postal.

This database currently holds 37,867 postal codes ranging from 01001 to 52080, linked to 0 building and address records. Because a single postal code can cover more than one locality or delivery point, the lookup below groups addresses by code and lets you drill into the individual records.

Postal codes matter well beyond mail delivery. Couriers, e-commerce checkout forms and address autocomplete tools rely on the postal code to route a parcel and to verify that the stated address matches the code. Addresses here are organised as Autonomous Community → Province → Municipality → Locality. When you look up a code here, treat the associated name as a reference point rather than a full postal address — always confirm the street and house number with the sender or recipient before shipping.

Data source: a third-party open dataset. This is an imported reference dataset, not a live government feed; CodeReff does not independently verify each record, so codes may have changed since the snapshot was taken. Use the search box to look up a specific code, or browse the paginated table below.

Spain Postal Code Data

11,150 postal code found

Postal Code Province Municipality Locality Building / Place Records
27870 Galicia Xove Lugo Lugo 2
27876 Galicia Moras (San Clemente) Lugo Lugo 1
27877 Galicia Portocelo Lugo Lugo 2
27878 Galicia Lago (Xove) Lugo Lugo 2
27879 Galicia Monte, O (Santo Isidoro) Lugo Lugo 2
27880 Galicia Burela Lugo Lugo 1
27888 Galicia Castelo (San Xiao) (Cervo) Lugo Lugo 2
27889 Galicia Rua (Santa Maria) Lugo Lugo 2
27890 Galicia Gondras Lugo Lugo 3
27891 Galicia Cervo Lugo Lugo 3
27892 Galicia Cangas (San Pedro) (Foz) Lugo Lugo 2
27893 Galicia Nois Lugo Lugo 1
28001 Madrid Madrid Madrid Madrid 1
28002 Madrid Madrid Madrid Madrid 1
28003 Madrid Madrid Madrid Madrid 1
28004 Madrid Madrid Madrid Madrid 1
28005 Madrid Madrid Madrid Madrid 1
28006 Madrid Madrid Madrid Madrid 1
28007 Madrid Madrid Madrid Madrid 1
28008 Madrid Madrid Madrid Madrid 1
28009 Madrid Madrid Madrid Madrid 1
28010 Madrid Madrid Madrid Madrid 1
28011 Madrid Madrid Madrid Madrid 1
28012 Madrid Madrid Madrid Madrid 1
28013 Madrid Madrid Madrid Madrid 1
28014 Madrid Madrid Madrid Madrid 1
28015 Madrid Madrid Madrid Madrid 1
28016 Madrid Madrid Madrid Madrid 1
28017 Madrid Madrid Madrid Madrid 1
28018 Madrid Madrid Madrid Madrid 1
28019 Madrid Madrid Madrid Madrid 1
28020 Madrid Madrid Madrid Madrid 1
28021 Madrid Madrid Madrid Madrid 1
28022 Madrid Madrid Madrid Madrid 1
28023 Madrid Madrid Madrid Madrid 1
28024 Madrid Madrid Madrid Madrid 1
28025 Madrid Madrid Madrid Madrid 1
28026 Madrid Madrid Madrid Madrid 1
28027 Madrid Madrid Madrid Madrid 1
28028 Madrid Madrid Madrid Madrid 1
28029 Madrid Madrid Madrid Madrid 1
28030 Madrid Madrid Madrid Madrid 1
28031 Madrid Madrid Madrid Madrid 1
28032 Madrid Madrid Madrid Madrid 1
28033 Madrid Madrid Madrid Madrid 1
28034 Madrid Madrid Madrid Madrid 1
28035 Madrid Madrid Madrid Madrid 1
28036 Madrid Madrid Madrid Madrid 1
28037 Madrid Madrid Madrid Madrid 1
28038 Madrid Madrid Madrid Madrid 1

Postal Codes by Region

Postal Codes by City

Frequently Asked Questions

Spain uses a numeric code of 5 digits (e.g. 28001). Five-digit código postal.
Yes. Spain postal codes are a plain numeric string, so a leading zero is part of the code itself. A code beginning with 0 must be written and stored with that zero — it is not the same as the same digits without it.
37,867 This database currently lists
The records are imported from a third-party open dataset, an open reference dataset. CodeReff does not independently verify each entry, so use the information as a reference rather than an official confirmation.
Enter a full or partial postal code, or a building or street name, in the search box above. You can also browse the paginated table and open any code to see its building and address records.
Information provided on CodeReff is for reference purposes only. Always verify financial and banking details with the relevant institution before use.