- What it is
- Spain's identification and tax number for foreigners
- Needed for
- deposit contract, deed, taxes, bank account, utilities
- Form
- EX-15 for non-residents
- Fee
- about €10, form 790 code 012
- Validity
- the number is for life
What the NIE is
The NIE (número de identificación de extranjero) is the identification and tax number Spain gives to foreigners. It appears on your purchase deed, your tax returns, your IBI bills and your utility contracts. Spanish citizens use their DNI number for the same purposes.
An NIE is only a number. It does not make you a resident and does not give you the right to live or work in Spain.
Which route applies to you
- Buying as a non-resident (holiday home or investment): apply for the NIE on its own, with form EX-15.
- EU citizens moving to Spain: the NIE is issued with your registration as a resident, so you don't need a separate application.
- Non-EU citizens moving to Spain: the NIE comes with your visa and residence card (TIE).
Three ways to apply
At a Spanish consulate
Useful if you want the number before you travel. Waiting times vary by consulate and can run to several weeks.
In person in Spain
Book an appointment (cita previa) with the National Police foreigners' office, pay the fee beforehand and bring the paperwork. The number is often issued on the day or within a few days. Appointments on the coast can be hard to get in busy months.
Through a lawyer or gestor
With a power of attorney, a representative can apply for you. Many buyers do this because the lawyer is handling the purchase anyway.
What to bring
- Form EX-15, completed and signed
- Passport, plus a copy
- Proof of why you need the NIE, such as a reservation or deposit contract or a letter from your lawyer
- Receipt for the fee, paid at a Spanish bank on form 790 code 012 before the appointment (about €10 in 2026)
After you have the number
The number stays with you for good. Use it to open a Spanish bank account, sign the deposit contract and the deed, and register for the taxes that come with owning property. Keep the certificate safe: banks, notaries and utility companies all ask for it.
Sources
- MySpainVisa: how to get an NIE (2026)
- Entretrámites: how to get a Spanish NIE
- TaxDown: the 790 code 012 fee
Rules and rates change. Treat this page as a guide, not tax or legal advice, and confirm the details for your own case with an independent lawyer or tax adviser.
