PostalCodeFinder.net

Spain postal codes

Spain has 11 150 postal codes for 36 673 cities, towns and villages. Each postal code has 5 digits, for example 28001.

Spain in numbers

Codes
11 150
Places
36 673
Capital
Madrid
Format
99999
Example
28001

How to write an address in Spain

Recipient nameStreet address28001 MADRID MADRIDSPAIN

The postal code goes before the town name, on the same line. Write the town and the state in capital letters. From abroad, add SPAIN as the last line.

Write your own address in this format or print it on an envelope.

Questions

What is the postal code format in Spain?

Postal codes in Spain have 5 digits, for example 28001.

How many postal codes does Spain have?

Spain has 11 150 postal codes for 36 673 cities, towns and villages, by the open data updated 16 November 2026.

What is the postal code of Madrid?

Madrid has 63 postal codes, from 28001 to 28087.

How do I write an address in Spain?

Recipient name, Street address, 28001 MADRID MADRID, SPAIN. The postal code goes before the town name, on the same line. Write the town and the state in capital letters. From abroad, add SPAIN as the last line.