Índice
NIE numbers begin with Z in new documents assigned since 2022. What does this mean? In reality, it does not imply anything negative. The format of the initial letter of the NIE only indicates the generation of the assigned number. First it was “X,” then “Y,” and finally, with the increase in applications, “Z” began to be used.
This means that if your NIE number starts with Z, you are part of the new registrations due to the growth in the number of foreigners in Spain. It does not change your legal status or limit your rights. It is simply a matter of administrative format.
What is the NIE in Spain?
The NIE, or Foreigner Identification Number, is a personal, unique, and exclusive number. It is assigned to any foreigner who carries out procedures in Spain, whether they reside legally or not.
This number is necessary for almost everything in Spain: opening a bank account, signing an employment contract, studying, buying property, or even paying taxes. Not having a NIE drastically limits the possibilities for integration and legal activity in the country.
However, a very common mistake is to think that having a NIE is equivalent to having legal residence. Nothing could be further from the truth. You can have a NIE and not have a residence permit. The NIE only identifies a foreigner in the Spanish system.
Structure and format of the NIE number
The format of the NIE number is quite simple but important:
- Initial letter (X, Y, or Z)
- Seven numeric digits
- Final check letter
This format allows for progressive numbering. When the combinations with “X” were exhausted, they moved on to ‘Y’ in 2008. Since 2022, the new step has been to use “Z.”
| Year of issue | Initial letter | Example of NIE | Comments |
| Before 2008 | X | X0000000T | First series of NIE |
| 2008- 2021 | Y | Y0000000T | Second series after exhausting the X |
| Since 2022 | Z | Z0000000T | Third series due to high demand |
Why did the NIE number change in 2008?
The answer is simple: there were no more numbers available with the letter “X.” More and more people were applying for NIEs, so the system needed to be expanded. That’s when the letter “Y” was introduced. It lasted for more than a decade, but it also became saturated. In 2022, the letter “Z” was introduced. This demonstrates the need for administrative systems to continuously adapt to the reality of migration in Spain.
FAQs
- Does the NIE number have an expiration date?
The number itself does not expire, but the card linked to it may. That is why it is crucial to renew your permits when necessary, even if your NIE is still valid.
- Is it worse to have a number with a Z?
Not at all. There is no disadvantage to having an NIE that starts with a Z. It is just a new generation of numbers, or a special or differentiated category.
- Does the letter of the NIE affect my legal status?
No. All NIEs issued, regardless of the initial letter, have the same legal validity. Rejecting an NIE with a Z would be illegal and discriminatory. The letter only indicates the order in which it was issued.
- What does each letter of the NIE in Spain mean?
The initial letter indicates the series or generation of the NIE: “X” for the first numbers, ‘Y’ from 2008 onwards, and “Z” from 2022 onwards, due to the increase in applications.
- Could the format of the NIE change in the future?
It is possible. If the combinations with “Z” run out, the system could be adapted again to continue assigning new numbers.

