Summary: Tax residency defines where you’re obligated to pay taxes. This guide explains its importance, how it's determined for individuals and businesses, key challenges, and practical strategies to manage or change tax residency effectively.

Tax residency is the country where you owe income tax on your worldwide earnings. Each country sets its own test, but most rely on the same factors: how many days you spend there, whether you keep a permanent home, where your family lives, and where your economic ties sit. The 183-day rule is a useful shortcut, but it is not the only test. Treaty tie-breakers settle dual-residency cases.

Why Tax Residency Matters

Most countries tax residents on worldwide income and non-residents only on income earned inside the country. Where you are tax resident decides which rate schedule applies, which deductions you can claim, and which bilateral tax treaty (if any) protects you from double taxation. Get it wrong and you can owe tax in two places, lose treaty protections, or trigger reporting obligations like FATCA, FBAR, or CRS.

For employees who move across borders, the question is rarely academic. A US software engineer who relocates to Portugal for a year may still be a US tax resident, may also become a Portuguese tax resident, and may need to claim treaty benefits to avoid paying tax twice on the same salary. For employers, the same person can drag a corporate-tax footprint into Portugal if the hire is structured the wrong way. We see this most often when a remote-first company lets an employee move “on the same contract” without re-papering the relationship.

The Four Classic Tests

1

Physical Presence

The most common test counts days spent in the country. The 183-day threshold appears in most jurisdictions and in the OECD model treaty. The day count is usually based on calendar year (US, France) or rolling 12 months (UK).

2

Permanent Home Or Place Of Abode

Owning, renting, or having indefinite access to a residential property in a country can establish tax residency on its own, even with limited physical presence. The test is whether the home is available for your use, not whether you actually live in it.

3

Center Of Vital Interests

Where are your closest personal and economic ties? Spouse and children, primary employment, main bank accounts, club memberships, and where you vote all factor in. This is the OECD model treaty’s first tie-breaker after permanent home.

4

Habitual Abode And Citizenship

If the previous tests are inconclusive, treaties fall back on where you spend most time over a longer window, then to citizenship, and ultimately to a competent-authority procedure between the two countries.

The 183-Day Rule Explained

The 183-day rule says you become tax resident in a country once you spend more than half a year there in a given period. It looks simple but the details vary.

  • Start of the count: US uses a calendar year. UK uses a 6 April to 5 April tax year. France and most of continental Europe use a calendar year.
  • What counts as a day: Generally any day you are physically present at midnight. Transit days through airports usually do not count.
  • Multi-year averaging: The US substantial presence test counts 100% of current-year days, 1/3 of last year, and 1/6 of two years ago. You can be a US tax resident under SPT without crossing 183 days in the current year alone.
  • Treaty override: Even if you trigger 183 days, a tax treaty between the two countries can move you back to your home jurisdiction if your center of vital interests stayed there.

The US Substantial Presence Test (SPT)

The IRS uses a weighted three-year formula. You are a US tax resident in a year if you are physically present at least 31 days in the current year, and the weighted total of current-year days plus 1/3 of last year plus 1/6 of the year before reaches 183.

Worked example. An engineer present 120 days in 2026, 150 in 2025, and 90 in 2024. Weighted total = 120 + 50 + 15 = 185. They cross the threshold and become a US tax resident in 2026 even though they were under 183 days in 2026 alone.

US citizens and green-card holders are tax residents regardless of physical presence. The SPT only applies to non-citizens, non-green-card holders.

How To Prove Tax Residency: The Tax Residency Certificate

Once you know where you are tax resident, you may need to prove it. A tax residency certificate (TRC), also called a Certificate of Residency, is an official document issued by your country’s tax authority that confirms your residency for a given tax year. You need one to claim treaty benefits, reduce withholding tax on cross-border dividends, interest, or royalty payments, and to satisfy banks and counterparties under FATCA and CRS reporting.

