Moving to Spain from the Netherlands: NIE, Registration and Tax (2027 Guide)
Moving from the Netherlands to Spain? What to arrange with your gemeente, the Belastingdienst, your health insurer and the SVB before you leave, and how to get your NIE, register and sort out your tax once you arrive.

Spain is one of the most popular destinations for Dutch people moving abroad, whether for a new job, remote work or retirement. As an EU citizen you don’t need a visa, but the move still involves paperwork in two countries.
This guide covers what to arrange in the Netherlands before you leave, what to do in your first months in Spain, and how tax works when you move between the two. We also offer support in Dutch, so you can ask your questions in your own language.
1. Before You Leave: Deregister From Your Gemeente
If you are going to live outside the Netherlands for more than 8 months, you must deregister from the Personal Records Database (BRP) at your gemeente. You can do this from 5 days before you leave, not earlier. Your gemeente then registers you in the Non-Residents Records Database (RNI). See the Netherlands Worldwide guide to moving abroad.
Ask your gemeente for an international proof of deregistration (bewijs van uitschrijving). Dutch and Spanish organisations can ask for it, and it is harder to arrange once you have left.
2. Check Your DigiD Before You Go
You will still deal with the Belastingdienst, the SVB or your pension fund after you move. Make sure your DigiD works before you leave. Applying for one from abroad is possible, but only at a desk, which takes much longer. The Belastingdienst emigration checklist lists what else to check.
3. Health Insurance, Allowances and AOW
Health insurance: if you no longer live or work in the Netherlands, your Dutch basic health insurance usually stops on your moving date. Tell your insurer and arrange cover in Spain. If you keep working for a Dutch employer or receive a Dutch pension, your situation can be different, so check with your insurer or the CAK first.
Allowances: zorgtoeslag, huurtoeslag and kindgebonden budget usually stop when you emigrate. Report your departure to Dienst Toeslagen in time to avoid having to pay money back.
AOW: while you live abroad you normally stop building up Dutch state pension. You can avoid gaps by taking out voluntary insurance with the SVB.
4. Your Last Dutch Tax Return: The M-Form
For the year you move, you file a special migration return, the M-form (M-aangifte). The Belastingdienst normally sends you a letter about it the year after your move, and you can file online with your DigiD. See how to file the M-form.
The Netherlands and Spain still apply their tax treaty from 1971. A new treaty has been negotiated but is not in force yet. It is mostly relevant for people who will receive Dutch pensions in Spain, so keep an eye on it if you plan to retire there.
5. In Spain: Get Your NIE and Register as an EU Resident
Your NIE (Número de Identidad de Extranjero) is your identification number in Spain. You need it for almost everything: renting, opening a bank account, signing an employment contract and paying tax.
If you plan to live in Spain for more than three months, you don’t apply for a standalone NIE. Instead you register as an EU resident at the Foreigners’ Office or police station where you live, using form EX-18, within three months of arriving. You then receive the EU registration certificate (the green certificate) with your NIE on it. See the Spanish National Police information on EU registration.
To register, you show that you are employed or self-employed in Spain, or that you have enough money and comprehensive health insurance. Read How to Get an NIE Number in Spain and NIE Appointment in Spain: How to Book and Prepare.
Need an NIE before you move, for example to buy a house or sign a rental contract? Read How to Get an NIE From the Netherlands.
6. Empadronamiento and Social Security
Register at your town hall (empadronamiento). You will often need this certificate for your EU registration, healthcare and school enrolment. See Empadronamiento in Spain.
If you work for a Spanish employer, they register you with Spanish Social Security. If you work remotely for a Dutch employer, check with your employer how your social security is arranged. In general, the country where you physically work is responsible, unless you are temporarily posted with an A1 certificate. See NIE vs. Social Security Number in Spain.
7. When Do You Become a Spanish Tax Resident?
You are generally a Spanish tax resident if you spend more than 183 days in Spain in a calendar year, or if your main business or economic interests are in Spain. As a resident, Spain taxes your worldwide income.
If you move to Spain for work, you may be able to use the Beckham Law: a flat 24% tax on employment income up to €600,000 for six tax years. You must apply within six months of registering with Spanish Social Security, so plan this before your first working day. Read Beckham Law vs. the Dutch 30% Ruling or use our free Beckham Law eligibility checker.
8. Quick Checklist for Dutch Expats
Before you leave: check your DigiD and inform your health insurer, pension fund, the SVB and Dienst Toeslagen.
In the last 5 days before you leave: deregister from the BRP and ask for an international proof of deregistration.
First weeks in Spain: empadronamiento, a Spanish bank account and Social Security registration.
Within 3 months: EU registration certificate with your NIE.
Within 6 months of starting work: Beckham Law application (Modelo 149), if you qualify.
The year after your move: your Dutch M-form.
Need Help With Your Move?
Spain Expat Consulting helps Dutch and international clients with their NIE, EU registration and Beckham Law application. We work in English, Dutch, German and Spanish.
Explore our NIE Number Spain assistance
See our Beckham Law application service
This article is general information only and not individual legal or tax advice. Rules can change and vary by region, so always check the latest official guidance or speak to a qualified adviser.
Need help applying this information to your circumstances? Speak with Spain Expat Consulting about the assistance available for your next steps.