Can I work remotely for a US company while living in another country? Tax, visas and contracts (2026)
Working remotely for a US company from abroad: the foreign earned income exclusion for Americans, W-8BEN and EOR for everyone else, visas and host-country tax.
Key takeaways
- Usually yes, but three sets of rules apply at once: US tax rules, the tax rules of the country you live in, and that country's immigration rules, which decide whether you're allowed to work there at all.
- US citizens and green-card holders abroad are still taxed on worldwide income and still file a US return. The foreign earned income exclusion is capped at US$132,900 per person for 2026, and you claim it on Form 2555.
- To use the exclusion you need a foreign tax home and either 330 full days abroad in any 12 consecutive months (physical presence test) or bona fide residence abroad for an uninterrupted period that includes a full tax year.
- The exclusion doesn't touch self-employment tax: the IRS says you must take all your self-employment income into account, even the part you exclude from income tax.
- If you're not a US person, pay for work you do outside the US is generally foreign-source income, so you give the company a W-8BEN rather than paying US tax, and the country you live in taxes you instead.
- Your host country decides your tax residency and your right to work: the UK makes you automatically resident at 183 days in its tax year, Spain at more than 183 days in a calendar year, and Thailand at more than 180 days.
- Under the OECD's 2025 commentary, a home office generally isn't the employer's place of business if you work from it for less than 50% of your working time over 12 months; above that, it depends on the facts, especially whether the employer has a commercial reason for you to be there.
Usually, yes. A US company can pay you wherever you live. What changes is everything around the pay cheque: which country taxes it, what you file, and whether your visa lets you work where you're sitting. The answer splits two ways. If you're a US citizen or green-card holder, the US keeps taxing you, and the foreign earned income exclusion is the main relief. If you're not a US person, the US generally doesn't tax work you do outside the US, and the country you live in does.
Both groups then face the same host-country questions: tax residency, the right to work, and whether your home office creates a tax problem for the company.
Everything below comes from IRS, state, immigration and OECD pages, checked on 28 October 2026.
The short version
| Question | US citizen or green-card holder | Not a US person |
|---|---|---|
| Does the US tax my pay? | Yes, on worldwide income, less any exclusion or credit | Generally no, if the work is done outside the US |
| What do I give the company? | Form W-9, even if you live abroad | Form W-8BEN as a contractor |
| Main US relief | Foreign earned income exclusion, up to US$132,900 for 2026 | Not needed for foreign-source pay |
| Host-country tax | Possibly, under its residency rules | Yes, if you're resident there |
| Visa | Needs to allow the work | Needs to allow the work |
Track 1: US citizens and green-card holders abroad
You still file a US return
The IRS page for US citizens and resident aliens abroad says the filing rules are generally the same as at home, and that you're "subject to tax on worldwide income from all sources." Moving to Bali, Lisbon or Mexico City doesn't change that.
Two details from Publication 54 catch people out:
- Excluded income still counts for the filing test. For deciding whether you must file, "gross income includes any income that you can exclude as foreign earned income or as a foreign housing amount."
- Freelancers file at US$400. If your net earnings from self-employment are US$400 or more, "you must file a return even if your gross income is below the amount listed for your filing status."
Living abroad gets you an automatic 2-month extension to June 15 for calendar-year filers, and you can ask for 4 more months to October 15. But "you will have to pay interest on any tax not paid by the regular due date."
The foreign earned income exclusion
The IRS figuring page says: "For tax year 2026, the maximum exclusion is $132,900 per person." For 2025 it was US$130,000. If you and your spouse both work abroad and both qualify, each of you can claim it. If you only qualify for part of the year, the cap is pro-rated by your qualifying days. The housing amount limitation is US$39,870 for 2026.
It only covers foreign earned income, which the IRS defines as "income you receive for performing personal services in a foreign country." The client's location doesn't matter: "Where or how you are paid has no effect on the source of the income." So pay from a US company for work you do in Bali can qualify. Pay as a US government employee can't.
To qualify, you need a tax home in a foreign country, which is "the general area of your main place of business, employment, or post of duty". You don't have one for any period your abode is in the US. Then you must pass one of two tests.
| Physical presence test | Bona fide residence test | |
|---|---|---|
| Who can use it | US citizens and US residents | US citizens, and residents who are citizens or nationals of a US treaty country |
| What you need | 330 full days in foreign countries in any 12 consecutive months | Bona fide residence abroad for an uninterrupted period that includes an entire tax year |
| How it's judged | Days only: a full day is 24 hours from midnight to midnight | Facts: your intentions, your activities, whether you paid tax there |
| Watch out for | The 330 days needn't be in a row; a US stopover of under 24 hours in transit between two foreign points doesn't count as US presence | Telling the local tax office you're not a resident, and being treated that way, rules you out |
The physical presence test suits nomads, because it's "based only on how long you stay in a foreign country or countries." The bona fide residence test suits people who have properly moved, and it allows "brief or temporary trips back to the United States."
You claim the exclusion by attaching Form 2555 to your Form 1040. "Do not submit Form 2555 by itself."
What the exclusion doesn't cover
- Self-employment tax. The IRS page on self-employment tax abroad says you "must take all your self-employment income into account", including income you excluded. The relief here is a totalization agreement, under which social security taxes "are paid only to one country."
- Social security on wages. Publication 54 says US social security and Medicare don't generally apply to work done as an employee outside the US, but one exception is when "You are working for an American employer." A US company keeping you on US payroll will usually keep withholding them.
- Foreign bank accounts. If your foreign accounts total more than US$10,000 at any time in the calendar year, FinCEN says you must file an FBAR.
Your state may still tax you
Leaving the country doesn't automatically end your state tax residency. California treats you as a resident if you're "Domiciled in California, but outside California for a temporary or transitory purpose", and residents are "taxed on all income regardless of source." New York says your domicile "does not change until you can demonstrate with clear and convincing evidence that you have abandoned your New York domicile". It can also treat you as a resident if you keep a permanent place of abode there for substantially all of the year and spend 184 days or more in the state. Other states have their own rules, so check yours before you go.
Track 2: you're not a US person
The US generally doesn't tax your pay
For a nonresident, the IRS sourcing table gives the source of salaries, wages and personal services income as "Where services performed". Work you do from Bangkok for a client in Austin is foreign-source income. Work you do on a trip to the US is US-source.
As a contractor, the company will usually ask you for a Form W-8BEN. The IRS instructions say: "Do not send Form W-8BEN to the IRS. Instead, give it to the person who is requesting it from you." Our W-8BEN guide for non-US freelancers walks through the form, treaty claims and what happens if you don't send one.
Contractor, employee or employer of record
There are three common ways a US company pays someone abroad:
- Contract. You invoice as a freelancer or through your own company, and you handle your own tax where you live.
- Employer of record (EOR). A provider employs you through its own local entity, runs local payroll and benefits, and bills the US company.
- The company's own local entity. Rare for a single hire.
A contract label doesn't settle your status. The IRS contractor or employee page looks at "the extent of the right to direct and control the worker" across three areas: behavioural, financial and the type of relationship. The country you live in has its own test too. In the UK, GOV.UK says a person is self-employed if they "run their business for themselves and take responsibility for its success or failure", and warns that people "may have to pay unpaid tax and penalties" if their status is wrong.
If you'll work like a full-time team member, with set hours, one client and company tools, ask the company about an EOR. Our guide to hiring remote employees internationally compares the main providers and their published prices.
If you're a founder taking US work through your own company, see where to incorporate as a remote founder.
The host-country side: tax residency
Whichever track you're on, the country you live in applies its own residency rules, and they vary:
| Country | When you become tax resident (checked 28 Oct 2026) |
|---|---|
| United Kingdom | Automatically, if you spend 183 or more days in the UK in the tax year (6 April to 5 April) |
| Spain | More than 183 days in Spain in the calendar year, or if your main centre of economic activity or interests is there |
| Thailand | More than 180 days in total in a calendar year; foreign income is taxed when brought into Thailand |
Sources: GOV.UK, administracion.gob.es and Thailand's Revenue Department.
Day counts aren't the only test. Spain's rule about the centre of your economic interests means you can be resident without the days. Tax treaties can also decide which country taxes your pay. The OECD's 2021 treaty guidance explains that under Article 15 of its Model, wages are taxable only where you're resident unless the "employment is exercised" in the other country, meaning where you're "physically present when performing" the work. For more, read tax residency for remote founders.
The host-country side: your right to work
A tax residency question and an immigration question are different things. Being paid from abroad doesn't mean you're allowed to work where you are. Some countries have visas designed for this:
| Visa (checked 28 Oct 2026) | Key official conditions |
|---|---|
| Indonesia E33G remote worker visa | For carrying out assignments from an overseas company; income of at least US$60,000 a year and an employment contract with a company outside Indonesia; stay up to 1 year; fee IDR 7,000,000; no pay from people or companies in Indonesia |
| Thailand Destination Thailand Visa | Valid 5 years; up to 180 days per entry; at least 500,000 THB in funds; no Thai work permit, Thai employers or Thai clients |
| Croatia digital nomad stay | Up to 18 months; at least EUR 3,622.50 a month; work for a company not registered in Croatia; no work for Croatian employers |
| Japan digital nomad | Annual income of at least 10 million yen; six months with no extension; only for nationals of visa-exempt countries covered by a Japanese tax treaty |
Sources: Indonesia's eVisa site, the Royal Thai Embassy, Croatia's Ministry of the Interior and Japan's Immigration Services Agency.
Note the Indonesian visa asks for an employment contract with an overseas company. Check the eVisa site before applying if you're a freelancer on client contracts.
Some countries allow limited remote work on a visitor visa. The UK's visitor rules let a visitor "undertake activities relating to their employment overseas remotely from within the UK", as long as "this is not the primary purpose of their visit." Don't assume every country works this way. Our guide to digital nomad visas for founders compares more options.
A visa doesn't settle tax. A nomad visa holder who stays long enough can still become tax resident under the rules above.
The employer's risk: permanent establishment
If you work from home in another country for long enough, your home could become the company's "fixed place of business" there. That's a permanent establishment, and it can mean the company owes tax in your country.
The OECD's 2021 guidance set the old line: a home office "may be a PE for an enterprise if it is used on a continuous basis for carrying on business of that enterprise and the enterprise generally has required the individual to use that location".
On 18 November 2025 the OECD Council approved an update to clarify when a home can be a place of business. The 2025 commentary says:
- Under 50% of your time: a home "would generally not be considered a place of business of the enterprise" if you work from it for less than 50% of your total working time for that enterprise over any twelve-month period.
- 50% or more: it depends on the facts, and "A prominent consideration is whether there is a commercial reason" for you being in that country.
- Commercial reason, yes: the OECD's examples include an employee who regularly visits the company's clients in that country, and one who works from there so customers in other time zones get round-the-clock service.
- Commercial reason, no: an employee who serves clients remotely and only visits a local client once a quarter. "The mere presence of clients" there isn't enough.
This is commentary on a model treaty, not law. Your country's treaty with the US and its local rules decide, and some countries record reservations; Israel, for example, reserves on how it counts the 50% test. If you'll work from one country most of the time, tell the company early. It may prefer an EOR to taking that risk.
Common mistakes
- Assuming moving abroad ends US tax. US citizens and green-card holders still file and are taxed on worldwide income.
- Counting days loosely. The physical presence test needs 330 full days, midnight to midnight.
- Forgetting the state. California and New York can keep treating you as a resident.
- Expecting the exclusion to cut self-employment tax. It doesn't.
- Working on the wrong visa. Check what yours allows. Thailand's DTV and Indonesia's E33G both bar work for local employers or clients.
- Ignoring your new country's tax rules. Days, home and economic ties can make you resident there.
- Keeping it from your employer. Your home office can be their permanent establishment.
Checklist before you move
- Work out which track you're on: US person, or not.
- If you're a US person, plan for either 330 full days abroad or a full tax year of bona fide residence, and keep a travel log.
- Check whether your US state will still treat you as a resident, and what it takes to end that.
- If you're not a US person, send the company a W-8BEN and make sure your contract says where you do the work.
- Check the destination's tax residency rules and any tax treaty with your home country.
- Get a visa that actually allows remote work for a foreign company, from the official immigration site.
- Tell your employer where you'll be and for how long, and agree whether you'll stay on contract, move to an EOR or stay on payroll.
- Get advice in both countries before you sign a lease.
Where to go next
Next, read W-8BEN for non-US freelancers, tax residency for remote founders and digital nomad visas for founders. If you'd like to meet other founders and freelancers working for overseas clients from wherever they live, you can join Remote Builders: it's free, and you're in straight away.
General information, checked on 28 October 2026 against IRS, state, immigration and OECD pages, not tax, legal or immigration advice. Your answer depends on your citizenship, the country you live in and your contract, so confirm it with an adviser in each country before you move or sign.
Questions people ask
- Can I work remotely for a US company while living in another country?
- Usually, yes. The US company can pay you wherever you are. The harder questions are on your side: whether your visa lets you work in the country you live in, where you're tax resident, and, if you're a US citizen, how you'll file your US return. Sort the visa and the tax residency before you move, not after.
- Do I still have to file a US tax return if I live abroad?
- If you're a US citizen or green-card holder, yes, on the usual thresholds. The IRS says citizens and resident aliens are taxed on worldwide income, and Publication 54 says that for deciding whether you must file, gross income includes income you can exclude as foreign earned income. You get an automatic 2-month extension to June 15, but interest runs on unpaid tax from the regular due date.
- How much is the foreign earned income exclusion for 2026?
- The IRS says the maximum exclusion for tax year 2026 is US$132,900 per person, up from US$130,000 for 2025. Married couples who both work abroad and both qualify can each claim it. If you only qualify for part of the year, the cap is pro-rated by your qualifying days.
- Can I be paid as a contractor by a US company if I'm not American?
- Yes, if the work really is independent. You'll usually fill in a W-8BEN for the company. The label in the contract doesn't decide your status: the IRS looks at control, the financial side and the type of relationship, and the country you live in applies its own employment status rules too.
- Do I need a work visa to work remotely for a foreign company?
- It depends on the country. Some have visas built for it: Indonesia's E33G remote worker visa is for carrying out assignments from an overseas company. Others allow limited remote work on a visitor visa: the UK lets visitors do remote work for their overseas job as long as it isn't the main purpose of the visit. Check the official rules for the country you're in, never a blog.
- Will my working abroad create a tax problem for the US company?
- It can. If your home office counts as the company's fixed place of business, the company may have a permanent establishment in your country and owe tax there. The OECD's 2025 commentary says a home generally isn't a place of business if you work there for less than 50% of your working time over 12 months. Above that, a commercial reason for you being there, such as serving local clients, tips it towards a permanent establishment.
Sources
- Foreign earned income exclusion, Internal Revenue Service. Checked 28 October 2026.
- Figuring the foreign earned income exclusion, Internal Revenue Service. Checked 28 October 2026.
- Foreign earned income exclusion: physical presence test, Internal Revenue Service. Checked 28 October 2026.
- Foreign earned income exclusion: bona fide residence test, Internal Revenue Service. Checked 28 October 2026.
- Foreign earned income exclusion: tax home in foreign country, Internal Revenue Service. Checked 28 October 2026.
- Foreign earned income exclusion: what is foreign earned income?, Internal Revenue Service. Checked 28 October 2026.
- Foreign earned income exclusion: forms to file, Internal Revenue Service. Checked 28 October 2026.
- Publication 54 (12/2025), Tax Guide for U.S. Citizens and Resident Aliens Abroad, Internal Revenue Service. Checked 28 October 2026.
- U.S. citizens and resident aliens abroad, Internal Revenue Service. Checked 28 October 2026.
- Self-employment tax for businesses abroad, Internal Revenue Service. Checked 28 October 2026.
- Report foreign bank and financial accounts, Financial Crimes Enforcement Network. Checked 28 October 2026.
- Residents, California Franchise Tax Board. Checked 28 October 2026.
- Nonresidents and part-year residents: frequently asked questions, New York State Department of Taxation and Finance. Checked 28 October 2026.
- Nonresident aliens: sourcing of income, Internal Revenue Service. Checked 28 October 2026.
- Instructions for Form W-8BEN (Rev. October 2021), Internal Revenue Service. Checked 28 October 2026.
- Independent contractor (self-employed) or employee?, Internal Revenue Service. Checked 28 October 2026.
- Employment status: self-employed and contractor, GOV.UK. Checked 28 October 2026.
- Tax on foreign income: UK residence and tax, GOV.UK. Checked 28 October 2026.
- Impuesto sobre la renta (IRPF), Administración General del Estado, Spain. Checked 28 October 2026.
- Personal income tax, The Revenue Department, Thailand. Checked 28 October 2026.
- Type of Visa E33G, Directorate General of Immigration, Indonesia. Checked 28 October 2026.
- Destination Thailand Visa (DTV), Royal Thai Embassy, Budapest. Checked 28 October 2026.
- Temporary stay of digital nomads, Ministry of the Interior, Croatia. Checked 28 October 2026.
- Designated Activities (Digital Nomad), Immigration Services Agency of Japan. Checked 28 October 2026.
- Immigration Rules Appendix Visitor: Permitted Activities, GOV.UK. Checked 28 October 2026.
- Updated guidance on tax treaties and the impact of the COVID-19 pandemic (2021), OECD. Checked 28 October 2026.
- The 2025 Update to the OECD Model Tax Convention, OECD. Checked 28 October 2026.
- The 2025 Update to the OECD Model Tax Convention: summary of key changes, OECD. Checked 28 October 2026.
Startup perks for tools in this guide
Related guides
- Do I need a W-8BEN as a non-US freelancer or creator, and does the US withhold tax on my income?
Do you need a W-8BEN as a non-US freelancer or creator? Who files it, when US tax is withheld, how treaty claims work, and what YouTube, Stripe and PayPal ask for.
- Where to incorporate as a remote founder: home country, US LLC, Estonia, UK, UAE or Singapore (2026)
Where to incorporate as a remote founder: why home usually wins, and Estonia e-Residency, UK Ltd, UAE free zone and Singapore compared on official fees.
- Digital nomad visas for founders: which ones let you run your own company (2026)
Digital nomad visa for founders: nine visas compared on income rules, running your own company, local clients, business-owner income proof and tax residency.
- Tax residency for remote founders: how the rules work (2026)
Tax residency for remote founders: how Australia, the UK, the US and Canada test it, treaty tie-breakers, where your company is resident, and records to keep.
Meet other remote builders
- Join Remote Builders
Free. Once you're in, we'll hand you straight to the members' chat on Telegram to say hello.
- Come to the next event
See what's on next and save your spot.
- Browse the member directory
Businesses run by members, each with a profile page. Members can add theirs.
- Find a city chapter
Monthly nights for members in person, and how to host one in your city.