U.S. Investment Taxes for Non-Residents: Dividends, Capital Gains, Real Estate and Estate Tax

Nonresident investors face different U.S. tax rules for dividends, stock gains, rental income and real estate sales. Learn how residency, treaties, withholding forms and estate-tax exposure fit together. U.S. investment taxes for nonresidents depend on tax residency, income type and treaty eligibility—not simply citizenship or where a brokerage account is held.

By LocateMyWealth Research · Published · Last updated

U.S. federal tax education, not individualized tax, legal or investment advice. Treaty rates, thresholds and filing rules depend on your residence, income type and tax year and can change. Examples are hypothetical. Review your situation with a qualified cross-border CPA, enrolled agent or tax attorney.

U.S. investment taxes for nonresidents depend on tax residency, income type and treaty eligibility—not simply citizenship or where a brokerage account is held. Nonresident aliens generally face 30% withholding on U.S.-source dividends unless a lower rate applies, while ordinary stock-sale gains are generally outside U.S. tax, subject to important exceptions. U.S. rentals, real estate sales and U.S.-situs assets at death require separate analysis under IRS Publication 519.

Establish your tax residency first

A nonresident alien, or NRA, is generally someone who is neither a U.S. citizen nor a U.S. resident for federal income-tax purposes. Resident aliens generally face tax on worldwide income; NRAs generally face tax on U.S.-source income and certain income connected with a U.S. trade or business. Living abroad does not automatically make a U.S. citizen an NRA. IRS Publication 519

For the wider investing framework, start with Invest in the USA From Abroad.

Green card and substantial presence tests

A noncitizen generally becomes a resident alien by satisfying either the green card test or the substantial presence test, subject to exceptions and treaty rules.

The substantial presence test requires at least 31 days of U.S. presence in the current year and at least 183 weighted days calculated as:

Current-year days + 1/3 of preceding-year days + 1/6 of second-preceding-year days ≥ 183.

For example, 120 days in each year produces 120 + 40 + 20 = 180 weighted days, below the threshold. Some days do not count, including qualifying days for certain students, teachers and others; immigration terminology alone does not determine the result. IRS Publication 519

Closer connection and treaty tie-breakers

Someone meeting substantial presence may still qualify for the closer-connection exception if physically present fewer than 183 days in the current year, maintaining a foreign tax home and meeting the other requirements. Taking steps toward lawful permanent residence can prevent eligibility. Form 8840 generally documents the claim.

Separately, a dual resident may qualify as a resident of the other country under an applicable treaty’s tie-breaker provisions. Such claims generally require Form 1040-NR with Form 8833. Do not confuse treaty relief with the domestic closer-connection exception. IRS Publication 519

Summary: how investment income is treated

The table summarizes federal rules for individuals—not every entity, fund distribution or treaty exception. The framework comes from Publication 519, FIRPTA guidance and the Form 706-NA instructions.

Income typeGeneral rule for NRAsMain exceptionsForm
U.S.-source dividends30% gross withholding when not effectively connectedTreaty reductions; special distribution rulesW-8BEN; receive 1042-S
Ordinary stock-sale gainsGenerally not taxed when not effectively connected and below the separate 183-day presence thresholdECI, U.S.-source gains under the 183-day rule, real-property interests1040-NR when required
Passive U.S. rental income30% of gross rent when not effectively connectedNet-basis election; treaty provisions; income already qualifying as ECI1040-NR; generally Schedule E for net-basis rentals
U.S. real estate saleGain generally taxable; FIRPTA withholding generally appliesWithholding exemptions, reduced rates or certificates8288/8288-A; 8288-B if requested; seller’s 1040-NR
Other effectively connected incomeNet income generally taxed at graduated ratesTreaty business-profits restrictions and other exceptions1040-NR; relevant schedules
U.S.-situs assets at deathSeparate estate-tax regime, not income taxAsset exclusions and estate-treaty relief706-NA when required

Withholding is not always the final tax. It may satisfy the liability, exceed it or leave additional tax due. A return can be necessary even where tax was withheld.

Dividends: 30% is the starting point, not a universal rate

