Can You Be a Tax Resident in Two Countries?

By John from the Staywise TeamJuly 1, 2026
Can You Be a Tax Resident in Two Countries?

Yes. You can be a tax resident of two countries at the same time, because each country sets its own residency rules and they often overlap. A nomad who spends 200 days in Spain while keeping a home and family in the UK can trigger residency in both. When this happens, a tax treaty between the two countries usually breaks the tie. The treaty applies a fixed hierarchy: permanent home first, then centre of vital interests, then habitual abode, then nationality, then a negotiation between the two tax authorities. Whichever country wins becomes your treaty residence for taxing worldwide income. Without a treaty, both countries can tax you, and you rely on foreign tax credits to avoid double taxation. To use a treaty tie-breaker in the US, you file Form 8833.

Dual tax residency is one of the most common and most expensive surprises for long-term travelers. You do not need two passports or two homes to trigger it. You only need to meet the residency test in two countries during the same tax year, which is easy when those tests differ and overlap.

This matters because tax residency usually controls worldwide income, not just local earnings. A tax resident generally pays tax on everything they earn anywhere. If two countries both treat you as resident, both can claim that worldwide income unless something resolves the conflict.

The good news is that the conflict is usually solvable. Most countries have signed tax treaties with a built-in tie-breaker that assigns you to one country for treaty purposes. This post explains how dual residency happens, who is most exposed, how the tie-breaker works with a real example, and the mistakes that turn a manageable situation into a double-tax bill.

How dual tax residency happens

Dual tax residency happens when you satisfy the domestic residency test of two countries in the same tax year. Each country writes its own rules, so the tests do not line up, and you can pass both at once.

The most familiar trigger is the 183-day rule: spend 183 days or more in a country and many treat you as resident. But day-counting is only one trigger. Countries also look at where your permanent home is, where your family lives, and where your economic centre sits. The UK's Statutory Residence Test can make you resident with far fewer than 183 days if you keep enough ties to the UK.

Because these tests overlap rather than coordinate, two countries can each conclude that you belong to them. Spain might count your days while the UK counts your home and family. Neither country checks what the other decided. This is the core reason dual residency exists: there is no global authority assigning each person to one country.

Many nomads also misjudge their old country. Leaving physically does not automatically end residency. If you keep a home, a spouse, or strong ties, your origin country may still treat you as resident while your new base also claims you. Understanding what tax residency actually means is the first defence against this overlap.

How the treaty tie-breaker resolves it (with an example)

When two countries both claim you, a tax treaty between them usually breaks the tie using a fixed hierarchy. Based on the OECD Model Tax Convention, which most modern treaties follow, the tests run in strict order, and you move to the next test only if the current one fails to produce a single answer.

The order is: permanent home available to you, then centre of vital interests (your closest personal and economic ties), then habitual abode (where you actually live most), then nationality, and finally a mutual agreement between the two tax authorities if nothing else decides it.

Example: dual residency between the UK and Spain

Sarah, a UK citizen, leaves London on March 1, 2026 and rents an apartment in Valencia. She spends 210 days in Spain during 2026, so Spain treats her as resident under its 183-day rule. But Sarah kept her London flat empty and available, and her husband and children stayed in the UK for the spring term. Under the UK Statutory Residence Test, those ties make her UK resident too. Both countries claim her worldwide income for 2026.

The UK-Spain tax treaty breaks the tie. Test one: permanent home. Sarah has a home available in both countries, so this is inconclusive. Test two: centre of vital interests. Her spouse, children, and main bank accounts are in the UK, so her closest ties point to the UK. The tie-breaker stops here. For treaty purposes, Sarah is UK resident for 2026, and Spain must treat her as non-resident, taxing only her Spanish-source income.

To rely on this outcome in the US, you formally disclose the treaty position. According to the IRS, a dual-resident taxpayer who claims treaty residence in another country is treated as a nonresident alien for US income-tax calculations and must file Form 8833. The same logic underpins the OECD treaty tie-breaker hierarchy used across most bilateral treaties.

Who dual residency applies to

Dual residency applies to anyone who meets two countries' residency tests in one year, but a few groups face it most often. Long-stay nomads, people relocating mid-year, and those who keep strong ties to a former home are the highest-risk cases.

Mid-year movers are the classic case. If you leave your home country partway through the year and settle elsewhere, both years can count you. Many countries soften this with split-year treatment. The UK applies split-year treatment so that, in qualifying cases, only part of the year is taxed as UK resident. Split-year rules reduce overlap but do not eliminate every dual-residency situation.

People keeping a home and family behind are exposed even with low day counts. The US is the strongest example, because US citizens and green-card holders remain US tax residents regardless of where they live. A US citizen who becomes resident in Portugal is automatically dual resident, and only the treaty or foreign tax credits prevent double tax.