How to get one. In the US, file Form 8802 and pay the IRS user fee; the IRS issues Form 6166. In the UK, request a certificate via your HMRC online tax account or by post. Most other tax authorities follow a similar online or paper application route. Processing typically takes 4-8 weeks, longer in peak season, so apply well before any treaty-claim deadline.

The UK Statutory Residence Test (SRT)

The SRT is one of the most precise statutory tests in the world. Most other countries use a looser facts-and-circumstances framing. HMRC’s SRT runs through three stages.

  1. Automatic overseas tests. If you spend fewer than 16 days in the UK and were UK resident in any of the prior three years, you are non-resident. Other automatic overseas conditions exist for full-time work abroad.
  2. Automatic UK tests. 183 days or more in the UK, or only home in the UK, or full-time work in the UK, makes you automatically UK resident.
  3. Sufficient ties test. If neither automatic test resolves, you count UK ties (family, accommodation, work, 90 prior days, more days in UK than any other country). Day thresholds tighten as your tie count rises.

Tie-Breaker Rules Under The OECD Model Treaty

When two countries both claim you as a tax resident, the bilateral tax treaty almost always contains an Article 4 tie-breaker. The order of tests is.

  1. Permanent home available to you in only one of the two countries.
  2. If permanent home in both, then center of vital interests.
  3. If center cannot be determined, then habitual abode (where you spend more time).
  4. If habitual abode in both or neither, then nationality.
  5. If neither nationality applies, the two competent authorities settle the case by mutual agreement.

Treaty residence determines which country has primary taxing rights. The other country usually applies a credit, exemption, or saving-clause carve-out.

Tax Residency vs Citizenship vs Immigration Residency

Concept What it is What it controls
Citizenship Legal nationality Right to reside, vote, hold a passport
Immigration residency Permission to live in a country (visa, permit, green card) Right to be physically present and work
Tax residency Where your worldwide income is taxed Income tax obligation

The US is unusual in taxing citizens worldwide, regardless of physical presence. Most other countries tax residents but not non-resident citizens. Eritrea is the only other country that taxes non-resident citizens broadly.

Common Scenarios

Digital Nomad Spending 4 Months Each In 3 Countries

Each stay is under 183 days, so no single country claims tax residency by physical presence alone. The home country (where they keep an apartment, family, and bank accounts) usually retains tax residency under the center-of-vital-interests test. Some countries require ongoing local registration even after departure.

Intra-Company Transfer From US to UK For 18 Months

The employee likely becomes UK tax resident under SRT once they spend 183 days in the UK or pass the sufficient-ties test. Treaty tie-breakers (Article 4 of the US-UK treaty) decide which country has primary taxing rights. The employer usually grosses up the salary to cover any treaty-protected double-tax exposure.

US Citizen Working Remotely From Portugal

The US still taxes the citizen on worldwide income. Portugal also taxes them once they cross 183 days or establish a habitual abode. They claim a foreign tax credit (Form 1116) or Foreign Earned Income Exclusion (Form 2555) on their US return to avoid double taxation. The Portuguese employer or employer of record handles Portuguese payroll withholding.

The Employer Angle: How Tax Residency AFfects Your Hiring

Tax residency is not just a personal-tax issue. It touches employer obligations in three ways.

Payroll withholding. The country where the employee is tax resident generally claims withholding rights on the employment income for work performed there. If you have an employee who became tax resident in a country where you have no entity, you have a withholding problem.

Permanent establishment risk. A senior employee with authority to bind the company can create a corporate-tax footprint (a permanent establishment) in the country where they are tax resident. That can drag corporate income tax into a jurisdiction you never planned to operate in.

Social security contributions. Employer social charges are usually owed in the country where the employee works, separate from income tax residency. Totalization agreements between certain countries (US-EU, US-UK, etc.) avoid double social-security payments. Always pair a tax-residency analysis with a separate social-security analysis. The two regimes do not always agree, and an employee can be tax resident in one country while contributing to social security in another.

