NIE for EU Citizens in Spain: Do You Need One Document or Two?
There is a moment that plays out at the National Police station every week. An EU citizen walks in, hands over their papers, and the officer looks up and says: that is not the form you wanted. You booked an NIE appointment. You needed a Green Certificate. Come back in four weeks. The frustrating part is that nobody warned you, because as far as the internet is concerned, the NIE is the NIE. This blog is about untangling that, because the difference between one document and two matters more than most guides admit.
The problem with asking 'what is the NIE'
When you google 'what is the NIE', you get a clean answer: it is an identification number for foreigners in Spain. True. But that is the end of the useful part of the answer, because the same number can be issued through two completely different processes, on two different forms, at two different appointments, producing two different pieces of paper, with different legal weight. Calling both of them 'the NIE' is how people end up in the wrong queue.
The number itself is just the back end: a code tied to you, a letter followed by seven digits and another letter, that appears on every tax document, every bank contract, and every property deed you will sign for the rest of your life in Spain. The number never changes. What changes is the document that proves you have it, and that is where the confusion lives.
Two documents, two purposes
There are two official forms that produce an NIE for an EU, EEA, or Swiss citizen. They exist for different reasons.
EX-15 is the tax NIE form. It is for anyone, any nationality, who needs an NIE number without registering as a resident. You use the EX-15 if you are buying a house as a non resident, signing a rental contract before you move, inheriting an asset, being named in a Spanish company, or quickly preparing the ground before a bigger move. The output is a plain paper certificate with your number on it. You have an NIE. You do not have residency. Our complete NIE guide walks through this in more detail.
EX-18 is the EU residency form. It is exclusively for EU, EEA, and Swiss citizens who plan to live in Spain for more than ninety days. The output is the Certificado de Registro de Ciudadano de la Unión, also known as the Green Certificate or the CUE. The certificate contains your NIE, but it is not just a number. It is your proof of legal residency in Spain under Royal Decree 240/2007. You have an NIE and you have residency. For a deeper look at what this unlocks, see our EU residency guide.
Both documents contain the same kind of number. Only one of them makes you a legal resident.
Which one you need, depending on your situation
If you are buying a holiday home and returning to Germany, you need the EX-15. The Green Certificate would make you a Spanish resident, which triggers a whole tax situation you probably do not want.
If you are moving to Spain to work, retire, study, or freelance, you need the EX-18, eventually. You can still start with the EX-15 before you arrive. Many people do, because you can get it through the Spanish consulate in your home country and walk into Spain with the number already in hand, which makes opening a bank account and signing a rental contract dramatically easier. But the EX-15 is not the end point. Once you have an address, you need to get onto the Padrón and then upgrade to the EX-18.
If you are a student in Spain for under ninety days, you do not need either. Staying longer and you need the EX-18 like everyone else.
If you are the non EU spouse of an EU citizen, you do not use the EX-15 or the EX-18. You use the EX-19, which is a different form for a different regime. That is its own topic.
What usually goes wrong
The confusion shows up in predictable ways. People book the wrong appointment type. People walk into the National Police with an EX-18 filled out but no Padrón, which gets them turned away. People pay the Modelo 790-012 with the wrong code selected, which means the bank stamped receipt does not match what the officer is looking for. People bring a Padrón certificate that is four months old, and the officer wants one less than three months. People fill out the EX-18 in their home country and show up at the Spanish consulate expecting to get the Green Certificate issued there, except you cannot get it at a consulate. The Green Certificate has to be done at a National Police station or Oficina de Extranjería in Spain.
Each of these mistakes costs weeks, because getting a new cita previa is the hard part. The actual appointment is ten minutes.
Get your papers sorted online, faster and stress-free!
NIE Number
EU CitizenMoving to Spain starts with one essential document: your NIE number. Without it, you cannot sign a purchase contract, apply for a health card, or set up utilities. The process...
NIE Green card
EU CitizenAlready have your NIE Number? The green card is your next milestone, official proof that you're a registered EU resident in Spain. It unlocks long-term rights, simplifies futu...
The order that actually works
There is an order to this that holds up under real conditions, and it is worth following.
Start with the EX-15 before you arrive, through the Spanish consulate in your home country. It costs a trip to the consulate, a bit of paperwork, and a pre paid fee, and you walk out with your NIE number on a certificate. You can use this certificate to open a non resident bank account and to sign your rental contract in Spain.
When you arrive and have a permanent address, go to your local Ayuntamiento and register your Padrón. This is the municipal address register, and the certificate it produces is the key that unlocks everything else. Our dedicated blog on the Padrón covers the details.
Once your Padrón is in your hand and fresh, book your EX-18 appointment at the National Police or the Oficina de Extranjería, pay the Modelo 790-012 with the correct code, prepare your proof of grounds (contract, pension, bank statement), and walk out of that appointment with your Green Certificate. The same number you already had on your tax NIE is now attached to your residency document.
You end up with two pieces of paper with the same number. That is not a mistake. They do different jobs.
What the Green Certificate does for you that the tax NIE does not
This is the part that surprises people who think having the number is the end of the story.
The tax NIE proves nothing about your right to be in Spain. It does not enrol you in the public healthcare system. It does not let your children into public school as residents. It does not count toward the five years of continuous residency required before you can apply for permanent residency. It does not give you the right to exchange a driving licence from your home country under the EU route. It does not open the door to becoming autónomo on straightforward terms.
The Green Certificate does all of that, from the moment it is issued. It is also the document Spanish banks are starting to ask for before they upgrade you from a non resident account to a resident account, which has meaningful consequences for fees.
If you are going to live here, the EX-15 is a useful first step. It is not the finish line.
Frequently asked questions
Not sure which form is yours?
Our modules walk you through the exact version that fits your situation, with the order of appointments, the Modelo 790-012 set correctly, and the supporting documents you actually need.
Moving to Spain made simple.