Slow travelers without a clear base can also trip multiple thresholds. Spending five to six months each in two countries can satisfy both 183-day-style tests across overlapping tax-year calendars. Whether a treaty saves you depends on whether the two countries have signed one.

Common mistakes travelers make

Most dual-residency disasters come from a handful of avoidable errors. These are the patterns that turn a solvable overlap into a double-tax bill.

Assuming leaving ends residency. Physically moving abroad does not automatically sever tax residency. If you keep a home, a spouse, or significant ties, your origin country can still claim you. Severing residency is an active process, covered in our guide on becoming a non-resident for tax purposes.

Believing the 183-day rule is the only test. Day-counting is the most famous trigger, not the only one. Permanent home, family location, and economic centre can make you resident below 183 days, especially in the UK. The 183-day rule works differently in every country.

Thinking a treaty applies automatically. A treaty tie-breaker is not self-executing in every country. In the US you must file Form 8833 to claim the treaty position, according to IRS guidance. Skip the filing and the IRS can still tax you as a full resident.

Forgetting that no treaty means no tie-breaker. If two countries have no tax treaty, there is no hierarchy to assign you to one side. Both can tax your worldwide income, and your only relief is unilateral foreign tax credits.

Ignoring the worldwide income trap. Tax residency usually pulls in income from everywhere, not just the country you are in. A second residency you did not plan for can expose your entire global income to a second tax system.

How Staywise tracks this

Staywise (the visa compliance app for digital nomads) tracks your days in every country automatically, so you can see when you are approaching a 183-day threshold before you cross it. The app counts presence per country and per tax year, which is the first signal that a second residency might be triggering.

Staywise keeps passport details on your device for privacy and syncs only your travel dates and countries. The in-app AI assistant answers plain-English questions about residency thresholds and what a treaty tie-breaker considers, so you know when to talk to a cross-border tax professional. Staywise surfaces the day counts; it does not replace tax advice.

Download Staywise on the App Store

Frequently Asked Questions

Can you legally be a tax resident of two countries?

Yes. It is legal and common to be a tax resident of two countries in the same year, because each country sets its own residency rules and they often overlap. You might pass one country's 183-day test while keeping a permanent home and family that trigger another country's residency. Being dual resident is not itself a violation. The real risk is double taxation of your worldwide income. Most countries resolve the conflict through a tax treaty tie-breaker that assigns you to one country for treaty purposes, but you usually have to claim that position rather than receive it automatically.

What happens if two countries both tax your income?

If two countries both claim you as resident, both can tax your worldwide income unless something resolves it. With a tax treaty, a tie-breaker hierarchy assigns you to one country, and the other taxes only local-source income. Without a treaty, you rely on foreign tax credits, where one country credits the tax you already paid to the other. In the US, you disclose a treaty position on Form 8833 to be taxed as a nonresident. Done correctly, you should not pay full tax twice on the same income, but you may still file in both countries.

How does the tax treaty tie-breaker rule work?

The treaty tie-breaker runs a fixed sequence of tests to assign you to one country. Based on the OECD Model, the order is: permanent home available to you, then centre of vital interests (closest personal and economic ties), then habitual abode (where you actually live most), then nationality, and finally a mutual agreement between the two tax authorities. You move to the next test only if the current one does not produce a single answer. Most cases resolve at the permanent-home or centre-of-vital-interests stage. The winning country becomes your treaty residence for taxing worldwide income.

Does spending 183 days somewhere automatically make me a tax resident?

Not always, and not only there. Spending 183 days in a country triggers residency under many domestic rules, but it is one trigger among several. Some countries make you resident with far fewer days if you keep a home, family, or economic centre there, as the UK Statutory Residence Test does. You can also be resident in a country where you spent fewer than 183 days while triggering the 183-day rule somewhere else, creating dual residency. Day-counting is the most visible test, but permanent home and personal ties frequently matter just as much.

How do I avoid double taxation as a dual resident?

Start by confirming whether the two countries have a tax treaty. If they do, the tie-breaker assigns you to one country, and you claim that position with the required filing, such as Form 8833 in the US. If there is no treaty, use foreign tax credits so the tax paid in one country offsets the other. Either way, track your days per country and per tax year so you see a second residency forming before it locks in. Because the stakes involve your entire worldwide income, confirm your position with a qualified cross-border tax professional.

About Staywise

Staywise is the visa compliance app for digital nomads. Built by nomads for nomads, it tracks your days across every country automatically, alerts you before overstays, and keeps passport details on your device for privacy. The in-app AI assistant answers visa questions in plain English. Available on iOS.

Download Staywise on the App Store →

Important: This content is informational and does not constitute legal, tax, or immigration advice. Visa rules, tax regulations, and entry requirements change frequently and vary by individual circumstances. Always verify current requirements with official government sources or a qualified professional before making travel decisions. Staywise tracks your days and surfaces compliance information, but final responsibility for compliance rests with the traveler.

Download Staywise
★★★★★4.8 - Join 1,000+ digital nomads