Guides · US Tax Status

How the US Actually Taxes a Nonresident Alien

Last updated 5 August 2026
A passport with a gold emblem on a wooden desk in warm lamplight, a signed page and pen beside it

The IRS splits a nonresident alien's US income into two buckets and taxes them on completely different principles.

Almost every confusion about this subject comes from reading about one bucket and assuming it describes both.

Income effectively connected with a US trade or business is taxed at graduated rates, on the net, with deductions allowed. Everything else that is US-source and passive is taxed at a flat 30 percent, or a lower treaty rate, on the gross, with no deductions at all.

Then there are the exemptions, and this is where the IRS's own publishing works against a reader. Interest on a US bank deposit is excluded from income where it is not connected with a US trade or business and comes from the deposit types the IRS lists. Portfolio interest that qualifies is not subject to chapter 3 withholding, though chapter 4 can still reach it.

And capital gains can be fully tax exempt on a day count that has nothing to do with the day count deciding your status.

Publication 519 carries the split, the rate and both exclusions, which is exactly why they get missed. It runs to nearly 98,000 words, and the exclusions are printed some 7,000 words before the rate they qualify, so a reader who searches straight to the rate arrives after them. The one piece that is not in Publication 519 at all is the warning about the two day counts. For that the IRS uses a separate page, about FDAP income. This page carries all of it, and quotes every piece from the text it came from.

The split

Two buckets, two completely different rules

Publication 519, the 2025 edition for use in preparing 2025 returns, sets out the split, and it is the frame for everything that follows.

A nonresident alien’s income that is subject to U.S. income tax must be divided into the following two categories. Income that is effectively connected with a trade or business in the United States. Income that is not effectively connected with a trade or business in the United States (discussed under The 30% Tax, later).

Publication 519 then draws the contrast between the two categories directly.

The difference between these two categories is that effectively connected income, after allowable deductions, is taxed at graduated rates. These are the same rates that apply to U.S. citizens and residents. Income that is not effectively connected is taxed at a flat 30% (or lower treaty) rate.

The IRS's separate page on effectively connected income spells out what after allowable deductions means, and it is the half people miss.

ECI is taxed at graduated rates or lesser rates under a tax treaty on the net ECI. That is, deductions are allowed against gross ECI to arrive at taxable net ECI.

Net, and deductions allowed. Hold that sentence, because the other bucket is its exact opposite.

Two buckets, two rules, and the exemptions printed thousands of words before the rate. That is the whole subject.

Book Your Assessment Call
The flat rate

Thirty percent, on the gross, with nothing deducted

The second bucket is the one most non-residents actually meet, because it covers passive US-source income. Publication 519 states the rate and its condition together.

Tax at a 30% (or lower treaty) rate applies to certain items of income or gains from U.S. sources but only if the items are not effectively connected with your U.S. trade or business.

Then it states the base that rate applies to, and this is the line that surprises anyone used to being taxed on profit.

The 30% (or lower treaty) rate applies to the gross amount of U.S. source fixed, determinable, annual, or periodical (FDAP) gains, profits, or income.

Gross. The IRS states the consequence out loud on its own topic page rather than leaving it to be inferred.

FDAP income is taxed at a flat 30 percent (or lower treaty rate, if qualify) and no deductions are allowed against such income.

No deductions. Costs, fees and losses associated with that income do not reduce it, because the tax is not computed on a profit at all.

FDAP itself is defined by exclusion, and the carve-outs inside that definition are where the detail lives, including what is and is not inside the sale-of-property exception.

Fixed, determinable, annual, or periodical (FDAP) income is all income except: Gains derived from the sale of real or personal property (including market discount and option premiums but not including original issue discount). Items of income excluded from gross income, without regard to the United States (U.S.) or foreign status of the owner of the income, such as tax-exempt municipal bond interest and qualified scholarship income.

The trap

Two different 183-day tests, and the IRS says so

This is the most consequential distinction on the page, and the one almost never written correctly anywhere else.

One 183-day test decides whether you are a resident for tax purposes. A separate 183-day test decides how your capital gains are treated. They are not the same test, and the IRS states that plainly, on its FDAP page.

