Just moved to Spain and needing everything, I’ve been on a shopping spree on Amazon, but I got stuck on the very first step: filling in the address. What’s the format for a Spanish postal code? What if I get it wrong and my package gets lost? I did some research and decided to share what I found with anyone else facing the same confusion.
What Exactly is a Spanish Postal Code?
Unlike the 6-digit postal codes you might be used to, Spanish postal codes are made up of 5 digits. These numbers aren’t random; they contain precise geographical information.
The first two digits: Represent the province (provincia). Spain has 50 provinces, and each has its own unique two-digit code. For example, Madrid starts with 28, and Barcelona starts with 08. So, the first two digits of the postal code tell you which province the package is headed to.
The last three digits: Are used to identify the specific delivery area, narrowing it down to the city, district, or even a particular street. In large cities, different districts or even different streets can have a different [Spanish postal code].
Filling in Your Address on Amazon: A Practical Guide
Now that we understand the principle, let’s see how to actually enter the [Spanish postal code] on Amazon. Amazon’s address form is quite smart, so if you fill it out step-by-step, you’re unlikely to make a mistake.
To give you a clearer idea, here is a screenshot of the Amazon address form. It’s a great reference for filling in your details, including the [Spanish postal code]:

The key fields are:
- Dirección, línea 1: This is where you enter your detailed street address. The format is usually
Street Name, Building Number, Floor/Apartment Number. For example, Calle de la Princesa, 25, 3º Izquierda means Princess Street, number 25, 3rd floor, left-hand door. A common mistake for newcomers is to cram all the information together. It’s crucial to write it out clearly and separately!
- Código Postal: The crucial step! Enter the 5-digit postal code for your area. If you’re not sure, you can find the correct postal code on the official Correos (Spanish Post) website or by searching your address on Google Maps.
- Ciudad: Enter the name of your city, for example, Madrid, Barcelona.
- Provincia / Región: Fill in the province, such as Comunidad de Madrid, Cataluña.
Postal Code Format Reference Chart
For your convenience, I’ve created a simple table listing the starting digits of postal codes for several major cities. But remember, these are just the prefixes; you still need to look up the exact postal code for your specific street
!
| City | Province | Postal Code Prefix |
| Madrid | Comunidad de Madrid | 28XXX |
| Barcelona | Barcelona | 08XXX |
| Valencia | Valencia | 46XXX |
| Seville | Sevilla | 41XXX |
One last tip: make sure to enter your full Pinyin name exact name as it appears on your residence card (TIE/NIE)
or passport. This is because ID is often required for verification upon delivery or when you pick up a package from the post office. Hope this guide helps, and happy shopping in Spain!