
Tax Residency: The Basics & 5 Mistakes to Avoid
How does your location determine your tax liability?
Relocating to a new jurisdiction such as Portugal, Spain, or Brazil requires precise legal and financial structuring. Among the most critical early decisions is clarifying exactly where you are a tax resident, because this single classification determines which country possesses the legal authority to tax your worldwide income.
Tax residency is distinct from immigration status. You may hold legal residency in one country for immigration purposes while being classified as a tax resident of another. Making assumptions rather than formally establishing your status is the most common and costly mistake made by international movers.
What defines your tax residency status?
Tax residency is a legal classification that determines which country possesses the right to tax your worldwide income. This is not a matter of personal choice; it is determined by objective criteria defined in national tax legislation and international treaties.
If you are classified as a tax resident, that jurisdiction generally taxes your global earnings (salary, foreign pensions, investment income, rental yields) regardless of where the money is earned or held.
1. The 183-Day Rule (The Calendar Test)
Under the calendar test, spending more than 183 days within a country's borders during a 12-month period automatically classifies you as a tax resident. This is the most well-known rule, but it is far from the only one.
2. The "Center of Vital Interests" (The Life Test)
This is where many expats get trapped. Even if you spend fewer than 183 days in a country, you can still be deemed a tax resident based on your family ties (does your spouse or children live there?), economic ties (is your main business or income source located there?), or permanent home (do you have a home available year-round?).
Note for Brazil: Brazil has a "definitive" system. If you enter the country with a permanent visa, you become a tax resident immediately on Day 1, regardless of how many days you spend there.
How do you resolve dual tax residency?
If you spend significant time in multiple countries while maintaining family and economic ties in both, you may technically qualify as a tax resident of two jurisdictions simultaneously. Resolving this requires applying Double Tax Treaties (DTAs). These international agreements contain "Tie-Breaker" clauses that use a hierarchy of factors—permanent home, center of vital interests, habitual abode, and finally nationality—to assign you to a single jurisdiction.

How do you obtain a Tax Residency Certificate (TRC)?
Foreign financial institutions, overseas employers, and brokerages require official proof of your tax jurisdiction to correctly apply tax treaty benefits. A TRC is an official document issued by the national tax authority confirming your resident status for a specific fiscal year.
Why is breaking tax residency necessary when relocating?
Relocating from a jurisdiction requires formal administrative procedures. Departing without notifying the tax authority can result in continued tax obligations in a country you no longer inhabit. Brazil mandates a formal Comunicação de Saída Definitiva (Declaration of Definitive Departure). Spain and Portugal require formal deregistration and notification to the tax authorities.
Frequently Asked Questions about Tax Residency
Can I be a tax resident of nowhere?
Ideally, no. While it is theoretically possible to travel so much you don't trigger the 183-day rule anywhere, this causes major practical problems. Banks need a tax residency to open accounts, and investment platforms require it for reporting. Tytle helps you establish residency strategically in the most beneficial jurisdiction.
Does buying a house make me a tax resident?
Not automatically, but it is a strong "tie." In Portugal, having a house available on December 31st can make you a resident even without spending 183 days there. In Spain, owning property is a factor in the "Center of Vital Interests" test.
What happens if I am a resident of two countries?
This is called "dual residency." You must look at the Tax Treaty between the two countries. The treaty has "tie-breaker" rules that assign you to one country based on factors like where your permanent home is, where your family lives, or where your income originates.
This content is for informational purposes only and does not constitute tax, legal, or financial advice. Tax laws change frequently and vary by jurisdiction. Consult a qualified tax professional for advice specific to your situation.