NIE number: how to get one when you buy a home in Spain
You need an NIE number to buy a home in Spain. It is the Spanish identification number for foreigners, and everyone who will own the home needs their own. From home you apply at the Spanish embassy in the country where you live. If you are in Spain, you can apply to the police. The fee is €9.84 in Spain, and embassies charge it in local currency.
What the NIE is used for
- At the notary: everyone who signs the deed must give their tax number, and for foreigners that is the NIE.
- Tax: you use the NIE to pay tax on the purchase, and later property tax and non-resident tax.
- At the bank: Spanish banks usually ask for an NIE to open an account, and you need the account for running costs after completion.
The NIE does not give you the right to live in Spain. It is only an identification number, and it does not expire.
How to apply
- At the Spanish embassy in the country where you live. You book an appointment and attend in person, or send a representative.
- With the police while you are in Spain, at a police station or a foreigners' office (Oficina de Extranjería), by appointment.
- Through a lawyer or a gestor (a Spanish adviser for official paperwork) with your power of attorney. The power of attorney must expressly cover applying for an NIE. If it is signed outside Spain, it needs an apostille and a sworn Spanish translation. Ask your lawyer first whether the police station accepts it.
Moving to Spain? Then the embassy will not issue an NIE. You register in Spain within three months of arriving and get an EU/EEA registration certificate that carries your NIE. The fee for the certificate is €12.
What you need
- The EX-15 application form, filled in and signed, with a copy.
- A valid passport, or a national ID card for EU/EEA citizens, with a copy of the data page.
- The Modelo 790 fee form, code 012, with the fee paid. In Spain the fee is €9.84. The embassy tells you what it costs and how to pay there.
- Documents showing why you need the number, such as a reservation or purchase contract.
- At the embassy: proof that you live in the country where you apply, if the embassy asks for it.
How long it takes
The embassies send the NIE by email. These are the times the embassies give, and the deadline the rules set in Spain:
| Where | Time |
|---|---|
| Embassy in Oslo | Up to five weeks |
| Embassy in Stockholm | Usually within two weeks |
| Embassy in Copenhagen | Usually about two weeks, but the embassy warns it can take five to six weeks |
| Police in Spain | A decision within five days of applying under the rules, but the wait for an appointment varies |
Apply as soon as you know you will buy. You need the number before you sign at the notary.
Sources
- BOE: Reglamento de Extranjería, article 205 on the NIE
- Policía Nacional: the Modelo 790 fee form, code 012
- Plataforma ONE: applying for an NIE
- Spanish Embassy in Oslo: NIE
- Spanish Embassy in Stockholm: NIE
- Spanish Embassy in Copenhagen: NIE
Last reviewed November 2026 by Thomas Larsen, Senior Property Advisor.
Want help with the paperwork before you buy?
We tell you what you need and when, and what your lawyer can arrange for you.