Tax residency is the single most important factor in determining your global tax bill. Get it right and you could legally reduce your effective rate by 20, 30, even 40 percentage points. Get it wrong and you might end up paying tax in two countries simultaneously — or worse, face penalties for not filing somewhere you didn't realize you owed.
I wrote this because most tax residency guides online are either too US-centric or too vague to be useful. This one covers how residency works globally — the actual rules, the edge cases, and the stuff that catches people off guard.
What Tax Residency Actually Means
Tax residency determines which country gets to tax your income and how much of it they can reach. Tax residents are typically taxed on their worldwide income — everything you earn, everywhere. Non-residents usually only pay tax on income sourced within that country.
That distinction is worth understanding deeply. If you're a tax resident of Germany, Germany taxes your salary from a US company, your rental income from a property in Portugal, your dividends from Australian stocks — all of it. If you're a non-resident, Germany only cares about income generated on German soil.
Over 190 countries use residence-based taxation. Only two — the United States and Eritrea — use citizenship-based taxation, meaning they tax their citizens on worldwide income regardless of where they live. If you hold a US passport, you have a unique and permanent tax obligation that most people on Earth don't share.
The 183-Day Rule: What It Actually Says
The "183-day rule" is the most widely cited threshold for tax residency. The basic idea: if you spend 183 days or more in a country during a tax year, you become a tax resident there.
Simple, right? Except it's not. Here's where the complications start:
Calendar Year vs. Rolling Period
Some countries count days within the calendar year (January 1 – December 31). Others use a rolling 12-month period. This matters if you arrive mid-year. In a calendar-year country, arriving in August means you'd need to spend every remaining day of the year there to hit 183. In a rolling-period country, your 183-day clock starts from day one.
What Counts as a "Day"?
Countries differ on whether arrival and departure days count. Some count any part of a day as a full day. Others only count days where you sleep overnight. The UK counts a day only if you're present at midnight. France counts arrival but not departure. When you're hovering near the 183-day line, these counting rules can make or break your residency status.
Countries That Ignore the 183-Day Rule Entirely
Not every country plays by this standard:
| Country | Residency Determination | Key Nuance |
|---|---|---|
| United States | Substantial Presence Test (weighted 3-year formula) | Counts 100% of current year days, 1/3 of prior year, 1/6 of year before. Total ≥183 = resident. |
| United Kingdom | Statutory Residence Test (SRT) | Complex multi-factor test. You can be resident with as few as 16 days if you have sufficient UK ties. |
| Australia | Residency tests (multiple) | Domicile test, 183-day test, superannuation test, and Commonwealth test. Having an Australian home can make you resident with zero days present. |
| Canada | Significant residential ties | Home, spouse/dependants, personal property. 183 days creates deemed residency, but ties can trigger it earlier. |
| Germany | Habitual abode or dwelling | Maintaining a home available for your use in Germany can make you resident even with minimal physical presence. |
Domicile vs. Tax Residence — They're Not the Same Thing
This trips up more people than almost anything else in international tax. Domicile and tax residence are two separate legal concepts, and confusing them can cost you a fortune — especially with inheritance tax.
Tax residence is where you currently live and are subject to income tax. It's determined by physical presence, registration, and the rules of each country. Move countries, and your tax residence changes (usually).
Domicile is your permanent legal home — the place the law considers your ultimate base, the country you intend to return to. Domicile is sticky. It's usually your country of birth (domicile of origin) and changing it requires proving you've permanently abandoned your old domicile and adopted a new one with the intention of remaining there indefinitely.
Why Domicile Matters: The Inheritance Tax Trap
The UK is the classic example. UK inheritance tax (IHT) is charged at 40% on worldwide assets, and it follows your domicile, not your residence. A British citizen who has lived in Dubai for 15 years, paid zero UK income tax, and built a $5 million estate could still have 40% of it claimed by HMRC when they die — because they never formally changed their domicile.
The UK also has a "deemed domicile" rule: if you've been UK resident for 15 out of the past 20 tax years, you're treated as UK-domiciled regardless of your actual intent. This catches long-term residents who assumed they were safe.
The US has a similar concept for estate tax purposes. The IRS can claim estate tax on worldwide assets based on domicile, separate from income tax residency.
How Countries Determine Tax Residency: The Three Main Systems
Globally, countries fall into three broad categories for determining who is and isn't a tax resident:
1. Physical Presence (Day-Counting)
The simplest system. Spend X days in the country, you're a resident. Most countries in continental Europe, Southeast Asia, the Middle East, and Latin America use some version of this. The threshold is usually 183 days but can vary.
Examples: UAE (183 days for tax certificate), Thailand (180 days), Spain (183 days), Germany (183 days, plus the "habitual abode" test), Singapore (183 days).
2. Ties-Based Assessment
Countries that look beyond just day counts and evaluate your overall connection. Where is your home? Where does your family live? Where are your bank accounts, social memberships, driver's license? Even if you spend fewer than 183 days there, strong ties can make you a resident.
Examples: Canada, Australia, Japan. These countries may consider you a resident with significantly fewer than 183 days of presence if your "center of life" is clearly in their jurisdiction.
3. Formal Registration
Some countries determine residency primarily by your official registration status. If you register as a resident (or fail to deregister), you're taxed as a resident regardless of how many days you actually spend there.
Examples: Many Nordic countries (Sweden, Denmark) and several Eastern European countries. In Sweden, if you remain registered in the population register, you're a tax resident — even if you've physically moved to another country.
The US Substantial Presence Test — A Special Beast
The US doesn't just look at the current year. It uses a weighted formula across three years:
- Count all days present in the current year
- Add 1/3 of the days present in the prior year
- Add 1/6 of the days present in the year before that
If the total equals 183 or more, and you were present for at least 31 days in the current year, you pass the substantial presence test and are treated as a US tax resident.
Practical Example
You spend 120 days in the US each year for three consecutive years:
- Current year: 120 days × 1 = 120
- Prior year: 120 days × 1/3 = 40
- Two years ago: 120 days × 1/6 = 20
- Total: 180 — you're under 183, so you pass (barely)
But bump that to 125 days per year and the math changes: 125 + 42 + 21 = 188. You're now a US tax resident with obligations to file and report worldwide income, foreign bank accounts (FBAR), and potentially owe self-employment tax.
There's an exception: the "closer connection" exemption. If you were present fewer than 183 days in the current year and can demonstrate a closer connection to a foreign country (tax home, personal and economic ties), you can file Form 8840 to override the substantial presence test. But you have to proactively file this — if you miss it, the IRS defaults to calling you a resident.
The UK Statutory Residence Test (SRT)
The UK replaced its old, vague residency rules with the Statutory Residence Test in 2013. It's more structured but also more complex than a simple day count.
The SRT works in three tiers:
Automatic Overseas Tests (You're NOT UK Resident If...)
- You were UK resident in none of the previous 3 tax years AND spend fewer than 46 days in the UK
- You were UK resident in one or more of the previous 3 years AND spend fewer than 16 days in the UK
- You work full-time overseas with fewer than 91 days in the UK (and no more than 30 working days)
Automatic UK Tests (You ARE UK Resident If...)
- You spend 183+ days in the UK
- Your only home is in the UK (for at least 91 consecutive days, with 30+ days falling in the tax year)
- You work full-time in the UK for any 365-day period
Sufficient Ties Test (The Gray Area)
If you don't meet either automatic test, the UK looks at your "ties" — UK family, accommodation, substantive work, being present in prior years, and country of residence in previous years. The more ties you have, the fewer days it takes to make you resident:
| UK Ties | Previously Resident | Not Previously Resident |
|---|---|---|
| 1 tie | Resident if ≥ 121 days | Not resident unless 183+ days |
| 2 ties | Resident if ≥ 91 days | Resident if ≥ 121 days |
| 3 ties | Resident if ≥ 46 days | Resident if ≥ 91 days |
| 4+ ties | Resident if ≥ 16 days | Resident if ≥ 46 days |
This means a previously UK-resident person with a family home in London, a spouse living there, and ongoing UK work could become tax resident again with just 16 days of presence. That's three short business trips.
Tax Treaties and Tie-Breaker Rules
When you qualify as a tax resident of two countries simultaneously (which happens far more often than you'd think), tax treaties provide a mechanism to resolve the conflict. Most of the world's 3,500+ bilateral tax treaties follow the OECD Model Tax Convention, which uses a sequential tie-breaker in Article 4:
- Permanent home — Where do you have a permanent home available? If you have one in both countries, move to step 2.
- Center of vital interests — Where are your personal and economic relations closer? Family, job, social activities, investments, political involvement. This is the most commonly decisive factor.
- Habitual abode — Where do you spend more time? If your center of vital interests is unclear, the country where you live more regularly wins.
- Nationality — If everything else is inconclusive, your citizenship breaks the tie.
- Mutual agreement — If even nationality doesn't resolve it, the two countries' tax authorities negotiate between themselves. This is rare and slow.
Treaty Tie-Breaker in Practice
Sarah is a German citizen working remotely from Portugal. She's spent 200 days in Portugal and has an apartment there, but her husband and two children live in Munich, she still owns her Munich house, her bank accounts are German, and her biggest client is a German company.
Both countries claim her as tax resident. Under the Germany-Portugal tax treaty (which follows the OECD model), the tie-breaker would likely assign her to Germany: she has permanent homes in both countries (step 1 inconclusive), but her center of vital interests — family, property, primary economic connections — is clearly Germany.
This means Germany taxes her worldwide income. Portugal can only tax income sourced in Portugal (if any). Sarah would need to file in both countries and claim treaty relief to avoid double taxation.
The 2025 OECD Model Convention Update
The OECD updated its Model Tax Convention in 2025, and there are relevant changes for anyone dealing with cross-border remote work. The update addresses situations where employees work remotely from a country different from their employer's jurisdiction — something that barely existed when most tax treaties were originally negotiated.
Key changes include new guidance on when remote work creates a permanent establishment for the employer, and clarification on how the tie-breaker rules apply when someone's physical location has decoupled from their economic center. The direction is toward more substance-based analysis and less mechanical day-counting.
This matters because many existing bilateral treaties haven't been updated in decades. The OECD commentary influences how courts and tax authorities interpret these older treaties, even without formal amendment.
Establishing Tax Residency in a New Country
Moving countries for tax purposes isn't just about showing up. Here's what you actually need to do to make your new tax residency bulletproof:
Step 1: Sever Ties With Your Old Country
- Cancel or sell property — An available home is the strongest residency tie
- Move your family — If your spouse and children stay, your center of vital interests hasn't moved
- Close or redirect bank accounts — Maintain minimal accounts if needed, but shift primary banking
- Update driver's license, voter registration, social memberships
- Deregister from the population register (required in Germany, Nordic countries, etc.)
- Notify your former country's tax authority — File a departure tax return
Step 2: Build Substance in Your New Country
- Register as a resident — Get on the local population or tax register
- Secure a permanent home — Lease or buy property in your name
- Open local bank accounts — Primary banking should be local
- Obtain a Tax Identification Number (TIN)
- Get a Tax Residency Certificate (TRC) — This is your primary evidence of new residency. Apply for it from the local tax authority as soon as eligible.
- Establish local ties — Join local organizations, use local healthcare, build genuine connections
Step 3: Document Everything
Keep records of your travel dates (flights, stamps, boarding passes), your lease or property purchase, your registration documents, and your tax filings in the new country. If your former country ever challenges your departure, documentation wins the case.
Common Mistakes That Trigger Double Taxation
I've seen these patterns come up repeatedly. Every single one of them is avoidable.
1. Leaving Without Formally Departing
You move to Dubai but never deregister from Germany's Einwohnermeldeamt. Germany still considers you resident. You now owe tax in both countries, with Germany taxing worldwide income at up to 45%. This is the most common mistake Europeans make.
2. Keeping Your Old Home "Just in Case"
You move to Portugal but keep your London flat, even renting it out occasionally. Under the SRT, a UK home that's available for your use (even if not your primary home) is a significant tie. Combined with other connections, it can pull you back into UK tax residency with fewer than 90 days of UK presence.
3. Splitting Families Across Borders
You relocate to Singapore for work while your family stays in Australia. Australia's "center of vital interests" analysis almost certainly keeps you as an Australian tax resident. Your Singapore income is now taxable in both countries. You'll get credit for Singapore tax paid, but Australia's higher rates mean you'll owe the difference.
4. Ignoring Exit Taxes
Several countries levy an "exit tax" on unrealized capital gains when you leave. The US has its expatriation tax for citizens giving up their passport (taxing unrealized gains above $866,000 as of 2025). Canada taxes all unrealized gains at departure. The Netherlands extends tax jurisdiction for 10 years after departure on certain income. If you don't plan for this, you get a surprise tax bill on gains you haven't actually cashed in.
5. Assuming the 183-Day Rule Is Universal
As the table above shows, many countries use different thresholds or additional criteria. Spending 170 days in the UK while maintaining a family home and UK-based clients could easily make you UK resident under the SRT. The 183-day rule is a common benchmark, not a universal safe harbor.
Tax Residency for Digital Nomads: The Gray Area
If you move every few months and don't trigger the 183-day rule anywhere, where are you a tax resident? This is the question that keeps international tax lawyers employed.
The honest answer: it depends on your previous residency, citizenship, and how aggressively each country applies its rules. Here are the practical options:
Option 1: Establish a Base (Recommended)
Pick a low-tax country as your official residence, even if you don't spend the majority of your time there. The UAE, Georgia, and Paraguay are popular choices. Get a Tax Residency Certificate. This gives you a defensible position and access to tax treaties.
Option 2: Perpetual Traveler (Risky)
Stay under every threshold everywhere. No formal residency anywhere. This creates problems with banking (CRS requires a tax residency self-certification), contracts, insurance, and business structuring. Your former country of residence may also apply deemed-residency rules to pull you back in.
Option 3: Use a Digital Nomad Visa (Mixed Results)
Many countries now offer digital nomad visas, but the tax treatment varies wildly. Some (like Georgia or Costa Rica) don't tax foreign-sourced income even for visa holders. Others (like Spain or Portugal) may subject you to full worldwide taxation once you hit their residency thresholds.
| Country | Nomad Visa Available | Tax on Foreign Income | Residency Trigger |
|---|---|---|---|
| Georgia | Yes (Remotely from Georgia) | No (foreign income exempt for non-residents) | 183 days |
| UAE | Yes (Virtual Working Program) | 0% personal income tax | 183 days (for TRC) |
| Portugal | Yes (Digital Nomad Visa) | Yes — progressive rates up to 48% | 183 days or habitual abode |
| Spain | Yes (Digital Nomad Visa) | Yes — flat 24% under Beckham Law (if eligible), otherwise progressive to 47% | 183 days or center of vital interests |
| Thailand | Yes (LTR Visa) | Depends on visa category — 0% to 17% flat or progressive rates | 180 days |
| Costa Rica | Yes (Rentista/Digital Nomad) | No (territorial system — foreign income not taxed) | 183 days |
Exit Tax: The Cost of Leaving
Some countries don't just let you walk away. Exit taxes are designed to capture unrealized gains before you leave for a lower-tax jurisdiction. You need to factor these in before making any move.
| Country | Exit Tax? | How It Works |
|---|---|---|
| United States | Yes (for citizens renouncing) | Mark-to-market on worldwide assets. Gains above $866,000 (2025) taxed as if sold. Plus potential "covered expatriate" status for 10 years. |
| Canada | Yes | Deemed disposition of all assets at fair market value on departure. Tax on unrealized gains at up to 33%. |
| Australia | Yes (with deferral) | CGT event on ceasing residency. Can elect to defer until actual sale, but assets remain in the Australian tax net. |
| Netherlands | Yes (conservatory assessment) | Exit tax on substantial interests (5%+ company holdings). 10-year extended jurisdiction on certain income categories. |
| Germany | Yes (on substantial holdings) | Exit tax on unrealized gains from shares where you hold 1%+ of a company. Deferral possible within the EU/EEA. |
| Norway | Yes | Exit tax on shares, fund units. 5-year deferred payment period within EEA. |
Getting a Tax Residency Certificate (TRC)
A Tax Residency Certificate is the single most important document in international tax planning. It's official proof from a government that you are their tax resident for a specific period. You need it to:
- Claim treaty benefits (reduced withholding taxes on dividends, interest, royalties)
- Prove to your former country that you've established residency elsewhere
- Satisfy banks' CRS reporting requirements
- Defend your tax position in any audit or dispute
Each country has its own process. The UAE requires 183 days of physical presence and a valid residency visa. Singapore issues TRCs through the Inland Revenue Authority after you've filed tax returns there. Most European countries issue them automatically once you register as a tax resident and file a return.
Don't skip this step. A TRC costs almost nothing to obtain but is worth its weight in gold during a tax audit.
The Bottom Line
Tax residency isn't something that just happens to you — it's something you design. The difference between someone paying 0% in the UAE and someone accidentally paying 45% in Germany often comes down to awareness: knowing the rules, severing the right ties, and building genuine substance where it counts.
Here's my practical advice:
- Know your country's rules — Not the generic "183-day rule" but the actual, specific criteria your country uses. Read the legislation or get professional advice.
- Cut ties properly — A half-hearted move is worse than no move. If you're going, go. Deregister, sell or terminate your lease, move your family, close accounts.
- Get your TRC — A Tax Residency Certificate from your new country is your shield against claims from your old one.
- Document obsessively — Keep flight records, lease agreements, bank statements, and registration documents. In a dispute, documentation wins.
- Don't try to be nowhere — Being a tax resident of no country sounds appealing but creates more problems than it solves. Pick a low-tax base and commit to it.
The people who get burned by tax residency rules aren't usually trying to cheat the system. They're people who moved countries, kept a few ties to home, didn't read the fine print, and ended up in a dual-residency mess that took years and thousands in advisory fees to untangle.
Don't be that person. Understand the rules. Plan the move. Execute it cleanly.
For country-specific tax residency rules, check our detailed guides: UAE, United Kingdom, United States, Germany, Singapore, Portugal, Thailand, or Georgia.