The183-day test mentioned above is not the same as the 183-day test used in the substantial presence test.

The missing space in that sentence is the IRS's own, reproduced rather than tidied.

The practical consequence is that a person can be a nonresident alien under one test while being over the line on the other, which is exactly the combination that produces an unexpected bill. The status tests are set out in full here.

Capital gains

Under 183 days, the IRS's own word is exempt

Here is the rule in Publication 519's wording, and the operative phrase is not a rate.

If you were in the United States for less than 183 days during the tax year, capital gains (other than gains listed earlier) are tax exempt unless they are effectively connected with a trade or business in the United States during your tax year.

Tax exempt. Not a reduced rate, and not a relief that has to be claimed. The other side of the same line reads:

If you were in the United States for 183 days or more during the tax year, your net gain from sales or exchanges of capital assets is taxed at a 30% (or lower treaty) rate. For purposes of the 30% (or lower treaty) rate, net gain is the excess of your capital gains from U.S. sources over your capital losses from U.S. sources. This rule applies even if any of the transactions occurred while you were not in the United States.

Note the word net there, and note that the same passage defines it: net gain is the excess of US-source capital gains over US-source capital losses.

The exemption is not unconditional, and the IRS lists what it does not reach.

The following gains are subject to the 30% (or lower treaty) rate without regard to the 183-day rule, discussed later. Gains on the disposal of timber, coal, or domestic iron ore with a retained economic interest. Gains on contingent payments received from the sale or exchange of patents, copyrights, and similar property after October 4, 1966. Gains on certain transfers of all substantial rights to, or an undivided interest in, patents if the transfers were made before October 5, 1966. Gains on the sale or exchange of OID obligations.

That list is quoted in full above rather than summarised, because the exemption is only as wide as the exceptions to it.

The rate is published. What lands in which bucket is the conversation.

Book Your Assessment Call
Trading

Trading US stocks is not, by itself, a US trade or business

This answers a question people ask constantly and usually get answered wrongly, and the IRS is unusually direct about it.

If your only U.S. business activity is trading in stocks, securities, or commodities (including hedging transactions) through a U.S. resident broker or other agent, you are not engaged in a trade or business in the United States.

Trading for your own account gets its own sentence, including the part about being physically present while doing it.

You are not engaged in a trade or business in the United States if trading for your own account in stocks, securities, or commodities is your only U.S. business activity. This applies even if the trading takes place while you are present in the United States or is done by your employee or your broker or other agent.

There is a published exception, and it is the one that changes the answer.

This discussion does not apply if you have a U.S. office or other fixed place of business at any time during the tax year through which, or by the direction of which, you carry out your transactions in stocks, securities, or commodities.

The exclusions

The two exclusions Publication 519 prints first

These make the flat 30 percent far less universal than it first reads, and Publication 519 prints them some 7,000 words ahead of the rate itself.

First, interest on a US bank deposit. Publication 519 does not reduce it, it excludes it.

Interest income that is not connected with a U.S. trade or business is excluded from income if it is from: Deposits (including certificates of deposit) with persons in the banking business; Deposits or withdrawable accounts with mutual savings banks, cooperative banks, credit unions, domestic building and loan associations, and other savings institutions chartered and supervised as savings and loan or similar associations under federal or state law (if the interest paid or credited can be deducted by the association); and Amounts held by an insurance company under an agreement to pay interest on them.

Publication 515 states the withholding side of the same fact, for the payer.

Foreign persons are not subject to chapter 3 withholding on interest that is not connected with a U.S. trade or business if it is from: Deposits with persons carrying on the banking business; Deposits or withdrawable accounts with savings institutions chartered and supervised under federal or state law as savings and loan or similar associations, such as credit unions, if the interest is or would be deductible by the institutions; or Amounts left with an insurance company under an agreement to pay interest on them.

Second, portfolio interest, where the exemption and its limit are published together and are quoted here together.

Interest and OID that qualifies as portfolio interest are not subject to chapter 3 (of the Internal Revenue Code) withholding under sections 1441 through 1443. However, such interest may be subject to withholding if it is a withholdable payment, and there is no exception to chapter 4 (of the Internal Revenue Code) withholding under sections 1471 through 1474. For more information, see the discussion of portfolio interest under Withholding on Specific Income in Pub. 515.

