Leaving Spanish tax residencyArticle 1 of 6 · 6 min read
How to actually stop being a Spanish tax resident
Spanish tax residency ends when you stop meeting the Spanish tests, not when you sign out of the town register. This page is for people leaving Spain who want to know when residency stops and what evidence to keep.
Key rules
- Any one test: Meeting just one Spanish test, whether days, economic interests or family, is enough to keep you tax resident.
- Whole-year rule: Residency is decided for the full calendar year, so leaving in July does not split the year.
- Padrón: Removing yourself from the padrón does not end tax residency on its own.
- Burden of proof: You must show the tax office where you really were and where your ties are, so keep your evidence.
Residency ends when the tests stop applying
You stop being a Spanish tax resident when you no longer meet any of the Spanish tests. De-registering from anything does not end it. Each test alone is enough to keep you resident, so you must pass all three:
- Days. You spend 183 days or fewer in Spain in the calendar year.
- Economic interests. The main base of your work, business or money is not in Spain, whether held directly or indirectly.
- Family. Your spouse and minor children do not usually live in Spain (see below).
Short trips out of Spain do not help. Temporary absences count as days in Spain unless you prove you are tax resident in another country with a tax residence certificate from that country.
Leaving the padrón does not end it
Taking yourself off the padrón does not end your tax residency. The tax office and the courts look at the real facts: where you were, where your money and work are, and where your family lives. Being registered on the padrón can be used against you. Being off it does not protect you.
Leaving mid-year does not split the year
Residency is judged for the whole calendar year. Your departure date does not cut it in two. If you spent more than 183 days in Spain, or kept your main economic base there, you are taxed as a resident for the full year on your worldwide income. If you were in Spain 183 days or fewer and have no economic or family tie there, you are non-resident for that year.
If you are tax resident in two countries, a tax treaty between them can decide which one wins. Ask a tax adviser if this applies to you.
Your family can keep you resident
Spanish tax law presumes you are resident if your spouse (not legally separated) and your minor children who live with you usually live in Spain. This applies even if you work abroad. The tax office has sometimes applied it to unmarried partners too.
You can rebut the presumption with evidence. A tax residence certificate from your new country, plus proof that your days and your main economic base are elsewhere, are the core of it. The decision below helps you see which side you are on.
Prove it: you carry the burden
The tax office assesses your evidence as a whole, and the burden is on you. The law sets no closed list, and any valid evidence is allowed. Evidence in two directions helps:
- That you are in the new country. Tax residence certificate, travel tickets and passport stamps, a lease or purchase deed, a work contract or payslips, utility bills, local registration, health insurance, school enrolment for your children, and bank and card statements showing where you spend.
- That your ties to Spain are shrinking. End your lease, sell or let your home, close accounts, and move your business or main interests.
Keep a day-by-day calendar of where you were, for every year. The documents list, timeline and checklist below set out what to gather and when.
Next step
Ask your new country's tax authority for a tax residence certificate once you have settled there. For selling a home, exit tax or filings that continue after you leave, see the quick answers below.
Choosing between options
Does the family presumption keep you Spanish tax resident?
-
Spouse and minor children stay in Spain: Your spouse (not legally separated) and dependent minor children who live with you usually live in Spain. Spain presumes you are resident, even if you work abroad, unless you prove otherwise.
-
Family moves with you or is not in Spain: No spouse or minor children usually live in Spain. Then only the days test and the centre of economic interests test decide your residency.
Either test alone makes you resident. If your family stays in Spain, you can overturn the presumption with a tax residence certificate and proof that your days and your main economic interests are elsewhere.
Timeline and deadlines
-
Keep a day-by-day calendar of where you are: every day of the calendar year you leave
-
Spend no more than 183 days in Spain and keep your main economic interests and family outside Spain: throughout the calendar year you leave
-
Your residency for the year is decided as a whole year, not split at your departure date: at the end of the calendar year Deadline: 31 December.
Documents you need
-
Tax residence certificate from the country you moved to, issued by its tax authority
-
Flight, train and ferry tickets, and passport stamps, that show the days you were in and out of Spain
-
Day-by-day calendar of where you were, kept for each year
-
Lease or purchase deed for your home in the new country
-
Work contract or payslips from the new country
-
Utility bills for your new home
-
Proof of registration with the local population register in the new country, and health insurance there
-
School enrolment papers for your children in the new country
-
Bank and card statements that show where you spend your money
-
Papers showing you cut your ties with Spain: the ended lease, the sale or letting contract for your home, closed account confirmations, and records of moving your business
Checklist
-
Count your days in Spain for the calendar year and make sure they stay at 183 or fewer
-
Check that the main base of your work, business and money is no longer in Spain
-
Check whether your spouse and minor children still live in Spain, and gather proof if they do
-
Do not rely on removing yourself from the padrón, the municipal register, to end your residency
-
Keep tickets, contracts, bills and statements that prove your days and ties
Quick answers on leaving Spanish tax residency
Does removing yourself from the padrón end Spanish tax residency?
No, removing yourself from the padrón (the municipal register of residents) does not by itself end your Spanish tax residency. Residency depends on the real facts: where you spend your days, where your main economic interests are and where your family lives. Staying registered can be used against you, but deregistering alone does not protect you.
Which Spanish tax filings continue after you leave?
Filings tied to Spanish income or assets continue, such as the non-resident income tax return (Modelo 210) for rent or for a second home you keep. You may also owe a final Spanish income tax return for the year you leave, and non-resident wealth tax if your Spanish assets are large enough. Local property taxes on a home you keep also continue, while the Modelo 720 foreign-assets declaration stops after your last year of residence.
Does selling your home when you leave trigger the exit tax?
No, selling your home does not trigger the exit tax, because that tax covers only shares and participations in companies. The sale is taxed as an ordinary capital gain instead. If you are a non-resident, the rate is 19% and the buyer withholds 3% of the price.
More in Leaving Spanish tax residency
Need certainty before you act?
For important relocation decisions, speak with a qualified human specialist.
Always verify important information with the relevant official authority or a qualified adviser before acting. This website uses large language models together with various public data sources, official government documents and other established sources. Due to the amount of data on this website, some information might be wrong. Information may also be incomplete or outdated.