Remote Worker Taxes: Where Do You Owe When You Live in One Country and Get Paid From Another?
The 183-day rule is only the beginning. Tax residency tests, the double-taxation treaty tie-breaker, the US citizenship trap, digital-nomad visas and employer-of-record setups — a practical map for anyone whose paycheck crosses a border.
A developer in Lisbon paid by a Berlin startup; a Korean designer in Chiang Mai invoicing a Seoul agency; an American in Dubai with a New York employer. All three are asking the same question and getting different answers, because the answer depends on four things: where you are resident, where the work is performed, what your employer's obligations are, and whether a treaty overrides the default. Here is how to work through them.
Step 1 — Which country considers you tax-resident?
Every country has its own test, and it is possible to pass two at once. The common ones:
| Test | Countries using it (examples) | Detail |
|---|---|---|
| 183 days in the tax year | Most of Europe, Korea, Japan, Thailand, Vietnam | Counted per calendar or fiscal year; some count any part of a day. |
| Permanent home / centre of vital interests | Germany, France, Spain, Netherlands | An available apartment can make you resident even under 183 days. |
| Substantial-presence formula | United States (non-citizens) | Days this year + ⅓ last year + ⅙ the year before ≥ 183. |
| Statutory ties test | United Kingdom | Combines days with ties (home, work, family); as few as 16 days can trigger it for leavers. |
| Citizenship | United States, Eritrea | US citizens and green-card holders file on worldwide income wherever they live. |
If you are resident in a country, it generally taxes your worldwide income. If you are non-resident, it taxes only income sourced there — and for employment income, the source is where you physically do the work, not where the employer sits.
Step 2 — The double-taxation treaty tie-breaker
When two countries both claim you, the treaty between them (if one exists — Korea has ~95, the US ~65) decides in this order: permanent home → centre of vital interests → habitual abode → nationality → mutual agreement. The loser must give up or credit its tax. Without a treaty (e.g. US–UAE, though the UAE has no income tax anyway; or Korea–Argentina) you rely on each country's unilateral foreign tax credit, which usually works but is messier.
Step 3 — Your employer's problem becomes your problem
A company whose employee works from another country for months may create a permanent establishment there, owe local payroll taxes and social security, and violate local labour law. This is why many employers say no to long-term remote work abroad — and why the solutions below exist.
- Short stays (under ~60–90 days): most companies tolerate it; you remain on home payroll. Check the social-security totalisation agreement so you are not double-charged.
- Employer of Record (EOR): Deel, Remote, Oyster, Papaya and local firms hire you legally in the host country and lease you to your company. You get a local payslip, local benefits and clean residency. Costs the employer $300–700/month.
- Contractor/invoicing: you register as self-employed where you live and invoice the company. Simple, but you lose employee protections and must handle your own social contributions and VAT registration thresholds.
- Digital-nomad visas: Portugal, Spain, Croatia, Estonia, Thailand (DTV), Japan (6-month), UAE, Malaysia, Brazil and ~50 others. Most grant residence without granting a right to work for local companies — and several (Spain, Portugal) come with reduced tax regimes for a fixed period.
The US citizen trap
Americans abroad file a US return every year regardless. Two tools keep the bill near zero: the Foreign Earned Income Exclusion (about $130,000 of wages excluded if you pass the physical-presence test of 330 days abroad or the bona-fide-residence test) and the Foreign Tax Credit (credit for foreign income tax paid). FEIE does not exclude self-employment tax, and neither helps with FBAR/FATCA reporting of foreign accounts over $10,000 — penalties for missing those are severe.
Worked example
A Korean citizen spends 220 days in Portugal in 2026 working for a Seoul company on a Korean employment contract, salary ₩90M.
- Portugal: 183+ days → tax-resident, taxes worldwide income. Korea: under 183 days and no permanent home → likely non-resident from the departure date.
- Korea still withholds; the Korea–Portugal treaty allocates employment income to where the work is performed (Portugal), so Korean withholding on the Portugal-days portion is recoverable or creditable.
- Employer risk: 220 days may create a Portuguese permanent establishment. Cleanest fix: switch to an EOR contract in Portugal, or apply for the digital-nomad visa and become a contractor.
- Social security: Korea and Portugal have no totalisation agreement → check whether NPS contributions can pause, and whether Portuguese contributions are required under the chosen setup.
This article is general information, not tax advice; cross-border cases turn on details, so a one-hour consultation with an adviser in each country is money well spent.
Before choosing where to be resident, see what the same salary nets in 26 countries with the salary calculator.
Open the free salary calculator →