Working on a tourist visa is illegal in most countries, even if your employer and clients are based elsewhere. Staying in any country for more than 183 days typically makes you a tax resident there. And your employer could face permanent establishment risk if you work abroad without telling them. These are the three biggest pitfalls โ and there are more. Here's the full breakdown for 2026.
The Tourist Visa Trap
Let's start with the most common mistake. You're a software developer based in London. You decide to spend three months in Bali, working from a villa with fast Wi-Fi. You enter Indonesia on a tourist visa. You're technically working โ just not for an Indonesian company or Indonesian clients.
This is illegal in most countries. A tourist visa permits tourism, visiting family, and sometimes attending conferences. It does not permit you to perform work โ regardless of where your employer or clients are located.
"But Everyone Does It"
Yes, enforcement has historically been lax. Immigration officers rarely ask what you do on your laptop. But enforcement is tightening in 2026:
- Thailand raided several coworking spaces in 2024 and deported remote workers on tourist visas
- Portugal explicitly requires a D7 or D8 visa for remote work (tourist visa holders have been denied visa renewals when caught)
- Indonesia introduced the B211A digital nomad visa partly to crack down on tourists working illegally
- Spain has been checking coworking space registrations against visa status
The risk isn't theoretical. If caught, you face deportation, entry bans, and potential difficulties getting visas to other countries.
The Legal Solution: Digital Nomad Visas
Over 50 countries now offer some form of digital nomad or remote work visa. Here are the most popular in 2026:
| Country | Visa Name | Income Requirement | Duration | Tax on Foreign Income? |
|---|---|---|---|---|
| Portugal | D8 Digital Nomad | โฌ3,680/month | 1 year (renewable) | Yes, standard rates |
| Spain | Digital Nomad Visa | โฌ2,520/month | 1 year (renewable to 3) | 24% flat (Beckham Law) |
| Croatia | Digital Nomad Permit | โฌ2,540/month | 1 year | No |
| Greece | Digital Nomad Visa | โฌ3,500/month | 1 year (renewable) | 50% tax reduction for 7 years |
| Estonia | Digital Nomad Visa | โฌ4,500/month | 1 year | No (if < 183 days) |
| Thailand | LTR / DTV Visa | Varies ($80K income or $500K assets) | Up to 10 years | No (on foreign income) |
| Indonesia | B211A / Second Home | $2,000/month | 6 monthsโ5 years | No (on foreign income) |
| Colombia | Digital Nomad Visa | 3ร minimum wage (~$930/mo) | 2 years | No (if < 183 days) |
| Mexico | Temporary Resident | $2,600/month (or $43,000 savings) | 1โ4 years | Complex (may apply) |
Check our remote work visa resources for the latest requirements and application guides.
The 183-Day Tax Residency Rule
This is the rule that catches the most people off guard. In the vast majority of countries, spending 183 days or more in a calendar year makes you a tax resident. Tax residency means you may owe income tax to that country โ even if you're already paying tax somewhere else.
How It Works
- Day 1โ182: You're generally a visitor. No local tax obligations on foreign income (in most countries).
- Day 183+: You've triggered tax residency. The country can now tax your worldwide income.
Important Caveats
The 183-day rule isn't universal or straightforward:
- Some countries count differently โ the UK uses a complex Statutory Residence Test that considers ties, accommodation, and work days rather than a simple day count
- Some countries have lower thresholds โ the US taxes citizens regardless of where they live (the only major country to do this besides Eritrea)
- Day counting varies โ some countries count partial days, some only full days, some count the day you arrive but not the day you leave
- Tax treaties matter โ if you're caught between two countries both claiming you as a tax resident, a double taxation treaty (DTT) typically has "tie-breaker" rules based on where your permanent home, center of vital interests, and habitual abode are
- Some countries are aggressive โ Germany can consider you a tax resident if you have a "habitual abode" there, which can be triggered by as few as 6 months with an apartment lease, even if you're not physically present for 183 days
Real-World Scenario
Sarah, a Canadian freelance designer, spends JanuaryโJune in Portugal (181 days) and JulyโDecember in Thailand (184 days). She thinks she's under 183 days in Portugal and safe.
But Portugal counts from January 1. Those 181 days are close enough that Portuguese tax authorities might challenge her, especially if she has a rental lease that extends beyond her physical presence. And in Thailand, she's now a tax resident and โ under 2024 changes โ Thailand now taxes foreign income remitted to the country.
Sarah could end up owing taxes in both countries. A tax advisor could have helped her structure her travel to avoid this.
Permanent Establishment Risk for Employers
This one isn't about you โ it's about your employer, and it's why many companies restrict where remote workers can be based.
Permanent Establishment (PE) is a tax concept: if a company has a "fixed place of business" in a country, that country can tax the company's profits. An employee working from their apartment in Barcelona for a US company could constitute a PE in Spain for that US company.
Why Employers Care
If your company is deemed to have a PE in Spain because you're working there:
- The company may need to register in Spain
- Pay Spanish corporate taxes
- Comply with Spanish employment law
- Potentially provide Spanish employment benefits
This is why companies like Airbnb, Spotify, and others have "approved country" lists for remote work. It's not about controlling you โ it's about avoiding a corporate tax and compliance nightmare.
What You Should Do
- Tell your employer before working abroad for any extended period
- Check your company's remote work policy โ many have a 30-day or 90-day limit on working from abroad
- Understand that your employer's insurance may not cover you while working from a non-approved country
- Don't assume "what they don't know won't hurt them" โ if something goes wrong (injury, legal issue), the lack of proper arrangements becomes a serious problem
Tax Obligations by Nationality
Americans: FEIE and Foreign Tax Credit
US citizens are taxed on worldwide income regardless of where they live. However, two key provisions help:
Foreign Earned Income Exclusion (FEIE): In 2026, you can exclude up to approximately $132,900 of foreign earned income from US taxes if you meet either:
- The Physical Presence Test: 330 days outside the US in a 12-month period
- The Bona Fide Residence Test: You're a bona fide resident of another country for an entire tax year
Foreign Tax Credit (FTC): If you pay taxes to another country, you can credit those taxes against your US tax bill, avoiding double taxation.
Most American expats use one or both of these provisions to minimize or eliminate their US tax burden. You still need to file a US tax return every year and report foreign bank accounts via FBAR if your combined foreign accounts exceed $10,000 at any point during the year.
UK Citizens: HMRC and the SRT
The UK uses the Statutory Residence Test (SRT) to determine tax residency. If you leave the UK and become non-resident, your UK-source income is still taxed, but your foreign income generally isn't.
Key SRT factors:
- Automatic overseas test: If you spend fewer than 16 days in the UK (or 46 days if you weren't resident in any of the previous 3 years), you're automatically non-resident
- Sufficient ties test: If you spend 16โ182 days in the UK, your residency depends on how many "ties" you have (UK accommodation, family, work, 90-day presence in previous years)
Important: Simply leaving the UK doesn't mean HMRC stops caring about you. UK rental income, UK pensions, and UK employment income remain taxable. And the UK has information-sharing agreements with most countries.
EU Citizens
Each EU country has its own rules, but the general principle is: you're taxed where you're resident. Thanks to EU freedom of movement, you can live and work in any EU country, but you can only be a tax resident in one country at a time (determined by your "center of vital interests").
Social Security and Insurance Gaps
Social Security
When you work abroad, the question of which country's social security system you contribute to gets complicated:
- Within the EU: The A1 certificate system determines which country's social security you pay into. Generally, it's the country where you work. If you're posted temporarily by your employer, you can stay in your home country's system for up to 2 years.
- Between the US and treaty countries: Totalization agreements prevent double social security taxation. You pay into one system.
- Outside treaty relationships: You might end up paying social security in both countries, or worse, in neither โ creating gaps in your pension and benefits record.
Health Insurance
Your home country's health insurance typically does not cover you abroad (with some exceptions for EU citizens with EHIC cards in other EU countries). You need:
- International health insurance โ companies like Cigna Global, Allianz Worldwide, SafetyWing, and World Nomads offer plans designed for expats and nomads
- Local insurance โ required by many digital nomad visas
- Travel insurance โ for short trips, but not sufficient for long-term stays or visa applications
A common mistake: assuming your US employer's health plan covers you abroad. Most US employer-sponsored plans have very limited international coverage โ usually only for emergencies.
Time Zone and Compliance Challenges
Time Zones
Working from Bali for a New York-based company means a 12-hour time difference. Meetings at 9 AM EST are 9 PM in Bali. This is manageable for some roles (asynchronous work, writing, design) and brutal for others (sales calls, pair programming, management).
Before choosing your destination, map out your required meeting hours and check if the time zone is sustainable for your role.
VPN and Data Compliance
Some companies require you to use a VPN that shows a home-country IP address. Beyond corporate policy, there are actual legal considerations:
- GDPR: If you handle EU personal data, working from a non-EU country may violate data processing requirements
- Client contracts: Some contracts specify that work must be performed in certain jurisdictions
- Regulated industries: Finance, healthcare, and government contracts often have strict location requirements
- Data sovereignty laws: Some countries require certain data to stay within their borders
Using a VPN to mask your location doesn't make you legally compliant โ it just makes you harder to catch. If you work in a regulated industry, take this seriously.
A Practical Compliance Checklist for 2026
- Check your visa status โ do you have legal permission to work in the country?
- Count your days โ are you approaching 183 days in any single country?
- Inform your employer โ do they know where you're working from?
- Check tax treaties โ does a DTT exist between your home country and your location?
- Get proper insurance โ health, liability, and potentially professional indemnity
- Consult a tax advisor โ before you move, not after
- Keep records โ track your travel dates, income sources, and tax payments meticulously
- File everywhere you need to โ ignorance isn't a defense
The Bottom Line
Remote work freedom is real, but it comes with legal strings attached. The days of casually working from a beach in Thailand on a tourist visa are numbered. Governments want their tax revenue, employers want to manage their risk, and the infrastructure for tracking all of this is getting better every year.
The good news: digital nomad visas have made it easier than ever to work abroad legally. The paperwork is a hassle, but it's far less hassle than a deportation stamp or a surprise tax bill.
Explore your legal options with our working abroad resources or find the best countries for remote workers.
Which country is right for you?
Answer 6 quick questions about your budget, lifestyle, and priorities. Our AI ranks 122 countries and builds a personalised relocation plan.
Enjoyed this article?
Subscribe for more expat tips and guides.
Free: The Ultimate Expat Checklist
Everything you need to prepare before moving abroad โ visa, finances, healthcare, housing, and more.
