Cette page est disponible en anglais uniquement. La navigation reste dans votre langue.

Country guides · 5 min read

Spain Address Format (2026) — Fields & Examples

The field order, postal-code rules, a correct Spain address example, and a generator with copy and CSV/JSON export.

By Charlie Simmon ·

On this page
  1. How to write a Spain address
  2. Postal code rules
  3. City fixtures used by the generator
  4. Common mistakes
  5. Questions

A Spain address is easier to get right when you keep the fields in the local order. This guide shows the order, a worked example, and the mistakes that most often break forms and labels.

The examples are synthetic. They use real city and region names with generated street numbers, so you can test a form without pointing at a real household.

How to write a Spain address

Use this order for a Spain address. If a form gives you separate fields, fill them one by one rather than pasting the whole block into the street field.

  • 1. Street address
  • 2. Apartment or unit
  • 3. Postal code
  • 4. City
  • 5. Country

Postal code rules

Yes. Spain uses a código postal. Every generated result includes one, and the fixture values are format samples rather than live postal validation.

The Código postal is written with the address, not stored on a separate line in most forms. The generator keeps it as its own field so you can copy it independently.

City fixtures used by the generator

These are the city, region, and postal fixtures behind the Spain generator. They are examples for format testing, not a complete postal directory.

CityRegionCódigo postal
MadridMadrid28001
BarcelonaCatalonia08001
ValenciaValencia46001
SevilleAndalusia41001
BilbaoBasque Country48001

Common mistakes

Most address errors are field-order or field-boundary errors, not typing errors.

  • Putting the house number after the street name when the local convention expects it before, or the reverse.
  • Dropping the código postal or changing its format to match a different country.
  • Using a residence or mailbox address for a purpose that requires a physical operating address.

Questions

How do I write a Spain address?+
Use this order: Street address → Apartment or unit → Postal code → City → Country. Keep each field separate when the form provides separate inputs.
Does Spain use postal codes?+
Yes. Spain uses a código postal. Every generated result includes one, and the fixture values are format samples rather than live postal validation.
Can I use this Spain address for shipping?+
No. The street and unit numbers are generated. Use the sample for forms, mockups, and QA, not for delivery or identity checks.

Examples are synthetic. Do not use a generated address for identity checks, account registration, or delivery.

Reference standards

Read next

All guides