Leaving Spanish tax residencyArticle 2 of 6 · 4 min read
Leaving Spain temporarily versus permanently and the return trap
Leaving Spain does not automatically end your tax residency, and coming back can undo a departure. This page explains how short stays abroad and quick returns are judged, for anyone who has left or plans to leave and may return.
Key rules
- No minimum absence: No minimum time abroad is needed, and residency is judged for each calendar year.
- Quick return: Coming back soon can restore Spanish tax residency for the year you return.
- Short trips: Short, occasional trips abroad still count as days in Spain unless you prove tax residence elsewhere.
- Family: If your spouse and minor children stay in Spain, you may still be treated as resident.
Short stays abroad and quick returns often do not break residency
A short stay abroad usually does not end your Spanish tax residency. A quick return can also reverse a departure, so you can be treated as resident again for the year you come back.
There is no minimum time you must stay away. Residency is judged one calendar year at a time, not over a rolling 12 months.
How a return can bring residency back
You can be resident for the year of your return in either of these cases:
- You spend more than 183 days in Spain in that calendar year.
- Your main centre of economic or professional interests is in Spain.
The family test also matters. If your spouse and minor children stay in Spain, the tax authority (Hacienda) may presume you are still resident.
A short stay abroad followed by a return also makes Hacienda more likely to doubt that your departure was genuine. Keep proof of where you really lived, worked and had your home.
Do days in Spain after you leave add up?
Yes, they add up within each calendar year. The days-limit rule is 183 days, so 183 days is the most you can spend in Spain in a year without becoming resident through the day-count test. The other tests above still apply, so you can be resident with fewer days if your main interests or family are in Spain.
Do short trips abroad stop days from counting?
Not by default. Short, occasional absences still count as days in Spain. They stop counting only if you prove you were tax resident in another country. For that you need a certificate of tax residence from that country's tax authority, normally for the year concerned. The documents list below covers it.
If the other country is a tax haven, Hacienda may ask you to prove 183 days there.
Spanish nationals moving to a tax haven
If you are a Spanish national who moves to a country on Spain's low-tax list, you stay resident in Spain for the year of the move and the following four years. A quick return does not change this. Before you move, check with a Spanish tax adviser whether your destination is on the list.
What to do
- Count your days in Spain for each calendar year.
- Get a certificate of tax residence from the other country if you want absences not to count.
- Think about where your family, home and income are, because these can pull you back into Spanish residency.
- If your situation is mixed, a tax treaty between the two countries may decide where you are resident. Ask a tax adviser.
Timeline and deadlines
-
Residency is judged for the calendar year, with no minimum time abroad: each calendar year, from 1 January to 31 December
-
A return to Spain can bring back resident status for that year if you are in Spain more than 183 days or your main centre of interests is there: in the year you return
-
If you are a Spanish national who moved to a listed low-tax country, you stay resident in Spain for the year of the move and the following four tax years: the year of the move plus the next four tax years
Documents you need
- Certificate of tax residence from the tax authority of the other country, showing you were resident there for tax purposes, normally for the year concerned. It lets your short absences from Spain stop counting as days in Spain.
Frequently asked questions
Does a short trip abroad stop my days in Spain from counting?
No, short trips abroad still count as days in Spain unless you prove tax residence in another country. To prove it, you need a certificate from that country's tax authority. If you provide it, those absences are not counted.
If I come back soon after leaving, can I become a Spanish tax resident again?
Yes, a quick return can bring back resident status for the year you return if you are in Spain more than 183 days or your main centre of interests is there. There is no minimum absence period, and a short stay abroad can lead Hacienda to treat your departure as not genuine. If your family stayed in Spain, that can also point to residency.
Do the days I spend in Spain after leaving add up over 12 months?
No, days are counted per calendar year, not over a rolling 12 months. Spending fewer days than the limit does not protect you if your main work or business interests are in Spain, or if your spouse and minor children live there.
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.