The rise of location-independent work has created an entirely new category of international tax complexity. Digital nomads — remote workers, freelancers, consultants, and online entrepreneurs who work while travelling across multiple countries — often find that conventional tax advice is largely irrelevant to their situation. Questions that seem simple (where am I a tax resident?) become surprisingly difficult when you have spent two months in Portugal, three months in Thailand, four months in Mexico, and the remainder of the year in various other locations.
This guide covers the practical tax realities of location-independent work in 2026: the 183-day rules in the countries most popular with digital nomads, why the perpetual traveler theory often fails in practice (especially for Americans), the Foreign Earned Income Exclusion for US nomads, and the wave of digital nomad visas introduced since 2021 in Portugal, Spain, Greece, Georgia, Thailand and elsewhere (most bring no tax advantage by themselves; any relief comes from separate regimes). Whether you’re just starting to travel with your work or are a seasoned nomad trying to get compliant, this guide provides the framework you need.
The 183-day test is the most widely used threshold for establishing tax residency, but understanding how each country applies it — and what additional tests may trigger residency at fewer days — is essential for nomads managing their presence across multiple jurisdictions.
The UK uses a detailed Statutory Residence Test (SRT) introduced in 2013. The automatic UK resident test: spending 183 or more days in the UK in a tax year (April 6 to April 5) makes you automatically UK tax resident. Below 183 days, additional tie tests apply: if you have a UK home that you use during the year, a UK employer, or significant UK ties (family, accessible accommodation), residency may be triggered at fewer days. Nomads spending 45–90 days in the UK with other UK ties can find themselves deemed UK resident. UK-resident individuals are taxed on worldwide income. HMRC is the relevant authority; the SRT guidance runs to over 100 pages.
Germany taxes based on either: (1) having a registered address (Wohnsitz) in Germany; or (2) spending 183+ days in Germany in a calendar year or consecutive 12-month period. Critically, Germany also tests for “habitual abode” (gewöhnlicher Aufenthalt) — which can be established with fewer than 183 days if the facts show Germany is your regular base. Nomads who rent an apartment in Berlin for 4–5 months and spend the rest of the year elsewhere may still be deemed German residents if German authorities conclude it is their habitual abode. German residents are taxed on worldwide income at progressive rates up to 45% (plus solidarity surcharge).
Portugal follows a similar 183-day test. Under the prior Non-Habitual Resident (NHR) regime, new residents enjoyed 10 years of favorable tax treatment on foreign income. Portugal’s NHR regime was replaced in 2024 with the IFICI (Incentive Fiscal à Investigação Científica e Inovação) regime, which is more targeted at researchers, qualified professionals, and specific high-value activities. Digital nomads arriving in Portugal after 2024 generally face standard Portuguese progressive income tax rates on foreign-source income once they become residents, making Portugal less attractive than before from a tax perspective — though the D8 digital nomad visa remains popular for lifestyle reasons.
Spain triggers tax residency at 183 days in a calendar year, or where Spain is the primary base of economic activities. The “Beckham Law” (Régimen Especial de Trabajadores Desplazados) allows qualifying individuals relocating to Spain to elect taxation as non-residents for 6 years, paying a flat 24% tax rate on Spanish-source income up to €600,000 (rather than progressive rates up to 47%). The Spanish Digital Nomad Visa introduced in 2023 includes an updated version of the Beckham Law applicable to remote workers from outside the EU.
Thailand uses a 180-day test (not 183 days). Before January 1, 2024, Thailand taxed only foreign-source income remitted to Thailand in the same year it was earned. Under guidance effective from 2024, Thailand taxes foreign-source income in the tax year it is remitted to Thailand, whatever year it was earned; income earned before 2024 is left out. This closes the popular strategy of delaying remittance to the following year. Digital nomads should note that pay for work done while in Thailand is Thai-source income, taxable whether or not it is brought into Thailand and whoever pays it; only genuinely foreign-source income depends on remittance, for residents spending 180+ days in Thailand. The Thailand LTR visa offers some relief: its Work from Thailand (WFT) category gets an exemption on foreign-sourced income (whether that covers salary for work done in Thailand is not settled by the BOI wording), while the flat 17% personal income tax rate applies only to the Highly-Skilled Professional category.
UAE: No personal income tax on any income regardless of how many days you spend there. Tax residency certificate available after 183 days. Popular base for high-income nomads as a tax-neutral jurisdiction. Mexico: no 183-day rule; residence turns on where your home or center of vital interests is. Mexico taxes residents on worldwide income. The temporary resident visa (residente temporal) for remote workers does not automatically trigger tax residency, but making Mexico your home does. Keep records of your days and ties; Mexico’s SAT has become more active in enforcing tax residency. Indonesia: 183-day rule triggers tax residency. New e-VOA policies and the Second Home Visa offer multi-year stays. Tax residents are taxed on worldwide income at progressive rates up to 35%.
The perpetual traveler (PT) theory — sometimes called the “flag theory” — holds that by staying under 183 days in every country, a nomad can avoid becoming a tax resident anywhere and thus pay no income tax. In theory, if you are not a resident of any country, no country can tax your worldwide income on a residence basis. In practice, the perpetual traveler strategy fails for most people due to several critical realities.
The most fundamental flaw for Americans: US citizenship-based taxation applies regardless of where you live or how many days you spend in the US (including zero days). A US citizen who has never set foot in the US in a given year still owes a US federal income tax return on all worldwide income. The PT strategy does not address this. To genuinely escape US taxation, an American would need to renounce US citizenship — a multi-year, expensive process that triggers the expatriation tax under section 877A for high-net-worth individuals.
As noted above, Germany can establish tax residency through habitual abode even with fewer than 183 days. If a nomad spends 100 days in Germany each year, rents a furnished apartment, and has a German bank account, German tax authorities may conclude Germany is their habitual abode — triggering full German worldwide income taxation regardless of how many other countries they visited.
Many countries have rules to prevent residents from artificially abandoning tax residency. The UK’s SRT has a “ceased to be resident” test that requires satisfying specific conditions; spending more than 16 days in the UK in the first year after claiming non-residency can restart the residency clock under certain circumstances. Australia’s domicile test means Australian citizens with an Australian domicile of origin are taxed as Australian residents unless they establish a permanent place of abode outside Australia — mere physical absence does not suffice. Canada has complex “deemed resident” and “sojourner” rules that can tax Canadians abroad.
Even if you successfully avoid income tax residency in all countries, social security contributions may still apply. As a self-employed person, you may owe SE tax to the US (15.3%), social contributions to your home EU country if you maintain a domicile or permanent establishment there, or contributions in countries where you regularly work. The interaction of totalization agreements (which prevent dual social security contributions) with PT lifestyle requires careful planning.
For US citizens working location-independently, the Foreign Earned Income Exclusion (FEIE) and Foreign Tax Credits (FTC) are the two core mechanisms to reduce or eliminate double taxation on income earned abroad. Understanding which applies — and when to combine them — is the foundation of US nomad tax planning.
The FEIE (Form 2555) allows qualifying US citizens to exclude up to $132,900 (2026) of foreign earned income from US federal income tax. Qualifying tests: (1) Physical Presence Test: spend 330 full days outside the US in any consecutive 12-month period. This is the most commonly used test for nomads because it does not require establishing residency in any particular country. Days of presence in the US are excluded from the count; partial days of travel (US departure/arrival days) do not count as qualifying days. (2) Bona Fide Residence Test: establish genuine residency in a foreign country for a full calendar year. More appropriate for nomads who have a primary base country (Portugal, Thailand, Mexico) but travel internationally from that base.
FEIE does NOT exempt self-employment income from SE tax (the self-employed equivalent of Social Security and Medicare). A US freelance digital nomad earning $100,000 who excludes all income via FEIE and pays $0 US income tax still owes approximately $14,130 in SE tax (the 15.3% SE rate on 92.35% of net SE income, reflecting the deduction for half of SE tax). This often surprises nomads. Strategies to reduce this SE tax burden include: incorporating in a state as an S-corporation (which requires a US business presence but allows splitting income between salary and distributions); or qualifying under a totalization agreement (most US agreements also cover the self-employed, who are generally covered only by their country of residence, with a certificate of coverage).
For US nomads who establish residency in higher-tax countries (Germany, UK, France) where local income tax exceeds the US rate, the Foreign Tax Credit (FTC) is typically superior to FEIE. Under FTC: you pay full local income tax and receive a dollar-for-dollar credit against US tax liability. In Germany at a 40%+ effective rate, German taxes fully offset any US tax liability. FEIE, by contrast, would exclude up to $132,900 from US tax but would not allow you to credit the German taxes on that excluded income — potentially resulting in a worse outcome. For nomads in low/zero-tax countries (UAE, Georgia, Thailand under LTR visa), FEIE is generally superior because there are no significant foreign taxes to credit.
US citizens abroad must file a US federal income tax return if their income exceeds the standard filing threshold (roughly $16,100 for single filers in 2026), even if they owe $0 in US tax after applying FEIE or FTC. Additional requirements: FBAR (FinCEN 114) if total foreign financial account balances exceed $10,000 at any point during the year; Form 8938 (FATCA) if foreign financial assets exceed $200,000 on the last day of the year or $300,000 at any point (single filers abroad). Nomads who fail to file incur substantial penalties, including a $10,000 minimum penalty for FBAR violations that were not willful.
Since 2021, over 50 countries have launched digital nomad visas, remote worker visas, or similar programs specifically designed to attract location-independent workers. These programs vary significantly in their tax implications — some explicitly exempt visa holders from local income tax on foreign-source income; others simply provide legal authorization to work remotely without guaranteeing tax exemption. Understanding the tax treatment is as important as understanding the visa requirements.
Income requirement: €3,680/month (4x Portuguese minimum wage). The D8 is a temporary residency visa for remote workers and freelancers working for non-Portuguese companies or clients. Tax position: after 183 days, D8 holders become Portuguese tax residents. The prior NHR (Non-Habitual Resident) tax regime that provided favorable treatment for foreign-source income has been replaced by the IFICI regime (2024), which no longer broadly applies to digital nomads. D8 holders who become Portuguese residents generally pay Portuguese progressive income tax (12.2%–48%) on worldwide income. The D8 is best suited to nomads who want a stable EU base for lifestyle reasons and can tolerate standard Portuguese tax rates, not those seeking aggressive tax optimization.
Income requirement: about €2,849/month (200% of Spanish minimum wage). Spain’s DNV allows non-EU remote workers to live in Spain for up to 5 years. Tax advantage: visa holders may elect the Beckham Law (Régimen Especial), paying a flat 24% tax rate on Spanish-source income up to €600,000 instead of the standard progressive rates (up to 47%). All employment income is taxed at 24%, including salary from a non-Spanish employer for remote work; only foreign investment income (dividends, interest, gains) stays outside Spanish tax. Ordinary freelancers do not qualify. The election must be made within 6 months of registration. This is genuinely favorable for high-earning nomads choosing to base in Spain.
Income requirement: €3,500/month. The Greek DNV provides a 2-year residence permit, extendable to 5 years. Tax treatment: Digital nomad visa holders working for foreign employers are taxed at Greece's normal rates once tax resident; none of Greece's special regimes is aimed at them. The special regimes are: a €100,000 yearly lump sum on all foreign income for wealthy new residents who invest €500,000 (Article 5A, 15 years, €20,000 per family member); a 7% flat tax on foreign income for pensioners (Article 5B); and a 50% exemption for 7 years on pay from a Greek employer or business (Article 5C).
Income requirement: approximately $24,000/year (no official minimum for tourist visa stays). Georgia (the country, not the US state) is one of the most tax-favorable destinations for digital nomads. Georgian tax residents are exempt on income that is not Georgian-source (such as foreign interest, dividends and gains), but pay for work actually done in Georgia is Georgian-source even when a foreign client or employer pays it, so remote work done from Georgia is taxed at 20% (or 1% for an individual entrepreneur with small business status). The “Virtual Zone” designation for IT companies provides 0% tax on income from foreign clients. The standard territorial tax system means that income earned from Georgian sources is taxed at 20%, but income sourced entirely outside Georgia is generally not taxable in Georgia. No digital nomad visa is required for most nationalities to stay for up to 365 days. The combination of easy entry, low cost of living (Tbilisi), and favorable tax treatment for foreign-source income makes Georgia particularly popular with nomads seeking to establish a low-tax base.
Income requirement: $80,000/year foreign-source income. The Thailand LTR WFT visa’s tax benefit is an exemption on foreign-sourced income; the flat 17% personal income tax rate (rather than Thailand’s standard progressive rates of up to 35%) is only for the separate Highly-Skilled Professional category. Whether WFT salary for work done in Thailand counts as foreign-sourced is not settled by the BOI wording, so confirm it with the Revenue Department. Visa holders also receive expedited work permit processing and other benefits. Critically, the 2024 change to Thailand’s remittance rule (taxing remittances whatever year the income was earned, for income earned from 2024) applies to standard Thai tax residents but LTR visa holders retain favorable treatment under specific conditions. The LTR visa represents the most explicitly tax-favorable digital nomad program in Asia for high-income remote workers.
CountryTaxCalc.com is reader-supported. When you use our partner links, we may earn a commission at no cost to you.Learn more about our affiliate partnerships
★ 4.8Trustpilot · 1,625 reviews
Greenback specialises in US expat and digital nomad tax returns — FEIE, FBAR, FATCA, and multi-country income. Fixed-fee pricing, no surprises.
⚠ Not the cheapest option — best for complex situations and expats who want a dedicated CPA.
Get Your Nomad Taxes Filed →Interested in reaching this audience? Advertise on CountryTaxCalc →