Taxes on US-source income if you live outside the US

A map of IRS rules for nonresident individuals paid by US clients: residency tests, source rules, 30% versus graduated rates, withholding, Form 1040-NR.

US rule; elsewhere, check your own regulator · Updated November 5, 2026

The rule in brief

US rule. A person who is not a US citizen or resident for tax purposes is a nonresident alien, and the US taxes a nonresident alien on income from US sources, not on worldwide income. How much US tax applies, and whether a payer withholds it, depends on where the work is done, what kind of income it is, and whether a tax treaty applies.

This page is a map of the IRS rules, not advice on your case. It is written for contractors who live outside the US and work for US clients, and for US-labelled rules only. Check your own regulator for the other half of the picture: your home authority will have its own view of the same fees. We link to official pages and do not summarise foreign law.

A tax professional who handles cross-border cases should review your facts before you file or sign a certification under penalties of perjury.

Step 1: Work out your US tax status

US rule. Pub 519 says you are a resident alien of the US for tax purposes if you meet either the green card test or the substantial presence test for the calendar year. A person who meets neither generally is a nonresident alien, and Pub 519 notes that in some cases you may choose to be treated as a resident for part of a year. Residents are taxed on worldwide income from all sources under the same rules that apply to citizens, according to Pub 519.

Status decides which form you give a client. Resident aliens use Form W-9 and nonresident individuals use Form W-8BEN. See the page on W-9 and W-8BEN.

Step 2: Decide whether the fees are from US sources

US rule. Pub 519 Table 2-1 summarises the source rules for nonresident aliens. For business income from personal services, and for other compensation, the factor that determines the source is where the services are performed. Interest, dividends, rents and royalties follow different factors.

This matters for freelancers because the answer turns on place of performance, not on where the client is. Pub 519 explains that income for personal services performed in the US is US-source income, with a narrow exemption for a nonresident alien temporarily in the US. That exemption needs all three of these: you work under a contract with a nonresident alien individual, a foreign partnership or a foreign corporation not engaged in a US trade or business, or for an office a US person keeps in a foreign country; you are temporarily present in the US for no more than a total of 90 days in the year; and your pay for those services is not more than $3,000. If any condition fails, the income is US-source and is taxed under the chapter 4 rules of Pub 519.

If your services are performed outside the US, the Table 2-1 rule points away from US-source treatment. Whether a particular payment is US-source is still a legal question to settle with a tax professional, because other factors can matter, and the client's form may not match the answer.

Step 3: Know the two kinds of US tax

US rule. Pub 519 divides a nonresident alien's income into two categories:

  1. Income that is effectively connected with a trade or business in the US. After allowable deductions it is taxed at graduated rates, which are the same rates that apply to citizens and residents.
  2. Income that is not effectively connected. It is taxed at a flat 30 percent, or a lower treaty rate.

Which category applies to a US-source fee depends on facts such as whether you carry on a trade or business in the US. Pub 519 has a chapter on each. A contractor whose services are done entirely abroad may have no US-source fee at all, which may take the question away. Do not assume either way.

Step 4: Withholding by the payer

US rule. Pub 515 is the IRS publication for withholding agents who pay nonresident aliens and foreign entities. It refers to the ordinary statutory 30 percent rate. The Form W-8BEN instructions say that foreign persons are subject to US tax at a 30 percent rate on certain US-source income, and that a withholding agent may rely on a properly completed form to apply a reduced rate or exemption, and that failing to provide the form when requested may lead to withholding at 30 percent or the backup withholding rate. For personal services performed in the US, Pub 515 says a nonresident alien may have to give the payer Form 8233 or Form W-4, which is why the W-8BEN header points to them.

Treaty rates are claimed on Part II of the W-8BEN, which asks you to certify residence in a treaty country and to name the article and the rate claimed. Pub 515 lists the conditions a payer can accept for treaty claims, including that you give a US or foreign TIN and certify residence and beneficial ownership. Treaties differ and some have been suspended or ended, so check the IRS treaty pages and the text of the treaty itself. A treaty claim is a position on your tax return, so a professional should review it.

Step 5: Filing and paying in the US

US rule. A nonresident alien files Form 1040-NR if a filing requirement applies. Pub 519 describes the due dates. If you are not paid wages subject to US income tax withholding, you must file by the 15th day of the 6th month after your tax year ends, which for the 2025 calendar year was June 15, 2026. If you receive wages subject to US withholding, the date is the 15th day of the 4th month, which was April 15, 2026 for 2025. An extension to file uses Form 4868 and does not extend the time to pay.

For advance payments, Pub 505 says nonresident aliens should use Form 1040-ES (NR). Pub 519 adds that the first estimated payment is due by the due date for filing the previous year's Form 1040-NR.

Self-employment tax

US rule. Pub 334 says nonresident aliens are generally not subject to self-employment tax unless an international social security agreement (a totalization agreement) places them under the US system. Residents of the US territories are treated as US residents for this purpose. Check the agreement text if you live in a country that has one with the US.

What this page does not decide

  • Whether your own country taxes the fees, and how it gives credit for any US tax. Use your national authority's pages. Examples of authorities: HMRC, CRA, SARS and IRAS. The list is illustrative, not complete.
  • Social insurance or national insurance contributions in your own country.
  • State or local tax in the US, which can follow different rules.
  • Whether you are a contractor or a worker under US or local classification law.

A practical checklist

  1. Write down where the work is physically done, by date. This is the key fact in Table 2-1.
  2. Write down your US status for the year with the tests that support it.
  3. Keep every form you gave a payer, with the date.
  4. Keep any 1042-S or other withholding statements the payer sends.
  5. Keep your own country's tax records alongside the US ones.
  6. Ask a cross-border tax professional to review before you claim a treaty position.

Frequently asked questions

Do I need a US tax number?

The W-8BEN has a line for a US taxpayer identification number, if required, and a line for a foreign tax identifying number. Whether you need a US number depends on the facts in the form instructions.

Does a W-8BEN stop all US tax?

No. It documents your status to the payer and may support a reduced rate. Your filing duty is separate.

I never enter the US. Is my fee US-source?

Table 2-1 of Pub 519 says the source of personal services income is where the services are performed. A professional should confirm your case.

Do I file Form 1040 or 1040-NR?

It follows your status. Residents file the Form 1040 series. Nonresident aliens use 1040-NR. Pub 519 sets out the tests.

Which treaty applies?

The treaty between the US and your country of residence. The IRS publishes treaty tables and the text of each treaty.

Where the official text is

Pub 519, Pub 515, the Form W-8BEN and its instructions, Form 1040-NR, and the IRS pages on nonresident aliens and tax treaties. Read the edition for the tax year in question.

Sources

Last verified November 20, 2026. Sources checked by the editorial team; not yet reviewed by a named professional. General information, not legal, tax or accounting advice.

Related pages

Terms used on this page

Self-employment tax, Estimated tax, Form W-8BEN

Join the CORAA CPA network waitlist

CORAA prepares audit files for US CPA firms. Network members are independent contractors who clear what the software flags, with evidence and a note, paid per file under a contractor agreement.

  • Files are offered to you; you accept or decline
  • No exclusivity: you can work for others
  • The firm reviews and signs; CORAA never does

* required