Guide
Moving to or leaving Spain: which tax forms to file, and when
We recommend settling your tax residency first: the forms follow the facts, not the other way round. Below, the forms to file when you arrive, in your first return and when you leave, with the deadlines the Tax Agency gives.
By Gonzalo Benavides López de Ayala, partner · Published:

Arriving in Spain or leaving it triggers a handful of tax forms, each with its own deadline and each easy to confuse with another. Hardly anyone needs all of them. The right ones depend on a single prior question: when does Spain treat you as tax resident? Start there, then pick the forms.
First, the facts: Spain does not split the year
The rule
You are tax resident in Spain if you spend more than 183 days in Spain in the calendar year, or if the main base of your activities or economic interests is in Spain. It is presumed, unless you prove otherwise, if your spouse (not legally separated) and your minor dependent children live habitually in Spain. The tax period is the calendar year: if you are resident, you declare your worldwide income for the whole year, not from the day you arrived.
A tax treaty between Spain and your other country can change the outcome when both claim you. To see how the tests work, read our guide to Spain tax residency when you move. For the calendar of the year, see the tax year in Spain.
If you arrive in Spain
Form 030: tax census and tax domicile
It registers you in the tax census or records a change of tax domicile. If you are an individual outside the business census, you have three months from the change to communicate it.
Form 147: withholding for employees
If your employer moves you to Spain and you expect to stay more than 183 days, this communication lets the employer apply personal income tax withholding from the start. You file between 30 days before your entry date and 183 days after the move, or by 30 June of the following year when the minimum stay falls in that year.
Form 149: only if you opt for the special regime
It is the communication to opt in to the regime for workers moving to Spain (the “Beckham law”). The general window is six months from the start date in your Spanish Social Security registration. We explain the conditions in our guide on who may qualify.
The rule
Individuals who are not in the Census of Entrepreneurs, Professionals and Withholding Agents have three months from the change to communicate a change of tax domicile with form 030. If the deadline for the income tax return they must file after the change ends first, the communication must be made by then.
The rule
The communication to opt for the special regime for workers moving to Spain (form 149) can be made within six months from the start date of the activity shown in the Social Security registration in Spain. People who opt in then file their annual return on a special form (form 151).
Your first return as a resident
| Form | What it reports | Check if |
|---|---|---|
| 100 | Your worldwide income for the whole year. Form 151 replaces it if you opted for the special regime. | You are resident for that year. |
| 720 | Assets and rights abroad: accounts, securities and real estate. | Any block exceeds 50,000 euros. |
| 721 | Virtual currency held with a custodian abroad. | The balance exceeds 50,000 euros. |
| 714 | Wealth tax. | You exceed the thresholds in the rules. |
The rule
Individuals and legal entities resident in Spain must file an annual information return on assets abroad. There is no obligation to report accounts, securities and rights, or real estate when the values for that category do not exceed 50,000 euros together (for accounts, both the balance on 31 December and the average balance). The same 50,000 euro limit applies to virtual currency held abroad. If a limit is exceeded, everything in that category must be reported.
If you leave Spain
Form 247: if your employer sends you abroad
If you move abroad for work and the employment relationship shows you will stay more than 183 days, you can ask for withholding as a non-resident. You file from 30 days before the date you leave, up to the end of the validity of the documents the Tax Agency issues.
Form 030: new address abroad
It records your new address in another country and your status as a non-resident. As with arrivals, an individual outside the business census has three months from the change.
Residence certificate from your new country
Ask your new country's tax authority for it. In our view it is the usual way to prove that you no longer live in Spain, because the law lets you rebut the 183-day count by proving your tax residence elsewhere.
Your last return is for the year in which you are still resident, if you still are that year under the tests above. Income that was pending allocation is brought into that last year. A Spanish national who moves to a country treated as a tax haven keeps filing as a Spanish taxpayer in the year of the move and the next four. From the following year, the income you keep earning in Spain, such as rent or the sale of a flat, is declared on Form 210: see how to pay non-resident tax.
The rule
If you lose your status as a taxpayer because you change residence, the income that was pending allocation must be included in the taxable base of the last tax period you must declare. In addition, the exit tax treats as a capital gain the difference between market value and acquisition value of shares if you were resident for at least ten of the previous fifteen tax periods and the shares exceed 4 million euros together, or exceed 1 million euros with a holding above 25% in the entity.
Two ways of leaving, two outcomes (an illustration)
Communicates
The person who tells the Tax Agency
Files 247 before leaving if they are an employee sent abroad, communicates the change with 030, obtains a residence certificate from the new country and, the following year, files only Form 210 for what they still earn in Spain.
Says nothing
The person who does nothing
Their tax domicile may keep showing Spain and they keep filing Form 100 out of habit. In our view, they are the ones who then have to prove they left, and the burden is on them.
The mistakes we see every year
- Confusing form 147 (arriving) with 247 (leaving).
- Thinking the year is split in two on the day you arrive or leave.
- Not filing form 720 in your first year as a resident when a block exceeds 50,000 euros.
- Keeping on filing form 100 from abroad after you stopped being resident.
- Forgetting Form 210 for your first year as a non-resident.
Facts first, forms after. Your residency depends on where you live, but the first thing the Tax Agency sees is what you file. If you are about to move, the order we recommend is to settle residency, check the three-month and six-month deadlines, and only then fill in the forms.
Questions
What form do I file when I move to Spain?
Form 030 records your change of tax domicile, and an individual outside the business census has three months from the change. If you are an employee moved by your employer you may also use form 147, and form 149 if you opt for the special regime for workers moving to Spain.
What is the difference between form 147 and form 247?
Form 147 is for workers who move to Spain, so that the employer applies personal income tax withholding. Form 247 is for workers who move abroad, so that the employer applies non-resident withholding. Both require that the employment relationship makes it foreseeable that the stay will exceed 183 days.
How long do I have to file form 149 for the special regime?
The general window is six months from the start date of the activity shown in your Spanish Social Security registration. If you miss it, you cannot opt in, so it is worth checking the date before you start.
Do I have to file form 720 in my first year as a resident?
If you are resident and the assets in a category (accounts, securities and rights, or real estate) exceed 50,000 euros together, yes. Below the limit there is no obligation for that category, and if you exceed it you must report all the assets in it.
Do I still file form 100 after I leave Spain?
Only for the years in which you are still resident under the residency tests. From the following year, income you keep earning in Spain is declared on Form 210.
About the author

Gonzalo Benavides López de Ayala
Partner · Economist and tax adviser
Registered economist no. 2081 · Illes Balears
Your next step
From reading to a plan for your case.

02 · Speak with a partner
Discuss your situation with a partner
A partner will review your case with you and recommend the next step.
Book a free call