Qualifies is doing the work in that sentence, and the IRS names the limits rather than leaving them implied.

Payments to certain persons and payments of contingent interest do not qualify as portfolio interest. You must withhold at the statutory rate on such payments unless some other exception, such as a treaty provision, applies and withholding under chapter 4 does not apply.

Real property

The one asset class with a regime of its own

US real property sits outside everything above, under its own statute.

The disposition of a U.S. real property interest by a foreign person (the transferor) is subject to the Foreign Investment in Real Property Tax Act of 1980 (FIRPTA) income tax withholding. FIRPTA authorized the U.S. to tax foreign persons on dispositions of U.S. real property interests.

The mechanic that catches sellers is the base the withholding is computed on.

The transferee must deduct and withhold a tax on the total amount realized by the foreign person on the disposition. The rate of withholding generally is 15% (10% for dispositions before Feb. 17, 2016).

The total amount realised, not the gain. On a sale at a loss there is still an amount realised.

Two buckets, two rules, and the exemptions printed thousands of words before the rate. That is the whole subject.

Book Your Assessment Call
The limit

What this page will not tell you

Whether you are a nonresident alien. That is a status question with two tests of its own, and they are quoted on their own page rather than applied to anyone here.

Your treaty rate. A treaty can reduce or remove the 30 percent, and the rate lives in the treaty and the IRS's own treaty tables rather than in any general publication. No country rate appears on this page. The form that carries a treaty claim is a separate subject with separate conditions.

Whether nonresident aliens are taxed more. No IRS page read for this guide makes that comparison. The honest answer is structural: one system is graduated on the net with deductions, the other is flat on the gross with none, and which produces more depends entirely on what the income is.

What you owe. That turns on facts a page cannot see, and on the country on the other side of it.

The quotations above come from six IRS sources, and all six are linked here so any of them can be checked: Publication 519, Publication 515, taxation of nonresident aliens, effectively connected income, FDAP income and FIRPTA withholding.

The proof

Client wins from the Hall of Wins

Antonio Leao
Client
"You have the record for the fastest ITIN we have ever processed. We did it in 37 days."
Davide Vignoli
Client
"My ITIN was delivered in 1 month and 2 weeks. Really happy with the process and I am gearing up for my trip to Miami now."
Thor M.
Client
"Got my ITIN within 6 weeks thanks to you and the whole team. I just filled out a form and waited and it came to my mail."
Chris M.
Client
"I got the ITIN as promised, FASTER than I was promised. I got the corporation and everything is done, and whenever I have a question I get my answers right away."
Michael Niziolek
Client
"Got my ITIN in 40-50 days and now I have 2 credit cards already. The experience has been amazing with hands-on support from the team."
Andrew Menechian
Client
"The LLC is fine, the EIN was fine, the ITIN's all good, got the bank accounts remotely, so everything went pretty good."
Neil Ateem
Client
"The process was super quick and easy. Whoever is behind the scenes in your team, they are on it, very communicative."
Povilas
Client
"I have a company in Lithuania doing $5-6m in ad spend through my debit card. I didn't know AMEX existed until I met Miquel and he explained how I was leaving money on the table."
Client reports five of five credit limit increases approved through the card apps, the largest two at 9,000 dollars eachChase approval email for an Ink Business Preferred card at a 5,000 dollar limit, opened on a fresh ITINClient tells the team the Chase bank account is open and the card received, shown in the Chase appClient opens Capital One and Bank of America on day one; the team confirms both and lines up Chase nextClient's written testimonial: six personal and business bank accounts opened with Chase, Bank of America and Citibank in one weekClient reports an American Express Platinum approval in Germany within two days, using a US address and Global Card TransferClient thanks the team after the Miami trip for the help with the US bank cardsClient reports after the Miami trip: the Atmos card arrived, new bank accounts for the corporation, and a Florida driving licenceClient opens a Bank of America account while resident in Greece, then moves on to Citibank for the second accountClient's Chase appointment done: account, debit card and credit card all approved, heading to the second appointmentClient confirms the Bank of America travel rewards credit card came through

