Our NIE (Número de Identidad de Extranjero, the foreigner’s identification number) was the first piece of Spanish paperwork we chased after we arrived in 2023. It was also the first one I misunderstood. I thought getting the number was the whole job. It turned out to be half of it.
If you want the short answer on how to get an NIE number in Spain: fill in form EX-15, pay a fee of under 10 euros, and take both to a police foreigners’ office in Spain - or apply through a Spanish consulate if you’re abroad. If you’re an EU citizen moving here for good, there’s a second step after that - the green residence certificate - and that’s the one that takes real preparation.
NIE number or green card: what’s the difference?
People say “NIE” for two different things, which is where most of the confusion comes from.
The NIE number is just that - a number. The National Police’s NIE page (opens in new tab) says it’s for foreigners who deal with Spain for economic, professional or social reasons. Buying a house, renting, signing up for some services: they all want it.
The green NIE card is the Certificado de Registro de Ciudadano de la Unión - the registration certificate for EU citizens who live here. The police page for that certificate (opens in new tab) says EU and EEA citizens staying more than three months must apply for it in person, within three months of entering Spain. The certificate shows your NIE, so it’s the document that ties the number to you as a resident.
It’s green, it’s paper, and it has no photo. That last detail matters later.
Which one you need first depends on your plans. The Spanish consulate in Amsterdam (opens in new tab), for example, only issues NIE numbers to people staying in Spain for less than three months, and says that anyone staying longer registers at the Foreigners’ Office after arriving, where the NIE is assigned automatically. We did both anyway - the number first, because we wanted it sorted before we started house-hunting, and the certificate later.
If you’re not an EU citizen, the green certificate isn’t your document. Non-EU residents get a TIE (Tarjeta de Identidad de Extranjero, a plastic residence card) instead, through a different process. This post follows our route, which was mostly the EU one.
How to get an NIE number in Spain
The National Police list two requirements: you can’t be in Spain irregularly, and you have to say why you need the number. The documents on their page are:
- Form EX-15, the NIE application
- Proof that you’ve paid the fee on form 790, código 012
Bring your passport too. It isn’t on the police page’s list, but we had ours with us, and the consulates’ own NIE pages ask for it.
The fee is 9.84 euros for an NIE assigned at your own request, under Orden PJC/617/2025 (opens in new tab). The police page says you can pay at banks where you don’t need an account.
In Spain you hand all this in at an oficina de extranjería (the foreigners’ office) or a comisaría (police station). For applications made in Spain, the page says the police should resolve it within five days - and that no answer within that time counts as a refusal.
You need a cita previa (an appointment) first, and getting one is where it can go sideways - more on how ours went below.
Can you get an NIE online or from abroad?
From abroad, yes: the National Police say applicants outside Spain go through a Spanish consulate, using form EX-15. Each consulate runs it its own way. The London consulate’s NIE page (opens in new tab) asks for an appointment by email, proof that you live in its area, and £8.65 paid by card on the day, then emails the NIE, normally within three weeks. The Amsterdam consulate quotes about two weeks, but only for stays in Spain of under three months.
That makes the consulate route a good fit if you need a number to buy or rent before you move, or for a short stay. If you’re moving for good, the registration in Spain is the one that counts.
Online, not as far as we found. The police pages for both the NIE and the green certificate describe in-person procedures. The one part you can do online is the fee: the police page links a form that generates the 790 código 012 slip, which you then pay at a bank. The certificate in particular has to be applied for personally.
How it went for us
We didn’t book our own. An agent arranged our NIE appointments, and got them for our very first week in Spain. That was the good news. The less good news was the locations: Dénia for my wife, and Benidorm for me the day after. We were staying in Port Saplaya at the time, just north of Valencia, so neither was a quick trip.
My wife’s appointment in Dénia didn’t work out. She came away without her NIE. We learned something that day about how much these appointments can depend on who’s behind the desk.
The next day in Benidorm, I got a different officer in a much better mood - maybe it was the weekend coming. The officer issued my NIE, and my wife’s as well. We walked out with both numbers printed there and then, on plain A4 paper.
Would I use an agent again? We did - a gestor (an administrative agent) handled our later residency appointments too, so I’m hardly one to talk. Finding the slots is the part they’re worth paying for. But the forms themselves are short, and doing it yourself is a decent crash course in Spanish bureaucracy. I’d try to book it myself first, and only pay someone if the slots won’t come.
The green NIE card for EU citizens (form EX-18)
With NIE numbers sorted, we moved on to finding a home and registering at the town hall in Paiporta, and only then turned to the green certificate. (The bank account had come even earlier - we opened it before we had NIEs at all.)
The police page lists a valid passport or ID card, form EX-18, the 790 código 012 fee, and documents showing you meet the residence conditions in Royal Decree 240/2007 (opens in new tab), article 7. The fee is 12 euros under Orden PJC/617/2025.
Those conditions come down to how you’re supporting yourself. Orden PRE/1490/2012 (opens in new tab), which sets out the paperwork, gives the main routes:
- Employed: a declaration or certificate from your employer, a registered contract, or proof of social security registration.
- Self-employed: proof of your activity, such as social security registration or the tax census.
- Not working: health insurance, public or private, that covers you in Spain at a level equivalent to the public health system, plus proof of sufficient resources for you and your family.
We were in the third group. No Spanish income yet, and we’d already let our Dutch health insurance go. So we had two things to sort: a private health insurance policy, and proof of money.
For insurance, all three of us went onto a DKV policy with no copago (no copayment when you use it). A plan with copayments wasn’t an option for our registration - the cover has to match the public system’s.
For the money, we brought a bank certificate showing our savings and that we could access them. We also brought our empadronamiento certificate - our registration at the town hall - even though it isn’t on the police page’s list. I’d rather carry one paper too many.
Our gestor booked this appointment for us, in Valencia. On the day it was quick. Royal Decree 240/2007 says the certificate is issued immediately, and that matched our experience: everything checked out and we left with the green certificates for me and our son.
My wife isn’t an EU citizen, so her route was different: the residence card for a family member of an EU citizen, on form EX-19. Our gestor handled that one for her. It ended with a TIE in her wallet rather than a green sheet of paper. The same 12-euro fee applies, and the decree says the card is valid for five years.
How much money do you need to show?
This is the question everyone asks, and there isn’t one fixed answer.
Orden PRE/1490/2012 says the assessment is individual and has to take your personal and family situation into account. It also says resources above the yearly amount needed to qualify for a non-contributory pension are considered sufficient. For 2026, IMSERSO (the state social services institute) puts that pension at 8,803.20 euros a year (opens in new tab).
So that figure isn’t a price you have to hit exactly. Having more than it counts as enough, and Royal Decree 240/2007 says the bar can’t be set above the level at which Spaniards receive social assistance. How each office applies it to a family varies, so if you’re bringing a partner and children, ask before you collect paperwork. The order accepts any admissible proof, and mentions income, property and even a bank certificate showing available credit on a card.
What I’d do again
- If you need the number before you register as a resident - we did, to start renting - fill in EX-15 and pay the 790 código 012 fee before you look for an appointment. If you’re an EU citizen who doesn’t need it first, the Amsterdam consulate says the NIE is assigned when you register as a resident.
- Book your NIE appointment early. If slots won’t come, look at other offices or ask an agent - that’s what got us in during our first week, in Dénia and Benidorm.
- Bring the forms, your passport, and a clear reason you need the number.
- Get your empadronamiento done while you’re waiting for the next step.
- If you’re not working in Spain, arrange health insurance - for our registration it had to be a policy without copayments, so check what your office accepts - and get a bank certificate for your savings.
- Book the EX-18 appointment so you’re there within three months of entering Spain, not three months from whenever you finally got organized.
What catches people out
The three-month clock starts when you arrive. It’s easy to assume it runs from the NIE appointment or the town hall registration. Royal Decree 240/2007 says three months from your date of entry into Spain.
The certificate has no photo. That means it doesn’t work as ID on its own. When we wrote up our empadronamiento, the INE’s instructions to town halls (opens in new tab) asked EU citizens for the certificate together with a passport or national ID. Bring your passport along with it.
Don’t laminate it. The officer at our appointment in Valencia told us that laminating the green certificate is illegal and invalidates it straight away. I haven’t found that written down in an official source, but it wasn’t something we were going to test. Ours lives in a plastic sleeve instead - it comes out at more counters than you’d expect.
Looking back, the hardest part of all of it was one bad day in Dénia, and the officer in Benidorm undid it the very next day. Everything else was paperwork - and paperwork, at least, you can prepare for.