The interplay also affects global payroll setup. If the employee is tax resident in a country with shadow-payroll requirements (think the UK or Germany), the employer may have to report and remit local income tax even when the cash payroll runs from another country. Building a clear residency-driven payroll map saves a lot of mid-year scrambling.

How An EOR Removes The Question

An employer of record already operates a legal entity in the country where the employee lives and works. The EOR becomes the legal employer, withholds local income tax based on the employee’s local tax residency, remits social charges, and shoulders the corporate-tax footprint that would otherwise fall on you.

The employee’s personal tax residency analysis still matters for them (the EOR cannot file the employee’s tax return for them), but the employer’s exposure is contained. For one to a handful of cross-border hires, this is usually faster and cheaper than setting up a local entity.

Hiring across borders without an entity in the destination country? Our employer of record service handles tax-residency-driven payroll withholding, social charges, and local employment compliance in 150+ countries.

Decision Framework

Before you hire across borders, ask four questions.

  1. Where will the employee actually live and work? Day-counting starts there.
  2. Do we have an entity in that country? If not, EOR or contractor are the realistic options.
  3. Will the role create permanent establishment risk? Senior roles with contract authority usually do.
  4. What does the bilateral treaty say? Most OECD treaties include Article 4 tie-breakers and Article 5 PE rules. Read both before structuring.

Frequently Asked Questions

Tax residency is the country where you owe income tax on your worldwide earnings. Each country sets its own test, but most rely on similar factors: number of days spent in the country, whether you keep a permanent home, where your family and economic ties are based, and whether you have an habitual abode there. Bilateral tax treaties resolve dual-residency cases through tie-breaker rules.

Start with the country where you spend most days. If you cross the 183-day threshold in any single country, that country usually claims tax residency by physical presence. Then layer in the four classic tests (presence, permanent home, center of vital interests, habitual abode). If two countries both claim you, check the tie-breaker article in the bilateral tax treaty.

The 183-day rule says you become tax resident in a country once you spend more than half a year there in a given period. The exact reference period varies. The US uses a calendar year and weighted three-year substantial presence test. The UK uses a 6 April to 5 April tax year. Most of continental Europe uses calendar year. Treaty tie-breakers can override the 183-day count.

No. Citizenship is your legal nationality. Immigration residency is your right to live and work in a country (visa, permit, green card). Tax residency is where your worldwide income is taxed. The three are distinct and an individual can hold one citizenship, immigration residency in a second country, and tax residency in a third. The US is unusual in taxing citizens regardless of physical presence.

A tax residency certificate (TRC), also called Certificate of Residency, is an official document issued by your country's tax authority that confirms your residency for a tax year. You need one to claim treaty benefits, reduce withholding tax on cross-border payments, and satisfy banks under FATCA and CRS reporting. In the US it's IRS Form 6166 (request via Form 8802). In the UK it's available via your HMRC online tax account.

Article 4 of the OECD model tax treaty resolves dual-residency cases in this order: permanent home in only one country, then center of vital interests, then habitual abode, then nationality, and finally a competent-authority procedure between the two countries. Most bilateral tax treaties follow this order. Treaty residence determines which country has primary taxing rights.

Yes. A senior employee with authority to bind the company can create a permanent establishment in their country of tax residency, dragging corporate income tax into a jurisdiction the employer never planned to operate in. Withholding obligations also apply in the employee's tax-residence country. An employer of record removes both risks because the EOR is the legal employer in that country.

Yes. An employer of record is the legal employer in the country where the employee is tax resident, withholds local income tax based on local rules, remits social charges, and shoulders the corporate-tax footprint. The employee's personal tax filing is still their responsibility, but the employer's exposure is contained. EOR is the standard fix for one to a handful of cross-border hires.

Andrew (Drew) joined the Remote People team in 2020 and is currently Director, Regulatory Affairs. For the past 13 years, he has been a trusted advisor to C-Suite executives and government ministers on international compliance and regulatory issues. Drew holds a law degree from the University of Otago, a PhD from the University of Sydney, and is an enrolled Barrister and Solicitor of the High Court of New Zealand.