U.S.-source dividends paid to an NRA are generally fixed or determinable annual or periodical income, or FDAP. When not effectively connected with a U.S. business, they generally face 30% tax on the gross amount, without expense deductions. A qualifying treaty can reduce that rate. IRS Publication 515

A broker generally needs valid foreign-status and treaty documentation before applying a reduced rate. Nationality alone is insufficient: treaty residence, beneficial ownership and the particular income provision matter.

Treaty dividend-rate examples

These are ordinary portfolio-dividend rates for eligible individual residents, not corporate ownership rates or promises that every distribution receives that treatment. They come from the IRS’s Table 1, Tax Rates on Income Other Than Personal Service Income, available through its tax treaty tables page.

Treaty residenceOrdinary portfolio-dividend rateImportant qualification
Mexico10%Eligibility and treaty conditions must be satisfied
Mainland China10%China treaty eligibility does not extend to Hong Kong
Canada15%Certain entity and fund distributions have additional rules
United Kingdom15%Special provisions can apply to qualifying recipients
India25%Do not confuse this with the lower qualifying corporate rate
Hong KongGenerally 30% statutory rateNo comprehensive U.S.–Hong Kong income-tax treaty

The Treasury’s China treaty technical explanation expressly excludes Hong Kong from that agreement.

For account and investment context, see How to Invest in U.S. Stocks as a Non-U.S. Resident. Country-specific walkthroughs are in our guides for Mexico and Hong Kong or mainland China.

Capital gains: distinguish ordinary shares from exceptions

An NRA’s ordinary stock-sale gains are generally not subject to federal income tax when they are not effectively connected income and the investor is present in the United States for fewer than 183 days during the tax year. But “foreign investors never pay capital-gains tax” is incorrect. IRS Publication 519

Three major exceptions deserve attention:

  • Effectively connected income: Gains connected with a U.S. trade or business may be taxable.
  • The separate 183-day rule: Under section 871(a)(2), an individual who remains an NRA but is physically present at least 183 days during the tax year can face 30%, or a lower treaty rate, on applicable net U.S.-source capital gains.
  • U.S. real property interests: FIRPTA generally brings these gains into the U.S. tax system.

The capital-gains presence rule is not the weighted three-year residency test. Its day-count rules also differ. Whether a gain is U.S.-source requires separate analysis; selling a U.S. company’s shares does not, by itself, settle that question. Special rules also affect partnership interests and certain REIT or other real-estate-related investments. IRS Publication 519

Treaties and W-8 forms: claim benefits correctly

Treaties allocate taxing rights and may reduce withholding, but they do not provide blanket immunity. Review the actual treaty, protocols and current status—not just a country name in a table. IRS Publication 901

Limitation-on-benefits provisions, where applicable, restrict treaty access to qualifying residents. Entity claims can require detailed ownership or other eligibility analysis. A treaty’s saving clause generally preserves specified U.S. taxing rights over its citizens or residents, subject to exceptions. It does not automatically eliminate an eligible NRA’s dividend reduction.

W-8BEN versus W-8BEN-E

  • Form W-8BEN is generally used by foreign individuals to establish foreign status and claim applicable treaty benefits.
  • Form W-8BEN-E generally serves foreign entities and includes additional entity and FATCA classifications. Some entities must instead use another W-8 form.

Give the appropriate form to the broker, bank or other withholding agent—not ordinarily to the IRS. ECI generally calls for Form W-8ECI rather than using W-8BEN to claim portfolio-income treatment. W-8BEN instructions and W-8BEN-E instructions

Both forms generally remain valid through December 31 of the third calendar year following signature, unless circumstances change. A form signed during 2026 would generally run through December 31, 2029. Certain documentation can remain valid longer; a change making information incorrect can end validity sooner. Follow the instructions’ notification requirements rather than waiting for expiry.

Effectively connected income changes the calculation

Effectively connected income, or ECI, generally arises from a U.S. trade or business. Instead of a flat tax on gross receipts, an NRA generally calculates taxable net ECI using allowable deductions and graduated individual rates.

Investment income can become ECI under the relevant asset-use or business-activities tests. Conversely, trading securities for your own account generally does not, by itself, constitute a U.S. trade or business under the applicable safe-harbor rules. U.S. partnership investments can create additional tax and withholding obligations. IRS Publication 519