Real client wins, straight from the Hall of Wins.

Book Your Assessment Call

The series

The ITIN series

00
The complete ITIN guide
Read it
01
Get an ITIN without an SSN
Read it
02
Best ITIN services compared: done-for-you vs DIY
Read it
03
How long an ITIN really takes
Read it
04
ITIN for a US bank account
Read it
05
ITIN without traveling to the US
Read it
06
ITIN rejected: how to fix it
Read it
07
ITIN for your US LLC
Read it
08
ITIN vs EIN vs SSN
Read it
09
ITIN renewal
Read it
10
ITIN Form W-7: what it is and what goes with it
Read it
11
What banks accept an ITIN?
Read it
12
Your ITIN arrived: what happens next
Read it
13
What a nonresident alien actually is
Read it
14
Form W-8BEN, and what it does not do
Read it
15
How a nonresident alien is actually taxed
You are here
Read next
Tools
  1. Find your routeTell it what you are trying to do and it maps the guides to read in order.
  2. ITIN document checklistPick your situation, get the exact list the IRS accepts.
  3. What it costsPublished prices and timelines, service by service.
  4. US credit calculatorWhat your spend returns at the rates issuers publish today.

FAQ

How are nonresident aliens taxed by the US?
In two buckets. Publication 519 divides the income into what is effectively connected with a US trade or business and what is not. Effectively connected income is taxed at graduated rates on the net, with deductions allowed. The rest, US-source and passive, is taxed at a flat 30 percent or lower treaty rate on the gross.
Can I deduct expenses against the 30 percent?
No. The IRS publishes that FDAP income is taxed at a flat 30 percent, or a lower treaty rate where one applies, and that no deductions are allowed against such income. The rate applies to the gross amount, so it is not computed on a profit.
Are capital gains taxed?
It turns on a day count. Publication 519 states that if you were in the United States for less than 183 days during the tax year, capital gains other than certain listed gains are tax exempt unless effectively connected with a US trade or business. At 183 days or more, net gain from sales of capital assets is taxed at 30 percent or a lower treaty rate. A short list, including gains on the disposal of timber, coal or domestic iron ore with a retained economic interest, is taxed without regard to the day count.
Is that the same 183 days as the residency test?
No. The IRS publishes, on its FDAP page, that the 183-day test mentioned there is not the same as the 183-day test used in the substantial presence test. Someone can be a nonresident alien under one and over the line on the other, which is the combination that produces an unexpected bill.
Does trading US stocks make me engaged in a US trade or business?
Not by itself. The IRS publishes that if your only US business activity is trading in stocks, securities or commodities through a US resident broker or other agent, you are not engaged in a trade or business in the United States, and that trading for your own account is covered even if it takes place while you are present in the US. The published exception is having a US office or fixed place of business through which the transactions are carried out.
Is interest on a US bank account taxed?
Publication 519 excludes it from income where it is not connected with a US trade or business and comes from deposits with persons in the banking business, and Publication 515 states that foreign persons are not subject to chapter 3 withholding on it. Portfolio interest that qualifies is separately not subject to chapter 3 withholding. Publication 519 adds that such interest may still be subject to withholding if it is a withholdable payment with no exception under chapter 4, and Publication 515 states that payments to certain persons and contingent interest do not qualify as portfolio interest.
What about selling US property?
That has its own regime. FIRPTA subjects a foreign person's disposition of a US real property interest to withholding, and the transferee must withhold on the total amount realized rather than on the gain, generally at 15 percent.
Are nonresident aliens taxed more than US residents?
No IRS page read for this guide makes that comparison, so this page does not either. The systems are built differently: one is graduated on net income with deductions, the other is flat on gross with none. Which produces more depends on what the income is.

The structure decides the bucket

Which bucket income falls into is a consequence of how things are set up: the entity, the accounts, where you are resident. First Class Citizen's work is that sequence, and the call starts with where you actually stand in it.

Book Your Assessment Call
Miquel Gironès, Founder and CEO of The First Class Citizen
Expert review: Miquel Gironès
Founder & CEO, The First Class Citizen