Spanish addresses use a five-digit postal code whose first two digits are the province, written before the city. Getting those province digits wrong or dropping the floor and door detail is the usual cause of misrouting. Here is the format, a real example, and the errors to catch.
A Spanish label is recipient, the street with its number, floor and door, then the postal code and city, then the country.
Carlos García personal or business recipientCalle de Alcalá 12, 3º B street, number, then floor and door (<code>3º B</code>) if any28014 Madrid 5-digit code, then the city or municipalitySPAIN required for inbound international shipmentsThe código postal drives Correos's routing, and its first two digits map to the province (28 Madrid, 08 Barcelona). It sits before the city.
Format: Five digits (28014); the first two identify the province.
Validation regex: ^\d{5}$
Watch for: a dropped leading zero on Barcelona-area codes, and transposed province digits.
The country-specific rules that generic autocomplete and single-line address fields tend to get wrong.
The first two digits of the código postal identify the province (28 Madrid, 08 Barcelona, 41 Seville). A transposition routes the parcel to a different province.
Apartments note the floor and door, for example 3º B (third floor, door B) or 2º Izq. (left). Keep them with the street line.
Barcelona and other provinces starting with zero (08) keep the leading zero. A field that strips it produces an invalid code.
Addresses begin with a street type: Calle, Avenida, Paseo, Plaza. It is part of the address and should be kept.
Each of these passes a basic "is this field filled in" check but fails at the carrier, turning into a redelivery, a return, or an address correction fee.
8014 instead of 08014 is invalid.3º B detail for last-mile delivery.Calle or Avenida removes expected context.How the major carriers handle Spain addresses, and what your label needs to satisfy each one.
The national postal operator. Routing is código-postal driven, so a valid five-digit code with correct province digits is the key field.
Major domestic parcel carriers for Spanish ecommerce. They expect the full street, floor and door, code, and city for accurate delivery.
International carriers for inbound shipments. Include the country line; an accurate postal code avoids customs and routing delays.
Address Guard checks Spain addresses against carrier and postal databases before the order ships, normalizes the format, and flags the errors that cause failed deliveries. 240+ countries, $0.05 per check.
Part of the Address Guard international address format guide, covering 240+ countries.