Do not assume a business label, frequent trading or an LLC determines the answer. Analyze the activity, ownership structure and income separately. If you are weighing an operating business against passive holdings, the Business Acquisition Analyzer models the pre-tax economics; the cross-border tax layer still needs professional review.

U.S. rental income: gross tax versus a net-basis election

Passive U.S. rental income that is not ECI generally faces 30% tax on gross rent, unless treaty relief applies. Under that treatment, repairs, management fees and other expenses do not reduce the taxable gross amount.

An NRA can generally elect under section 871(d) to treat qualifying income from U.S. real property held for producing income as effectively connected. The election covers qualifying property income, not merely whichever building produces the best result that year. It permits allowable deductions, including depreciation, with net income reported on Form 1040-NR, generally using Schedule E. IRS Publication 519

The election requires an attached statement with specified property details and generally continues in later years unless revoked under the applicable rules. Timely returns matter for preserving deductions; do not assume a late filing is harmless.

Before buying, review How to Buy U.S. Real Estate as a Foreigner. Use the Rental Property Deal Analyzer for operating assumptions, but calculate depreciation and cross-border tax separately.

FIRPTA: property-sale withholding is not a tax on profit

The Foreign Investment in Real Property Tax Act generally taxes foreign sellers’ gains from U.S. real property interests. The buyer generally must withhold 15% of the amount realized, rather than 15% of the seller’s gain. Amount realized can include liabilities assumed as well as cash and other consideration. IRS FIRPTA guidance

For example, if the amount realized is $400,000, ordinary 15% withholding is $60,000, even if the seller’s taxable gain is much smaller.

Important residence-related exceptions include:

  • $300,000 or less: No withholding may be required if the buyer meets the qualifying residence-use requirements.
  • More than $300,000 through $1 million: A 10% rate can apply if those residence-use requirements are met.
  • Above $1 million: The residence-related reduction does not apply.

The residence test generally requires definite plans for qualifying occupants to reside there for at least 50% of the days the property is used during each of the first two 12-month periods after transfer. A casual intention to visit is insufficient. IRS FIRPTA guidance

Buyers generally report withholding using Forms 8288 and 8288-A. A buyer or seller can request a reduced or zero withholding certificate using Form 8288-B. That certificate concerns withholding, not necessarily the final liability. The seller generally reports the transaction on Form 1040-NR and claims credit for documented withholding.

Worked example: dividends, shares and a rental

Hypothetical assumptions: An individual is an eligible Canadian treaty resident, remains an NRA, spends no days in the United States and holds investments personally. They receive $3,000 of ordinary U.S. corporate dividends, realize a $10,000 gain on ordinary shares unrelated to U.S. real property, and collect $24,000 of passive U.S. rent. The shares produce no ECI; valid treaty documentation is on file.

For the rental, assume a valid section 871(d) election and $16,000 of allowable deductions, including correctly calculated depreciation. Ignore other income, credits, losses and nonfederal taxes.

ItemCalculationIllustrative federal treatment
Dividends$3,000 × 15%$450 withholding
Ordinary stock gain$10,000; no applicable exception$0 federal income tax
Rental without net-basis election$24,000 × 30%$7,200 gross-basis tax
Rental with net-basis election$24,000 − $16,000$8,000 net ECI, subject to applicable graduated rates

The rental rows are alternatives, not cumulative taxes. With the election, this example produces $450 of dividend tax plus tax calculated on the $8,000 net rental amount—not $450 plus $7,200 plus tax on $8,000. The governing rules are in Publication 519 and the dividend rate is in IRS Table 1.

The example deliberately stops short of calculating rental tax: the applicable tax-year schedule and complete return must determine it. Track the after-tax result alongside your other holdings in the Net Worth Dashboard.

Estate tax: plan before the portfolio grows

Income-tax nonresidence does not settle estate-tax status. For estate-tax purposes, residence generally turns on domicile, a facts-and-intent concept distinct from substantial presence. Form 706-NA instructions

For a nonresident who is not a U.S. citizen, U.S.-situs assets can include:

  • U.S. real estate.
  • Tangible personal property situated in the United States.
  • Shares of corporations organized under U.S. law, even when held through a foreign broker or nominee.

