Trading & Investment Tax

Nonresident Capital Gains and the 183-Day Rule (2025-2026)

9 min readArticle
Filing path

Nonresident return flow (Form 1040-NR)

How a nonresident individual reports U.S.-source income to the IRS.

  1. Classify the income

    Effectively connected (ECI) vs. fixed/determinable (FDAP).

  2. Gather U.S.-source documents

    1042-S, K-1, or other statements of U.S. income.

  3. Prepare Form 1040-NR

    ECI on the main form; FDAP on Schedule NEC.

  4. File and reconcile withholding

    Credit amounts already withheld at source.

Key formsForm 1040-NRSchedule NECSchedule OI

Key Takeaways

  • Nonresident capital gains are not universally exempt from U.S. tax.
  • Being in the U.S. for less than 183 days is an important threshold in Publication 519.
  • Crossing 183 days can trigger tax on U.S.-source net capital gain.
  • Day-count records and income classification records belong in the same file.

The 183-day rule is one of the easiest trading rules to remember and one of the easiest to misapply

Foreign traders often repeat a simple slogan: nonresident capital gains are tax-free in the U.S. IRS Publication 519 is more careful than that. It says that if a nonresident alien is in the United States for less than 183 days during the tax year, capital gains generally are tax exempt unless effectively connected with a U.S. trade or business. The moment founders drop the day count or the ECI caveat, the slogan becomes misleading.

This rule is simple only when the facts are simple.

Crossing 183 days changes the posture materially

Publication 519 also says that if the nonresident alien is in the United States for 183 days or more during the tax year, net gain from U.S.-source capital asset sales is taxed at 30% or a lower treaty rate. That is why foreign traders and investors who spend substantial time in the United States cannot treat day count as a side issue. The tax result can turn on travel patterns even when the brokerage account itself never changed.

Travel is sometimes the real capital-gains variable.

The file should track both presence and income character

A founder analyzing trading income should keep a calendar of U.S. presence, records showing whether positions were capital assets or part of a trading business, and the year-end brokerage support. Publication 519 also explains where non-effectively connected and effectively connected capital gains belong on Form 1040-NR. Those are not details to guess at after the year ends. They should be mapped while the facts are still clear.

Good trading records always include travel records when the owner is foreign.

Frequently Asked Questions

If I am in the U.S. for fewer than 183 days, are my capital gains always exempt?

Not always. Publication 519 says they are generally exempt unless they are effectively connected with a U.S. trade or business.

What happens if a nonresident alien is in the U.S. for 183 days or more?

Publication 519 says net U.S.-source capital gain is taxed at 30% or a lower treaty rate in that case.

Should a foreign trader track U.S. days even if trading is done online?

Yes. The 183-day rule makes travel history a core tax record for many foreign trading cases.

tradingstocksforexoptionscapital gainsday trading tax

Never miss an IRS deadline

Get free email reminders for Form 5472, state annual reports, quarterly estimated tax, and OBBBA rule changes — built for foreign-owned LLC owners. No spam. Unsubscribe anytime.

We respect your privacy. No spam, ever.

More on Trading & Investment Tax

Read the in-depth guides