Not sure which product you need? Let the wizard guide you
Smarty
Spain flag

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:

  1. Addressee line - The recipient's full name, using appropriate titles like "Señor" (Mr.) or "Señora" (Mrs./Ms.).
  2. Building number - If applicable, the building number
  3. 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).
  4. Postal code and city - Include the five-digit postal code followed by the city name without punctuation marks.
  5. Administrative area - The administrative area will have its own line.
  6. Country - Write "ESP" in all caps on the last line.
Spain mailing address format example on an envelope

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

Spain's national postal system, "Correos ," was established in 1716. The organization manages a substantial network, indicative of its role as a major postal service provider in the region.
Administrative area types and count
17 autonomous communities and 2 autonomous cities
Administration area names and abbreviations

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

Term to describe postal codes
código postal
Postal code in language
código postal
Postal code format
AD999
Postal service provider and website

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.

Country/territory name
Spain
ISO3
ESP
ISO 3166-1 alpha-2 country code
ES
ISO 3166-1 alpha-3 country code
ESP
ISO 3166-1 numeric country code
724
Endonym
Spain
Total land area
505990 KM²
Capital
Madrid
Other major cities
Barcelona, Valencia, Seville

Population information

Total population
48373336 (2023)
Urban / rural distribution
81% / 19%
Urban population
39182402
Rural population
9190934
Official language
Spanish
All languages spoken
Spanish, Catalan, Galician
Most commonly used postal language
Spanish

Data from worldbank.org
CC-BY 4.0

Now that you've seen our Spanish address examples and have become a wizard at Spain address formats, why not expand your expertise even further? Explore our detailed guides for related countries and territories to see how their address formats and examples vary.
Visit the global address formats page or Europe address formats page for more information on all the other countries and territories we cover. You can also read or read our article about international address verification to learn more.
*Data updated as of June 12, 2026

Ready to get started?

This chat is powered by Help Scout. Chats are recorded. Privacy Policy