Spain address format, validation, & examples
How to write a Spanish address
Hola, Amigos! It’s time to learn how to address a letter that’s headed to Spain. Let’s get the fiesta started. Look at our address examples here and try our suite of address validation tools for Spanish address formats below. Just enter an address, and we'll format, standardize, and validate it muy rapido. Spanish address verification tools are neat.
Looking to understand how Spain address validation and verification work? You’ve come to the right place. We’re the guide who’ll walk you through mailing a letter to Spain and processing Spanish address data programmatically via API.
Now, let's get into the basics of address formatting in Spain. The Spanish address format for shipping or mailing addresses should be written as follows:
- Addressee line - The recipient's full name, using appropriate titles like "Señor" (Mr.) or "Señora" (Mrs./Ms.).
- Building number - If applicable, the building number
- Street name, secondary address information - The street name followed by any applicable secondary address data, such as stairwell, floor, and door. Separate each address component with a comma (e.g., Plaza de las Descalzas 27, Esc 2, 3º, C).
- Postal code and city - Include the five-digit postal code followed by the city name without punctuation marks.
- Administrative area - The administrative area will have its own line.
- Country - Write "ESP" in all caps on the last line.

Valid Spain address examples
Address validation and verification in Spain
Whether you’re validating a single address or processing millions, reliable Spain address validation tools can improve data integrity and reduce failed workflows caused by inaccurate address data.
In real-world applications, formatting alone isn't always enough when working with addresses in Spain. Many businesses need more to support shipping, logistics, billing, compliance, and other operational needs. That’s where our Spain address validation API comes in clutch.
For organizations building applications or managing large datasets, a Spanish address verification API can automate validating large Spanish address lists in real time and help supply missing or incomplete address details that may be useful.
Smarty address validation tools for Spain
Smarty® provides powerful and scalable Spain address validation tools. These real-time Spanish address verification tools are simple and comprehensive to use, whether you need one Spain address lookup tool or a robust Spanish address verification API. Smarty can handle addresses in 250+ countries and territories worldwide. Validate your Spanish addresses with our tools.
Use the international single address verification tool to verify and format 1 address at a time, the bulk address validation tool to verify and format a list of addresses simultaneously, or use the International Street Address API to integrate address validation and formatting programmatically into your software systems and workflows.
Postal information
Andalusia - AN
Aragon - AR
Asturias - AS
Balearic Islands - IB
Basque Country - PV
Canary Islands - CN
Cantabria - CB
Castile and León - CL
Castilla-La Mancha - CM
Catalonia - CT
Extremadura - EX
Galicia - GA
La Rioja - RI
Madrid - MD
Murcia - MC
Navarre - NA
Valencian Community - VC
Ceuta - CE
Melilla - ML
Correos
Country information
Hold onto your paella as we walk through more of Spain’s address structure. Here, you’ll learn more details about Spanish addresses, like countries and territories related to Spain, population size, urban and rural distribution percentages, and more.
Population information
Data from worldbank.org
CC-BY 4.0