Spain (ES) Postal Code, Street Format & Mobile Number Validator
5-digit numeric Codigo Postal: the first 2 digits strictly map to the 50 Spanish provinces plus Ceuta (51) and Melilla (52), valid prefixes 01-52 only (e.g., 08xxx Barcelona, 28xxx Madrid; 53-99 invalid).
Interactive Postal Code, Street Order & Mobile Format Validator
Official Addressing & Courier Standards in Spain
^(?:0[1-9]|[1-4]\d|5[0-2])\d{3}$
5-digit numeric Codigo Postal: the first 2 digits strictly map to the 50 Spanish provinces plus Ceuta (51) and Melilla (52), valid prefixes 01-52 only (e.g., 08xxx Barcelona, 28xxx Madrid; 53-99 invalid).
Street type and name first (Calle / Avenida / Paseo / Carrer), followed by house number, floor, and door (e.g., Calle de Alcala, 45, 2B); note Canary Islands (35xxx/38xxx) require customs clearance unlike mainland Spain.
+34 · +34 612 485 930
Country code +34 with NO trunk zero; Spanish mobile numbers are strictly 9 digits starting with 6 or 7 (71-74).
Spain shares cross-border parcel pools with France, Italy, Belgium, and the Netherlands; InPost Punto Pack and Correos offices handle the majority of locker pickups.
Commercial Cities, Postal Code Ranges & Formatting Templates in Spain
Note: All street lines below use synthetic numbers on major public commercial avenues strictly to demonstrate valid national address syntax.
| City | Region / Province Code | Valid Postcode Range | Sample Postcode | Formatting Template Street Line |
|---|---|---|---|---|
| Madrid | MD (28) |
28001 - 28055 |
28013 |
Calle Gran Via, 32 |
| Barcelona | CT (08) |
08001 - 08042 |
08007 |
Passeig de Gracia, 64 |
| Valencia | VC (46) |
46001 - 46026 |
46002 |
Calle Colon, 28 |
Spain Address & Postcode FAQ
What is the official postal code format in Spain (ES)?
5-digit numeric Codigo Postal: the first 2 digits strictly map to the 50 Spanish provinces plus Ceuta (51) and Melilla (52), valid prefixes 01-52 only (e.g., 08xxx Barcelona, 28xxx Madrid; 53-99 invalid). Standard example: 28013 (Madrid, range 28001 - 28055) or 08007 (Barcelona). Regex pattern: ^(?:0[1-9]|[1-4]\d|5[0-2])\d{3}$.
Does the house number go before or after the street name in Spain?
In Spain, the street name is placed BEFORE the house number. Street type and name first (Calle / Avenida / Paseo / Carrer), followed by house number, floor, and door (e.g., Calle de Alcala, 45, 2B); note Canary Islands (35xxx/38xxx) require customs clearance unlike mainland Spain. Example: Calle de Alcala, 45, 2B.
Which mobile phone prefix and parcel locker networks are standard in Spain?
Country code +34 with NO trunk zero; Spanish mobile numbers are strictly 9 digits starting with 6 or 7 (71-74). Example format: +34 612 485 930. Major domestic parcel locker and courier pickup networks include Correos (Citypaq) / InPost Punto Pack / SEUR Pickup, settling locally in EUR (€).
Switch to Another European Country Validator (20 Markets)
FR · 75011
Italy
IT · 20121
Germany
DE · 10117
United Kingdom
GB · SW1A 2AA
Spain
ES · 28013
Poland
PL · 00-021
Netherlands
NL · 1012 JS
Belgium
BE · 1000
Austria
AT · 1010
Portugal
PT · 1100-148
Sweden
SE · 111 57
Denmark
DK · 1150
Finland
FI · 00100
Czechia
CZ · 110 00
Hungary
HU · 1052
Romania
RO · 010071
Lithuania
LT · LT-01128
Slovakia
SK · 811 01
Croatia
HR · 10000
Luxembourg
LU · L-1931