EU Registration Certificate in Madrid: Getting the Green NIE
By Daniel Kuhnen

EU citizens moving to Madrid don't need a visa, but they do need to register. Once you're staying longer than three months, Spanish law expects you to sign up with the police, and what you get back is a green certificate with your NIE printed on it. Some call it the green NIE, some the green certificate, and plenty of people just say "the residencia". On paper it's the certificado de registro de ciudadano de la Unión. Below: who has to get one, how the EX-18 form works, which papers fit your situation, where Madrid issues it, and what the certificate will and won't do for you.
First, a caveat. Fees and office arrangements change, and not every Madrid office asks for exactly the same papers, so use this as a map and check the current details before you go. It isn't legal advice either. If something about your case is unusual, say a partner from outside the EU or income that's awkward to prove, speak to a professional before you book anything.
The short version
- More than three months here means registering. It's done in person, within three months of your arrival in Spain.
- There are four ways to qualify. You're employed, you're self-employed, you have enough money and full health cover, or you're studying. Family members can qualify through you.
- One form and one fee. That's form EX-18 plus the tasa 790 código 012, which came to €12 last time we checked.
- You walk out with it if your papers are in order, from whichever police office the appointment system gives you.
- It doesn't replace your ID. Your passport or national ID card still goes everywhere with you.
- Family from outside the EU get a card instead of a certificate. UK citizens who arrive now aren't covered at all.
What the green certificate is (and what it isn't)
All the certificate does is prove that you're on Spain's Central Register of Foreigners, the Registro Central de Extranjeros, as an EU resident. The law spells out what it shows: your name, your nationality, your address, your NIE and the date you were registered. Nothing else goes on it. You won't find a photo, and it's a sheet of paper, not a card.
People tend to confuse it with three other things:
- The NIE. Your NIE (número de identidad de extranjero) is the foreigner's number itself, and the certificate simply carries it. Got an NIE already, maybe when you bought a flat? Then that same number appears on your certificate, since an NIE belongs to you for life. For the number on its own, see our NIE guide for Madrid.
- An ID document. Whenever someone asks for ID, you'll still hand over your passport or national ID card. The certificate goes with it as your proof of residence.
- Your tax status. Being registered doesn't make you a Spanish tax resident, or stop you being one. Separate rules decide that, mostly the number of days you spend in Spain and where your main economic interests sit.
Residence cards come with a renewal date. This certificate doesn't, because the law doesn't give it one. It remains valid for as long as you still meet the conditions you registered under. Change your address, your civil status or your nationality, though, and you're expected to let the police office know.
Who has to register
The rules sit in Spain's royal decree on EU free movement, which brings an EU directive into Spanish law. They apply to citizens of every EU member state, of the three other EEA countries (Iceland, Liechtenstein and Norway) and of Switzerland. For a stay of under three months, your passport or national ID card covers you. If you're planning to stay longer, you must register in person within three months of entering Spain.
You'll need to fall into one of these groups:
- Employed in Spain. A Spanish employment contract is the easiest route of all.
- Self-employed in Spain. You're registered as an autónomo, or you've set up a business here.
- Not working here, but able to support yourself. That means enough money for you and your family, and health insurance giving you full cover in Spain. This is the usual route for retirees and people living off savings.
- A student. You're enrolled at a recognised school, college or university, and you have health insurance and enough to live on.
- Family of someone who qualifies. Spouses, registered partners, children under 21 (or older ones who depend on you) and dependent parents all count.
Some cases sit between routes, a common one being remote work for a company based abroad. Get advice on which route applies before you book. Each EU citizen in the family registers on their own, including the children. And if you lose your job, you don't automatically lose the right to stay. In certain situations the law lets you keep your status as a worker, for example during a temporary illness, or if you're involuntarily unemployed and have signed up with the public employment service.
What to bring, route by route
The core papers are the same for everyone. Take the originals and a photocopy of each, all in one folder:
- Form EX-18, completed and signed, in two copies.
- Your passport or national ID card, valid and not expired. If it has run out, bring a copy plus proof that you've applied for a new one.
- The fee form, tasa 790 código 012, with the fee already paid.
- Your appointment confirmation, on paper.
- A padrón certificate. The law doesn't list it, but Madrid offices often ask for it as proof of address, so bring a recent one.
On top of those, add whatever your route needs.
Employed. Your employer gives you a declaration of hiring or a certificate of employment. It needs the company's name and address, its tax ID and its Social Security account code (the código cuenta de cotización). A registered employment contract will also do, as will proof that you're registered with Social Security. Alternatively, you can give consent for the office to look up Social Security's records itself, and skip bringing these.
Self-employed. Something showing that you work for yourself. Your entry on the tax office's census of business activities works, as does an entry in the Registro Mercantil (the companies register) or your Social Security registration as an autónomo.
Not working in Spain. You need two things:
- Health insurance. Public or private, Spanish or foreign, either is fine, as long as the cover it gives you in Spain is equivalent to the Spanish public health system. A short-term travel policy probably won't pass. Pensioners have another option: a certificate showing that the country paying their pension covers their healthcare, such as an S1 form.
- Proof that you have enough to live on. That can be bank certificates, property deeds, proof of a pension or of investment income, or a credit card along with a letter from the bank showing the credit available. The law doesn't name a figure. Every case gets looked at on its own, with your family taken into account. As an official yardstick, your income should be above the level that would qualify someone for a non-contributory state benefit, a figure that's updated every year.
Student. Proof of enrolment at a recognised public or private school, college or university. Health insurance covering you fully in Spain, though a European Health Insurance Card that's valid for your entire stay is accepted. And a signed declaration saying you have enough money for yourself and any family who came with you. If you're on an EU exchange programme such as Erasmus, that alone meets these conditions.
Joining an EU family member. Your own EX-18 and ID, proof of how you're related (a marriage or birth certificate, say), and proof that your relative meets one of the conditions above. Children over 21 and parents must also show that they depend on the EU citizen.
Documents from abroad trip up a lot of people. According to the official guidance they should be translated into Spanish by a sworn translator (traductor jurado), and public documents may also need an apostille or legalisation. Standard EU forms like the S1 don't need translating. Get these ordered early, because none of it is quick.
The fee: tasa 790 código 012
You pay on the police's tasa 790 código 012 form. Last time we checked, the line for this procedure ("Certificado de registro de residente comunitario", which some residence cards share) was €12. The law ties it to what Spaniards pay for their national ID card, so when that fee goes up, this one does too.
The form is filled in online on the Policía Nacional website. You print it and pay at a bank, and according to the police you don't need to hold an account there. Hold on to the stamped copy, because you'll need it at the appointment. Double-check two things: that your name is written exactly as it is in your passport, and that you've ticked the EU certificate line and not another procedure.
Booking the appointment in Madrid
Appointments, known as cita previa, go through the government's online extranjería booking system at sede.administracionespublicas.gob.es. Pick the province of Madrid, then the police procedure for the EU registration certificate. In the list it appears as "certificado de registro de ciudadano de la U.E.", though the wording on the menu gets changed now and then. Be careful not to choose the plain NIE option. That one is a separate procedure, meant for people who need the number but aren't moving here.
You can't pick the office yourself. The system shows you whichever ones have free slots, and you go to the one named on your confirmation. These are the offices listed by the Delegación del Gobierno en Madrid (the central government's office for the region), although the arrangements can change:
- In the city: the citizen service desk of the police's Brigada Provincial de Extranjería y Fronteras at Avenida de Padre Piquer 18, which deals with EU registration certificates.
- Elsewhere in the region: local police stations doing the same documentation work in Alcalá de Henares, Alcobendas, Alcorcón, Aranjuez, Coslada, Fuenlabrada, Getafe, Leganés, Móstoles, Parla, Pozuelo and Torrejón.
Lots of other foreigner procedures, TIE cards among them, happen at the large police complex on Avenida de los Poblados. That's exactly why you should read your confirmation properly and go where it tells you. Slots in Madrid are hard to come by, and the one you get may not be close to home. The honest tips for finding one in our NIE Madrid guide work for this appointment as well.
On the day
Get there a bit early, folder in hand. The officer goes through your papers and checks them against your route. When everything is in order, you're given the certificate on the spot. Read it before you leave and make sure your name, nationality and address are spelled right.
Missing something? The rules allow the office to give you ten days to bring it in. Ask the officer precisely what's missing and how to submit it. If it doesn't reach them in time, your application counts as withdrawn and you're back to booking a new appointment. A refusal must be given to you in writing, with the reasons. You can appeal it, either to the same office within a month or to the courts within two months. At that stage, get a lawyer involved.
Looking for bureaucratic services in Madrid?
English-speaking, screened and ranked by real reviews from the expat community.
Non-EU family members: a card, not a certificate
A spouse, partner, child or parent who isn't an EU citizen doesn't get the green certificate. What they apply for is a residence card, the tarjeta de residencia de familiar de ciudadano de la Unión, using form EX-19. How it works:
- Who can apply. The same close family listed earlier, plus, in some cases, other relatives who depended on you or lived with you before you moved. An unregistered partner can qualify as well, provided you can prove the relationship is a lasting one.
- When and how. In person, within three months of arrival. They're given a receipt on the spot (the resguardo), which shows they're in Spain legally while the card is being processed.
- What to take. Their passport, proof of the family link (translated and legalised if needed), your green certificate, proof of dependency if it applies, and a recent passport-size colour photo on a white background.
- How long it lasts. The card is supposed to be issued within three months of the application. It's valid for five years, or for your planned stay if that's shorter.
- Where in Madrid. First applications are handled by the Oficina de Extranjería, run by the Delegación del Gobierno. Appointments for this are requested through the office's own form, sent by email. The fingerprints for the card are taken afterwards at a police office.
There's a catch if your partner is Spanish. When the Spanish partner hasn't exercised their EU free movement rights (by living in another EU country first, for example), the family member applies under a different route, which uses its own form, the EX-24. Cases like this are where an immigration lawyer is worth every euro.
After five years: permanent residence
Five years of continuous legal residence in Spain gives you the right to permanent residence. After that, you don't have to prove work, savings or health cover to stay any more. You can request a certificate of permanent residence from the police, at the same offices. Some workers get there earlier, for example when they retire after working in Spain, or after a permanent incapacity.
You can lose permanent residence, though. Spend more than two years in a row away from Spain and it ends. Family members from outside the EU receive a permanent residence card, renewed every ten years.
What Brexit changed for UK citizens
Britons aren't EU citizens any more, so anyone moving to Madrid from the UK today can't get the green certificate. They'll need a visa or residence permit route instead, such as the non-lucrative visa or the digital nomad visa covered in our guide to what Spanish visas cost. The one exception is a UK citizen who is the spouse or family member of an EU citizen: they can apply for the family member card explained above.
British people who were already living in Spain before the Brexit transition period ended have rights under the Withdrawal Agreement. Some of them still carry an old green certificate. According to the UK government, the TIE card is the only residence document named in the agreement, and both governments strongly recommend exchanging the green certificate for a TIE. The UK government's "Living in Spain" guidance explains how.
The padrón: related, but a separate step
Your certificate puts you on record with the police. The padrón (empadronamiento) puts you on record with the city council, at your address. They're two different things, and you'll need both. Without the padrón you can't get your health card or a school place, among plenty of other things. The police often ask for it as proof of address, so many people get the padrón done first. How to do it is in our guide to empadronamiento in Madrid, and our first 90 days in Spain checklist lays out every step in the right order.
Mistakes we see people make
- Booking the wrong procedure. An ordinary NIE appointment won't get you the green certificate.
- Leaving it late. The three months start the day you enter Spain, and finding a Madrid appointment can take a while.
- Showing a travel policy as your health insurance. When you're not working here, you need full cover in Spain.
- Paying the wrong line on the 790. Before you pay, check that the line you've picked is the one for the EU registration certificate.
- Family documents with no translation. Marriage and birth certificates usually need a sworn translation, and often an apostille as well.
- Using the certificate as ID. Your passport or national ID card should always be on you.
- Moving flat without telling anyone. The certificate shows your address, so update it with the police and on the padrón.
How Locallista helps
As Spanish procedures go, registering as an EU citizen is one of the simpler ones on paper. What makes it hard is getting an appointment, having every paper exactly right in a language you might not read yet, and knowing your next move if the officer turns you down. Having a local professional who speaks English on your side makes the whole day a lot calmer.
Locallista is a directory of English-speaking local service providers. We screen every business before it's listed, every review is phone-verified, and the ranking reflects real expat experience, not who paid the most. Browsing is free, and so is getting in touch. If you'd like help with the papers and the appointment, have a look at our English-speaking bureaucratic services in Madrid. For trickier cases, like a non-EU spouse, a Spanish partner, a refusal or a question from the Brexit era, try our English-speaking immigration lawyers in Madrid.
Frequently asked questions
Do I need the EU registration certificate if I'm only staying a few months?
How long does it take to get the green certificate in Madrid?
Is the green certificate the same thing as the NIE?
Can I use the green certificate as ID?
Can a gestor or lawyer apply for me?
Does the green certificate expire?
My spouse isn't an EU citizen. Can they get a green certificate too?
I'm British. Can I still get the green certificate?
Join Locallista. Recommend Locallista.
Locallista is powered by your feedback. Your reviews, suggestions and ideas help everyone grow - fellow expats thrive and great local providers get the recognition they deserve.


