Table of Contents
There is one confusion that costs thousands of euros to those starting to live between countries: believing that holding a residence permit in a country is the same as being a tax resident in it. They are two independent statuses: the first gives you the right to live in the territory; the second determines where you pay taxes. You can hold a valid residence permit without ever touching tax residence, and you can become a tax resident of a country without holding a permit to stay.
This guide explains the difference under the rules in force in 2026 and dismantles the most expensive mistakes.
How many days can you stay without becoming a tax resident? The 183-day rule
Almost the entire developed world —and every Spanish-speaking country— applies the 183-day rule: if you spend more than 183 calendar days in a country during the year, you are presumed to be a tax resident of that country.
Taking the Spanish Tax Agency’s official rule as reference (which exemplifies the general criterion):
- Days of physical presence in the territory are counted.
- Sporadic absences are counted towards the past, unless you prove tax residence in another country.
- 182 days are not enough if your “center of economic interests” is in the territory: that is the second leg of the test.
The trap is that many digital freelancers and itinerant retirees think “I rotate between three countries and never spend 183 days in any of them, so I am a tax resident of none”. This is a dangerous myth: the OECD and common practice consider that if you do not spend 183 days anywhere, your tax residence is deemed to be the country where your center of vital interests is located.
The center of vital interests: the second test
Whether or not you hit the 183 days in several countries, the law and double taxation treaties look at:
- Where is your habitual home?
- Where does your family live (spouse, minor children)?
- Where do you carry out your main economic activity?
- Where are your bank accounts, your health insurance, your car?
If there is no room for doubt (family in one place, home in another, remote work), double taxation treaties set a tie-breaker that usually ends in nationality, and ultimately in the country where you habitually reside.
What is the difference between a residence permit and tax residence?
Three common scenarios that illustrate it:
- Digital nomad in Spain: you obtain the remote work visa. Valid migration permit, it lets you live in Spain. But if you spend more than 183 days in Spain during a year, you are already a tax resident and you pay taxes on your worldwide income at the general IRPF rate — you do not automatically apply the special regime.
- Retiree in Portugal with a Golden Visa: the permit allows residence. If they spend more than 183 days there, they are a Portuguese tax resident. Between 2009 and 2023 they could join the Non-Habitual Resident regime (NHR) with broad tax advantages; for new residents since 2024 that regime is closed and only the IFICI remains for very specific profiles.
- Diplomat or itinerant manager: spends 200 days on expatriate assignment in Ukraine, physically outside their country. If their family remains in Madrid, their center of interests stays in Spain and they will remain a Spanish tax resident.
The special regimes active in 2026
If you are especially mobile, these are the regimes that currently shape the choice of tax residence:
Portugal: from NHR to IFICI
The classic Portuguese Non-Habitual Resident regime (NHR), which exempted almost all foreign income of new residents from taxation for 10 years, stopped accepting new registrations for those who settled after 2023. Since 2024, the IFICI regime (Incentivo Fiscal à Investigação Científica e Inovação) is available for specific profiles: researchers, startup executives and professionals in qualified sectors, with a 20% rate and exemption of foreign income. Check whether your profile fits: residence in Portugal.
Italy: the flat tax rises to €300,000 in 2026
Italy allows high-net-worth individuals to establish tax residence in the country by paying a fixed annual amount on foreign income, without paying tax on the rest in Italy. The amount has risen three times in two years: €100,000 through 2023, €200,000 in 2024 and, since January 1, 2026 under the Budget Law, €300,000 for new entrants. Applicable for 15 years, extendable to family members for an additional €25,000. It is the regime of choice for high net worths with global income: residence in Italy.
Spain: special regime for expatriates (the former “Beckham” law)
Spain allows those who relocate for work to be taxed as non-residents for 6 years at 24% on up to €600,000 of salary income, provided they have not been residents of Spain in the last 5 periods and the move responds to employment or a new company. It must be requested from the Tax Agency within the first six months of the move. More details in residence in Spain.
UAE, Monaco and territories without income tax
To complete the picture: if you are fiscally mobile, countries like the United Arab Emirates and Monaco have no income tax for most profiles —but being a resident there requires meeting their own annual presence rule (180 days in the UAE, for example). In Monaco, access to the tax-free resident status is heavily regulated. See the files: residence in the UAE, residence in Monaco.
Double taxation treaties: the anchor
Another stumbling block is “being a tax resident in two countries at once”, something the law technically allows (each country applies its own test), and which bilateral treaties resolve. Spain maintains treaties with more than 100 countries (including all of Latin America and almost all of Europe), which establish a tie-breaking order:
- Permanent residence.
- Center of vital interests (if there is a permanent home in both).
- Habitual abode.
- Nationality.
- Joint decision of the authorities.
That is why the practical rule is: if you expect to stay more than six months in another country, manage the change of tax residence formally (tax deregistration in the origin country, tax registration in the destination).
Other reference regimes for retirees
The phenomenon of European and Latin American retirees who relocate fiscally to optimize their pensions has its own consolidated regimes: Cyprus taxes foreign pensions at 5% above an initial exemption and Malta maintains its Retirement Program. In Latin America, Paraguay stands out for a territorial regime that does not tax income obtained outside its borders, and Costa Rica applies tax exemption to pensions from abroad for retirees and official annuitants. In Eastern Europe, Bulgaria applies a flat 10% rate on work income as a resident, the lowest in the EU. All these countries have their specific residence files on TransitNous with updated timeframes and amounts.
Mistakes that cost a lot
- Believing 182 days is enough: days are counted with margins and married/accompanying individuals face an additional test (you are presumed resident if your family lives in the country).
- Not filing Modelo 030 in Spain: if you move between countries, keeping the tax deregistration active is as important as the entry permit.
- Assuming an investment visa does not change your tax residence: wrong unless you never spend the 183 days — and keeping non-resident status requires discipline.
- Confusing company residence with personal tax residence: one does not imply the other.
Quick checklist before you move
- Count your days of presence in the last year and project the next one.
- Determine the tie-breaking rule under your bilateral treaty.
- Deregister correctly in the country you leave (the procedure varies a lot).
- Check whether a special regime applies (IFICI, the Italian flat tax, the Beckham law…).
- Review which income will be taxed at source and which at destination.
- Update your general residence, social security and tax bank account accordingly.
In summary
Being a resident of a country and being a tax resident of it are two different things. The first is granted by the migration permit (documented in our residence files); the second depends on days of presence and your center of interests. Changing one without the other can leave you in a situation where both countries claim taxes from you, or where you lose access to beneficial tax regimes for missing the deadlines.