Tax residence
Tax residence is the status that makes a person taxable in a country on their worldwide income, as opposed to only on income earned there. Most countries assign it by a day count, commonly 183 days in a tax year, or by personal ties such as a permanent home or the centre of family and economic life, whichever applies first.
As of 16 November 2026
How it works
Each country applies its own law, and the day count is only one of its tests; the tax residency guide sets out the others. In Spain, Ley 35/2006 (article 9) makes a person resident after more than 183 days in the calendar year, or when the main base of business or economic interests is in Spain. Portugal's personal income tax code (article 16) uses more than 183 days in any 12-month period starting or ending in the tax year, or a home in Portugal held as a habitual residence. The United States counts weighted days over three years under the substantial presence test, and taxes its citizens wherever they live.
Two countries can each claim the same person. A tax treaty then settles it through tie-breaker rules in order: permanent home, centre of vital interests, habitual abode, nationality. Leaving a country can end tax residence or trigger an exit tax on unrealised gains, depending on its rules; the exit taxes page lists them.
A residence permit and tax residence are separate. A golden visa holder who spends 14 days in Portugal every two years usually stays tax resident at home, while a digital nomad visa holder who lives in the country more than 183 days becomes tax resident there.
Frequently asked
What is the 183-day rule?
It is the common threshold at which a country treats a person as tax resident: more than 183 days present in the tax year or in a 12-month period. It is one test among several; a home or the centre of economic interests can make a person resident with fewer days.
Can a person have no tax residence at all?
In practice, rarely and not for long. Most countries keep treating a departing resident as resident until a new residence is established, and a person with no residence anywhere loses treaty protection.
Does citizenship decide tax residence?
Almost every country taxes by residence; the United States is the main exception and taxes its citizens wherever they live.