The IRS explains these categories in Some nonresidents with U.S. assets must file estate tax returns.

An executor generally must file Form 706-NA when U.S.-situated assets at death, together with specified adjusted taxable gifts and the historical gift-tax exemption adjustment, exceed $60,000. That is a filing threshold—not a statement that every estate above it owes tax or that the larger citizen exemption automatically applies.

Qualifying U.S. bank deposits are generally treated as outside the United States for this purpose when not effectively connected with a U.S. business. But brokerage cash, money-market fund shares and other cash-like investments should not automatically be classified as qualifying bank deposits. Estate treaties may modify situs rules or available relief. Form 706-NA instructions

An income-tax treaty does not necessarily supply estate-tax protection. Review the applicable death-tax treaty separately.

Reporting checklist and professional help

Keep a file linking each investment to its income classification, withholding and return treatment:

  • 1040-NR: Generally required for NRAs engaged in a U.S. trade or business, subject to exceptions, and for taxable income not fully satisfied through withholding. It may also be needed to claim a refund. An investment account alone does not automatically require a return.
  • ITIN/Form W-7: Someone needing a U.S. taxpayer identification number who is ineligible for an SSN generally uses Form W-7 under the applicable application rules.
  • 1042-S: Usually received from the withholding agent to document relevant income and withholding.
  • 8288/8288-A: Buyer-side FIRPTA reporting and the seller’s withholding documentation.
  • 706-NA: Executor-filed estate return when the applicable requirements are met.

Check the Form 1040-NR instructions, Publication 515 and Form 706-NA instructions.

FBAR generally applies to U.S. persons, while FATCA-related Form 8938 applies to specified persons. An ordinary NRA generally is not subject merely because they invest in America, but exceptions—including certain residency elections—require care. FATCA can also affect financial institutions’ documentation of foreign clients. IRS comparison of Form 8938 and FBAR requirements

Hire a qualified cross-border CPA, enrolled agent or tax attorney when residency changes, treaty tie-breakers, rental elections, property sales, entity ownership or estate exposure are involved. Ask specifically about experience with both countries and the relevant forms. The IRS Directory of Federal Tax Return Preparers helps verify listed credentials or qualifications; listing does not prove cross-border expertise.

This guide is educational, not individualized tax, legal or investment advice. Confirm the rules for your tax year and circumstances, including any separate obligations outside this federal overview.

Frequently Asked Questions

Do nonresidents pay U.S. tax on stock gains?

Ordinary stock-sale gains generally escape federal income tax when they are not effectively connected income and the NRA is below the separate 183-day presence threshold. U.S. real property interests, certain partnership investments and other exceptions require separate analysis.

Is dividend withholding always 30%?

No. Thirty percent is the general statutory rate for non-effectively-connected U.S.-source dividends, but eligible treaty residents may receive lower rates. The applicable rate depends on the treaty, recipient, distribution and documentation.

How long does Form W-8BEN last?

It generally remains valid through the end of the third calendar year following the year of signature. A form signed in 2026 would generally expire December 31, 2029, unless circumstances change; certain exceptions permit longer validity.

Can a foreign landlord deduct rental expenses?

Passive rental income taxed at 30% of gross rent does not receive expense deductions under that treatment. A valid net-basis election, or income otherwise qualifying as effectively connected, can allow eligible deductions and generally requires Form 1040-NR reporting.

Is FIRPTA withholding the final property-sale tax?

No. FIRPTA withholding generally is a collection mechanism based on the amount realized, not the taxable gain. The seller reports the sale and reconciles withholding against the final liability on the applicable return.

Does the $60,000 estate threshold mean tax is automatically due?

No. It is generally a Form 706-NA filing threshold, subject to the instructions’ adjustments. Actual liability depends on the estate, deductions, credits and any applicable estate treaty.

Must every NRA investor file Form 1040-NR?

No. An NRA whose only relevant income is fully taxed through withholding may not need to file, depending on the circumstances. U.S. business activity, rental elections, property sales, insufficient withholding or refund claims can create filing needs.

Sources

Related pages