> ## Content Index
> Fetch the complete content index at: https://university.heavnn.io/llms.txt
> Use this file to discover other available public pages before exploring further.

# Working for US Companies from Abroad: Tax, Contracts and Pay
- URL: https://university.heavnn.io/working-for-us-companies-from-abroad/
- Published: 2026-11-30T14:40:00.000Z
- Updated: 2026-11-30T14:39:59.000Z
- Description: Remote job with a US company while living abroad? Where you pay tax, W-8BEN vs W-9, contractor vs EOR, social security and US-citizen rules for 2026.
- Author: Heavnn
- Tags: International Tax Guides, digital nomad, United States

Quick answer

If you are not a US citizen or green card holder and you do all your work outside the United States, a US company that pays you owes no US tax withholding on that pay: US law treats it as foreign-source income. You give the company a Form W-8BEN, not a W-9\. That does not make the income tax-free. Your country of tax residence taxes it, along with local social security, and how you are engaged (contractor, your own company or an Employer of Record) decides who handles that.

*Last reviewed: November 2026 · Reviewed by* [*Stéphane Gombauld*](https://university.heavnn.io/how-we-research-and-review/)*, tax expert, technologist and digital nomad*

Heavnn

Paid from the US, taxed where you live

Answer a few questions and get a clear plan for your own setup, wherever you work.

[Check my setup →](https://app.heavnn.io/start?utm%5Fsource=university&utm%5Fmedium=cta&utm%5Fcampaign=v3-C&utm%5Fcontent=top-working-for-us-companies-from-abroad)

You landed a remote role with a US company. The contract is in dollars, you work from Lisbon, Medellín or wherever you are this quarter, and onboarding asks for a tax form you have never seen. The real question: where do you pay tax on this money?

This guide is for **non-US remote professionals** working for US employers or clients: freelancers, contractors with their own company, and people employed through an [Employer of Record](https://university.heavnn.io/glossary/employer-of-record/). If you hold a US passport or a green card, the rules change because the US taxes its citizens wherever they live; there is a dedicated section near the end for you.

## Do you owe US tax when a US company pays you from abroad?

Usually not, as long as the work happens outside the US. The US taxes nonresident aliens only on income from US sources and on income connected with a US trade or business (IRS Publication 519). For pay for services, the source is where you do the work, not where the payer sits. The Internal Revenue Code lists "compensation for labor or personal services performed without the United States" as income from sources outside the US (26 U.S.C. § 862(a)(3)).

- **No US withholding on foreign-performed work.** A Delaware company paying a Portuguese resident for design work done in Portugal does not need to deduct US tax, provided it has your foreign status on file.
- **No US tax return for that income.** With no US-source income or US business, you normally file nothing with the IRS.
- **Days worked inside the US are different.** Pay for days you work while physically in the US is US-source income. A treaty between the US and your country of residence may exempt it, but you have to qualify and claim it.

## W-8BEN or W-9: which form do you give the company?

Non-US individuals give the company a [Form W-8BEN](https://university.heavnn.io/glossary/form-w-8ben/), the "Certificate of Foreign Status of Beneficial Owner". The IRS is clear that you hand it to the payer or [withholding agent](https://university.heavnn.io/withholding-agent/), not to the IRS, and that you submit it when the payer asks even if you claim no [treaty benefit](https://university.heavnn.io/treaty-benefit/).

If you invoice through your own company (a Portuguese Lda, an Estonian OÜ, a UK Ltd), the company completes [Form W-8BEN-E](https://university.heavnn.io/form-w-8ben-e/) instead. US citizens and green card holders never use a W-8: they complete a [Form W-9](https://university.heavnn.io/glossary/form-w-9/), because they are US persons.

Keep a copy and update it when your details change, such as a new country of residence.

## So where do you pay tax instead?

In your country of tax residence. Almost every country taxes its residents on their worldwide income, and a salary or invoice paid from the US is no exception. Most tests combine a day count with a home or centre-of-life test. Portugal, for example, treats you as resident if you spend more than 183 days there in any 12-month period, or keep a home there that you intend to use as your habitual residence.

Two situations cause most of the trouble for location-independent workers:

- **You moved but never became resident anywhere new.** Leaving a country does not always end your residence there. Your former home may keep taxing you until you prove a new residence. See [tax residency after leaving a country](https://university.heavnn.io/tax-residency-after-leaving-a-country/).
- **You move every few months.** Short stays can leave you resident in your old country by default. See [managing tax residency while frequently moving](https://university.heavnn.io/managing-tax-residency-while-frequently-moving-a-global-guide/).

## Contractor, Employer of Record or your own company: which setup fits?

The setup you are offered decides who registers you, who withholds tax and who carries the risk.

| Setup                                | What you are legally                                                      | Who handles local tax and social security                                       | US form                         | Main risk                                                               |
| ------------------------------------ | ------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------- | ----------------------------------------------------------------------- |
| Independent contractor (sole trader) | Self-employed in your country of residence                                | You: register, invoice, file and pay income tax and self-employed contributions | W-8BEN                          | Not registering locally; local reclassification as disguised employment |
| Contractor through your own company  | Director and shareholder of a company that invoices the US client         | Your company pays corporate tax; you pay tax on salary or dividends             | W-8BEN-E                        | Company taxed where you actually manage it; double layers of admin      |
| Employee via an Employer of Record   | Employee of the EOR's local entity, working for the US company day to day | The EOR runs local payroll and withholds tax and social security                | None from you to the US company | Higher cost for the company; contract tied to the EOR                   |
| Direct employee of the US company    | Employee of a US company with no entity where you live                    | The company must register as a foreign employer locally, where that is possible | Depends on the payroll set-up   | Permanent establishment and payroll exposure for the company            |

**Contracting is the default** for most startups because it is fast and cheap for them. It shifts all local compliance onto you: register in your residence country and set aside enough for income tax and social security.

**An** [**Employer of Record**](https://university.heavnn.io/employer-of-record/) employs you locally on behalf of the US firm, with tax and contributions deducted at source. It is the cleanest option for you, and a local payslip helps with visas and rentals, but the company pays a monthly fee on top.

**Direct employment without a local entity** is the riskiest for the company. If you habitually work from your home in a country and sign deals or play a core role there, the company may create a taxable presence, a [permanent establishment](https://university.heavnn.io/permanent-establishment/), in that country. The OECD added guidance in 2025 on when a home office abroad counts; read our breakdown of [the OECD's 50% rule for remote employees](https://university.heavnn.io/remote-work-permanent-establishment-oecd-50-percent-rule/).

## What about social security?

Social security usually follows the place where you work and live, not the location of the client. The US has totalization agreements with 31 countries, and each one starts from the same territoriality rule: a worker covered by both systems is subject only to the laws of the country where he or she is working (US Social Security Administration). For self-employed people the agreements typically look at residence: under the US-Portugal agreement, self-employed workers who reside in Portugal are assigned Portuguese coverage.

For a non-US contractor working entirely abroad, this means local contributions in your residence country and nothing to the US system. Under an Employer of Record, the EOR deducts them from your salary. As a sole trader, you register with your local social security office and pay them yourself, often quarterly or monthly. Arrears usually come with interest and fines. Our overview of [social security and healthcare taxes abroad](https://university.heavnn.io/working-with-social-security-and-healthcare-taxes-abroad/) explains how coverage is assigned.

## How should you invoice and get paid in dollars?

- **Invoice from your registered activity.** Use your local tax number and the invoicing format your country requires. Some countries, Portugal among them, require invoices issued through the tax authority's portal or certified software.
- **Record the euro (or local currency) value on the day you are paid.** Most tax systems want income in local currency. Use the exchange rate your country's rules prescribe and keep the bank statement showing the conversion.
- **Keep the contract, W-8BEN and invoices together.** Visa renewals ask for proof of income.

Example – Lucía, 31, Colombian product designer living in Lisbon

Lucía holds a Portuguese D8 residence visa for remote work. To get it she showed average monthly income over the previous three months of at least four times the Portuguese minimum wage: 4 × EUR 920 = EUR 3,680 a month in 2026\. She contracts for a Delaware-incorporated startup at USD 7,000 a month, USD 84,000 a year.

She signs a W-8BEN at onboarding. Because she works from Lisbon, the startup withholds no US tax and sends nothing to the IRS for her. She lives in Portugal well over 183 days, so Portugal taxes the full USD 84,000 as self-employment income, at progressive rates that reach 48% at the top, and she pays Portuguese social security as a self-employed resident.

In March she flies to Austin for a two-week team offsite and keeps working. Ten working days out of roughly 220 in her year is about USD 3,800 of pay for work performed in the US. That slice is US-source income. As a Portuguese resident she can look to the 1994 US-Portugal income tax treaty to exempt it, but only if she meets its conditions and the paperwork reflects the claim.

Lucía's setup works because each piece is registered. Is yours?

Get your contractor or EOR setup checked against your country of residence before the next invoice.

[Check my setup →](https://app.heavnn.io/start?utm%5Fsource=university&utm%5Fmedium=cta&utm%5Fcampaign=v3-C&utm%5Fcontent=mid-working-for-us-companies-from-abroad)

## What changes if you are a US citizen or green card holder?

Almost everything on the US side. The US applies [citizenship-based taxation](https://university.heavnn.io/glossary/citizenship-based-taxation/): US citizens and resident aliens are taxed on worldwide income from all sources, wherever they live (IRS). You file with the IRS every year as well as in your residence country.

| Item                            | 2026 rule for US persons abroad                                                                                                                                                  | Where it comes from                            |
| ------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------- |
| Form you give the company       | W-9, not W-8BEN                                                                                                                                                                  | IRS Form W-9 and W-8BEN guidance               |
| Foreign earned income exclusion | Up to **USD 132,900** of foreign earned income for tax year 2026, if you pass the bona fide residence or 330-day physical presence test                                          | IRS, Rev. Proc. 2025-32                        |
| Self-employment tax             | Still due on all net profit even when the exclusion applies, unless a totalization certificate of coverage exempts you                                                           | IRS, self-employment tax for businesses abroad |
| Filing deadline                 | Automatic 2-month extension to **15 June** if you live abroad; interest still runs from 15 April                                                                                 | IRS, US citizens and resident aliens abroad    |
| Foreign account reporting       | FBAR if your foreign accounts exceed **USD 10,000** in total at any time in the year; Form 8938 above USD 200,000 at year end or USD 300,000 at any time (single, living abroad) | IRS comparison of Form 8938 and FBAR           |

The exclusion is only one tool. In higher-tax countries the [foreign tax credit](https://university.heavnn.io/glossary/foreign-tax-credit/) often works better, because it lets local tax paid offset the US bill. See our [US FEIE guide](https://university.heavnn.io/special-regimes/us-feie/). Tax treaties rarely help here: the IRS notes that, with certain exceptions, they do not reduce the US taxes of US citizens.

## Common mistakes (and what they cost)

- **Reading "no US withholding" as "no tax"** → your residence country taxes the full amount; years of unreported income can mean back tax, interest and penalties at once.
- **Contracting without registering locally** → no invoices, no social security record, and no proof of income when your visa or residence permit comes up for renewal.
- **Signing a W-9 as a non-US person, or a W-8BEN as a** [**US person**](https://university.heavnn.io/us-person/) → wrong withholding or reporting, and a correction process with the payer and possibly the IRS.
- **Working long stretches inside the US** → US-source income for those days, and productive work in the US may need work authorisation that a visitor entry does not give.
- **Moving country without telling the company** → a contract or EOR arrangement built for one country stops fitting; the company can face payroll or permanent establishment exposure and may end the contract.
- **Becoming resident nowhere** → your former home country can keep taxing you, and you cannot get a residence certificate to claim treaty relief.

## Frequently asked questions

### Do I have to pay US taxes if I work for a US company from abroad?

Not if you are a non-US person and do all the work outside the United States. Pay for services performed outside the US is foreign-source income, and nonresident aliens are taxed only on US-source income and income connected with a US business. Your country of residence taxes it instead.

### Which form do I give a US company: W-8BEN or W-9?

A non-US individual gives a [Form W-8BEN](https://university.heavnn.io/form-w-8ben/); a non-US company gives a W-8BEN-E. The form goes to the payer, not the IRS. US citizens and green card holders complete a W-9, wherever they live.

### Can a US company employ me if it has no entity in my country?

Usually through an Employer of Record, a local company that employs you on its behalf and runs payroll. Employing you directly means registering as a foreign employer where you live and can create a permanent establishment for the company.

### Do I pay US Social Security as a foreign contractor working abroad?

Generally no. US totalization agreements start from the rule that a worker covered by both systems is subject only to the laws of the country where he or she works. You contribute in your residence country, yourself or through EOR payroll.

### What happens if I travel to the US and keep working?

Pay for the days you work in the US is US-source income. A treaty between the US and your residence country may exempt it if you meet its conditions and claim it on your W-8BEN. Productive work in the US can also require work authorisation.

### I am a US citizen working remotely abroad for a US company. What changes?

You file a US return every year, give the company a W-9, and can use the [foreign earned income exclusion](https://university.heavnn.io/foreign-earned-income-exclusion/) (up to USD 132,900 for 2026) or the foreign tax credit. Self-employment tax stays due unless a totalization certificate of coverage exempts you.

## Related guides

- [Form W-8BEN: what it certifies and who needs it](https://university.heavnn.io/glossary/form-w-8ben/)
- [Employer of Record: how EOR employment works](https://university.heavnn.io/glossary/employer-of-record/)
- [Remote employees abroad: the OECD's 50% rule for permanent establishment](https://university.heavnn.io/remote-work-permanent-establishment-oecd-50-percent-rule/)
- [Permanent establishment risk in the United States](https://university.heavnn.io/risk-audit/permanent-establishment-risk-united-states/)
- [Portugal digital nomad visa: requirements, tax and how to apply](https://university.heavnn.io/nomad-visas/portugal-digital-nomad-visa/)
- [Managing tax residency while frequently moving](https://university.heavnn.io/managing-tax-residency-while-frequently-moving-a-global-guide/)
- [US FEIE: who can exclude foreign earnings](https://university.heavnn.io/special-regimes/us-feie/)
- [Social security totalisation agreements explained](https://university.heavnn.io/glossary/social-security-totalisation-agreement/)

## Sources

- [26 U.S.C. § 862, income from sources without the United States – Legal Information Institute (US Code)](https://www.law.cornell.edu/uscode/text/26/862?ref=university.heavnn.io)
- [Publication 519 (2025), US Tax Guide for Aliens – IRS](https://www.irs.gov/publications/p519?ref=university.heavnn.io)
- [About Form W-8BEN – IRS](https://www.irs.gov/forms-pubs/about-form-w-8-ben?ref=university.heavnn.io)
- [US citizens and resident aliens abroad – IRS](https://www.irs.gov/individuals/international-taxpayers/us-citizens-and-resident-aliens-abroad?ref=university.heavnn.io)
- [Tax inflation adjustments for tax year 2026 (Rev. Proc. 2025-32) – IRS](https://www.irs.gov/newsroom/irs-releases-tax-inflation-adjustments-for-tax-year-2026-including-amendments-from-the-one-big-beautiful-bill?ref=university.heavnn.io)
- [Self-employment tax for businesses abroad – IRS](https://www.irs.gov/individuals/international-taxpayers/self-employment-tax-for-businesses-abroad?ref=university.heavnn.io)
- [Comparison of Form 8938 and FBAR requirements – IRS](https://www.irs.gov/businesses/comparison-of-form-8938-and-fbar-requirements?ref=university.heavnn.io)
- [Portugal tax treaty documents – IRS](https://www.irs.gov/businesses/international-businesses/portugal-tax-treaty-documents?ref=university.heavnn.io)
- [US international social security agreements – Social Security Administration](https://www.ssa.gov/international/agreements%5Foverview.html?ref=university.heavnn.io)
- [US-Portugal social security agreement – Social Security Administration](https://www.ssa.gov/international/Agreement%5FPamphlets/portugal.html?ref=university.heavnn.io)
- [Decreto Regulamentar n.º 4/2022, article 31.º-A on the remote work residence visa – Diário da República](https://files.dre.pt/1s/2022/09/19000/0002800097.pdf?ref=university.heavnn.io)
- [Means of subsistence and 2026 minimum wage reference – Portuguese Ministry of Foreign Affairs](https://vistos.mne.gov.pt/pt/vistos-nacionais/documentacao-instrutoria/meios-de-subsistencia?ref=university.heavnn.io)
- [Portugal individual taxes on personal income – PwC Worldwide Tax Summaries (secondary)](https://taxsummaries.pwc.com/portugal/individual/taxes-on-personal-income?ref=university.heavnn.io)

Working for a US company from abroad?

Get your contractor, company or EOR setup checked so your residence country gets the tax it is owed, and not a surprise bill later.

[Check my setup →](https://app.heavnn.io/start?utm%5Fsource=university&utm%5Fmedium=cta&utm%5Fcampaign=v3-C&utm%5Fcontent=end-working-for-us-companies-from-abroad)